Showing 14,752 of 14,752 total issues
Method getGeneralInformation
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Object getGeneralInformation(Model model) {
Object information;
final String modelType = model.getModelType();
if (modelType.equalsIgnoreCase("genericModel")) {
- Create a ticketCreate a ticket
Method getModelMath
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Object getModelMath(Model model) {
Object math;
final String modelType = model.getModelType();
if (modelType.equalsIgnoreCase("genericModel")) {
- Create a ticketCreate a ticket
Method retrieveBackground
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private PredictiveModelDataBackground retrieveBackground(Sheet sheet) {
PredictiveModelDataBackground background = new PredictiveModelDataBackground();
try {
Study study = retrieveStudy(sheet);
background.setStudy(study);
- Create a ticketCreate a ticket
Method toString
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
- Create a ticketCreate a ticket
Method retrieveBackground
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private OtherModelDataBackground retrieveBackground(Sheet sheet) {
OtherModelDataBackground background = new OtherModelDataBackground();
try {
- Create a ticketCreate a ticket
Method eUnset
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void eUnset(int featureID) {
switch (featureID) {
case MetadataPackage.ASSAY__ASSAY_NAME:
setAssayName(ASSAY_NAME_EDEFAULT);
- Create a ticketCreate a ticket
Method eSet
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case MetadataPackage.ASSAY__ASSAY_NAME:
setAssayName((String)newValue);
- Create a ticketCreate a ticket
Method combase2XML
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private PmmXmlDoc combase2XML(String misc) {
PmmXmlDoc result = null;
if (misc != null) {
result = new PmmXmlDoc();
List<String> conds = condSplit(misc);
- Create a ticketCreate a ticket
Method loadSettings
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void loadSettings(NodeSettingsRO settings) {
try {
fittingType = settings.getString(CFGKEY_FITTINGTYPE);
} catch (InvalidSettingsException e) {
}
- Create a ticketCreate a ticket
Method parseMiscs
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static PmmXmlDoc parseMiscs(Map<String, Double> miscs) {
PmmXmlDoc cell = new PmmXmlDoc();
if (miscs != null) {
// First misc item has id -1 and the rest of items have negative
- Create a ticketCreate a ticket
Method startTheDB
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void startTheDB(Boolean autoUpdate, boolean openTheGui) {
MainFrame mf = null;
DBKernel.myDBi = MyDBI.loadDB(textField2.getText() + System.getProperty("file.separator") + DBKernel.dbKennung + ".xml");
if (DBKernel.myDBi != null) {
DBKernel.HSHDB_PATH = textField2.getText();
- Create a ticketCreate a ticket
Method insertNull
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
void insertNull(final int selRow, final int selCol) {
if (!this.actualTable.isReadOnly() && selCol > 0 && selRow >= 0 && this.getRowCount() > 0) {
String[] mnTable = actualTable.getMNTable();
MyTable[] myFs = actualTable.getForeignFields();
if (mnTable != null && mnTable.length > selCol - 1 && mnTable[selCol - 1] != null) {
- Create a ticketCreate a ticket
Method getOkApplyCancelPanel
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JPanel getOkApplyCancelPanel(final JDialog dialog, final PredictorViewNodeDialog pvnd) {
JPanel panel = new JPanel();
JButton okButton = new JButton("Ok");
JButton applyButton = new JButton("Apply");
JButton cancelButton = new JButton("Cancel");
- Create a ticketCreate a ticket
Method setListVisible
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public MyDBTable setListVisible(boolean visible, MyTable myT2, Object[][] t1Conditions, Object[][] t2Conditions, Integer row) {
gmRow = row;
this.t1Conditions = t1Conditions;
this.t2Conditions = t2Conditions;
splitPane2.getRightComponent().setVisible(visible);
- Create a ticketCreate a ticket
Method saveProperties
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void saveProperties(MyDBTable myDB) {
JTable bigTable = myDB.getTable();
JScrollPane scroller = myDB.getScroller();
if (scroller != null) {
verticalScrollerPosition = scroller.getVerticalScrollBar().getValue();
- Create a ticketCreate a ticket
Method restoreProperties
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void restoreProperties(MyDBTable myDB) {
JTable bigTable = myDB.getTable();
try {
myDB.getMyDBPanel().getSuchfeld().setText(searchString);
myDB.getMyDBPanel().handleSuchfeldChange(null);
- Create a ticketCreate a ticket
Method createDataTableSpec
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public DataTableSpec createDataTableSpec() {
DataColumnSpec[] columns = new DataColumnSpec[m_numColumns];
for (int i = 0; i < m_numColumns; i++) {
JSTypes type = JSTypes.valueOf(m_colTypes.get(i));
DataType dataType = null;
- Create a ticketCreate a ticket
Method selectEstModel
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public ResultSet selectEstModel(final int level, int estimatedModelID, String where, boolean forceUpdate) throws SQLException {
String q;
String myWhere = "";
String myWhereCache = "";
if (level == 1) {
- Create a ticketCreate a ticket
Method createColumnRearranger
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected ColumnRearranger createColumnRearranger(DataTableSpec spec) throws InvalidSettingsException {
FilterResult filteredCols = columns.applyTo(spec);
if (filteredCols.getIncludes().length == 0) {
- 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