Showing 6,856 of 14,752 total issues
Method createTable
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void createTable() {
String fieldDefs = DBKernel.delimitL("ID") + " INTEGER GENERATED BY DEFAULT AS IDENTITY (START WITH 1) PRIMARY KEY";
if (tableName.equals("ChangeLog")) {
fieldDefs = DBKernel.delimitL("ID") + " INTEGER GENERATED BY DEFAULT AS SEQUENCE " + DBKernel.delimitL("ChangeLogSEQ") + " PRIMARY KEY";
}
- Create a ticketCreate a ticket
Method doImportErlenbacherFW
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private int[] doImportErlenbacherFW(HSSFWorkbook wb, JProgressBar progress, String efsaID) {
int numSuccess = 0;
int numFails = 0;
HSSFSheet businessSheet = wb.getSheet("Business_List");
HSSFSheet transactionSheet = wb.getSheet("Receivers");
- Create a ticketCreate a ticket
Method getSecModelById
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public KnimeTuple getSecModelById(int id) throws SQLException {
KnimeTuple tuple = null;
PreparedStatement stat = conn.prepareStatement(queryModelView + " WHERE \"" + ATT_LEVEL + "\"=2 AND \"Modellkatalog\".\"ID\"=?");
try {
stat.setInt(1, id);
- Create a ticketCreate a ticket
Method retrieveParameter
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static metadata.Parameter retrieveParameter(String[][] values, int row) {
// Check mandatory properties
if (values[row][RakipColumn.L.ordinal()].isEmpty()) {
throw new IllegalArgumentException("Missing parameter id");
- Create a ticketCreate a ticket
Method retrieveParameter
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static metadata.Parameter retrieveParameter(String[][] values, int row) {
// Check mandatory properties
if (values[row][RakipColumn.L.ordinal()].isEmpty()) {
throw new IllegalArgumentException("Missing parameter id");
- Create a ticketCreate a ticket
Method retrieveParameter
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static metadata.Parameter retrieveParameter(String[][] values, int row) {
// Check mandatory properties
if (values[row][RakipColumn.L.ordinal()].isEmpty()) {
throw new IllegalArgumentException("Missing parameter id");
- Create a ticketCreate a ticket
Method getInverseFunctionSamplePoints
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public double[][] getInverseFunctionSamplePoints(String paramX,
String paramY, String unitX, String unitY, String transformX,
String transformY, double minX, double maxX, double minY,
double maxY, Map<String, Integer> choice, List<String> warnings)
throws ConvertException {
- Create a ticketCreate a ticket
Method actionPerformed
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void actionPerformed(ActionEvent e) {
JFileChooser fileChooser = new JFileChooser();
FileFilter svgFilter = new FileFilter() {
- Create a ticketCreate a ticket
Method checkRHome
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void checkRHome(final String rHomePath, final boolean fromPreferences) throws InvalidRHomeException {
final Path rHome = Paths.get(rHomePath);
final String msgSuffix = ((fromPreferences) ? ""
: " R_HOME ('" + rHomePath + "')" + " is meant to be the path to the folder which is the root of R's "
- Create a ticketCreate a ticket
Function html
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function html(stream, state) {
var ch = stream.peek();
// handle haml declarations. All declarations that cant be handled here
// will be passed to html mode
- Create a ticketCreate a ticket
Function inText
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function inText(stream, state) {
function chain(parser) {
state.tokenize = parser;
return parser(stream, state);
}
- Create a ticketCreate a ticket
Function token
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
if(state.tokenize != null) {
return state.tokenize(stream, state);
}
- Create a ticketCreate a ticket
Function handlePhraseModifier
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handlePhraseModifier(stream, state, ch) {
if (ch === "_") {
if (stream.eat("_"))
return togglePhraseModifier(stream, state, "italic", /__/, 2);
else
- Create a ticketCreate a ticket
Function showPrimarySelection
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ContentEditableInput.prototype.showPrimarySelection = function () {
var sel = this.getSelection(), cm = this.cm, prim = cm.doc.sel.primary();
var from = prim.from(), to = prim.to();
if (cm.display.viewTo == cm.display.viewFrom || from.line >= cm.display.viewTo || to.line < cm.display.viewFrom) {
- Create a ticketCreate a ticket
Function resetFooter
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
BootstrapTable.prototype.resetFooter = function () {
var that = this,
data = that.getData(),
html = [];
- Create a ticketCreate a ticket
Function click
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
click: function(e){
e.preventDefault();
e.stopPropagation();
var target, dir, day, year, month;
- Create a ticketCreate a ticket
Function d3_geo_pathBuffer
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_geo_pathBuffer() {
var pointCircle = d3_geo_pathBufferCircle(4.5), buffer = [];
var stream = {
point: point,
lineStart: function() {
- Create a ticketCreate a ticket
Function gobbleVariable
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
gobbleVariable = function() {
var ch_i, node;
ch_i = exprICode(index);
if(ch_i === OPAREN_CODE) {
- Create a ticketCreate a ticket
Function d3_svg_line
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_svg_line(projection) {
var x = d3_svg_lineX, y = d3_svg_lineY, defined = d3_true, interpolate = d3_svg_lineLinear, interpolateKey = interpolate.key, tension = .7;
function line(data) {
var segments = [], points = [], i = -1, n = data.length, d, fx = d3_functor(x), fy = d3_functor(y);
function segment() {
- Create a ticketCreate a ticket
Function parseRows
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dsv.parseRows = function(text, f) {
var EOL = {}, EOF = {}, rows = [], N = text.length, I = 0, n = 0, t, eol;
function token() {
if (I >= N) return EOF;
if (eol) return eol = false, EOL;
- Create a ticketCreate a ticket