Showing 6,856 of 14,752 total issues
Method testConstructors
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructors() {
// Test constructor with name, min and max
final IndepXml indep0 = new IndepXml("name", 0.0, 1.0);
- Create a ticketCreate a ticket
Method testConstructors
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructors() {
// Test constructor with name
final DepXml dep0 = new DepXml("name");
- Create a ticketCreate a ticket
Function nextToken
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function nextToken(stream, state) {
var tok = innerMode(stream, state)
|| restOfLine(stream, state)
|| interpolationContinued(stream, state)
|| includeFilteredContinued(stream, state)
- Create a ticketCreate a ticket
Function buildLineContent
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function buildLineContent(cm, lineView) {
// The padding-right forces the element to have a 'border', which
// is needed on Webkit to be able to get line-level bounding
// rectangles for it (in measureChar).
var content = eltP("span", null, null, webkit ? "padding-right: .1px" : null);
- Create a ticketCreate a ticket
Function applyTextInput
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function applyTextInput(cm, inserted, deleted, sel, origin) {
var doc = cm.doc;
cm.display.shift = false;
if (!sel) { sel = doc.sel; }
- Create a ticketCreate a ticket
Function coordsCharInner
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function coordsCharInner(cm, lineObj, lineNo$$1, x, y) {
// Move y into line-local coordinate space
y -= heightAtLine(lineObj);
var preparedMeasure = prepareMeasureForLine(cm, lineObj);
// When directly calling `measureCharPrepared`, we have to adjust
- Create a ticketCreate a ticket
Function getClassNames
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getClassNames: function(date){
var cls = [],
year = this.viewDate.getUTCFullYear(),
month = this.viewDate.getUTCMonth(),
today = UTCToday();
- Create a ticketCreate a ticket
Function bind
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
BaseSelection.prototype.bind = function (container, $container) {
var self = this;
var id = container.id + '-container';
var resultsId = container.id + '-results';
- Create a ticketCreate a ticket
Function cluster
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.layout.cluster = function() {
var hierarchy = d3.layout.hierarchy().sort(null).value(null), separation = d3_layout_treeSeparation, size = [ 1, 1 ], nodeSize = false;
function cluster(d, i) {
var nodes = hierarchy.call(this, d, i), root = nodes[0], previousNode, x = 0;
d3_layout_treeVisitAfter(root, function(node) {
- Create a ticketCreate a ticket
Function Datepicker
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Datepicker = function(element, options) {
var that = this;
this._process_options(options);
- Create a ticketCreate a ticket
Function d3_time_format
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_time_format(template) {
var n = template.length;
function format(date) {
var string = [], i = -1, j = 0, c, p, f;
while (++i < n) {
- Create a ticketCreate a ticket
Function _attachments
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_attachments: function(input, inst) {
var showOn, buttonText, buttonImage,
appendText = this._get(inst, "appendText"),
isRTL = this._get(inst, "isRTL");
- Create a ticketCreate a ticket
Function _mouseDown
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDown: function(event) {
// don't let more than one widget handle mouseStart
if ( mouseHandled ) {
return;
}
- Create a ticketCreate a ticket
Function load
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
load: function( index, event ) {
index = this._getIndex( index );
var that = this,
tab = this.tabs.eq( index ),
anchor = tab.find( ".ui-tabs-anchor" ),
- Create a ticketCreate a ticket
Function buildLineContent
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function buildLineContent(cm, lineView) {
// The padding-right forces the element to have a 'border', which
// is needed on Webkit to be able to get line-level bounding
// rectangles for it (in measureChar).
var content = eltP("span", null, null, webkit ? "padding-right: .1px" : null)
- Create a ticketCreate a ticket
Function coordsCharInner
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function coordsCharInner(cm, lineObj, lineNo, x, y) {
// Move y into line-local coordinate space
y -= heightAtLine(lineObj)
var preparedMeasure = prepareMeasureForLine(cm, lineObj)
// When directly calling `measureCharPrepared`, we have to adjust
- Create a ticketCreate a ticket
Function applyTextInput
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function applyTextInput(cm, inserted, deleted, sel, origin) {
var doc = cm.doc
cm.display.shift = false
if (!sel) { sel = doc.sel }
- Create a ticketCreate a ticket
Function buildLineContent
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function buildLineContent(cm, lineView) {
// The padding-right forces the element to have a 'border', which
// is needed on Webkit to be able to get line-level bounding
// rectangles for it (in measureChar).
var content = eltP("span", null, null, webkit ? "padding-right: .1px" : null)
- Create a ticketCreate a ticket
Function coordsCharInner
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function coordsCharInner(cm, lineObj, lineNo, x, y) {
// Move y into line-local coordinate space
y -= heightAtLine(lineObj)
var preparedMeasure = prepareMeasureForLine(cm, lineObj)
// When directly calling `measureCharPrepared`, we have to adjust
- Create a ticketCreate a ticket
Function applyTextInput
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function applyTextInput(cm, inserted, deleted, sel, origin) {
var doc = cm.doc
cm.display.shift = false
if (!sel) { sel = doc.sel }
- Create a ticketCreate a ticket