Showing 6,856 of 14,752 total issues
Function insert_model
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function insert_model(modelNumber) {
$("#titleModel").html("Primary model info");
var estModel = models[modelNumber].estModel;
- Create a ticketCreate a ticket
Function insertLineContent
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function insertLineContent(line, builder, styles) {
var spans = line.markedSpans, allText = line.text, at = 0
if (!spans) {
for (var i$1 = 1; i$1 < styles.length; i$1+=2)
{ builder.addToken(builder, allText.slice(at, at = styles[i$1]), interpretTokenStyle(styles[i$1+1], builder.cm.options)) }
- Create a ticketCreate a ticket
Function onContextMenu
has 62 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
var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop
if (!pos || presto) { return } // Opera is difficult.
- Create a ticketCreate a ticket
Function insertLineContent
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function insertLineContent(line, builder, styles) {
var spans = line.markedSpans, allText = line.text, at = 0
if (!spans) {
for (var i$1 = 1; i$1 < styles.length; i$1+=2)
{ builder.addToken(builder, allText.slice(at, at = styles[i$1]), interpretTokenStyle(styles[i$1+1], builder.cm.options)) }
- Create a ticketCreate a ticket
Function onContextMenu
has 62 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
var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop
if (!pos || presto) { return } // Opera is difficult.
- Create a ticketCreate a ticket
File punycode.js
has 270 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*! https://mths.be/punycode v1.4.1 by @mathias */
;(function(root) {
/** Detect free variables */
var freeExports = typeof exports == 'object' && exports &&
- Create a ticketCreate a ticket
File UIUtils.java
has 269 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
- Create a ticketCreate a ticket
Method eSet
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case MetadataPackage.GENERAL_INFORMATION__NAME:
- Create a ticketCreate a ticket
Method addOrRemoveButtonPressed
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void addOrRemoveButtonPressed(JButton button) {
for (String model : addButtons.keySet()) {
List<JButton> modelAddButtons = addButtons.get(model);
List<JButton> modelRemoveButtons = removeButtons.get(model);
List<Map<String, JComboBox<String>>> modelBoxes = comboBoxes
- Create a ticketCreate a ticket
Method createChart
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createChart() {
String selectedID = null;
if (configPanel.isDisplayFocusedRow()) {
selectedID = selectionPanel.getFocusedID();
- Create a ticketCreate a ticket
Method closeDBConnections
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static boolean closeDBConnections(final boolean kompakt) {
if (DBKernel.myDBi != null && DBKernel.myDBi.getConn() != null) return DBKernel.myDBi.closeDBConnections(kompakt);
boolean result = true;
try {
if (localConn != null && !localConn.isClosed()) {
- Create a ticketCreate a ticket
Method getUsersFromChangeLog
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static LinkedHashMap<Integer, Vector<String>> getUsersFromChangeLog(final Statement anfrage, final String tablename, final Integer tableID, final String username,
final boolean showDeletedAsWell) {
LinkedHashMap<Integer, Vector<String>> result = new LinkedHashMap<>();
Vector<String> entries = new Vector<>();
String sql = "SELECT " + delimitL("TabellenID") + "," + delimitL("Username") + "," + delimitL("Zeitstempel") + "," + delimitL(tablename) + "." + delimitL("ID") + " AS "
- Create a ticketCreate a ticket
Method loadPortObject
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
@SuppressWarnings("unchecked")
public FskPortObject loadPortObject(PortObjectZipInputStream in, PortObjectSpec spec,
ExecutionMonitor exec) throws IOException, CanceledExecutionException {
- Create a ticketCreate a ticket
Method writeArchive
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void writeArchive(File archiveFile, FskPortObject portObject,
ExecutionContext exec) throws Exception {
Map<String, URI> URIS = FSKML.getURIS(1, 0, 12);
- Create a ticketCreate a ticket
Method loadPortObject
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
@SuppressWarnings("unchecked")
public FskPortObject loadPortObject(PortObjectZipInputStream in, PortObjectSpec spec,
ExecutionMonitor exec) throws IOException, CanceledExecutionException {
- Create a ticketCreate a ticket
Method writeArchive
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void writeArchive(File archiveFile, FskPortObject portObject,
ExecutionContext exec, ScriptHandler scriptHandler) throws Exception {
Map<String, URI> URIS = FSKML.getURIS(1, 0, 12);
- Create a ticketCreate a ticket
Method getColumnClass
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Class<?> getColumnClass(int column) {
switch (column) {
case 0:
return String.class;
- Create a ticketCreate a ticket
Function tokenBase
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var beforeParams = state.beforeParams;
state.beforeParams = false;
var ch = stream.next();
if (/[\[\]{}\(\),\.]/.test(ch)) {
- Create a ticketCreate a ticket
Function pollContent
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ContentEditableInput.prototype.pollContent = function () {
if (this.readDOMTimeout != null) {
clearTimeout(this.readDOMTimeout);
this.readDOMTimeout = null;
}
- Create a ticketCreate a ticket
Function _updateFilter
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async _updateFilter() {
let O = this;
_log( 'TABLE MAIN / _updateFilter' );
O._filtered = []; // stores all hidden/filtered rows
- Create a ticketCreate a ticket