ihavalyova/DiAtomic

View on GitHub
diatomic/ui_diatom.py

Summary

Maintainability
F
5 days
Test Coverage

Function setupUi has 663 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(1068, 848)
        self.actionNew = QAction(MainWindow)
Severity: Major
Found in diatomic/ui_diatom.py - About 3 days to fix

    File ui_diatom.py has 771 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    # -*- coding: utf-8 -*-
    
    ################################################################################
    ## Form generated from reading UI file 'diatomWVoSsf.ui'
    ##
    Severity: Major
    Found in diatomic/ui_diatom.py - About 1 day to fix

      Function retranslateUi has 100 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          def retranslateUi(self, MainWindow):
              MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
              self.actionNew.setText(QCoreApplication.translate("MainWindow", u"New", None))
              self.groupBox.setTitle(QCoreApplication.translate("MainWindow", u"Levels, Fit and Spectrum", None))
              self.paramsFileLabel.setText(QCoreApplication.translate("MainWindow", u"Parameters file:", None))
      Severity: Major
      Found in diatomic/ui_diatom.py - About 4 hrs to fix

        There are no issues that match your filters.

        Category
        Status