Cloud-CV/EvalAI

View on GitHub

Showing 1,371 of 1,371 total issues

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(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 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_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_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(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_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_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(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(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({"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(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 Math.floor(DIFF_DAYS) + ' day(s)';
                                  Severity: Major
                                  Found in frontend_v2/src/app/services/global.service.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return;

                                      Avoid too many return statements within this function.
                                      Open

                                            return;

                                        Avoid too many return statements within this function.
                                        Open

                                                  return Math.floor(DIFF_WEEKS) + ' week(s)';
                                        Severity: Major
                                        Found in frontend_v2/src/app/services/global.service.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language