Showing 6,856 of 14,752 total issues
Function inTag
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function inTag (stream, state) {
// Attempt to match a dot that precedes a property
if (state.waitDot) {
state.waitDot = false;
- Create a ticketCreate a ticket
Function registerEventHandlers
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function registerEventHandlers(cm) {
var d = cm.display;
on(d.scroller, "mousedown", operation(cm, onMouseDown));
// Older IE's will not fire a second mousedown for a double click
if (ie && ie_version < 11)
- Create a ticketCreate a ticket
Function tree
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tree(d, i) {
var nodes = hierarchy.call(this, d, i), root = nodes[0];
function firstWalk(node, previousSibling) {
var children = node.children, layout = node._tree;
if (children && (n = children.length)) {
- Create a ticketCreate a ticket
Function parseDate
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
parseDate: function(date, format, language) {
if (date instanceof Date) return date;
if (typeof format === 'string')
format = DPGlobal.parseFormat(format);
if (/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(date)) {
- Create a ticketCreate a ticket
Function registerEventHandlers
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function registerEventHandlers(cm) {
var d = cm.display
on(d.scroller, "mousedown", operation(cm, onMouseDown))
// Older IE's will not fire a second mousedown for a double click
if (ie && ie_version < 11)
- Create a ticketCreate a ticket
Function registerEventHandlers
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function registerEventHandlers(cm) {
var d = cm.display
on(d.scroller, "mousedown", operation(cm, onMouseDown))
// Older IE's will not fire a second mousedown for a double click
if (ie && ie_version < 11)
- Create a ticketCreate a ticket
File python.js
has 314 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
- Create a ticketCreate a ticket
Method initComponents
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void initComponents() {
// JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
splitPane1 = new JSplitPane();
scrollPane1 = new JScrollPane();
table1 = new JTable();
- Create a ticketCreate a ticket
Method readModelTable
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void readModelTable() {
boolean containsData = SchemaFactory.createM12DataSchema().conforms(
modelTable);
Map<KnimeTuple, List<KnimeTuple>> tuples;
- Create a ticketCreate a ticket
Method createPanel
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public JComponent createPanel(String assignments) {
JPanel panel = new JPanel();
JPanel topPanel = new JPanel();
- Create a ticketCreate a ticket
Method runSnippet
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public final void runSnippet(final FskPortObject fskObj, final FskSimulation simulation,
final ExecutionContext exec, NodeLogger logger, File imageFile,
List<JoinRelationAdvanced> joinRelationList, String suffix) throws Exception {
// Sets up working directory with resource files. This directory needs to be deleted.
- Create a ticketCreate a ticket
Method updateMetaData
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void updateMetaData(List<KnimeTuple> tuples, Map<KnimeTuple, List<KnimeTuple>> tupleCombinations) {
Map<Integer, Set<String>> organisms = new LinkedHashMap<>();
Map<Integer, Set<String>> matrices = new LinkedHashMap<>();
Map<Integer, Set<String>> organismDetails = new LinkedHashMap<>();
Map<Integer, Set<String>> matrixDetails = new LinkedHashMap<>();
- Create a ticketCreate a ticket
Function token
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function (stream, state) {
if (stream.sol()) {
state.lineNumber++;
state.inKeywordLine = false;
if (state.inMultilineTable) {
- Create a ticketCreate a ticket
Function set
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
set: function(models, options) {
if (models == null) return;
options = _.extend({}, setOptions, options);
if (options.parse && !this._isModel(models)) {
- Create a ticketCreate a ticket
FSKEditorJSConfig
has 29 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class FSKEditorJSConfig {
private static final ObjectMapper MAPPER = FskPlugin.getDefault().MAPPER104;
private static final String METADATA = "ModelMetaData";
- Create a ticketCreate a ticket
File DataTableDocumentImpl.java
has 312 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* An XML document type.
* Localname: DataTable
* Namespace: http://www.bfr.bund.de/PCML-1_0
* Java type: de.bund.bfr.pcml10.DataTableDocument
- Create a ticketCreate a ticket
Method saveNodes
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void saveNodes(WorkflowManager parent, Integer wfID) {
/*
DBKernel.sendRequest("INSERT INTO " + DBKernel.delimitL("ProzessElemente") + " () VALUES ()", false);
DBKernel.sendRequest("INSERT INTO " + DBKernel.delimitL("Matrices") + " () VALUES ()", false);
DBKernel.sendRequest("INSERT INTO " + DBKernel.delimitL("Zutatendaten") + " () VALUES ()", false);
- Create a ticketCreate a ticket
Method createDataTuple
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private KnimeTuple createDataTuple(TableReader reader, String id) {
KnimeTuple dataTuple;
KnimeTuple tuple = reader.getTupleMap().get(id);
Plotable plotable = reader.getPlotables().get(id);
Map<String, List<Double>> conditions = plotable.getFunctionArguments();
- Create a ticketCreate a ticket
Method keyTyped
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void keyTyped(final KeyEvent keyEvent) {
char ch = keyEvent.getKeyChar();
//System.out.println(ch + "\t" + keyEvent.isConsumed());
if (ch == KeyEvent.VK_TAB || ch == KeyEvent.VK_ENTER && !keyEvent.isAltDown() && !keyEvent.isControlDown()) {
- Create a ticketCreate a ticket
Method saveValues
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Double saveValues() {
Double result = null;
try {
String sql = "";
if (oldValue != null) {
- Create a ticketCreate a ticket