Showing 14,752 of 14,752 total issues
Method retrieveStudySample
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public StudySample retrieveStudySample(Row row) {
// Check mandatory properties
if (row.getCell(L).getCellType() == Cell.CELL_TYPE_BLANK) {
throw new IllegalArgumentException("Missing sample name");
- Create a ticketCreate a ticket
Method retrieveContact
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Contact retrieveContact(Row row, Map<String, Integer> columns) {
// Check mandatory properties and throw exception if missing
if (row.getCell(columns.get("mail")).getCellType() == Cell.CELL_TYPE_BLANK) {
throw new IllegalArgumentException("Missing mail");
- Create a ticketCreate a ticket
Method eUnset
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void eUnset(int featureID) {
switch (featureID) {
case MetadataPackage.POPULATION_GROUP__POPULATION_NAME:
setPopulationName(POPULATION_NAME_EDEFAULT);
- Create a ticketCreate a ticket
Method initDialog
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Component initDialog() {
JPanel panel = new JPanel(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
c.insets = new Insets(5, 5, 5, 5);
c.gridx = 0;
- Create a ticketCreate a ticket
Method loadSettingsFrom
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void loadSettingsFrom(NodeSettingsRO settings, DataTableSpec[] specs) throws NotConfigurableException {
set = new SettingsHelper();
set.loadSettings(settings);
- Create a ticketCreate a ticket
Method actionPerformed
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == addButton) {
Integer id = DBKernel.openMiscDBWindow(addButton, null);
- Create a ticketCreate a ticket
Method createChart
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createChart() {
String id = null;
if (configPanel.isDisplayFocusedRow()) {
id = selectionPanel.getFocusedID();
- Create a ticketCreate a ticket
Method checkOtherEditor2Open
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void checkOtherEditor2Open(final int lastClickedRow, final int lastClickedCol, final int x, final int y, final char ch) {
if (lastClickedCol > 0) {
MyTable[] myTs = actualTable.getForeignFields();
if (lastClickedCol > 0 && lastClickedCol <= myTs.length && myTs[lastClickedCol-1] != null &&
myTs[lastClickedCol-1].getTablename().equals("DoubleKennzahlen")) {
- Create a ticketCreate a ticket
Method setTable
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("unchecked")
private void setTable(final MyTable myT) {
if (myT != null) {
root = new DefaultMutableTreeNode(new MyDBTreeNode(0, "", "Codes", false, -1));
// Erst die Codetypen
- Create a ticketCreate a ticket
Method initComponents
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void initComponents() {
// JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
// Generated using JFormDesigner Evaluation license
dialogPane = new JPanel();
contentPane = new JPanel();
- Create a ticketCreate a ticket
Method getPrimModelById
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public KnimeTuple getPrimModelById(int id) throws SQLException {
KnimeTuple tuple = null;
PreparedStatement stat = conn.prepareStatement(queryModelView + " WHERE \"" + ATT_LEVEL + "\"=1 AND \"Modellkatalog\".\"ID\"=?");
try {
stat.setInt(1, id);
- Create a ticketCreate a ticket
Method performExecute
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] performExecute(PortObject[] inObjects, ExecutionContext exec)
throws Exception {
PortObject inPort = inObjects[0];
PortObject outputPort = null;
- Create a ticketCreate a ticket
Method clone
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public ParametricModel clone() {
ParametricModel clonedPM = new ParametricModel(modelName, formula, depXml, level, modelId, estModelId);
clonedPM.modelClass = modelClass;
clonedPM.modelDbUuid = modelDbUuid;
clonedPM.estimatedModelDbUuid = estimatedModelDbUuid;
- Create a ticketCreate a ticket
Method toXmlElement
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Element toXmlElement() {
Element modelElement = new Element(ELEMENT_PARAMETRICMODEL);
modelElement.setAttribute(ATT_MDBUUID, modelDbUuid == null ? "" : modelDbUuid);
modelElement.setAttribute(ATT_EMDBUUID, estimatedModelDbUuid == null ? "" : estimatedModelDbUuid);
- Create a ticketCreate a ticket
Method testProduct
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testProduct() throws Exception {
// Test product at row 39
{
- Create a ticketCreate a ticket
Method convertArrays2ParamXmlDoc
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static PmmXmlDoc convertArrays2ParamXmlDoc(LinkedHashMap<String, String> varMap, Array name,
Array value, Array timeUnit, Array categories, Array units, Array error, Array min, Array max, Array desc, Array paramType, Array P, Array t, Integer modelId, Integer emid) {
PmmXmlDoc paramDoc = new PmmXmlDoc();
if (name != null) {
try {
- Create a ticketCreate a ticket
Method importCells
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static final void importCells(final REXP rexp, final DataCell[] column,
final boolean nonNumbersAsMissing) throws REXPMismatchException {
if (rexp.isLogical()) {
final byte[] bytes = rexp.asBytes();
for (int i = 0; i < bytes.length; ++i) {
- Create a ticketCreate a ticket
Function indent
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
indent: function(state, textAfter, fullLine) {
var context = state.context;
// Indent multi-line strings (e.g. css).
if (state.tokenize.isInAttribute) {
if (state.tagStart == state.indented)
- Create a ticketCreate a ticket
Function updateDoc
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateDoc(doc, change, markedSpans, estimateHeight$$1) {
function spansFor(n) {return markedSpans ? markedSpans[n] : null}
function update(line, text, spans) {
updateLine(line, text, spans, estimateHeight$$1);
signalLater(line, "change", line, change);
- Create a ticketCreate a ticket
Function add
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add(data) {
// Add new row (Order is fixed by formData)
let newRow = document.createElement("tr");
- Create a ticketCreate a ticket