Showing 6,856 of 14,752 total issues
Function findPosH
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function findPosH(doc, pos, dir, unit, visually) {
var oldPos = pos
var origDir = dir
var lineObj = getLine(doc, pos.line)
function findNextLine() {
- Create a ticketCreate a ticket
Function onDrop
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onDrop(e) {
var cm = this
clearDragCursor(cm)
if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e))
{ return }
- Create a ticketCreate a ticket
Function findPosH
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function findPosH(doc, pos, dir, unit, visually) {
var oldPos = pos
var origDir = dir
var lineObj = getLine(doc, pos.line)
function findNextLine() {
- Create a ticketCreate a ticket
Function onDrop
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onDrop(e) {
var cm = this
clearDragCursor(cm)
if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e))
{ return }
- Create a ticketCreate a ticket
Function addKeyword
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addKeyword(keyword, definition) {
/* jshint validthis: true */
/* eslint no-shadow: 0 */
var RULES = this.RULES;
if (RULES.keywords[keyword])
- Create a ticketCreate a ticket
Function createBody
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createBody() {
$('body').html(`<div class="container-fluid">
<nav class="navbar navbar-default">
<div class="navbar-collapse collapse">
- Create a ticketCreate a ticket
Function editModelsPool
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function editModelsPool(key, modelParameters, modelName, individualMetadata, modelType, modelScript, vis, Location, simulation, downloadURL) {
_simulationMap[escapeHtmlChars(modelName.trim())] = { "selectedSimulation": "defaultSimulation", "simulationList":simulation };
updatesFinalSimulation();
modelsPool[key]['modelScript'] = modelScript;
modelsPool[key]['simulation'] = simulation;
- Create a ticketCreate a ticket
File MyTrigger.java
has 253 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 vbscript.js
has 253 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
/*
For extra ASP classic objects, initialize CodeMirror instance with this option:
- Create a ticketCreate a ticket
Method convertStudy
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Study convertStudy(JsonNode node) {
Study study = new Study();
if (node.has("studyIdentifier")) {
- Create a ticketCreate a ticket
Method convert
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JsonNode convert(JsonNode originalMetadata, Map<String, Object> originalClass,
Map<String, Object> targetClass) {
if(originalMetadata == null) {
return null;
}
- Create a ticketCreate a ticket
Method eSet
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case MetadataPackage.STUDY__STUDY_IDENTIFIER:
setStudyIdentifier((String)newValue);
- Create a ticketCreate a ticket
Method eUnset
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void eUnset(int featureID) {
switch (featureID) {
case MetadataPackage.STUDY__STUDY_IDENTIFIER:
setStudyIdentifier(STUDY_IDENTIFIER_EDEFAULT);
- Create a ticketCreate a ticket
Method initDialog
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Component initDialog() {
JPanel panel = new JPanel(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
c.insets = new Insets(5, 5, 5, 5);
c.gridx = 0;
- Create a ticketCreate a ticket
Method updateAgentPanel
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void updateAgentPanel() {
agentButtons.clear();
agentBox = new JComboBox<>(new String[] { DO_NOT_USE, OTHER_PARAMETER });
agentButton = new JButton(OTHER_PARAMETER);
- Create a ticketCreate a ticket
Method createPanel
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JPanel createPanel(Map<String, String> concentrationParameters,
Map<String, String> lagParameters) {
initBoxes = new LinkedHashMap<>();
lagBoxes = new LinkedHashMap<>();
okButton = new JButton("OK");
- Create a ticketCreate a ticket
Method updateMatrixPanel
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void updateMatrixPanel() {
matrixButtons.clear();
matrixBox = new JComboBox<>(new String[] { DO_NOT_USE, OTHER_PARAMETER });
matrixButton = new JButton(OTHER_PARAMETER);
- Create a ticketCreate a ticket
Method doCheckState
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected boolean doCheckState() {
final String rHome = getStringValue();
final Path rHomePath = Paths.get(rHome);
- Create a ticketCreate a ticket
Function tokenBaseInner
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBaseInner(stream, state) {
if (stream.eatSpace()) return null;
// Handle Comments
if (stream.match(/^#.*/)) return "comment";
- Create a ticketCreate a ticket
Function _updateSimForm
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_updateSimForm ( simIndex ) {
let O = this;
_log( 'PANEL SIM / _updateSimForm: '+ simIndex );
simIndex = ! _isNull( simIndex ) ? simIndex : O._simSelectedIndex;
- Create a ticketCreate a ticket