Showing 14,752 of 14,752 total issues
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
Function tokenBase
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var tokenBase = function(stream/*, state*/) {
var ch = stream.next();
if (ch ==='"') {
stream.match(/.*?"/);
return "string";
- Create a ticketCreate a ticket
Function base
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function base(stream, state) {
if (stream.eatSpace()) {type = "ws"; return null;}
if (stream.match(numLiteral)) return "number";
var ch = stream.next();
if (ch == "\\") ch = stream.next();
- Create a ticketCreate a ticket
Function findFatArrow
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function findFatArrow(stream, state) {
if (state.fatArrowAt) state.fatArrowAt = null;
var arrow = stream.string.indexOf("=>", stream.start);
if (arrow < 0) return;
- Create a ticketCreate a ticket
Function token
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
if (stream.sol()) {
if (state.context && state.context.align == null) state.context.align = false;
state.indent = stream.indentation();
}
- Create a ticketCreate a ticket
Function createRe
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createRe: function(name) {
switch (name) {
case "drawTable":
return REs.makeRe("^", REs.single.drawTable, "$");
case "html":
- 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