Showing 6,856 of 14,752 total issues
Method testConstructors
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructors() throws Exception {
// test constructor with id, name, formula and model class
final CatalogModelXml catalog0 = new CatalogModelXml(0, "name", "formula", 0);
- Create a ticketCreate a ticket
Function token
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
if (stream.sol()) {
state.indented = stream.indentation();
state.startOfLine = true;
}
- Create a ticketCreate a ticket
Function tokenStringFactory
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenStringFactory(delimiter, tokenOuter) {
while ("rubf".indexOf(delimiter.charAt(0).toLowerCase()) >= 0)
delimiter = delimiter.substr(1);
var singleline = delimiter.length == 1;
- Create a ticketCreate a ticket
Function atBlock
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
states.atBlock = function(type, stream, state) {
if (type == "(") return pushContext(state, stream, "atBlock_parens");
if (typeIsBlock(type, stream)) {
return pushContext(state, stream, "block");
}
- Create a ticketCreate a ticket
Function constructor
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor ( settings, $container, metadata, uploadDates, executionTimes ) {
let O = this;
O._metadata = metadata;
O._uploadDates = uploadDates;
O._executionTimes = executionTimes;
- Create a ticketCreate a ticket
Function _createModelMetadataContent
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createModelMetadataContent() {
let O = this;
_log( 'MODAL DETAILS / _createModelMetadataContent' );
// modal nav with tabs & search
O._$modalNav = $('<div class="modal-body modal-nav"></div>')
- Create a ticketCreate a ticket
Function _createPanels
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let schema = fskui.riskModel;
return {
- Create a ticketCreate a ticket
Function _createPanels
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels(port) {
let schema = fskui.qraModel;
return {
- Create a ticketCreate a ticket
Function option
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SelectAdapter.prototype.option = function (data) {
var option;
if (data.children) {
option = document.createElement('optgroup');
- Create a ticketCreate a ticket
Function getRowByUniqueId
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
BootstrapTable.prototype.getRowByUniqueId = function (id) {
var uniqueId = this.options.uniqueId,
len = this.options.data.length,
dataRow = null,
i, row, rowUniqueId;
- Create a ticketCreate a ticket
Function _processTranslations
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Defaults.prototype._processTranslations = function (languages, debug) {
var translations = new Translation();
for (var l = 0; l < languages.length; l++) {
var languageData = new Translation();
- Create a ticketCreate a ticket
Function select
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SelectAdapter.prototype.select = function (data) {
var self = this;
data.selected = true;
- Create a ticketCreate a ticket
Function save
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
save: function(e, params) {
//mark element with unsaved class if needed
if(this.options.unsavedclass) {
/*
Add unsaved css to element if:
- Create a ticketCreate a ticket
Function apportion
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function apportion(node, previousSibling, ancestor) {
if (previousSibling) {
var vip = node, vop = node, vim = previousSibling, vom = node.parent.children[0], sip = vip._tree.mod, sop = vop._tree.mod, sim = vim._tree.mod, som = vom._tree.mod, shift;
while (vim = d3_layout_treeRight(vim), vip = d3_layout_treeLeft(vip), vim && vip) {
vom = d3_layout_treeLeft(vom);
- Create a ticketCreate a ticket
Function position
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function position(row, u, rect, flush) {
var i = -1, n = row.length, x = rect.x, y = rect.y, v = u ? round(row.area / u) : 0, o;
if (u == rect.dx) {
if (flush || v > rect.dy) v = rect.dy;
while (++i < n) {
- Create a ticketCreate a ticket
Function _syncSubtree
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Select2.prototype._syncSubtree = function (evt, mutations) {
var changed = false;
var self = this;
// Ignore any mutation events raised for elements that aren't options or
- Create a ticketCreate a ticket
Function d3_geo_centroidRingStart
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_geo_centroidRingStart() {
var λ00, φ00, x0, y0, z0;
d3_geo_centroid.point = function(λ, φ) {
λ00 = λ, φ00 = φ;
d3_geo_centroid.point = nextPoint;
- Create a ticketCreate a ticket
Function gobbleToken
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
gobbleToken = function() {
var ch, to_check, tc_len;
gobbleSpaces();
ch = exprICode(index);
- Create a ticketCreate a ticket
Function gobbleExpression
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
gobbleExpression = function() {
var test = gobbleBinaryExpression(),
consequent, alternate;
gobbleSpaces();
if(exprICode(index) === QUMARK_CODE) {
- Create a ticketCreate a ticket
Function linePoint
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function linePoint(x, y) {
x = Math.max(-d3_geo_clipExtentMAX, Math.min(d3_geo_clipExtentMAX, x));
y = Math.max(-d3_geo_clipExtentMAX, Math.min(d3_geo_clipExtentMAX, y));
var v = visible(x, y);
if (polygon) ring.push([ x, y ]);
- Create a ticketCreate a ticket