Ptrskay3/PySprint

View on GitHub

Showing 13 of 23 total issues

File dataset.py has 1313 lines of code (exceeds 700 allowed). Consider refactoring.
Open

"""
This file implements the Dataset class with all the functionality
that an interferogram should have in general.
"""
import base64
Severity: Major
Found in pysprint/core/bases/dataset.py - About 2 days to fix

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

    class Phase:
        """
        A class that represents a phase obtained from various
        methods.
        """
    Severity: Minor
    Found in pysprint/core/phase.py - About 4 hrs to fix

      Function parse_raw has 20 arguments (exceeds 8 allowed). Consider refactoring.
      Open

          def parse_raw(
      Severity: Major
      Found in pysprint/core/bases/dataset.py - About 2 hrs to fix

        Function _parse_raw has 15 arguments (exceeds 8 allowed). Consider refactoring.
        Open

        def _parse_raw(
        Severity: Major
        Found in pysprint/core/io/_parser.py - About 1 hr to fix

          Function generator_wave has 14 arguments (exceeds 8 allowed). Consider refactoring.
          Open

          def generator_wave(
          Severity: Major
          Found in pysprint/core/_generator.py - About 1 hr to fix

            Function generator_freq has 14 arguments (exceeds 8 allowed). Consider refactoring.
            Open

            def generator_freq(
            Severity: Major
            Found in pysprint/core/_generator.py - About 1 hr to fix

              Function __init__ has 14 arguments (exceeds 8 allowed). Consider refactoring.
              Open

                  def __init__(
              Severity: Major
              Found in pysprint/core/methods/generator.py - About 1 hr to fix

                Function _calculate has 12 arguments (exceeds 8 allowed). Consider refactoring.
                Open

                    def _calculate(
                Severity: Major
                Found in pysprint/core/methods/wft.py - About 1 hr to fix

                  Function calculate has 12 arguments (exceeds 8 allowed). Consider refactoring.
                  Open

                      def calculate(
                  Severity: Major
                  Found in pysprint/core/methods/wft.py - About 1 hr to fix

                    Function cos_fit6 has 10 arguments (exceeds 8 allowed). Consider refactoring.
                    Open

                    def cos_fit6(x, c0, c1, b0, b1, b2, b3, b4, b5, b6):
                    Severity: Major
                    Found in pysprint/core/_functions.py - About 45 mins to fix

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

                          def __init__(
                      Severity: Major
                      Found in pysprint/core/bases/dataset.py - About 35 mins to fix

                        Function min_max_method has 9 arguments (exceeds 8 allowed). Consider refactoring.
                        Open

                        def min_max_method(
                        Severity: Major
                        Found in pysprint/core/_evaluate.py - About 35 mins to fix

                          Function cos_fit5 has 9 arguments (exceeds 8 allowed). Consider refactoring.
                          Open

                          def cos_fit5(x, c0, c1, b0, b1, b2, b3, b4, b5):
                          Severity: Major
                          Found in pysprint/core/_functions.py - About 35 mins to fix
                            Severity
                            Category
                            Status
                            Source
                            Language