Showing 627 of 1,220 total issues
Function drawGrid
has 173 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function drawGrid() {
var i, axes, bw, bc;
ctx.save();
ctx.translate(plotOffset.left, plotOffset.top);
Function _fnCalculateColumnWidths
has 169 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnCalculateColumnWidths ( oSettings )
{
var iTableWidth = oSettings.nTable.offsetWidth;
var iUserInputs = 0;
var iTmpWidth;
CatalogSensor
has 48 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class CatalogSensor implements MutableCatalogElement {
private String sensor;
@JsonInclude(value = Include.NON_NULL)
private String provider;
Function processData
has 166 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function processData() {
var topSentry = Number.POSITIVE_INFINITY,
bottomSentry = Number.NEGATIVE_INFINITY,
fakeInfinity = Number.MAX_VALUE,
i, j, k, m, length,
AbstractBaseCrudServiceImpl
has 47 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public abstract class AbstractBaseCrudServiceImpl<T extends CatalogDocument> extends AbstractBaseServiceImpl implements CrudService<T>, ApplicationContextAware {
protected static final Logger LOGGER = LoggerFactory.getLogger(AbstractBaseCrudServiceImpl.class);
private ApplicationContext context;
Function treejs
has 155 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.treejs = function( options ) {
// get the reference of target element
targetElement = this;
Provider
has 45 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@Document
public class Provider implements Entity, FederatedResource, SectorResourceGranted, SyncResource, AlphabeticalSortable {
private static final long serialVersionUID = 1L;
Function legend
has 152 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Chartist.plugins.legend = function (options) {
// Catch invalid options
if (options && options.position) {
if (!(options.position === 'top' || options.position === 'bottom' || options.position instanceof HTMLElement)) {
Function _fnDraw
has 148 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnDraw( oSettings )
{
/* Provide a pre-callback function which can be used to cancel the draw is false is returned */
var aPreDraw = _fnCallbackFire( oSettings, 'aoPreDrawCallback', 'preDraw', [oSettings] );
if ( $.inArray( false, aPreDraw ) !== -1 )
Function DateRangePicker
has 148 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var DateRangePicker = function (element, options, cb) {
var hasOptions = typeof options == 'object'
var localeObject;
//state
Alert
has 43 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@Document
public class Alert implements SectorResourceGranted, EntityResource, SyncResource, AlphabeticalSortable {
private static final long serialVersionUID = 1L;
SensorController
has 41 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@Controller
@RequestMapping("/admin/sensor")
public class SensorController extends CrudController<Sensor> {
@Autowired
File daterangepicker.js
has 395 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @version: 1.0
* @author: Dan Grossman http://www.dangrossman.info/
* @date: 2012-08-20
* @copyright: Copyright (c) 2012 Dan Grossman. All rights reserved.
Function legend
has 137 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function legend(chart) {
function removeLegendElement() {
var legendElement = chart.container.querySelector('.ct-legend');
if (legendElement) {
AlertRule
has 40 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@Document
public class AlertRule implements CatalogDocument, EntityResource, SectorResourceGranted {
private static final long serialVersionUID = 1L;
Application
has 40 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@Document
public class Application implements Entity, CatalogDocument, SectorResourceGranted, SyncResource, AlphabeticalSortable {
private static final long serialVersionUID = 1L;
PlatformActivity
has 40 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class PlatformActivity {
@JsonInclude(value = Include.NON_NULL)
private String tenant;
private long totalRequests;
Function _fnGatherData
has 131 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnGatherData( oSettings )
{
var iLoop, i, iLen, j, jLen, jInner,
nTds, nTrs, nTd, nTr, aLocalData, iThisIndex,
iRow, iRows, iColumn, iColumns, sNodeName,
ActiveSubscription
has 39 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@Document
public class ActiveSubscription implements SectorResourceGranted, EntityResource, CatalogDocument {
private static final long serialVersionUID = 1L;
EventMessage
has 39 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class EventMessage {
protected String message;
protected String timestamp;
@JsonInclude(value = Include.NON_NULL)