Showing 6,856 of 14,752 total issues
Function create_accordion
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function create_accordion() {
var accordion = '';
for (var numModel = 0; numModel < models.length; numModel++) {
- Create a ticketCreate a ticket
Function refresh
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
refresh: function() {
//See #8237 & #8828
var isDisabled = this.element.is( "input, button" ) ? this.element.is( ":disabled" ) : this.element.hasClass( "ui-button-disabled" );
if ( isDisabled !== this.options.disabled ) {
- Create a ticketCreate a ticket
Function _setupHeightStyle
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setupHeightStyle: function( heightStyle ) {
var maxHeight,
parent = this.element.parent();
if ( heightStyle === "fill" ) {
- Create a ticketCreate a ticket
Function scrollPosIntoView
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scrollPosIntoView(cm, pos, end, margin) {
if (margin == null) { margin = 0 }
var rect
if (!cm.options.lineWrapping && pos == end) {
// Set pos and end to the cursor positions around the character pos sticks to
- Create a ticketCreate a ticket
Function skipAtomicInner
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function skipAtomicInner(doc, pos, oldPos, dir, mayClear) {
var line = getLine(doc, pos.line)
if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) {
var sp = line.markedSpans[i], m = sp.marker
if ((sp.from == null || (m.inclusiveLeft ? sp.from <= pos.ch : sp.from < pos.ch)) &&
- Create a ticketCreate a ticket
Function onMouseDown
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onMouseDown(e) {
var cm = this, display = cm.display
if (signalDOMEvent(cm, e) || display.activeTouch && display.input.supportsTouch()) { return }
display.input.ensurePolled()
display.shift = e.shiftKey
- Create a ticketCreate a ticket
Function scrollPosIntoView
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scrollPosIntoView(cm, pos, end, margin) {
if (margin == null) { margin = 0 }
var rect
if (!cm.options.lineWrapping && pos == end) {
// Set pos and end to the cursor positions around the character pos sticks to
- Create a ticketCreate a ticket
Function onMouseDown
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onMouseDown(e) {
var cm = this, display = cm.display
if (signalDOMEvent(cm, e) || display.activeTouch && display.input.supportsTouch()) { return }
display.input.ensurePolled()
display.shift = e.shiftKey
- Create a ticketCreate a ticket
Function create_body
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function create_body ()
{
document.createElement("body");
$("body").html('<div class="container"></div>');
$(".container").append(
- Create a ticketCreate a ticket
Function skipAtomicInner
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function skipAtomicInner(doc, pos, oldPos, dir, mayClear) {
var line = getLine(doc, pos.line)
if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) {
var sp = line.markedSpans[i], m = sp.marker
if ((sp.from == null || (m.inclusiveLeft ? sp.from <= pos.ch : sp.from < pos.ch)) &&
- Create a ticketCreate a ticket
Function getJsonPointer
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getJsonPointer(parsedRef, baseId, schema, root) {
/* jshint validthis: true */
parsedRef.fragment = parsedRef.fragment || '';
if (parsedRef.fragment.slice(0,1) != '/') return;
var parts = parsedRef.fragment.split('/');
- Create a ticketCreate a ticket
Function navigate
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
navigate: function(fragment, options) {
if (!History.started) return false;
if (!options || options === true) options = {trigger: !!options};
// Normalize the fragment.
- Create a ticketCreate a ticket
Function equalArrays
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function equalArrays(array, other, equalFunc, customizer, isLoose, stackA, stackB) {
var index = -1,
arrLength = array.length,
othLength = other.length;
- Create a ticketCreate a ticket
Function resolve
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function resolve(mainSchema, key,modeTypeKey, currentSchemaElement, resolvedValue){
if(currentSchemaElement.hasOwnProperty('$ref') ){
let schemaKey = currentSchemaElement['$ref'].replace('#/definitions/','');
resolvedKey = schemaKey.charAt(0).toUpperCase() + schemaKey.slice(1);
- Create a ticketCreate a ticket
Method createDataset
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private XYDataset createDataset(final Double mini, final Double maxi, final double step) {
series2.clear();
newStrDataSet = "";
for (int i=0;i<table1.getModel().getRowCount();i++) {
Object o1 = table1.getModel().getValueAt(i, 0);
- Create a ticketCreate a ticket
Method retrieveQualityMeasures
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public QualityMeasures retrieveQualityMeasures(Sheet sheet) {
QualityMeasures measures = new QualityMeasures();
Cell sseCell = sheet.getRow(QUALITY_MEASURES__SSE).getCell(M);
if (sseCell.getCellType() == Cell.CELL_TYPE_NUMERIC) {
- Create a ticketCreate a ticket
Method retrieveDietaryAssessmentMethod
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public DietaryAssessmentMethod retrieveDietaryAssessmentMethod(Row row) {
// Check first mandatory properties
if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
throw new IllegalArgumentException("Missing methodological tool to collect data");
- Create a ticketCreate a ticket
Method createPCMLSpec
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private PCMLPortObjectSpec createPCMLSpec(final int outIndex, PCMLPortObjectSpec instantMix, final FoodProcessSetting fps,
Map<Agent, ValueAndUnit> lastAgentsQ) {
OutPortSetting[] ops = fps.getOutPortSetting();
// erst einmal erhalten alle OutPorts denselben Mix - im Nachgang für jeden OutPORT INDIVIDUELL MACHEN, "Expert mode"
- Create a ticketCreate a ticket
Method retrieveDietaryAssessmentMethod
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public DietaryAssessmentMethod retrieveDietaryAssessmentMethod(Row row) {
// Check first mandatory properties
if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
throw new IllegalArgumentException("Missing methodological tool to collect data");
- Create a ticketCreate a ticket
Method retrieveQualityMeasures
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public QualityMeasures retrieveQualityMeasures(Sheet sheet) {
QualityMeasures measures = new QualityMeasures();
Cell sseCell = sheet.getRow(QUALITY_MEASURES__SSE).getCell(M);
if (sseCell.getCellType() == Cell.CELL_TYPE_NUMERIC) {
- Create a ticketCreate a ticket