Showing 14,752 of 14,752 total issues
Method manageDBMinMax
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void manageDBMinMax(ResultSet result, ParametricModel pm) throws SQLException {
Array array = result.getArray(Bfrdb.ATT_PARAMNAME);
Array arrayMin = result.getArray(Bfrdb.ATT_MINVALUE);
Array arrayMax = result.getArray(Bfrdb.ATT_MAXVALUE);
Array arrayCat = result.getArray("ParCategory");
- Create a ticketCreate a ticket
Method managePs
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private boolean managePs(PreparedStatement ps) throws SQLException {
boolean allNullVals = true;
String[] fieldTypes = myT.getFieldTypes();
String[] fieldNames = myT.getFieldNames();
MyTable[] fieldFields = myT.getForeignFields();
- Create a ticketCreate a ticket
Method showAndFilterVals
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private boolean showAndFilterVals(String tablename, LinkedHashMap<String[], LinkedHashSet<String[]>> vals, int idColumn,
int lfd, int total) {
int i=0;
Integer lastShownID = -1;
for (String[] p : vals.keySet()) {
- Create a ticketCreate a ticket
Method execute
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(final PortObject[] inData, final ExecutionContext exec)
throws Exception {
FskPortObject portObject = (FskPortObject) inData[0];
- Create a ticketCreate a ticket
Method convertStringLists2TSXmlDoc
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static PmmXmlDoc convertStringLists2TSXmlDoc(Array t, Array tu, Array l, Array lu, Array lot, Array stddevs, Array wdhs, String modelUnit, String timeUnit) {
PmmXmlDoc tsDoc = new PmmXmlDoc();
if (t != null) {
try {
Object[] toksT = (Object[])t.getArray();
- Create a ticketCreate a ticket
Method launchRserve
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static RInstance launchRserve(final String command, final String host, final Integer port)
throws IOException {
// if debugging, launch debug version of Rserve.
final String cmd = (DEBUG_RSERVE && Platform.isWindows()) ? command.replace(".exe", "_d.exe") : command;
- Create a ticketCreate a ticket
Method createChangeLists
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private List<List<Integer>> createChangeLists() {
int n = arguments.length;
boolean done = false;
List<List<Integer>> changeLists = new ArrayList<>();
List<Integer> list = new ArrayList<>(Collections.nCopies(n, -1));
- Create a ticketCreate a ticket
Method checkCairoOnMac
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void checkCairoOnMac() throws RException {
if (cairoFound && quartzFound) {
return;
}
- Create a ticketCreate a ticket
Function readToken
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function readToken(stream, state) {
// whitespace
if (stream.eatSpace()) return null;
// comment
- Create a ticketCreate a ticket
Function token
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
var ctx = state.context;
if (stream.sol()) {
if (ctx.align == null) ctx.align = false;
state.indented = stream.indentation();
- Create a ticketCreate a ticket
Function tokenBase
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
// is a start of string?
if (ch == '"' || ch == "'")
- Create a ticketCreate a ticket
Function Select2
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Select2 = function ($element, options) {
if ($element.data('select2') != null) {
$element.data('select2').destroy();
}
- Create a ticketCreate a ticket
Function histogram
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.layout.histogram = function() {
var frequency = true, valuer = Number, ranger = d3_layout_histogramRange, binner = d3_layout_histogramBinSturges;
function histogram(data, i) {
var bins = [], values = data.map(valuer, this), range = ranger.call(this, values, i), thresholds = binner.call(this, range, values, i), bin, i = -1, n = values.length, m = thresholds.length - 1, k = frequency ? 1 : 1 / n, x;
while (++i < m) {
- Create a ticketCreate a ticket
Function addFunctionObject
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addFunctionObject(dbuuid, functionAsString, functionConstants, model,headless)
{
var color = getNextColor(); // functionPlot provides 9 colors
var maxRange = _plotterValue.maxXAxis * 1000; // obligatoric for the range feature
- Create a ticketCreate a ticket
Function domTextBetween
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function domTextBetween(cm, from, to, fromLine, toLine) {
var text = "", closing = false, lineSep = cm.doc.lineSeparator()
function recognizeMarker(id) { return function (marker) { return marker.id == id; } }
function close() {
if (closing) {
- Create a ticketCreate a ticket
Function domTextBetween
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function domTextBetween(cm, from, to, fromLine, toLine) {
var text = "", closing = false, lineSep = cm.doc.lineSeparator()
function recognizeMarker(id) { return function (marker) { return marker.id == id; } }
function close() {
if (closing) {
- Create a ticketCreate a ticket
Function 11
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./ucs2length":9,"fast-deep-equal":41}],11:[function(require,module,exports){
'use strict';
var KEYWORDS = [
'multipleOf',
- Create a ticketCreate a ticket
Function decode
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var decode = function decode(input) {
// Don't use UCS-2.
var output = [];
var inputLength = input.length;
var i = 0;
- Create a ticketCreate a ticket
Function baseClone
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function baseClone(value, isDeep, customizer, key, object, stackA, stackB) {
var result;
if (customizer) {
result = object ? customizer(value, key, object) : customizer(value);
}
- Create a ticketCreate a ticket
Function mixin
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mixin(object, source, options) {
if (options == null) {
var isObj = isObject(source),
props = isObj ? keys(source) : undefined,
methodNames = (props && props.length) ? baseFunctions(source, props) : undefined;
- Create a ticketCreate a ticket