Showing 14,752 of 14,752 total issues
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
Function update
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
NativeScrollbars.prototype.update = function (measure) {
var needsH = measure.scrollWidth > measure.clientWidth + 1;
var needsV = measure.scrollHeight > measure.clientHeight + 1;
var sWidth = measure.nativeBarWidth;
- Create a ticketCreate a ticket
Function skipAtomicInner
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function skipAtomicInner(doc, pos, oldPos, dir, mayClear) {
var line = getLine(doc, pos.line);
if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) {
var sp = line.markedSpans[i], m = sp.marker;
- Create a ticketCreate a ticket
Function _createPanels
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let port = window.port || -1;
let schema = schemas.riskModel;
return {
- Create a ticketCreate a ticket
Function _createParamMetadataList
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createParamMetadataList( param ) {
let O = this;
_log( 'PANEL SIM / _createParamMetadataList' );
let listData = {
- Create a ticketCreate a ticket