Showing 6,856 of 14,752 total issues
Function onCopyCut
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onCopyCut(e) {
if (signalDOMEvent(cm, e)) { return }
if (cm.somethingSelected()) {
setLastCopied({lineWise: false, text: cm.getSelections()})
if (e.type == "cut") { cm.replaceSelection("", null, "cut") }
- Create a ticketCreate a ticket
Function updateLineGutter
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateLineGutter(cm, lineView, lineN, dims) {
if (lineView.gutter) {
lineView.node.removeChild(lineView.gutter)
lineView.gutter = null
}
- Create a ticketCreate a ticket
Function onCopyCut
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onCopyCut(e) {
if (signalDOMEvent(cm, e)) { return }
if (cm.somethingSelected()) {
setLastCopied({lineWise: false, text: cm.getSelections()})
if (e.type == "cut") { cm.replaceSelection("", null, "cut") }
- Create a ticketCreate a ticket
Function from
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function from(arrayLike/* , mapFn, thisArg */) {
// 1. Let C be the this value.
var C = this;
// 2. Let items be ToObject(arrayLike).
- Create a ticketCreate a ticket
Method getNewConc
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private Double getNewConc(ValueAndUnit vau, PredictionValues pv, ParametersSetting ps, Double tempVal, Double phVal, Double awVal, Double presVal, double t, String timeUnit, Double lastConc, double stepWidth) {
- Create a ticketCreate a ticket
Method setTS
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void setTS(String agent, String agentDetail, Integer agentID, String matrix, String matrixDetail, Integer matrixID,
String comment, double temperature, String tempUnit, double ph, double aw) throws PmmException {
- Create a ticketCreate a ticket
Method openNewWindow
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public Object openNewWindow(final MyTable theNewTable, final Object value, final Object headerValue, final MyDBTable dbTable, final Integer row, final Integer col, final Object[][] conditions, boolean fromMMC, Filter mf, Component parent,
String level1Expansion) {
- Create a ticketCreate a ticket
Method getInverseFunctionSamplePoints
has 11 arguments (exceeds 4 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, List<String> warnings) throws ConvertException {
- Create a ticketCreate a ticket
Method getFunctionSamplePointsErrors
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public double[][] getFunctionSamplePointsErrors(String paramX,
String paramY, String unitX, String unitY, String transformX,
String transformY, double minX, double maxX, double minY,
double maxY, Map<String, Integer> choice) throws ConvertException {
- Create a ticketCreate a ticket
Method getFunctionSamplePoints
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public double[][] getFunctionSamplePoints(String paramX, String paramY,
String unitX, String unitY, String transformX, String transformY,
double minX, double maxX, double minY, double maxY,
List<String> warnings) throws ConvertException {
- Create a ticketCreate a ticket
Method getFunctionPoints
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public double[][] getFunctionPoints(String paramX, String paramY,
String unitX, String unitY, String transformX, String transformY,
double minX, double maxX, double minY, double maxY,
Map<String, Integer> choice) throws ConvertException {
- Create a ticketCreate a ticket
Method getFunctionErrors
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public double[][] getFunctionErrors(String paramX, String paramY,
String unitX, String unitY, String transformX, String transformY,
double minX, double maxX, double minY, double maxY,
Map<String, Integer> choice) throws ConvertException {
- Create a ticketCreate a ticket
Method getTimeSeriesTuples
has 11 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public Map<String, KnimeTuple> getTimeSeriesTuples(File file, String sheet, Map<String, Object> columnMappings,
String timeUnit, String concentrationUnit, String agentColumnName, Map<String, AgentXml> agentMappings,
String matrixColumnName, Map<String, MatrixXml> matrixMappings, boolean preserveIds, List<Integer> usedIds)
- Create a ticketCreate a ticket
Method setIndependentVariableData
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
void setIndependentVariableData() {
List<VariableData> variables = new LinkedList<>();
- Create a ticketCreate a ticket
Method execute
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected BufferedDataTable[] execute(final BufferedDataTable[] inData, final ExecutionContext exec)
throws Exception {
Bfrdb db = null;
/*
- Create a ticketCreate a ticket
Method readModelTable
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void readModelTable() {
models = new ArrayList<>();
modelNames = new LinkedHashMap<>();
modelFormulas = new LinkedHashMap<>();
dependentVariables = new LinkedHashMap<>();
- Create a ticketCreate a ticket
Method cellValueChanged
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Object cellValueChanged(int row, int col, Object oldValue, Object newValue) {
//System.out.println(row + "\t" + col + "\t" + oldValue + "\t" + newValue);
try {
if (theTable.getMyCellPropertiesModel() instanceof MyCellPropertiesModel) {
if (theTable.getColumn(col-1).getColumnName().equals("Geprueft") && oldValue == null && newValue != null &&
- Create a ticketCreate a ticket
Method button8ActionPerformed
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void button8ActionPerformed(ActionEvent e) {
//myDBTable1.myPrint();
String tt = "";
tt += "ID\t" + GuiMessages.getString("Benutzer") + "\t" + GuiMessages.getString("Letzte Aenderung") + "\n";
tt += "-----------------------------\n\n";
- Create a ticketCreate a ticket
Method checkeDoppeltVergebeneDKZs
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void checkeDoppeltVergebeneDKZs(final Statement anfrage) {
System.err.println("checkeDoppeltVergebeneDKZs - Start");
LinkedHashMap<String, MyTable> myTables = DBKernel.myDBi.getAllTables();
Hashtable<Integer, String> hash = new Hashtable<>();
for(String key : myTables.keySet()) {
- Create a ticketCreate a ticket
Method loadOther4Gui
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void loadOther4Gui() {
// knownCodeSysteme
knownCodeSysteme = new LinkedHashMap<>();
// TOP
knownCodeSysteme.put("Agenzien_TOP", new int[]{2,4}); //
- Create a ticketCreate a ticket