Showing 14,752 of 14,752 total issues
Method insertEstParamCorrs
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void insertEstParamCorrs(int modelId, int estModelId, final int paramId, HashMap<String, Double> hm) {
try {
PreparedStatement ps = conn.prepareStatement("INSERT INTO \"GeschaetzteParameterCovCor\" (\"param1\", \"param2\", \"GeschaetztesModell\", \"cor\", \"Wert\") VALUES(?, ?, ?, ?, ?)");
Integer estParamId = DBKernel.getID("GeschaetzteParameter", new String[] { "GeschaetztesModell", "Parameter" }, new String[] { estModelId + "", paramId + "" });
ps.setInt(1, estParamId);
- Create a ticketCreate a ticket
Method stateChanged
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void stateChanged(ChangeEvent e) {
// Disable text field
m_workingDirectoryPanel.getComponent(0).setEnabled(false);
- Create a ticketCreate a ticket
Method actionPerformed
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == clearButton) {
for (int i = 0; i < ROW_COUNT; i++) {
table.setTime(i, null);
- Create a ticketCreate a ticket
Method getNameList
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static List<String> getNameList(PmmXmlDoc xml) {
List<String> names = new ArrayList<>();
for (PmmXmlElementConvertable element : xml.getElementSet()) {
if (element instanceof MiscXml) {
- Create a ticketCreate a ticket
Method testLoadSettings
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testLoadSettings() throws Exception {
NodeSettings nodeSettings = new NodeSettings("identifier");
nodeSettings.addString("volume", "volume");
nodeSettings.addString("volumeUnit", "volumeUnit");
- Create a ticketCreate a ticket
Method testAssay
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testAssay() throws Exception {
// Test assay at row 118
final Assay assay118 = importer.retrieveAssay(sheet.getRow(117));
- Create a ticketCreate a ticket
Method testConvertProduct
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConvertProduct() {
Product product;
{
- Create a ticketCreate a ticket
Method testSaveSettings
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testSaveSettings() throws InvalidSettingsException {
ParametersSetting parametersSetting = new ParametersSetting();
parametersSetting.setVolume("volume");
parametersSetting.setVolumeUnit("volumeUnit");
- Create a ticketCreate a ticket
Function tokenString
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenString(quote, f) {
return function(stream, state) {
var ch;
if(isInString(state) && stream.current() == quote) {
- Create a ticketCreate a ticket
Function armv6
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function armv6(_parserConfig) {
// Reference:
// http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf
// http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301h/DDI0301H_arm1176jzfs_r0p7_trm.pdf
lineCommentStartSymbol = "@";
- Create a ticketCreate a ticket
Function objprop
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function objprop(type, value) {
if (type == "async") {
cx.marked = "property";
return cont(objprop);
} else if (type == "variable" || cx.style == "keyword") {
- Create a ticketCreate a ticket
Function readQuoted
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function readQuoted(quote, style, embed, unescaped) {
return function(stream, state) {
var escaped = false, ch;
if (state.context.type === 'read-quoted-paused') {
- Create a ticketCreate a ticket
Function tokenBase
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var tokenBase = function(stream, state) {
var next_rule = state.next || "start";
if (next_rule) {
state.next = state.next;
var nr = Rules[next_rule];
- Create a ticketCreate a ticket
Function scrollPosIntoView
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scrollPosIntoView(cm, pos, end, margin) {
if (margin == null) { margin = 0; }
var rect;
if (!cm.options.lineWrapping && pos == end) {
// Set pos and end to the cursor positions around the character pos sticks to
- Create a ticketCreate a ticket
Function onMouseDown
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onMouseDown(e) {
var cm = this, display = cm.display;
if (signalDOMEvent(cm, e) || display.activeTouch && display.input.supportsTouch()) { return }
display.input.ensurePolled();
display.shift = e.shiftKey;
- Create a ticketCreate a ticket
Function _createPanels
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let port = window.port || -1;
let schema = schemas.genericModel;
return {
generalInformation: new FormPanel("General", schema.generalInformation, this._metadata.generalInformation, port),
- Create a ticketCreate a ticket
Function _createPanel
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanel(menu, modelHandler) {
let O = this;
_log('MODAL DETAILS / _createPanel: ' + menu.id);
let $panel = null;
- Create a ticketCreate a ticket
Function metaData
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
get metaData() {
try{
// generalInformation
this._metadata.generalInformation = this.panels.generalInformation.data;
this._metadata.generalInformation.modelCategory = this.panels.modelCategory.data;
- Create a ticketCreate a ticket
Function select2
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.select2 = function (options) {
options = options || {};
if (typeof options === 'object') {
this.each(function () {
- Create a ticketCreate a ticket
Function bind
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Function.prototype.bind = function bind(that) {
var target = this;
var slice = [].slice;
- Create a ticketCreate a ticket