Showing 14,752 of 14,752 total issues
Method execute
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(PortObject[] inData, ExecutionContext exec) throws Exception {
this.setInternalPortObjects(inData);
- Create a ticketCreate a ticket
Method createFieldPanel
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JPanel createFieldPanel(JTextField field, String value) {
field.setColumns(30);
field.setBackground(UIUtils.WHITE);
field.setText(value);
field.setHorizontalAlignment(JTextField.RIGHT);
- Create a ticketCreate a ticket
Method performExecute
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] performExecute(PortObject[] inObjects, ExecutionContext exec)
throws IOException, CanceledExecutionException, InvalidSettingsException {
final String nameWithID = NodeContext.getContext().getNodeContainer().getNameWithID();
- Create a ticketCreate a ticket
Method readSimulationSettings
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static SimulationSettings readSimulationSettings(ArchiveEntry simulationsEntry)
throws IOException, XMLException {
// Create temporary file for extracting SEDML and read it.
File tempFile = File.createTempFile("simulations", ".sedml");
- Create a ticketCreate a ticket
Method createFieldPanel
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JPanel createFieldPanel(JTextField field, String value) {
field.setColumns(30);
field.setBackground(UIUtils.WHITE);
field.setText(value);
field.setHorizontalAlignment(JTextField.RIGHT);
- Create a ticketCreate a ticket
Method subModelParametersToJson
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void subModelParametersToJson(FskPortObject topLevel, FskPortObject fskObj,
ParameterJson combinedJson, String suffix) throws Exception {
if (fskObj instanceof CombinedFskPortObject) {
- Create a ticketCreate a ticket
Method createScriptPanel
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JPanel createScriptPanel() {
DefaultMutableTreeNode modelNode = new DefaultMutableTreeNode("Model scripts");
buildNode(modelNode, this, 0);
- Create a ticketCreate a ticket
Method createFieldPanel
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JPanel createFieldPanel(JTextField field, String value) {
field.setColumns(30);
field.setBackground(UIUtils.WHITE);
field.setText(value);
field.setHorizontalAlignment(JTextField.RIGHT);
- Create a ticketCreate a ticket
Method findSuffix
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static String findSuffix(List<String> listOfParameter) {
List<String> trailingNums = extractNumber(listOfParameter);
int longestStringIndex = 0;
int longestString = 0;
for(int x = 0; x < trailingNums.size(); x++) {
- Create a ticketCreate a ticket
Method isPlotable
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public boolean isPlotable() {
if (type == FUNCTION || type == FUNCTION_SAMPLE) {
for (String param : functionParameters.keySet()) {
if (functionParameters.get(param) == null) {
return false;
- Create a ticketCreate a ticket
Method getAllChoices
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public List<Map<String, Integer>> getAllChoices() {
List<Map<String, Integer>> choices = new ArrayList<>();
List<String> argList = new ArrayList<>(functionArguments.keySet());
List<Integer> choice = new ArrayList<>(Collections.nCopies(
argList.size(), 0));
- Create a ticketCreate a ticket
Method actionPerformed
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == selectAllButton) {
for (int i = 0; i < selectTable.getRowCount(); i++) {
selectTable.setValueAt(true, i, 1);
- Create a ticketCreate a ticket
Method test
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void test() {
// Test default values
FskMetaData metadata = new FskMetaData();
assertNull(metadata.modelName);
- Create a ticketCreate a ticket
Method testModelMath
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testModelMath() {
final GenericModelModelMath math = importer.retrieveModelMath(sheet);
- Create a ticketCreate a ticket
Method testIndependentSetters
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testIndependentSetters() {
final ParametricModel model = new ParametricModel();
model.addIndepVar("indep");
- Create a ticketCreate a ticket
Method configure
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObjectSpec[] configure(final PortObjectSpec[] inSpecs)
throws InvalidSettingsException {
DataTableSpec inSpec = (DataTableSpec)inSpecs[0];
if (settings.getColumn() == null) {
- Create a ticketCreate a ticket
Method append
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void append(final PCMLDocument doc,
final PCMLDocument toAppend) {
Map<String, XmlObject> newNodes = PCMLUtil.append(doc, toAppend,
"ProcessNode");
// TODO: this might be automated by getting the parent of ProcessNode.
- Create a ticketCreate a ticket
Method testConstructor2
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructor2() {
final DepXml dep = new DepXml("dep");
- Create a ticketCreate a ticket
Method monitor
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private REXP monitor(final Callable<REXP> task)
throws InterruptedException, RException, CanceledExecutionException {
final FutureTask<REXP> runningTask = new FutureTask<>(task);
final Thread t =
(m_useNodeContext) ? ThreadUtils.threadWithContext(runningTask, "R-Evaluation")
- Create a ticketCreate a ticket
Method keyPressed
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void keyPressed(KeyEvent event) {
JTextField textField = (JTextField) event.getComponent();
String query = textField.getText();
- Create a ticketCreate a ticket