Showing 6,856 of 14,752 total issues
Method myPasteFromClipboard
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void myPasteFromClipboard() {
int row = this.getTable().getSelectedRow();
int column = this.getTable().getSelectedColumn();
if (row >= 0 && row < this.getRowCount() && column >= 0 && column < this.getColumnCount()) {
String pasteString = "";
- Create a ticketCreate a ticket
Method handleField
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static String handleField(final Object id, final MyTable[] foreignFields, final String[] mnTable, final int i, final boolean goDeeper, final String startDelim,
final String delimiter, final String endDelim, HashSet<MyTable> alreadyUsed) {
String result = "";
if (id == null) {
;
- Create a ticketCreate a ticket
Method backupNZip
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private String backupNZip(String filename) {
String result = sendRequestGetErr("BACKUP DATABASE TO '" + filename + "' BLOCKING");
byte[] buffer = new byte[1024];
try {
- Create a ticketCreate a ticket
Method saveSettings
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void saveSettings(final NodeSettingsWO settings) {
settings.addString("originalModelScript", originalModelScript);
settings.addString("originalParametersScript", originalParametersScript);
settings.addString("originalVisualizationScript", originalVisualizationScript);
- Create a ticketCreate a ticket
Method loadSettingsFrom
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void loadSettingsFrom(NodeSettingsRO settings, PortObject[] input)
throws NotConfigurableException {
FskPortObject inputObject = (FskPortObject) input[0];
- Create a ticketCreate a ticket
Method execute
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec) throws Exception {
FskPortObject outObj;
// If there is an input model
- Create a ticketCreate a ticket
Method createUI
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
// Build locale with the selected language in the preferences
refreshNodes();
String labelText = "File Name";
String toolTipText = "File Name";
- Create a ticketCreate a ticket
Method createAllPossibleSimulations
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void createAllPossibleSimulations(FskPortObject firstFskObj,
FskPortObject secondFskObj, CombinedFskPortObject outObj) {
int indexFirst = 0;
int indexSecond = 0;
- Create a ticketCreate a ticket
Method execute
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec) throws Exception {
// Get model metadata
FskPortObject inObj = (FskPortObject) inObjects[0];
- Create a ticketCreate a ticket
Method getReferenceList
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static List<Reference> getReferenceList(String modelType, Model metadata) {
List<Reference> references = new ArrayList<>();
if (modelType == null)
references = ((GenericModel) metadata).getGeneralInformation().getReference();
- Create a ticketCreate a ticket
Method saveInputParameters
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void saveInputParameters(FskPortObject fskObj, Path workingDirectory) throws Exception {
String path = workingDirectory.toString() + File.separator + JSON_FILE_NAME;
parameterJson = new ParameterJson(new File(path));
String modelId = SwaggerUtil.getModelId(fskObj.modelMetadata);
- Create a ticketCreate a ticket
Method createUI
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
// Build locale with the selected language in the preferences
refreshNodes();
String labelText = "File Name";
String toolTipText = "File Name";
- Create a ticketCreate a ticket
Method saveSettingsTo
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void saveSettingsTo(NodeSettingsWO settings) throws InvalidSettingsException {
m_readmePanel.addToHistory();
- Create a ticketCreate a ticket
Method saveChartAs
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void saveChartAs(JFreeChart chart, String fileName,
int width, int height) {
if (fileName.toLowerCase().endsWith(".png")) {
try {
org.jfree.chart.ChartUtilities.writeChartAsPNG(
- Create a ticketCreate a ticket
Method findPackagedR
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void findPackagedR() {
if (!Platform.OS_WIN32.equals(Platform.getOS()))
return;
- Create a ticketCreate a ticket
Method testEmptyConstructor
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testEmptyConstructor() {
SettingsHelper helper = new SettingsHelper();
assertTrue(helper.getSelectedIDs().isEmpty());
- Create a ticketCreate a ticket
Function startState
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
startState: function() {
return {
f: blockNormal,
prevLine: {stream: null},
- Create a ticketCreate a ticket
Function transitState
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function transitState(currState, c) {
var currLocation = currState.location;
var ret;
// Opening.
- Create a ticketCreate a ticket
Function tokenLexer
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenLexer(stream, state) {
if (stream.sol()) state.beginningOfLine = true;
var style = state.tokenize(stream, state);
var current = stream.current();
- Create a ticketCreate a ticket
Function tokenQuote
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenQuote(end, style, embed) {
return function (stream, state) {
var escaped = false;
while (stream.peek()) {
- Create a ticketCreate a ticket