SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Function resolve has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function resolve(compile, root, ref) {
  /* jshint validthis: true */
  var refVal = this._refs[ref];
  if (typeof refVal == 'string') {
    if (this._refs[refVal]) refVal = this._refs[refVal];

Function resolveSchema has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function resolveSchema(root, ref) {
  /* jshint validthis: true */
  var p = URI.parse(ref)
    , refPath = _getFullPath(p)
    , baseId = getFullPath(this._getId(root.schema));

Function formatDate has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        formatDate: function(date, format, language){
            if (!date)
                return '';
            if (typeof format === 'string')
                format = DPGlobal.parseFormat(format);

Function hide has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Collapse.prototype.hide = function () {
    if (this.transitioning || !this.$element.hasClass('in')) return

    var startEvent = $.Event('hide.bs.collapse')
    this.$element.trigger(startEvent)

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

  ScrollSpy.prototype.refresh = function () {
    var that          = this
    var offsetMethod  = 'offset'
    var offsetBase    = 0

Function next has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function next() {
      $active
        .removeClass('active')
        .find('> .dropdown-menu > .active')
          .removeClass('active')

Method checkID has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

    private HashMap<String, HashMap<String, HashMap<Integer, Integer>>> checkID(Connection conn, boolean before, String dbuuid, KnimeTuple row, Integer oldID, Integer newID,
            HashMap<String, HashMap<String, HashMap<Integer, Integer>>> foreignDbIds, String rowuuid) throws PmmException {

Method setSettings has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public void setSettings(Config c, Integer defAgent, Integer defMatrix, Double defTemp, Double defPh, Double defAw, Double agentConc, Callable<Void> refresher) throws InvalidSettingsException {

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception;

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception {

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception {

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception {

Consider simplifying this complex logical expression.
Open

        if (!matrixString.isEmpty() || !agentString.isEmpty() || !literatureString.isEmpty() || matrixID > 0 || agentID > 0 || literatureID > 0 || parameter.size() > 0) filterEnabled = true;

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception {

Method passesFilter has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        final String matrixString,
        final String agentString,
        final String literatureString,
        int matrixID, int agentID, int literatureID,
        final LinkedHashMap<String, Double[]> parameter,

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception {

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception {

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception {

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception {

Method write has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public void write(List<KnimeTuple> tuples, boolean isPMFX, String dir, String mdName, Metadata metadata,
                boolean splitModels, String notes, ExecutionContext exec) throws Exception {
Severity
Category
Status
Source
Language