Showing 6,856 of 14,752 total issues
Function option
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
option: function( key, value ) {
var options = key,
parts,
curOption,
i;
- Create a ticketCreate a ticket
Function offsetString
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
offsetString = function(offset) {
try {
return $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
offset, $.datepicker._getFormatConfig(inst));
}
- Create a ticketCreate a ticket
Function open
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
open: function( event ) {
var that = this,
target = $( event ? event.target : this.element )
// we need closest here due to mouseover bubbling,
// but always pointing at the same event target
- Create a ticketCreate a ticket
Function _attachHandlers
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_attachHandlers: function(inst) {
var stepMonths = this._get(inst, "stepMonths"),
id = "#" + inst.id.replace( /\\\\/g, "\\" );
inst.dpDiv.find("[data-handler]").map(function () {
var handler = {
- Create a ticketCreate a ticket
Function addWidget
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addWidget: function(pos, node, scroll, vert, horiz) {
var display = this.display
pos = cursorCoords(this, clipPos(this.doc, pos))
var top = pos.bottom, left = pos.left
node.style.position = "absolute"
- Create a ticketCreate a ticket
Function addWidget
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addWidget: function(pos, node, scroll, vert, horiz) {
var display = this.display
pos = cursorCoords(this, clipPos(this.doc, pos))
var top = pos.bottom, left = pos.left
node.style.position = "absolute"
- Create a ticketCreate a ticket
Function _create
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create(title, dialog, formData) {
// Add button
let addButton = document.createElement("button");
addButton.classList.add("btn", "btn-primary");
- Create a ticketCreate a ticket
Function shouldUseNative
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function shouldUseNative() {
try {
if (!Object.assign) {
return false;
}
- Create a ticketCreate a ticket
Function fixTableHeaders
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fixTableHeaders(){
var tablePopups ={};
tablePopups["modelCategory"] = window.uischema13
tablePopups["modificationdate"] = window.uischema14
tablePopups["creators"] = window.uischema23
- Create a ticketCreate a ticket
Function random
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function random(min, max, floating) {
if (floating && isIterateeCall(min, max, floating)) {
max = floating = undefined;
}
var noMin = min == null,
- Create a ticketCreate a ticket
Function pctDecChars
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function pctDecChars(str) {
var newStr = "";
var i = 0;
var il = str.length;
while (i < il) {
- Create a ticketCreate a ticket
Function slicedToArray
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var slicedToArray = function () {
function sliceIterator(arr, i) {
var _arr = [];
var _n = true;
var _d = false;
- Create a ticketCreate a ticket
Function applyPlacement
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tooltip.prototype.applyPlacement = function (offset, placement) {
var $tip = this.tip()
var width = $tip[0].offsetWidth
var height = $tip[0].offsetHeight
- Create a ticketCreate a ticket
Function validateConnection
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
validateConnection: function (cellViewS, magnetS, cellViewT, magnetT, end, linkView) {
//It's not allowed to override parameters of type CONSTANT
if($(magnetT).text().indexOf('Classification: CONSTANT') != -1){
$(magnetT).attr( "fill","yellow" );
return false;
- Create a ticketCreate a ticket
Function getMetadata
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function getMetadata() {
if (_representation.table && _representation.table.rows && _representation.table.rows.length > 0) {
const j = [];
$.each(_representation.table.rows, function (index, rawdata) {
- Create a ticketCreate a ticket
Method saveSettings
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void saveSettings( final Config config ) {
if (volume != null) {
config.addString( PARAM_VOLUME, volume );
}
config.addString(PARAM_VOLUME_UNIT, volumeUnit);
- Create a ticketCreate a ticket
Method refreshCB
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void refreshCB() {
if (cb == null) {
cb = new JComboBox<EmReaderUi_Agent>();
cb.setEditable(false);
cb.setFont(new Font("Serif", Font.BOLD, 16));
- Create a ticketCreate a ticket
Method deserialize
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public GenericModelDataBackground deserialize(JsonParser parser, DeserializationContext context)
throws IOException, JsonProcessingException {
JsonNode node = parser.readValueAsTree();
- Create a ticketCreate a ticket
Method getLanguageWrittenIn
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static String getLanguageWrittenIn(Model model) {
String language;
final String modelType = model.getModelType();
if (modelType.equalsIgnoreCase("genericModel")) {
- Create a ticketCreate a ticket
Method getParameter
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static List<Parameter> getParameter(Model model) {
List<Parameter> parameters;
final String modelType = model.getModelType();
if (modelType.equalsIgnoreCase("genericModel")) {
- Create a ticketCreate a ticket