SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

Method retrieveParameter has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    static metadata.Parameter retrieveParameter(String[][] values, int row) {

      // Check mandatory properties
      if (values[row][RakipColumn.L.ordinal()].isEmpty()) {
        throw new IllegalArgumentException("Missing parameter id");

Method getInverseFunctionSamplePoints has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public double[][] getInverseFunctionSamplePoints(String paramX,
            String paramY, String unitX, String unitY, String transformX,
            String transformY, double minX, double maxX, double minY,
            double maxY, Map<String, Integer> choice, List<String> warnings)
            throws ConvertException {

Method actionPerformed has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        @Override
        public void actionPerformed(ActionEvent e) {
            JFileChooser fileChooser = new JFileChooser();
            FileFilter svgFilter = new FileFilter() {

Method checkRHome has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static void checkRHome(final String rHomePath, final boolean fromPreferences) throws InvalidRHomeException {

        final Path rHome = Paths.get(rHomePath);
        final String msgSuffix = ((fromPreferences) ? ""
                : " R_HOME ('" + rHomePath + "')" + " is meant to be the path to the folder which is the root of R's "

Function html has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function html(stream, state) {
      var ch = stream.peek();

      // handle haml declarations. All declarations that cant be handled here
      // will be passed to html mode
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/haml/haml.js - About 1 hr to fix

Function inText has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function inText(stream, state) {
    function chain(parser) {
      state.tokenize = parser;
      return parser(stream, state);
    }
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/xml/xml.js - About 1 hr to fix

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

      token: function(stream, state) {
        if(state.tokenize != null) {
          return state.tokenize(stream, state);
        }

Function handlePhraseModifier has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function handlePhraseModifier(stream, state, ch) {
    if (ch === "_") {
      if (stream.eat("_"))
        return togglePhraseModifier(stream, state, "italic", /__/, 2);
      else

Function showPrimarySelection has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  ContentEditableInput.prototype.showPrimarySelection = function () {
    var sel = this.getSelection(), cm = this.cm, prim = cm.doc.sel.primary();
    var from = prim.from(), to = prim.to();

    if (cm.display.viewTo == cm.display.viewFrom || from.line >= cm.display.viewTo || to.line < cm.display.viewFrom) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/lib/codemirror.js - About 1 hr to fix

Function resetFooter has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    BootstrapTable.prototype.resetFooter = function () {
        var that = this,
            data = that.getData(),
            html = [];

Function click has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        click: function(e){
            e.preventDefault();
            e.stopPropagation();

            var target, dir, day, year, month;
Severity: Minor
Found in de.bund.bfr.knime.js/src/js/lib/bootstrap-datepicker.js - About 1 hr to fix

Function gobbleVariable has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                gobbleVariable = function() {
                    var ch_i, node;
                    ch_i = exprICode(index);
                        
                    if(ch_i === OPAREN_CODE) {
Severity: Minor
Found in de.bund.bfr.knime.pmm.nodes/js-lib/jsep/0_3_1/debug/js/jsep.js - About 1 hr to fix

Function d3_svg_line has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_svg_line(projection) {
    var x = d3_svg_lineX, y = d3_svg_lineY, defined = d3_true, interpolate = d3_svg_lineLinear, interpolateKey = interpolate.key, tension = .7;
    function line(data) {
      var segments = [], points = [], i = -1, n = data.length, d, fx = d3_functor(x), fy = d3_functor(y);
      function segment() {

Function point has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        point: function(λ, φ) {
          var point1 = [ λ, φ ], point2, v = visible(λ, φ), c = smallRadius ? v ? 0 : code(λ, φ) : v ? code(λ + (λ < 0 ? π : -π), φ) : 0;
          if (!point0 && (v00 = v0 = v)) listener.lineStart();
          if (v !== v0) {
            point2 = intersect(point0, point1);

Function d3_geo_pathBuffer has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_geo_pathBuffer() {
    var pointCircle = d3_geo_pathBufferCircle(4.5), buffer = [];
    var stream = {
      point: point,
      lineStart: function() {

Function parseRows has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    dsv.parseRows = function(text, f) {
      var EOL = {}, EOF = {}, rows = [], N = text.length, I = 0, n = 0, t, eol;
      function token() {
        if (I >= N) return EOF;
        if (eol) return eol = false, EOL;

Function init has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

     modelPlotter.init = function(representation, value,headless) {
        
        // view-bug - require js prevents global variable behavior         
        if (!window.functionPlot) {
            if(!headless){

Function name has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.fn[ name ] = function( options ) {
        var isMethodCall = typeof options === "string",
            args = widget_slice.call( arguments, 1 ),
            returnValue = this;

Function refresh has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    refresh: function() {
        var menus, items,
            that = this,
            icon = this.options.icons.submenu,
            submenus = this.element.find( this.options.menus );

Function _drawMenu has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _drawMenu: function() {
        var that = this;

        // Create menu
        this.menu = $( "<ul>", {
Severity
Category
Status
Source
Language