Cloud-CV/EvalAI

View on GitHub

Showing 666 of 1,371 total issues

Avoid too many return statements within this function.
Open

        return Response(response_data, status=status.HTTP_200_OK)
Severity: Major
Found in apps/challenges/views.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return response
    Severity: Major
    Found in apps/challenges/views.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return render(request, "error404.html")
      Severity: Major
      Found in apps/web/views.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return Response(response_data, status=status.HTTP_200_OK)
        Severity: Major
        Found in apps/challenges/views.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                              return Response(error_messages, status=status.HTTP_400_BAD_REQUEST)
          Severity: Major
          Found in apps/challenges/views.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return 0;

              Avoid too many return statements within this function.
              Open

                      return Response(response_data, status=status.HTTP_400_BAD_REQUEST)
              Severity: Major
              Found in apps/challenges/views.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return Response(response_data, status=status_code)
                Severity: Major
                Found in apps/challenges/views.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return Response({"error": str(e)}, status=status.HTTP_400_BAD_REQUEST)
                  Severity: Major
                  Found in apps/challenges/views.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                            return Response(verify_complete, status=status.HTTP_400_BAD_REQUEST)
                    Severity: Major
                    Found in apps/challenges/views.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return Response(response_data, status=status.HTTP_503_SERVICE_UNAVAILABLE)
                      Severity: Major
                      Found in apps/challenges/views.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return Response(response_data, status=status_code)
                        Severity: Major
                        Found in apps/challenges/views.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                                      return Response(response_data, status.HTTP_406_NOT_ACCEPTABLE)
                          Severity: Major
                          Found in apps/challenges/views.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                            return Response(
                            Severity: Major
                            Found in apps/challenges/views.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return Response(response_data, status=status.HTTP_200_OK)
                              Severity: Major
                              Found in apps/challenges/views.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                return Response(
                                Severity: Major
                                Found in apps/challenges/views.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return Response(response_data, status=status.HTTP_200_OK)
                                  Severity: Major
                                  Found in apps/challenges/views.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                        return Response(
                                    Severity: Major
                                    Found in apps/challenges/views.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                          return Response(
                                      Severity: Major
                                      Found in apps/challenges/views.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return Response(response_data, status=status.HTTP_400_BAD_REQUEST)
                                        Severity: Major
                                        Found in apps/challenges/views.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language