mstuttgart/pynocchio

View on GitHub
pynocchio/uic_files/main_window_view_ui.py

Summary

Maintainability
F
4 days
Test Coverage

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

    def setupUi(self, MainWindowView):
        MainWindowView.setObjectName("MainWindowView")
        MainWindowView.resize(1048, 537)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
Severity: Major
Found in pynocchio/uic_files/main_window_view_ui.py - About 2 days to fix

    File main_window_view_ui.py has 642 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    # -*- coding: utf-8 -*-
    
    # Form implementation generated from reading ui file 'forms/main_window_view.ui'
    #
    # Created by: PyQt5 UI code generator 5.10.1
    Severity: Major
    Found in pynocchio/uic_files/main_window_view_ui.py - About 1 day to fix

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

          def retranslateUi(self, MainWindowView):
              _translate = QtCore.QCoreApplication.translate
              MainWindowView.setWindowTitle(_translate("MainWindowView", "Pynocchio"))
              MainWindowView.setAccessibleName(_translate("MainWindowView", "Pynocchio"))
              MainWindowView.setAccessibleDescription(_translate("MainWindowView", "The Best Comic Reader"))
      Severity: Major
      Found in pynocchio/uic_files/main_window_view_ui.py - About 2 hrs to fix

        There are no issues that match your filters.

        Category
        Status