Showing 6,856 of 14,752 total issues
Method insertModLit
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void insertModLit(final int modelId, PmmXmlDoc modelLit, final boolean estimatedModels, final ParametricModel m) {
try {
PreparedStatement ps = conn.prepareStatement("DELETE FROM "
+ (estimatedModels ? "\"GeschaetztesModell_Referenz\" WHERE \"GeschaetztesModell\"" : "\"Modell_Referenz\"WHERE \"Modell\"") + " = " + modelId);
ps.executeUpdate();
- Create a ticketCreate a ticket
Method saveSettingsTo
has 32 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 readMetadata
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Model readMetadata(ArchiveEntry metadataEntry)
throws JsonProcessingException, IOException {
// Create temporary file with metadata
File temp = File.createTempFile("metadata", ".json");
- Create a ticketCreate a ticket
Method readMetadata
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static Model readMetadata(ArchiveEntry metadataEntry)
throws JsonProcessingException, IOException {
// Create temporary file with metadata
File temp = File.createTempFile("metadata", ".json");
- Create a ticketCreate a ticket
Method getViewValue
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public FSKEditorJSViewValue getViewValue() {
FSKEditorJSViewValue value = super.getViewValue();
- Create a ticketCreate a ticket
Method loadSettingsFrom
has 32 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 getKnimeTuple
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public KnimeTuple getKnimeTuple() throws PmmException {
KnimeTuple tuple;
if (level == 1) {
- Create a ticketCreate a ticket
Method getParamsX
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Map<String, List<Double>> getParamsX() {
Map<String, List<Double>> valueLists = new LinkedHashMap<>();
if (type == PARAMETER_FIELDS) {
for (int i = 0; i < parameterFields.size(); i++) {
- Create a ticketCreate a ticket
Method convertArrays2IndepXmlDoc
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static PmmXmlDoc convertArrays2IndepXmlDoc(LinkedHashMap<String, String> varMap, Array name, Array min, Array max, Array categories, Array units, Array desc, boolean isPrimary) {
PmmXmlDoc indepDoc = new PmmXmlDoc();
if (name != null) {
try {
Object[] na = (Object[])name.getArray();
- Create a ticketCreate a ticket
Method testRowNumbers
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testRowNumbers() {
assertEquals(1, FskMetaDataFields.name.row);
assertEquals(2, FskMetaDataFields.id.row);
- Create a ticketCreate a ticket
Method createBrowseButton
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static JButton createBrowseButton(String text, JTextField field, int dialogType,
FileNameExtensionFilter filter) {
FBrowseButton button = new FBrowseButton(text);
- Create a ticketCreate a ticket
Method testMetadataAnnotation
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testMetadataAnnotation() {
// With empty metadata
FskMetaData expected = new FskMetaData();
- Create a ticketCreate a ticket
Function readQuoted
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function readQuoted(quote, style, embed, unescaped, nextTokenize) {
return function(stream, state) {
finishContinue(state);
var fresh = stream.current().length == 0;
if (stream.match(/^\\$/, fresh)) {
- Create a ticketCreate a ticket
Function tokenBase
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
if (stream.match(litOperator)){
return 'operator';
}
- Create a ticketCreate a ticket
Function tokenBase
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
if (ch == '"' || ch == "'") {
state.tokenize = tokenString(ch);
return state.tokenize(stream, state);
- Create a ticketCreate a ticket
Function phpString_
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function phpString_(stream, state, closing, escapes) {
// "Complex" syntax
if (escapes !== false && stream.match("${", false) || stream.match("{$", false)) {
state.tokenize = null;
return "string";
- Create a ticketCreate a ticket
Function tokenCallOrDef
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenCallOrDef(stream, state) {
var match = stream.match(/^(\(\s*)/);
if (match) {
if (state.firstParenPos < 0)
state.firstParenPos = state.scopes.length;
- Create a ticketCreate a ticket
Function leftButtonStartDrag
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function leftButtonStartDrag(cm, event, pos, behavior) {
var display = cm.display, moved = false;
var dragEnd = operation(cm, function (e) {
if (webkit) { display.scroller.draggable = false; }
cm.state.draggingText = false;
- Create a ticketCreate a ticket
Function updateHeightsInViewport
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateHeightsInViewport(cm) {
var display = cm.display;
var prevBottom = display.lineDiv.offsetTop;
for (var i = 0; i < display.view.length; i++) {
var cur = display.view[i], wrapping = cm.options.lineWrapping;
- Create a ticketCreate a ticket
Function poll
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
TextareaInput.prototype.poll = function () {
var this$1 = this;
var cm = this.cm, input = this.textarea, prevInput = this.prevInput;
// Since this is called a *lot*, try to bail out as cheaply as
- Create a ticketCreate a ticket