Showing 6,856 of 14,752 total issues
Method getDataBackground
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Object getDataBackground(Model model) {
Object background;
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);
- Create a ticketCreate a ticket
Method getModelId
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static String getModelId(Model model) {
String name;
final String modelType = model.getModelType();
if (modelType.equalsIgnoreCase("genericModel")) {
- Create a ticketCreate a ticket
Method convert
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Deprecated
public static de.bund.bfr.metadata.swagger.GenericModelGeneralInformation convert(
metadata.GeneralInformation deprecatedGeneralInformation) {
GenericModelGeneralInformation swaggerGI = new GenericModelGeneralInformation();
- Create a ticketCreate a ticket
Method getScope
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Object getScope(Model model) {
Object scope;
final String modelType = model.getModelType();
if (modelType.equalsIgnoreCase("genericModel")) {
- Create a ticketCreate a ticket
Method getModelName
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static String getModelName(Model model) {
String name;
final String modelType = model.getModelType();
if (modelType.equalsIgnoreCase("genericModel")) {
- Create a ticketCreate a ticket
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