Showing 6,856 of 14,752 total issues
Method testToXmlElement
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testToXmlElement() throws DataConversionException {
Element element = new ParametricModel().toXmlElement();
assertEquals("ParametricModel", element.getName());
- Create a ticketCreate a ticket
Method createDataTable
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private DataTable createDataTable(ExpColumnList colList, List<DataPoint> dataPoints) {
DataTable table = DataTable.Factory.newInstance();
table.setColumnList(colList.columnList);
- Create a ticketCreate a ticket
Function next
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var next = function(stream, context, state) {
var token = new Token(null, context, false);
var aChar = stream.next();
if (aChar === '"') {
- Create a ticketCreate a ticket
Function keywords
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var keywords = function(){
// convenience functions used to build keywords object
function kw(type) {return {type: type, style: "keyword"};}
var operator = kw("operator")
, atom = {type: "atom", style: "atom"}
- Create a ticketCreate a ticket
Function tokenBase
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
if (ch == '"' || ch == "'") {
return startString(ch, stream, state);
}
- Create a ticketCreate a ticket
Function indent
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
indent: function(state, textAfter, line) {
var cx = state.context,
ch = textAfter && textAfter.charAt(0),
indent = cx.indent,
- Create a ticketCreate a ticket
Function _createSimActions
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createSimActions() {
let O = this;
_log( 'panel SIM / _createSimActions' );
// sim select actions
- Create a ticketCreate a ticket
Function _getModelHandler
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async _getModelHandler(modelMetadata) {
let O = this;
_log('MODAL DETAILS / _getModelHandler');
let modelHandler = null;
- Create a ticketCreate a ticket
Function _initTouchspin
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initTouchspin ( container ) {
let O = this;
_log( 'UI / _initTouchspin' );
let $elems = $( container ).length > 0 ? $( container ).find( 'input[data-touchspin]' ) : $( 'input[data-touchspin]' );
- Create a ticketCreate a ticket
Function pie
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.layout.pie = function() {
var value = Number, sort = d3_layout_pieSortByValue, startAngle = 0, endAngle = 2 * π;
function pie(data) {
var values = data.map(function(d, i) {
return +value.call(pie, d, i);
- Create a ticketCreate a ticket
Function d3_time_interval
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_time_interval(local, step, number) {
function round(date) {
var d0 = local(date), d1 = offset(d0, 1);
return date - d0 < d1 - date ? d0 : d1;
}
- Create a ticketCreate a ticket
Function bridge
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.widget.bridge = function( name, object ) {
var fullName = object.prototype.widgetFullName || name;
$.fn[ name ] = function( options ) {
var isMethodCall = typeof options === "string",
args = widget_slice.call( arguments, 1 ),
- Create a ticketCreate a ticket
Function _generatePosition
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_generatePosition: function(event) {
var top, left,
o = this.options,
pageX = event.pageX,
- Create a ticketCreate a ticket
Function _createWrapper
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createWrapper: function() {
this.uiDialog = $("<div>")
.addClass( "ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " +
this.options.dialogClass )
.hide()
- Create a ticketCreate a ticket
Function _toggle
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_toggle: function( event, eventData ) {
var that = this,
toShow = eventData.newPanel,
toHide = eventData.oldPanel;
- Create a ticketCreate a ticket
Function fold
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectFold = $.effects.effect.fold = function( o, done ) {
// Create element
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
- Create a ticketCreate a ticket
Function parse$$1
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
parse: function parse$$1(components, options) {
var mailtoComponents = components;
var to = mailtoComponents.to = mailtoComponents.path ? mailtoComponents.path.split(",") : [];
mailtoComponents.path = undefined;
if (mailtoComponents.query) {
- Create a ticketCreate a ticket
Method retrieveContact
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Contact retrieveContact(Row row, Map<String, Integer> columns) {
String x = row.getCell(L).getStringCellValue();
x= row.getCell(AA).getStringCellValue();
x= row.getCell(AE).getStringCellValue();
- Create a ticketCreate a ticket
Method retrieveContact
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Contact retrieveContact(Row row, Map<String, Integer> columns) {
String x = row.getCell(L).getStringCellValue();
x= row.getCell(AA).getStringCellValue();
x= row.getCell(AE).getStringCellValue();
- Create a ticketCreate a ticket
Method retrieveContact
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Contact retrieveContact(Row row, Map<String, Integer> columns) {
// Check mandatory properties and throw exception if missing
if (row.getCell(columns.get("mail")).getCellTypeEnum() == CellType.BLANK) {
throw new IllegalArgumentException("Missing mail");
- Create a ticketCreate a ticket