BLKSerene/Wordless

View on GitHub

Showing 198 of 198 total issues

Wl_Table has 35 functions (exceeds 20 allowed). Consider refactoring.
Open

class Wl_Table(QTableView):
    def __init__(
        self, parent,
        headers, header_orientation = 'hor',
        editable = False,
Severity: Minor
Found in wordless/wl_widgets/wl_tables.py - About 4 hrs to fix

    Wl_Main has 21 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class Wl_Main(QMainWindow):
        def __init__(self, loading_window):
            super().__init__()
    
            self.loading_window = loading_window
    Severity: Minor
    Found in wordless/wl_main.py - About 2 hrs 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

        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 __init__ has 13 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def __init__(
          Severity: Major
          Found in wordless/wl_widgets/wl_tables.py - About 1 hr to fix

            Function __init__ has 13 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def __init__(
            Severity: Major
            Found in wordless/wl_widgets/wl_tables.py - About 1 hr to fix

              Function __init__ has 13 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  def __init__(
              Severity: Major
              Found in wordless/wl_widgets/wl_tables.py - About 1 hr to fix

                Function __init__ has 13 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def __init__(
                Severity: Major
                Found in wordless/wl_widgets/wl_tables.py - About 1 hr to fix

                  Function init_context_settings has 12 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def init_context_settings(
                  Severity: Major
                  Found in tests/tests_nlp/test_matching.py - About 1 hr to fix

                    Function wl_dependency_parse_fig has 10 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def wl_dependency_parse_fig(
                    Severity: Major
                    Found in wordless/wl_nlp/wl_dependency_parsing.py - About 1 hr to fix

                      Function wl_dependency_parse_fig_text has 10 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      def wl_dependency_parse_fig_text(
                      Severity: Major
                      Found in wordless/wl_nlp/wl_dependency_parsing.py - About 1 hr to fix

                        Function wl_dependency_parse_fig_tokens has 10 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def wl_dependency_parse_fig_tokens(
                        Severity: Major
                        Found in wordless/wl_nlp/wl_dependency_parsing.py - About 1 hr to fix

                          Function init_search_settings has 9 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          def init_search_settings(
                          Severity: Major
                          Found in tests/tests_nlp/test_matching.py - About 1 hr to fix

                            Function to_tokens has 9 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            def to_tokens(
                            Severity: Major
                            Found in wordless/wl_nlp/wl_texts.py - About 1 hr to fix

                              Function ins_headers_hor has 9 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def ins_headers_hor(
                              Severity: Major
                              Found in wordless/wl_widgets/wl_tables.py - About 1 hr to fix

                                Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    def __init__(
                                Severity: Major
                                Found in wordless/wl_nlp/wl_texts.py - About 1 hr to fix

                                  Function ins_header_hor has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      def ins_header_hor(
                                  Severity: Major
                                  Found in wordless/wl_widgets/wl_tables.py - About 1 hr to fix

                                    Function wl_test_stanza has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    def wl_test_stanza(
                                    Severity: Major
                                    Found in tests/tests_nlp/tests_stanza/test_stanza.py - About 1 hr to fix

                                      Function add_headers_hor has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          def add_headers_hor(
                                      Severity: Major
                                      Found in wordless/wl_widgets/wl_tables.py - About 1 hr to fix

                                        Function wl_test_spacy has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        def wl_test_spacy(
                                        Severity: Major
                                        Found in tests/tests_nlp/tests_spacy/test_spacy.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language