Showing 6,856 of 14,752 total issues
Method compare
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public int compare(Object o1, Object o2) {
String version1 = (String) o1;
String version2 = (String) o2;
VersionTokenizer tokenizer1 = new VersionTokenizer(version1);
- Create a ticketCreate a ticket
Method getReihenfolge
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Vector<Integer> getReihenfolge(Vector<Integer[]> org_dst) {
Vector<Integer> indexReihenfolge = new Vector<>();
Integer[] int2 = org_dst.get(0);
int[] valsA = new int[2];
int[] valsE = new int[2];
- Create a ticketCreate a ticket
Method runSnippet
has 48 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,
final RunnerNodeInternalSettings internalSettings, RunnerNodeSettings nodeSettings)
throws Exception {
// Sets up working directory with resource files. This directory needs to be deleted.
- Create a ticketCreate a ticket
Method writeFSKObject
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void writeFSKObject(FskPortObject fskObj, CombineArchive archive, String filePrefix,
Map<String, URI> URIS, ScriptHandler scriptHandler) throws Exception {
addVersion(archive);
- Create a ticketCreate a ticket
Method plotDataSetStrict
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void plotDataSetStrict(XYPlot plot, Plotable plotable, String id)
throws ConvertException {
String legend = shortLegend.get(id);
List<Color> colorList = colorLists.get(id);
List<Shape> shapeList = shapeLists.get(id);
- Create a ticketCreate a ticket
Method updateCheckBoxes
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void updateCheckBoxes() {
boolean allVisualizationSelected = true;
boolean allMiscellaneousSelected = true;
boolean allQualitySelected = true;
boolean allConditionsSelected = true;
- Create a ticketCreate a ticket
Method updatePrimaryIndepRanges
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void updatePrimaryIndepRanges(List<KnimeTuple> tuples,
Map<KnimeTuple, List<KnimeTuple>> tupleCombinations) {
Map<Integer, Map<String, Double>> indepMin = new LinkedHashMap<>();
Map<Integer, Map<String, Double>> indepMax = new LinkedHashMap<>();
- Create a ticketCreate a ticket
Method testGeneralInformation
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testGeneralInformation() throws IOException {
Copier copier = new Copier();
- Create a ticketCreate a ticket
Function haxeTokenBase
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function haxeTokenBase(stream, state) {
var ch = stream.next();
if (ch == '"' || ch == "'") {
return chain(stream, state, haxeTokenString(ch));
} else if (/[\[\]{}\(\),;\:\.]/.test(ch)) {
- Create a ticketCreate a ticket
Function tokenBase
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
if (tokenHooks[ch]) {
var result = tokenHooks[ch](stream, state);
if (result !== false) return result;
- Create a ticketCreate a ticket
Function updateDisplayIfNeeded
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateDisplayIfNeeded(cm, update) {
var display = cm.display, doc = cm.doc;
if (update.editorIsHidden) {
resetView(cm);
- Create a ticketCreate a ticket
Function drawForLine
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function drawForLine(line, fromArg, toArg) {
var lineObj = getLine(doc, line);
var lineLen = lineObj.text.length;
var start, end;
function coords(ch, bias) {
- Create a ticketCreate a ticket
Function stretchSpansOverChange
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function stretchSpansOverChange(doc, change) {
if (change.full) { return null }
var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;
var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;
if (!oldFirst && !oldLast) { return null }
- Create a ticketCreate a ticket
Function indentLine
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function indentLine(cm, n, how, aggressive) {
var doc = cm.doc, state;
if (how == null) { how = "add"; }
if (how == "smart") {
// Fall back to "prev" when the mode doesn't have an indentation
- Create a ticketCreate a ticket
Function domTextBetween
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function domTextBetween(cm, from, to, fromLine, toLine) {
var text = "", closing = false, lineSep = cm.doc.lineSeparator(), extraLinebreak = false;
function recognizeMarker(id) { return function (marker) { return marker.id == id; } }
function close() {
if (closing) {
- Create a ticketCreate a ticket
Function tokenBase
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
stream.eatWhile(/[\w\$_]/);
- Create a ticketCreate a ticket
Function locateNodeInLineView
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function locateNodeInLineView(lineView, node, offset) {
var wrapper = lineView.text.firstChild, bad = false;
if (!node || !contains(wrapper, node)) { return badPos(Pos(lineNo(lineView.line), 0), true) }
if (node == wrapper) {
bad = true;
- Create a ticketCreate a ticket
Function query
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
AjaxAdapter.prototype.query = function (params, callback) {
var matches = [];
var self = this;
if (this._request != null) {
- Create a ticketCreate a ticket
Function bindEvents
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
bindEvents: function () {
if (this.no_diapason) {
return;
}
- Create a ticketCreate a ticket
Function _process_options
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_process_options: function(opts){
// Store raw options for reference
this._o = $.extend({}, this._o, opts);
// Processed options
var o = this.o = $.extend({}, this._o);
- Create a ticketCreate a ticket