SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

Method openPDF has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void openPDF() {
        try {
            if (fileBytes != null && fileName != null) {
                Runnable runnable = new Runnable() {
                    @Override

Method initConn has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public boolean initConn(final Connection conn) {
        boolean result = false;
        if (DBKernel.mainFrame != null) DBKernel.mainFrame.setTopTable(this);
        if (conn != null) {
            this.setConnection(conn);
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/dbtable/MyDBTable.java - About 1 hr to fix

Method creatRelationList has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void creatRelationList(String relation, JoinerViewValue joinerProxyValue,
      List<JoinRelation> joinerRelation)
      throws InvalidSettingsException, JsonParseException, JsonMappingException, IOException {
    if (StringUtils.isNotBlank(relation)) {
      joinerProxyValue.joinRelations = relation;

Method performExecute has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  @Override
  protected PortObject[] performExecute(PortObject[] inObjects, ExecutionContext exec)
      throws IOException, CanceledExecutionException, InvalidSettingsException {

    final String nameWithID = NodeContext.getContext().getNodeContainer().getNameWithID();

Method toXmlElement has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public Element toXmlElement() {        
        Element ret = new Element(ELEMENT_TIMESERIES);        
        try {        
            if (getCondId() != null) {

Method testStudySample has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void testStudySample() throws IOException, EncryptedDocumentException, InvalidFormatException {

        final Workbook workbook = WorkbookFactory.create(new File("files/QMRA_Listeria.xlsx"));
        final Sheet sheet0 = workbook.getSheetAt(0);

Method testConvertStudy has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testConvertStudy() {

        Study study;
        {

Method getDataPoints has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private LinkedList<DataPoint> getDataPoints(LinkedList<ConcentrationData> concs, LinkedList<ConditionsData> conds) {

        // Gets time values
        List<Integer> timeValues = new LinkedList<>();
        for (ConcentrationData conc : concs) {

Method initR has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void initR() throws RException {
    try {
      String rHome = PreferenceInitializer.getR3Provider().getRHome();

      // FIXME: Workaround for Linux server in BfR. If R home is not configure then

Function inMathMode has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function inMathMode(source, state, endModeSeq) {
      if (source.eatSpace()) {
        return null;
      }
      if (endModeSeq && source.match(endModeSeq)) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/stex/stex.js - About 1 hr to fix

Function token has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      token: function(stream, state) {
        var m;
        if (state.state == "top") {
          if (stream.sol() && (m = stream.match(/^-----BEGIN (.*)?-----\s*$/))) {
            state.state = "headers";

Function token has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      token: function(stream, state) {
        if (stream.sol()) {
          if (state.context && (state.context.align == null)) {
            state.context.align = false;
          }
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/cypher/cypher.js - About 1 hr to fix

Function tokenLexer has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function tokenLexer(stream, state) {
    var style = state.tokenize(stream, state);
    var current = stream.current();

    // Handle scope changes.

Function _createHeader has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _createHeader ( settings ) {
        let O = this;
        _log( 'LANDINGPAGE / _create header' );

        // header
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.landingpage.js - About 1 hr to fix

Function validate has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        validate() {
            let O = this;
            _log( 'PANEL  / _validateForm' );
           
            let validationErrors = [];
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.editable.mt.InputForm.js - About 1 hr to fix

Function DateArray has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var DateArray = (function(){
        var extras = {
            get: function(i){
                return this.slice(i)[0];
            },
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 1 hr to fix

Function _create has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    async _create() {
        let O = this;
        _log('TABLE / _create', 'primary');

        // current state of view
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/app/app.table.js - About 1 hr to fix

Function initContainer has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    BootstrapTable.prototype.initContainer = function () {
        this.$container = $([
            '<div class="bootstrap-table">',
            '<div class="fixed-table-toolbar"></div>',
            this.options.paginationVAlign === 'top' || this.options.paginationVAlign === 'both' ?

Function datepickerPlugin has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var datepickerPlugin = function(option){
        var args = Array.apply(null, arguments);
        args.shift();
        var internal_return;
        this.each(function(){
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 1 hr to fix

Function d3_geo_clipAntimeridianLine has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_geo_clipAntimeridianLine(listener) {
    var λ0 = NaN, φ0 = NaN, sλ0 = NaN, clean;
    return {
      lineStart: function() {
        listener.lineStart();
Severity
Category
Status
Source
Language