Showing 14,752 of 14,752 total issues
Method saveSettingsTo
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void saveSettingsTo(NodeSettingsWO settings)
throws InvalidSettingsException {
if (!selectionPanel.getSelectedIDs().isEmpty()) {
set.setSelectedID(selectionPanel.getSelectedIDs().get(0));
- Create a ticketCreate a ticket
Method insertData
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void insertData(final int condId, final int timeId, final int lognId, String timeUnit, String concUnit, String concUnitObjectType) {
try {
PreparedStatement ps = conn.prepareStatement("INSERT INTO \"Messwerte\" (\"" + REL_CONDITION + "\", \"" + ATT_TIME + "\", \"ZeitEinheit\", \"" + ATT_LOG10N
+ "\", \"Konz_Einheit\" )VALUES(?, ?, ?, ?, ?)");
ps.setInt(1, condId);
- Create a ticketCreate a ticket
Method updateDialog
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void updateDialog(ModelType modelType, String readmeFile,
EnvironmentManager environment) {
modelTypeComboBoxModel.setSelectedItem(modelType);
m_readmePanel.setSelectedFile(readmeFile);
clearEnvironmentPanel();
- Create a ticketCreate a ticket
Method createUI
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
// Model type panel
final JPanel modelTypePanel = new JPanel(new BorderLayout());
modelTypePanel.setBorder(
- Create a ticketCreate a ticket
Method loadJsonSetting
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected void loadJsonSetting() throws IOException, CanceledExecutionException {
File directory =
NodeContext.getContext().getWorkflowManager().getContext().getCurrentLocation();
String name = NodeContext.getContext().getNodeContainer().getName();
- Create a ticketCreate a ticket
Method getFSKObjectFromStringArray
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static FskPortObject getFSKObjectFromStringArray(Optional<EnvironmentManager> manager,
String[] model, String modelType, Map<String, FskPortObject> fskID_to_fskObject)
throws IOException {
FskPortObject portObject = null;
- Create a ticketCreate a ticket
Method fixNullPortsToDefault
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private PortObject[] fixNullPortsToDefault(PortObject[] inObjects) throws IOException {
PortObject[] inPorts =
Arrays.stream(inObjects).filter(s -> (s != null)).toArray(PortObject[]::new);
inputModelNumber = inPorts.length;
switch (inputModelNumber) {
- Create a ticketCreate a ticket
Method setDataPoints
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setDataPoints(Map<String, double[][]> points) {
String timeColumnName = table.getTimeColumnName();
List<Double> timeValues = getTimeValues();
Map<String, Map<Double, Double>> cValues = new LinkedHashMap<>();
- Create a ticketCreate a ticket
Method createChart
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public JFreeChart createChart(PCMLDocument pcmlDoc, List<String> usedParameters, String xUnits,
boolean equidistantProcesses, boolean plotLines, boolean plotPoints) {
Map<NameAndDbId, Integer> columns = PCMLDataTable.createColumnMap(pcmlDoc);
Map<String, ProcessNode> processNodes = PCMLDataTable.createProcessNodeMap(pcmlDoc);
DataTableSpec spec = PCMLDataTable.createOutSpec(columns);
- Create a ticketCreate a ticket
Function tokenBase
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
if (ch == '"' || ch == "'" || ch == "`") {
state.tokenize = tokenString(ch);
return state.tokenize(stream, state);
- Create a ticketCreate a ticket
Function tokenBase
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
if (stream.eatSpace()) return null;
var sol = stream.sol();
var ch = stream.next();
- Create a ticketCreate a ticket
Function tokenBase
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var beforeParams = state.beforeParams;
state.beforeParams = false;
var ch = stream.next();
if ((ch == '"' || ch == "'") && state.inParams) {
- Create a ticketCreate a ticket
Function token
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
if (stream.eatSpace()) return null
if(stream.sol()){
state.commentLine = false;
}
- Create a ticketCreate a ticket
Function token
has 41 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 addLegacyProps
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addLegacyProps(CodeMirror) {
CodeMirror.off = off;
CodeMirror.on = on;
CodeMirror.wheelEventPixels = wheelEventPixels;
CodeMirror.Doc = Doc;
- Create a ticketCreate a ticket
Function bind
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
BaseSelection.prototype.bind = function (container, $container) {
var self = this;
var resultsId = container.id + '-results';
- Create a ticketCreate a ticket
Function _initClear
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initClear ( container ) {
let O = this;
_log( 'UI / _initClear' );
let $elems = $( container ).length > 0 ? $( container ).find( '[data-clear]' ) : $( '[data-clear]' );
- Create a ticketCreate a ticket
Function multiply
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Expression.prototype.multiply = function(a, simplify) {
var thisExp = this.copy();
if (typeof(a) === "string" || a instanceof Term || isInt(a) || a instanceof Fraction) {
var exp = new Expression(a);
- Create a ticketCreate a ticket
Function _mouseStart
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStart: function(event) {
var curleft, curtop, cursor,
o = this.options,
el = this.element;
- Create a ticketCreate a ticket
Function _eventHandler
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_eventHandler: function( event ) {
var options = this.options,
active = this.active,
clicked = $( event.currentTarget ),
clickedIsActive = clicked[ 0 ] === active[ 0 ],
- Create a ticketCreate a ticket