Showing 6,856 of 14,752 total issues
Method saveProperties
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void saveProperties(MyDBTable myDB) {
JTable bigTable = myDB.getTable();
JScrollPane scroller = myDB.getScroller();
if (scroller != null) {
verticalScrollerPosition = scroller.getVerticalScrollBar().getValue();
- Create a ticketCreate a ticket
Method restoreProperties
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void restoreProperties(MyDBTable myDB) {
JTable bigTable = myDB.getTable();
try {
myDB.getMyDBPanel().getSuchfeld().setText(searchString);
myDB.getMyDBPanel().handleSuchfeldChange(null);
- Create a ticketCreate a ticket
Method createDataTableSpec
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public DataTableSpec createDataTableSpec() {
DataColumnSpec[] columns = new DataColumnSpec[m_numColumns];
for (int i = 0; i < m_numColumns; i++) {
JSTypes type = JSTypes.valueOf(m_colTypes.get(i));
DataType dataType = null;
- Create a ticketCreate a ticket
Method selectEstModel
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public ResultSet selectEstModel(final int level, int estimatedModelID, String where, boolean forceUpdate) throws SQLException {
String q;
String myWhere = "";
String myWhereCache = "";
if (level == 1) {
- Create a ticketCreate a ticket
Method createColumnRearranger
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected ColumnRearranger createColumnRearranger(DataTableSpec spec) throws InvalidSettingsException {
FilterResult filteredCols = columns.applyTo(spec);
if (filteredCols.getIncludes().length == 0) {
- Create a ticketCreate a ticket
Method buildNode
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void buildNode(DefaultMutableTreeNode node, FskPortObject portObject, int nodeType) {
String modelId = StringUtils.defaultIfEmpty(SwaggerUtil.getModelName(portObject.modelMetadata),
"Missing name");
- Create a ticketCreate a ticket
Method savePortObject
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void savePortObject(final FskPortObject portObject, final PortObjectZipOutputStream out,
final ExecutionMonitor exec) throws IOException, CanceledExecutionException {
// model entry (file with model script)
out.putNextEntry(new ZipEntry(MODEL));
- Create a ticketCreate a ticket
Method createUI
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
final FPanel simulationPanel = new FPanel();
simulationPanel.setLayout(new BorderLayout());
final JScrollPane parametersPane = new JScrollPane(
- Create a ticketCreate a ticket
Method addIdentifierToParametersForCombinedObject
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void addIdentifierToParametersForCombinedObject(FskPortObject portObject,
String suffix, int suffixInsertionIndex,
final Map<String, List<String>> unModifiedParamsNames,
Map<String, Map<String, String>> old_new_pramsMap)
throws JsonMappingException, JsonProcessingException {
- Create a ticketCreate a ticket
Method buildNode
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void buildNode(DefaultMutableTreeNode node, FskPortObject portObject, int nodeType) {
String modelId = StringUtils.defaultIfEmpty(SwaggerUtil.getModelName(portObject.modelMetadata),
"Missing name");
- Create a ticketCreate a ticket
Method createTableChartComponent
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JComponent createTableChartComponent(List<TimeSeriesXml> timeSeries) {
List<Double> timeList = new ArrayList<>();
List<Double> logcList = new ArrayList<>();
String timeUnit = Categories.getTimeCategory().getStandardUnit();
String concentrationUnit = Categories.getConcentrationCategories()
- Create a ticketCreate a ticket
Method testConstructors
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructors() {
// Test empty constructor
final AgentXml agent0 = new AgentXml(Type.MD);
- Create a ticketCreate a ticket
Method createResourcesPanel
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static JPanel createResourcesPanel(final Component parent, final DefaultListModel<Path> listModel) {
JList<Path> list = new JList<>(listModel);
list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
list.setLayoutOrientation(JList.VERTICAL);
- Create a ticketCreate a ticket
Method testConstructors
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructors() {
// Empty constructor
final MatrixXml matrix0 = new MatrixXml(MatrixXml.Type.MD);
- Create a ticketCreate a ticket
Method testConstructors
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructors() {
// Empty constructor
final MatrixXml matrix0 = new MatrixXml();
- Create a ticketCreate a ticket
Method testConstructors
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructors() {
// Test empty constructor
final AgentXml agent0 = new AgentXml();
- Create a ticketCreate a ticket
Function token
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
var ctx = state.context;
if (stream.sol()) {
if (ctx.align == null) ctx.align = false;
state.indented = stream.indentation();
- Create a ticketCreate a ticket
Function token
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
var ctx = state.context;
if (stream.sol()) {
if (ctx.align == null) ctx.align = false;
state.indented = stream.indentation();
- Create a ticketCreate a ticket
Function token
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
curPunc = null;
if (stream.sol()) state.indented = stream.indentation();
var style = state.tokenize[state.tokenize.length-1](stream, state), kwtype;
var thisTok = curPunc;
- Create a ticketCreate a ticket
Function tokenString
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenString(stream, state) {
while (!stream.eol()) {
stream.eatWhile(/[^'"\{\}\\]/);
if (stream.eat("\\")) {
stream.next();
- Create a ticketCreate a ticket