Showing 6,856 of 14,752 total issues
Function tokenBase
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
// call hooks from the mime type
if (hooks[ch]) {
- Create a ticketCreate a ticket
Function create
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
create(id, title, formData, port) {
// modal body
let form = document.createElement("form");
formData.forEach(prop => {
- Create a ticketCreate a ticket
Function onContextMenu
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
TextareaInput.prototype.onContextMenu = function (e) {
var input = this, cm = input.cm, display = cm.display, te = input.textarea;
if (input.contextMenuPending) { input.contextMenuPending(); }
var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop;
if (!pos || presto) { return } // Opera is difficult.
- Create a ticketCreate a ticket
Function relayout
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function relayout() {
var subgroups = {}, groupSums = [], groupIndex = d3.range(n), subgroupIndex = [], k, x, x0, i, j;
chords = [];
groups = [];
k = 0, i = -1;
- Create a ticketCreate a ticket
Function 5
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./helper":5}],5:[function(require,module,exports){
function gcd(x, y) {
while (y) {
var temp = x;
x = y;
- Create a ticketCreate a ticket
Function bounce
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectBounce = $.effects.effect.bounce = function( o, done ) {
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
// defaults:
- Create a ticketCreate a ticket
Function getType
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getType(state) {
var styles = [];
if (state.formatting) {
styles.push(tokenTypes.formatting);
- Create a ticketCreate a ticket
Function create
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
create(id, title, formData) {
// modal body
let form = document.createElement("form");
formData.forEach(prop => {
- Create a ticketCreate a ticket
Function parse
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parse(uriString) {
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var components = {};
var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL;
- Create a ticketCreate a ticket
File ParametersDef.java
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
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 SecondaryModelAndDataViewNodeDialog.java
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
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 ruby.js
has 273 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 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void initComponents() {
// JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
scrollPane2 = new JScrollPane();
panel1 = new JPanel();
button = new JButton();
- Create a ticketCreate a ticket
Method getNewConc
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Double getNewConc(ValueAndUnit vau, PredictionValues pv, ParametersSetting ps, Double tempVal, Double phVal, Double awVal, Double presVal, double t, String timeUnit, Double lastConc, double stepWidth) {
Double newVal = vau.getValue();
boolean isPercent = false;
PredictorViewNodeDialog pvnd = pv.getPvnd();
- Create a ticketCreate a ticket
Method updateMatrixPanel
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void updateMatrixPanel() {
List<String> items = new ArrayList<>();
items.add(SettingsHelper.DO_NOT_USE);
items.add(SettingsHelper.OTHER_PARAMETER);
- Create a ticketCreate a ticket
Method updateAgentPanel
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void updateAgentPanel() {
List<String> items = new ArrayList<>();
items.add(SettingsHelper.DO_NOT_USE);
items.add(SettingsHelper.OTHER_PARAMETER);
- Create a ticketCreate a ticket
Method createBufferedDataTable
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public BufferedDataTable createBufferedDataTable(final ExecutionContext exec) {
DataTableSpec spec = m_spec.createDataTableSpec();
BufferedDataContainer container = exec.createDataContainer(spec);
for (JSONDataTableRow row : m_rows) {
DataCell[] dataCells = new DataCell[row.getData().length];
- Create a ticketCreate a ticket
Method getValueAt
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Object getValueAt(int row, int column) {
switch (column) {
case 0:
return ids.get(row);
- Create a ticketCreate a ticket
Method testLoadSettings
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testLoadSettings() {
NodeSettings settings = new NodeSettings("identifier");
settings.addString("SelectedIDs", XmlConverter.objectToXml(exampleSelectedIds));
- Create a ticketCreate a ticket
Method testSaveSettings
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testSaveSettings() throws InvalidSettingsException {
SettingsHelper helper = new SettingsHelper();
helper.setSelectedIDs(exampleSelectedIds);
- Create a ticketCreate a ticket