Showing 6,856 of 14,752 total issues
Function offApi
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var offApi = function(events, name, callback, options) {
if (!events) return;
var i = 0, listening;
var context = options.context, listeners = options.listeners;
- Create a ticketCreate a ticket
Function addSuffixToParameters
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let addSuffixToParameters = function (_modelcolection) {
switch (_modelcolection.length) {
case 1:
$.each(_modelcolection[0].modelMath.parameter, function (_index, param) {
param.id = param.id + "1";
- Create a ticketCreate a ticket
Method passesFilter
has 13 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
final int level,
final int qualityMode,
final double qualityThresh,
final String matrixString,
final String agentString,
- Create a ticketCreate a ticket
Method updateEstModel
has 13 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private void updateEstModel(final int estModelId, String name, final int condId, final int modelId, final double rms, final double rsquared, final double aic,
final double bic, final int responseId, Integer qualityScore, Boolean isChecked, Integer workflowID, String comment) {
- Create a ticketCreate a ticket
Method getValueX
has 13 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private Double getValueX(String paramX, String paramY, String unitX,
String unitY, String transformX, String transformY, Double y,
double minX, double maxX, Double minY, Double maxY, DJep parser,
Node f) {
- Create a ticketCreate a ticket
Method retrieveBackground
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private GenericModelDataBackground retrieveBackground(Sheet sheet) {
final GenericModelDataBackground background = new GenericModelDataBackground();
try {
final Study study = retrieveStudy(sheet);
- Create a ticketCreate a ticket
Method execute
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected BufferedDataTable[] execute(final BufferedDataTable[] inData, final ExecutionContext exec)
throws Exception {
XLSReader xlsReader = new XLSReader();
List<KnimeTuple> tuples = new ArrayList<>(xlsReader
- Create a ticketCreate a ticket
Method saveSettings
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void saveSettings(NodeSettingsWO settings) {
settings.addString(CFG_SELECTEDIDS,
XmlConverter.objectToXml(selectedIDs));
settings.addString(CFG_PARAMXVALUES,
XmlConverter.objectToXml(paramXValues));
- Create a ticketCreate a ticket
Method execute
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec)
throws Exception {
DataTable table = (DataTable) inObjects[0];
TableReader reader;
- Create a ticketCreate a ticket
Method getColumnName
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public String getColumnName(int column) {
switch (column) {
case 0:
return "ID";
- Create a ticketCreate a ticket
Method createPanel
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public JComponent createPanel(String assignments) {
Map<Integer, Map<String, String>> assignmentsMap = XmlConverter
.xmlToObject(assignments,
new LinkedHashMap<Integer, Map<String, String>>());
- Create a ticketCreate a ticket
Method saveValue
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void saveValue(final PreparedStatement ps, final int index, final String tfText, final JTextField tf_exp, final JCheckBox cb, final boolean isString) {
try {
boolean hasExponent = (tf_exp != null);
if (tfText.trim().length() > 0) {
if (isString) {
- Create a ticketCreate a ticket
Method look4ParentNode
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private DefaultMutableTreeNode look4ParentNode(final LinkedHashMap<String, DefaultMutableTreeNode> myCodes, final String code, final int[] cutSystem) {
DefaultMutableTreeNode result = null;
String key;
if (cutSystem == null) {
for (int i=code.length()-1;i>=0;i--) {
- Create a ticketCreate a ticket
Method readDB
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void readDB(final LinkedHashMap<String, DefaultMutableTreeNode> myCodes, final int codeSystemNum, final DefaultMutableTreeNode root, final String sql, final String tablename_codeSystem, int[] cutSystem) {
myIDs[codeSystemNum].clear(); myCodes.clear();
try {
ResultSet rs = DBKernel.getResultSet(sql, false);
if (rs.first()) {
- Create a ticketCreate a ticket
Method execute
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec) throws Exception {
exec.checkCanceled();
FskPortObject fskObj = (FskPortObject) inObjects[0];
- Create a ticketCreate a ticket
Method insertIntoChangeLog
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private boolean insertIntoChangeLog(final String tablename, final Object[] rowBefore, final Object[] rowAfter, final boolean suppressWarnings) {
if (MainKernel.dontLog || DBKernel.dontLog) return true;
else {
boolean diff = different(rowBefore, rowAfter);
if (!diff) return true;
- Create a ticketCreate a ticket
Method addResourcesToArchive
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void addResourcesToArchive(List<Path> resources, CombineArchive archive,
String filePrefix, Map<String, URI> uris, ScriptHandler scriptHandler) throws Exception {
for (final Path resourcePath : resources) {
final String filenameString = filePrefix + resourcePath.getFileName().toString();
- Create a ticketCreate a ticket
Method actionPerformed
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == manualRangeBox) {
if (manualRangeBox.isSelected()) {
minXField.setEnabled(true);
- Create a ticketCreate a ticket
Method applyColumnSelection
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void applyColumnSelection(List<String> visibleColumns) {
List<String> columns = new ArrayList<>();
columns.addAll(Arrays.asList(COLOR, SHAPE, DATA, FORMULA, PARAMETERS,
VARIABLES));
- Create a ticketCreate a ticket
Method testConvertParameter
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConvertParameter() {
Parameter param;
{
- Create a ticketCreate a ticket