SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public GenericModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        final GenericModelGeneralInformation information = new GenericModelGeneralInformation();

        final Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(I);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public PredictiveModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {
        
        PredictiveModelGeneralInformation information = new PredictiveModelGeneralInformation();

        Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(J);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private GenericModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        final GenericModelGeneralInformation information = new GenericModelGeneralInformation();

        final Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(I);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private PredictiveModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        PredictiveModelGeneralInformation information = new PredictiveModelGeneralInformation();

        Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(J);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private PredictiveModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        PredictiveModelGeneralInformation information = new PredictiveModelGeneralInformation();

        Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(I);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private PredictiveModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        PredictiveModelGeneralInformation information = new PredictiveModelGeneralInformation();

        Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(I);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private DoseResponseModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        DoseResponseModelGeneralInformation information = new DoseResponseModelGeneralInformation();

        Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(I);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private OtherModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        OtherModelGeneralInformation information = new OtherModelGeneralInformation();

        Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(J);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private PredictiveModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        PredictiveModelGeneralInformation information = new PredictiveModelGeneralInformation();

        Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(J);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private PredictiveModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        PredictiveModelGeneralInformation information = new PredictiveModelGeneralInformation();

        Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(J);

Method retrieveGeneralInformation has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private PredictiveModelGeneralInformation retrieveGeneralInformation(Sheet sheet) {

        PredictiveModelGeneralInformation information = new PredictiveModelGeneralInformation();

        Cell nameCell = sheet.getRow(GENERAL_INFORMATION__NAME).getCell(J);

Method decodeM1DataSchemas has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private List<KnimeTuple> decodeM1DataSchemas(List<JsM1DataSchema> schemas) {

        List<KnimeTuple> tuples = new ArrayList<>(schemas.size());

        KnimeSchema knimeSchema = SchemaFactory.createM1DataSchema();

Method setValueAt has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public void setValueAt(Object o, int rowIndex, int columnIndex) {
            if (thePM == null) return;
            if (rowIndex == 0) {
                DepXml dx = thePM.getDepXml();
                if (columnIndex == 1) {

Method mergeInportNSettings has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @SuppressWarnings("unused")
    private void mergeInportNSettings(BufferedDataTable[] inData) {
        if (inData != null && inData.length == 1) {
            HashMap<Integer, ParametricModel> mlist = new HashMap<>();
            HashMap<Integer, PmmTimeSeries> tslist = new HashMap<>();

Method passesFilter has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static boolean passesFilter(
        final String matrixString,
        final String agentString,
        final String literatureString,
        int matrixID, int agentID, int literatureID,

Method doTheUpdates has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private boolean doTheUpdates(String dbPath) {
        boolean dl = DBKernel.dontLog;
        DBKernel.dontLog = true;
        try {
            boolean isAdmin = DBKernel.isAdmin();
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/Login.java - About 3 hrs to fix

Method check4Updates_172_173 has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static void check4Updates_172_173() {
        DBKernel.sendRequest(
                "ALTER TABLE " + DBKernel.delimitL("Station") + " ADD COLUMN " + DBKernel.delimitL("Name") + " VARCHAR(255) BEFORE " + DBKernel.delimitL("Kontaktadresse"), false);
        updateChangeLog("Station", 1, false);
        DBKernel.sendRequest(
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/UpdateChecker.java - About 3 hrs to fix

Method doRestore has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static boolean doRestore(String path, final MyDBTable myDB, final File targzFile, final boolean silent, boolean doReconnect) {
        boolean result = true;
        if (targzFile != null && targzFile.exists()) {
            if (!silent) {
                int returnVal = JOptionPane.showConfirmDialog(DBKernel.mainFrame,
Severity: Major
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/Backup.java - About 3 hrs to fix

Method initializeModel has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public static Model initializeModel(ModelType modelType) {
    
    String modelId = UUID.randomUUID().toString();

    if (modelType == null)

Method getRepository has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private BasicRepository<?> getRepository(String vocabulary, Connection connection) {
        switch (vocabulary) {
        case "accreditation_procedure":
            return new AccreditationProcedureRepository(connection);
        case "availability":
Severity
Category
Status
Source
Language