SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Method insertEstModel has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private int insertEstModel(String name, final int condId, final int modelId, final Double rms, final Double rsquared, final Double aic, final Double bic, final int responseId,
            Integer qualityScore, Boolean isChecked, Integer workflowID, String comment) {
        int ret = -1;
        try {
            PreparedStatement ps = conn.prepareStatement(

Method insertLiteratureInCase has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void insertLiteratureInCase(PmmXmlDoc lit) {
        try {
            int i = 0;
            for (PmmXmlElementConvertable el : lit.getElementSet()) {
                if (el instanceof LiteratureItem) {

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

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

    this.setInternalPortObjects(inData);

Method retrieveRProperties has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static Properties retrieveRProperties(final RPreferenceProvider rpref) {
        
        final File tmpPath = new File(TEMP_PATH);
        File propsFile;
        File rOutFile;

Method testHashCode has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testHashCode() throws Exception {
        FskMetaData fmd = new FskMetaData();
        fmd.modelName = "ESBL Ecoli in Broiler";
        fmd.modelId = "initialize_parents_animals.R";

Function inVariable has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function inVariable (stream, state) {
      // Attempt to match a dot that precedes a property
      if (state.waitDot) {
        state.waitDot = false;

Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/django/django.js - About 2 hrs to fix

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

      token: function (stream, state) {
        if (!stream) return;

        //check for state changes
        if (state.stack.length === 0) {

Function hull has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  d3.geom.hull = function(vertices) {
    var x = d3_svg_lineX, y = d3_svg_lineY;
    if (arguments.length) return hull(vertices);
    function hull(data) {
      if (data.length < 3) return [];

Function quadtree has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function quadtree(data) {
      var d, fx = d3_functor(x), fy = d3_functor(y), xs, ys, i, n, x1_, y1_, x2_, y2_;
      if (x1 != null) {
        x1_ = x1, y1_ = y1, x2_ = x2, y2_ = y2;
      } else {

Function initLayout has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function initLayout()
    {
        /*
         * body
         */

Function _contactContainers has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _contactContainers: function(event) {
        var i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, cur, nearBottom, floating, axis,
            innermostContainer = null,
            innermostIndex = null;

Function d3_svg_area has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function d3_svg_area(projection) {
    var x0 = d3_svg_lineX, x1 = d3_svg_lineX, y0 = 0, y1 = d3_svg_lineY, defined = d3_true, interpolate = d3_svg_lineLinear, interpolateKey = interpolate.key, interpolateReverse = interpolate, L = "L", tension = .7;
    function area(data) {
      var segments = [], points0 = [], points1 = [], i = -1, n = data.length, d, fx0 = d3_functor(x0), fy0 = d3_functor(y0), fx1 = x0 === x1 ? function() {
        return x;

Function _processTabs has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _processTabs: function() {
        var that = this,
            prevTabs = this.tabs,
            prevAnchors = this.anchors,
            prevPanels = this.panels;

Function encode has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function encode(input) {
        var n,
            delta,
            handledCPCount,
            basicLength,

Function 17 has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

},{}],17:[function(require,module,exports){
'use strict';
module.exports = function generate_anyOf(it, $keyword, $ruleType) {
  var out = ' ';
  var $lvl = it.level;

MetadataSwitch has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

public class MetadataSwitch<T> extends Switch<T> {
    /**
     * The cached model package
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->

QualityMeasures has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-26T06:49:42.862Z")
public class QualityMeasures {
  @SerializedName("sse")
  private BigDecimal sse = null;

DietaryAssessmentMethod has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-07-02T16:22:48.194+02:00")
public class DietaryAssessmentMethod {
  @SerializedName("collectionTool")
  private String collectionTool = null;

FSKEditorJSConfig has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

class FSKEditorJSConfig {

  private static final ObjectMapper MAPPER = FskPluginObjectMapper.MAPPER104;

  private static final String METADATA = "ModelMetaData";

RunnerNodeModel has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

public class RunnerNodeModel extends ExtToolOutputNodeModel implements PortObjectHolder {

  private static final NodeLogger LOGGER = NodeLogger.getLogger("Fskx Runner Node Model");

  /** Output spec for an FSK object. */
Severity
Category
Status
Source
Language