Showing 6,856 of 14,752 total issues
Function 44
has 1004 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],44:[function(require,module,exports){
/** @license URI.js v4.2.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
- Create a ticketCreate a ticket
File bootstrap-datepicker.js
has 1831 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*!
* Datepicker for Bootstrap v1.6.4 (https://github.com/eternicode/bootstrap-datepicker)
*
* Copyright 2012 Stefan Petre
* Improvements by Andrew Rowls
- Create a ticketCreate a ticket
File ChartSelectionPanel.java
has 1801 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*******************************************************************************
* Copyright (c) 2015 Federal Institute for Risk Assessment (BfR), Germany
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- Create a ticketCreate a ticket
Method loadMyTables
has 974 lines of code (exceeds 25 allowed). Consider refactoring. Open
@SuppressWarnings("unchecked")
private void loadMyTables() {
MyTable cl = new MyTable("ChangeLog",
new String[]{"Zeitstempel","Username","Tabelle","TabellenID","Alteintrag"},
new String[]{"DATETIME","VARCHAR(60)","VARCHAR(100)","INTEGER","OTHER"},
- Create a ticketCreate a ticket
File editor_data_1.0.0.js
has 1787 lines of code (exceeds 250 allowed). Consider refactoring. Open
const ui = {
"generalInformation": [{
"id": "name",
"label": "Name",
"type": "text",
- Create a ticketCreate a ticket
File fskmetadata_1.0.0.js
has 1774 lines of code (exceeds 250 allowed). Consider refactoring. Open
ui = {
"generalInformation": [{
"id": "name",
"label": "Name",
"type": "text",
- Create a ticketCreate a ticket
File editor_data.js
has 1768 lines of code (exceeds 250 allowed). Consider refactoring. Open
const ui = {
"generalInformation": [{
"id": "name",
"label": "Name",
"type": "text",
- Create a ticketCreate a ticket
File bootstrap-datepicker.js
has 1763 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*!
* Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker)
*
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
*/
- Create a ticketCreate a ticket
File joiner.js
has 1762 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*jshint esversion: 6 */
/* global $ */
joiner = function() {
$('head').append(
'<meta http-equiv="X-UA-Compatible" content="IE=8,IE=edge" />');
- Create a ticketCreate a ticket
File ion.rangeSlider.js
has 1733 lines of code (exceeds 250 allowed). Consider refactoring. Open
// Ion.RangeSlider
// version 2.3.1 Build: 382
// © Denis Ineshin, 2019
// https://github.com/IonDen
//
- Create a ticketCreate a ticket
File Bfrdb.java
has 1696 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*******************************************************************************
* Copyright (c) 2015 Federal Institute for Risk Assessment (BfR), Germany
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- Create a ticketCreate a ticket
File MyDBTablesNew.java
has 1621 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*******************************************************************************
* Copyright (c) 2015 Federal Institute for Risk Assessment (BfR), Germany
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- Create a ticketCreate a ticket
Method getKnimeTuples
has a Cognitive Complexity of 211 (exceeds 5 allowed). Consider refactoring. Open
public static List<KnimeTuple> getKnimeTuples(Bfrdb db, Connection conn, KnimeSchema schema,
int level, boolean withoutMdData, int qualityMode, double qualityThresh,
String matrixString, String agentString, String literatureString, int matrixID, int agentID, int literatureID, LinkedHashMap<String, Double[]> parameter,
boolean modelFilterEnabled, int[] modelList, String where, EstimatedModelReaderNodeModel emrnm) throws SQLException {
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method addNodes
has a Cognitive Complexity of 210 (exceeds 5 allowed). Consider refactoring. Open
private void addNodes(final Connection conn, final WorkflowManager wfm) throws CoreException {
LinkedHashMap<Integer, NodeID> nodesMap = new LinkedHashMap<Integer, NodeID>();
LinkedHashMap<Integer, Integer> fromMap = new LinkedHashMap<Integer, Integer>();
LinkedHashMap<Integer, Integer> toMap = new LinkedHashMap<Integer, Integer>();
//LinkedHashMap<Integer, LinkedHashMap<Integer, Double>> fractionsIn = new LinkedHashMap<Integer, LinkedHashMap<Integer, Double>>();
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File bootstrap.js
has 1596 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under the MIT license
*/
- Create a ticketCreate a ticket
MetadataPackageImpl
has 211 methods (exceeds 20 allowed). Consider refactoring. Open
public class MetadataPackageImpl extends EPackageImpl implements MetadataPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
- Create a ticketCreate a ticket
File fskutil_1.0.0.js
has 1572 lines of code (exceeds 250 allowed). Consider refactoring. Open
fskutil = function () {
var fskutil = { version: "1.0.0" };
/** Temporary workaround for some metadata glitches. */
- Create a ticketCreate a ticket
File DBKernel.java
has 1568 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*******************************************************************************
* Copyright (c) 2015 Federal Institute for Risk Assessment (BfR), Germany
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- Create a ticketCreate a ticket
MetadataPackage
has 208 methods (exceeds 20 allowed). Consider refactoring. Open
public interface MetadataPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- Create a ticketCreate a ticket
Method prepareColumns
has a Cognitive Complexity of 202 (exceeds 5 allowed). Consider refactoring. Open
private void prepareColumns() {
Column c = this.getColumn(0);
c.setReadOnly(true);
if (actualTable != null) {
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"