failmap/admin

View on GitHub

Showing 267 of 577 total issues

Avoid too many return statements within this function.
Open

    return standard_calculation(scan, explanation, high, medium, low)
Severity: Major
Found in websecmap/reporting/severity.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return standard_calculation_for_internet_nl(scan=scan, explanation=scan.explanation, not_testable=True)
    Severity: Major
    Found in websecmap/reporting/severity.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return standard_calculation_for_internet_nl(scan=scan, explanation=scan.explanation, error_in_test=True)
      Severity: Major
      Found in websecmap/reporting/severity.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return standard_calculation_for_internet_nl(scan=scan, explanation=scan.explanation, not_applicable=True)
        Severity: Major
        Found in websecmap/reporting/severity.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return standard_calculation(scan=scan, explanation=explanation, high=0, medium=0, low=1)
          Severity: Major
          Found in websecmap/reporting/severity.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return standard_calculation(scan=scan, explanation=explanation, not_testable=True)
            Severity: Major
            Found in websecmap/reporting/severity.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return operation_response(error=True, message="Latitude is between -90 and 90.")
              Severity: Major
              Found in websecmap/map/logic/admin.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return operation_response(error=True, message="Domains should be present and at least empty.")
                Severity: Major
                Found in websecmap/map/logic/admin.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return operation_response(
                  Severity: Major
                  Found in websecmap/map/logic/admin.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return True
                    Severity: Major
                    Found in websecmap/map/logic/admin.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return standard_calculation_for_internet_nl(scan=scan, explanation=scan.explanation, error_in_test=True)
                      Severity: Major
                      Found in websecmap/reporting/severity.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return operation_response(
                        Severity: Major
                        Found in websecmap/map/logic/admin.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return standard_calculation(scan=scan, explanation=f"{scan.rating} {scan.evidence}", high=0, medium=1, low=0)
                          Severity: Major
                          Found in websecmap/reporting/severity.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return standard_calculation(scan=scan, explanation=explanation, high=0, medium=1, low=0)
                            Severity: Major
                            Found in websecmap/reporting/severity.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return '0.0.0'
                              Severity: Major
                              Found in setup.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return True
                                Severity: Major
                                Found in websecmap/api/views.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return existing_second_level_url.add_subdomain(extracted.subdomain, "added via SIDN")
                                  Severity: Major
                                  Found in websecmap/api/apis/sidn.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return operation_response(error=True, message="No longitude given, cannot add organization.")
                                    Severity: Major
                                    Found in websecmap/map/logic/admin.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return operation_response(error=True, message="Latitude is between -180 and 180.")
                                      Severity: Major
                                      Found in websecmap/map/logic/admin.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return response
                                        Severity: Major
                                        Found in websecmap/map/logic/admin.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language