durandtibo/redcat

View on GitHub
src/redcat/ba/creation.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

File creation.py has 364 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

r"""Contain functions to create ``BatchedArray`` objects.

The functions in this module are designed to be a plug-and-play
replacement of their associated numpy functions.

Severity: Minor
Found in src/redcat/ba/creation.py - About 4 hrs to fix

    Function full has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

    def full(
    Severity: Major
    Found in src/redcat/ba/creation.py - About 50 mins to fix

      Function full_like has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Wontfix

      def full_like(
      Severity: Major
      Found in src/redcat/ba/creation.py - About 50 mins to fix

        Function ones has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Wontfix

        def ones(
        Severity: Minor
        Found in src/redcat/ba/creation.py - About 45 mins to fix

          Function zeros_like has 6 arguments (exceeds 4 allowed). Consider refactoring.
          Wontfix

          def zeros_like(
          Severity: Minor
          Found in src/redcat/ba/creation.py - About 45 mins to fix

            Function zeros has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Wontfix

            def zeros(
            Severity: Minor
            Found in src/redcat/ba/creation.py - About 45 mins to fix

              Function empty has 6 arguments (exceeds 4 allowed). Consider refactoring.
              Wontfix

              def empty(
              Severity: Minor
              Found in src/redcat/ba/creation.py - About 45 mins to fix

                Function ones_like has 6 arguments (exceeds 4 allowed). Consider refactoring.
                Wontfix

                def ones_like(
                Severity: Minor
                Found in src/redcat/ba/creation.py - About 45 mins to fix

                  Function empty_like has 6 arguments (exceeds 4 allowed). Consider refactoring.
                  Wontfix

                  def empty_like(
                  Severity: Minor
                  Found in src/redcat/ba/creation.py - About 45 mins to fix

                    Function array has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Wontfix

                    def array(
                    Severity: Minor
                    Found in src/redcat/ba/creation.py - About 35 mins to fix

                      There are no issues that match your filters.

                      Category
                      Status