SiLeBAT/FSK-Lab

View on GitHub

Showing 14,752 of 14,752 total issues

Method manageDBMinMax has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void manageDBMinMax(ResultSet result, ParametricModel pm) throws SQLException {
        Array array = result.getArray(Bfrdb.ATT_PARAMNAME);
        Array arrayMin = result.getArray(Bfrdb.ATT_MINVALUE);
        Array arrayMax = result.getArray(Bfrdb.ATT_MAXVALUE);
        Array arrayCat = result.getArray("ParCategory");

Method managePs has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private boolean managePs(PreparedStatement ps) throws SQLException {
        boolean allNullVals = true;
        String[] fieldTypes = myT.getFieldTypes();
        String[] fieldNames = myT.getFieldNames();
        MyTable[] fieldFields = myT.getForeignFields();
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/dbtable/MyDBForm.java - About 1 hr to fix

Method showAndFilterVals has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private boolean showAndFilterVals(String tablename, LinkedHashMap<String[], LinkedHashSet<String[]>> vals, int idColumn,
            int lfd, int total) {
        int i=0;
        Integer lastShownID = -1;
        for (String[] p : vals.keySet()) {
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/actions/PlausibleAction.java - About 1 hr to fix

Method execute has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  @Override
  protected PortObject[] execute(final PortObject[] inData, final ExecutionContext exec)
      throws Exception {

    FskPortObject portObject = (FskPortObject) inData[0];

Method convertStringLists2TSXmlDoc has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static PmmXmlDoc convertStringLists2TSXmlDoc(Array t, Array tu, Array l, Array lu, Array lot, Array stddevs, Array wdhs, String modelUnit, String timeUnit) {
        PmmXmlDoc tsDoc = new PmmXmlDoc();
        if (t != null) {
            try {
                Object[] toksT = (Object[])t.getArray();

Method launchRserve has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static RInstance launchRserve(final String command, final String host, final Integer port)
            throws IOException {
        // if debugging, launch debug version of Rserve.
        final String cmd = (DEBUG_RSERVE && Platform.isWindows()) ? command.replace(".exe", "_d.exe") : command;

Method createChangeLists has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        private List<List<Integer>> createChangeLists() {
            int n = arguments.length;
            boolean done = false;
            List<List<Integer>> changeLists = new ArrayList<>();
            List<Integer> list = new ArrayList<>(Collections.nCopies(n, -1));

Method checkCairoOnMac has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void checkCairoOnMac() throws RException {

    if (cairoFound && quartzFound) {
      return;
    }

Function readToken has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function readToken(stream, state) {
  // whitespace
  if (stream.eatSpace()) return null;

  // comment
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/webidl/webidl.js - About 1 hr to fix

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

    token: function(stream, state) {
      var ctx = state.context;
      if (stream.sol()) {
        if (ctx.align == null) ctx.align = false;
        state.indented = stream.indentation();

Function tokenBase has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function tokenBase(stream, state) {
    var ch = stream.next();

    // is a start of string?
    if (ch == '"' || ch == "'")
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/pig/pig.js - About 1 hr to fix

Function Select2 has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var Select2 = function ($element, options) {
    if ($element.data('select2') != null) {
      $element.data('select2').destroy();
    }

Function histogram has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3.layout.histogram = function() {
    var frequency = true, valuer = Number, ranger = d3_layout_histogramRange, binner = d3_layout_histogramBinSturges;
    function histogram(data, i) {
      var bins = [], values = data.map(valuer, this), range = ranger.call(this, values, i), thresholds = binner.call(this, range, values, i), bin, i = -1, n = values.length, m = thresholds.length - 1, k = frequency ? 1 : 1 / n, x;
      while (++i < m) {

Function addFunctionObject has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function addFunctionObject(dbuuid, functionAsString, functionConstants, model,headless)
    {
    
        var color = getNextColor(); // functionPlot provides 9 colors
        var maxRange = _plotterValue.maxXAxis * 1000; // obligatoric for the range feature 

Function domTextBetween has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function domTextBetween(cm, from, to, fromLine, toLine) {
  var text = "", closing = false, lineSep = cm.doc.lineSeparator()
  function recognizeMarker(id) { return function (marker) { return marker.id == id; } }
  function close() {
    if (closing) {

Function domTextBetween has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function domTextBetween(cm, from, to, fromLine, toLine) {
  var text = "", closing = false, lineSep = cm.doc.lineSeparator()
  function recognizeMarker(id) { return function (marker) { return marker.id == id; } }
  function close() {
    if (closing) {

Function 11 has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

},{"./ucs2length":9,"fast-deep-equal":41}],11:[function(require,module,exports){
'use strict';

var KEYWORDS = [
  'multipleOf',

Function decode has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var decode = function decode(input) {
    // Don't use UCS-2.
    var output = [];
    var inputLength = input.length;
    var i = 0;

Function baseClone has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function baseClone(value, isDeep, customizer, key, object, stackA, stackB) {
      var result;
      if (customizer) {
        result = object ? customizer(value, key, object) : customizer(value);
      }

Function mixin has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function mixin(object, source, options) {
      if (options == null) {
        var isObj = isObject(source),
            props = isObj ? keys(source) : undefined,
            methodNames = (props && props.length) ? baseFunctions(source, props) : undefined;
Severity
Category
Status
Source
Language