tobspr/RenderPipeline

View on GitHub
toolkit/day_time_editor/ui/main_window_generated.py

Summary

Maintainability
D
2 days
Test Coverage

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

    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(973, 632)
        MainWindow.setMinimumSize(QtCore.QSize(973, 632))
        MainWindow.setMaximumSize(QtCore.QSize(973, 632))
Severity: Major
Found in toolkit/day_time_editor/ui/main_window_generated.py - About 1 day to fix

    File main_window_generated.py has 456 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    # -*- coding: utf-8 -*-
    
    # Form implementation generated from reading ui file 'main_window.ui'
    #
    # Created by: PyQt5 UI code generator 5.7
    Severity: Minor
    Found in toolkit/day_time_editor/ui/main_window_generated.py - About 6 hrs to fix

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

          def retranslateUi(self, MainWindow):
              _translate = QtCore.QCoreApplication.translate
              MainWindow.setWindowTitle(_translate("MainWindow", "Day Time Editor"))
              self.lbl_current_setting.setText(_translate("MainWindow", "Occlusion Strength"))
              self.btn_reset.setText(_translate("MainWindow", "Reset curve"))
      Severity: Minor
      Found in toolkit/day_time_editor/ui/main_window_generated.py - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status