failmap/admin

View on GitHub

Showing 577 of 577 total issues

Avoid too many return statements within this function.
Open

        return True
Severity: Major
Found in websecmap/scanners/scanner/http.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return clean_up_existing_headers(endpoint_id, service_type=service_type, reason="unknown_content_type")
    Severity: Major
    Found in websecmap/scanners/scanner/security_headers.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

                return
        Severity: Major
        Found in websecmap/scanners/scanner/ftp.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, 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 '0.0.0'
              Severity: Major
              Found in setup.py - About 30 mins to fix

                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 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 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(
                      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 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 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 standard_calculation(scan=scan, explanation=f"{scan.rating} {scan.evidence}", high=1, medium=0, 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 True
                                  Severity: Major
                                  Found in websecmap/api/views.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

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

                                      Avoid too many return statements within this function.
                                      Open

                                              return operation_response(error=True, message="No latitude 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 response
                                        Severity: Major
                                        Found in websecmap/map/logic/admin.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language