BLKSerene/Wordless

View on GitHub
wordless/wl_widgets/wl_boxes.py

Summary

Maintainability
B
5 hrs
Test Coverage

Consider simplifying this complex logical expression.
Open

        if (
            checkbox_sync.isChecked()
            or (
                spin_box_left.prefix() == _tr('wl_boxes', 'L')
                and spin_box_right.prefix() == _tr('wl_boxes', 'L')
Severity: Critical
Found in wordless/wl_widgets/wl_boxes.py - About 1 hr to fix

    Consider simplifying this complex logical expression.
    Open

            if (
                checkbox_sync.isChecked()
                or (
                    spin_box_left.prefix() == _tr('wl_boxes', 'L')
                    and spin_box_right.prefix() == _tr('wl_boxes', 'L')
    Severity: Critical
    Found in wordless/wl_widgets/wl_boxes.py - About 1 hr to fix

      Function wl_spin_boxes_min_max_no_limit has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def wl_spin_boxes_min_max_no_limit(
      Severity: Major
      Found in wordless/wl_widgets/wl_boxes.py - About 50 mins to fix

        Function wl_spin_boxes_min_max has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def wl_spin_boxes_min_max(
        Severity: Minor
        Found in wordless/wl_widgets/wl_boxes.py - About 45 mins to fix

          Function wl_spin_boxes_min_max_sync has 6 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def wl_spin_boxes_min_max_sync(
          Severity: Minor
          Found in wordless/wl_widgets/wl_boxes.py - About 45 mins to fix

            There are no issues that match your filters.

            Category
            Status