madhav-datt/kgp-hms

View on GitHub
src/ui/HMC_Window.py

Summary

Maintainability
F
3 days
Test Coverage

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

    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(630, 497)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../.designer/backup/logo2.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Severity: Major
Found in src/ui/HMC_Window.py - About 2 days to fix

    File HMC_Window.py has 561 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    # -*- coding: utf-8 -*-
    
    # Form implementation generated from reading ui file 'HMC.ui'
    #
    # Created by: PyQt4 UI code generator 4.11.4
    Severity: Major
    Found in src/ui/HMC_Window.py - About 1 day to fix

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

          def retranslateUi(self, Form):
              Form.setWindowTitle(_translate("Form", "HMS - HMC Portal", None))
              self.label_33.setText(_translate("Form", "TextLabel", None))
              self.label_34.setText(_translate("Form", "WELCOME!", None))
              self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), _translate("Form", "Home", None))
      Severity: Major
      Found in src/ui/HMC_Window.py - About 2 hrs to fix

        There are no issues that match your filters.

        Category
        Status