atlp-rwanda/atlp-devpulse-fn

View on GitHub

Applicant stage
#237

ndahimana154 wants to merge stages-of-application into develop
All good!
No new issues were found.

File deletetraine.ts has 266 lines of code (exceeds 250 allowed). Consider refactoring.
Fixed

Severity: Minor
Found in src/redux/actions/deletetraine.ts - About 2 hrs to fix

    File routes.tsx has 449 lines of code (exceeds 250 allowed). Consider refactoring.
    Fixed

    Severity: Minor
    Found in src/routes/routes.tsx - About 6 hrs to fix

      Function Navigation has 388 lines of code (exceeds 200 allowed). Consider refactoring.
      Fixed

      Severity: Major
      Found in src/routes/routes.tsx - About 1 day to fix

        Function RecentForms has 218 lines of code (exceeds 200 allowed). Consider refactoring.
        Fixed

        Severity: Major
        Found in src/components/GoogleForm/RecentForms.tsx - About 1 hr to fix

          Function UpdateSavedForm has 209 lines of code (exceeds 200 allowed). Consider refactoring.
          Fixed

          Severity: Major
          Found in src/components/GoogleForm/UpdateSavedForm.tsx - About 1 hr to fix

            File GradingBox.tsx has 659 lines of code (exceeds 250 allowed). Consider refactoring.
            Fixed

            Severity: Major
            Found in src/components/GradingBox.tsx - About 1 day to fix

              Function GradingBox has a Cognitive Complexity of 47 (exceeds 15 allowed). Consider refactoring.
              Fixed

              Severity: Minor
              Found in src/components/GradingBox.tsx - About 5 hrs to fix

              Cognitive Complexity

              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

              A method's cognitive complexity is based on a few simple rules:

              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
              • Code is considered more complex for each "break in the linear flow of the code"
              • Code is considered more complex when "flow breaking structures are nested"

              Further reading

              Function GradingBox has 629 lines of code (exceeds 200 allowed). Consider refactoring.
              Fixed

              Severity: Major
              Found in src/components/GradingBox.tsx - About 2 days to fix

                Function LoginForm has a Cognitive Complexity of 39 (exceeds 15 allowed). Consider refactoring.
                Fixed

                Severity: Minor
                Found in src/components/form/SignInForm.tsx - About 4 hrs to fix

                Cognitive Complexity

                Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                A method's cognitive complexity is based on a few simple rules:

                • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                • Code is considered more complex for each "break in the linear flow of the code"
                • Code is considered more complex when "flow breaking structures are nested"

                Further reading

                File RegisterForm.tsx has 359 lines of code (exceeds 250 allowed). Consider refactoring.
                Fixed

                Severity: Minor
                Found in src/components/form/RegisterForm.tsx - About 4 hrs to fix

                  Function SignupForm has a Cognitive Complexity of 29 (exceeds 15 allowed). Consider refactoring.
                  Fixed

                  Severity: Minor
                  Found in src/components/form/RegisterForm.tsx - About 2 hrs to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  Function SignupForm has 332 lines of code (exceeds 200 allowed). Consider refactoring.
                  Fixed

                  Severity: Major
                  Found in src/components/form/RegisterForm.tsx - About 6 hrs to fix

                    File ListAllUsers.tsx has 840 lines of code (exceeds 250 allowed). Consider refactoring.
                    Fixed

                    Severity: Major
                    Found in src/components/roles&permissions/ListAllUsers.tsx - About 2 days to fix

                      Function ListAllUsers has a Cognitive Complexity of 79 (exceeds 15 allowed). Consider refactoring.
                      Fixed

                      Severity: Minor
                      Found in src/components/roles&permissions/ListAllUsers.tsx - About 1 day to fix

                      Cognitive Complexity

                      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                      A method's cognitive complexity is based on a few simple rules:

                      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                      • Code is considered more complex for each "break in the linear flow of the code"
                      • Code is considered more complex when "flow breaking structures are nested"

                      Further reading

                      Function ListAllUsers has 793 lines of code (exceeds 200 allowed). Consider refactoring.
                      Fixed

                      Severity: Major
                      Found in src/components/roles&permissions/ListAllUsers.tsx - About 3 days to fix

                        File locations.ts has 16215 lines of code (exceeds 250 allowed). Consider refactoring.
                        Fixed

                        Severity: Major
                        Found in src/pages/updateTrainee/locations.ts - About 1 mo to fix

                          File FilterTrainee.tsx has 722 lines of code (exceeds 250 allowed). Consider refactoring.
                          Fixed

                          Severity: Major
                          Found in src/pages/FilterTeainee/FilterTrainee.tsx - About 1 day to fix

                            Function FilterTrainee has 657 lines of code (exceeds 200 allowed). Consider refactoring.
                            Fixed

                            Severity: Major
                            Found in src/pages/FilterTeainee/FilterTrainee.tsx - About 2 days to fix

                              File ScoreTypesActions.tsx has 255 lines of code (exceeds 250 allowed). Consider refactoring.
                              Fixed

                              Severity: Minor
                              Found in src/pages/FilterTeainee/ScoreTypesActions.tsx - About 2 hrs to fix

                                Function ScoreTypesActions has 223 lines of code (exceeds 200 allowed). Consider refactoring.
                                Fixed

                                Severity: Major
                                Found in src/pages/FilterTeainee/ScoreTypesActions.tsx - About 1 hr to fix

                                  File createScoreType.tsx has 520 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Fixed

                                  Severity: Major
                                  Found in src/pages/FilterTeainee/createScoreType.tsx - About 1 day to fix

                                    Function createScoreType has 483 lines of code (exceeds 200 allowed). Consider refactoring.
                                    Fixed

                                    Severity: Major
                                    Found in src/pages/FilterTeainee/createScoreType.tsx - About 1 day to fix

                                      File Trash.tsx has 351 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Fixed

                                      Severity: Minor
                                      Found in src/pages/Trash/Trash.tsx - About 4 hrs to fix

                                        Function Trash has 320 lines of code (exceeds 200 allowed). Consider refactoring.
                                        Fixed

                                        Severity: Major
                                        Found in src/pages/Trash/Trash.tsx - About 5 hrs to fix

                                          File sharedPosts.tsx has 369 lines of code (exceeds 250 allowed). Consider refactoring.
                                          Fixed

                                          Severity: Minor
                                          Found in src/pages/sharedPosts.tsx - About 4 hrs to fix

                                            Function SharedJobPosts has 339 lines of code (exceeds 200 allowed). Consider refactoring.
                                            Fixed

                                            Severity: Major
                                            Found in src/pages/sharedPosts.tsx - About 6 hrs to fix

                                              File ApplicantDashboard.tsx has 265 lines of code (exceeds 250 allowed). Consider refactoring.
                                              Fixed

                                              Severity: Minor
                                              Found in src/pages/Applicant/ApplicantDashboard.tsx - About 2 hrs to fix

                                                File Programs.tsx has 802 lines of code (exceeds 250 allowed). Consider refactoring.
                                                Fixed

                                                Severity: Major
                                                Found in src/pages/programs/Programs.tsx - About 1 day to fix

                                                  Function Programs has a Cognitive Complexity of 43 (exceeds 15 allowed). Consider refactoring.
                                                  Fixed

                                                  Severity: Minor
                                                  Found in src/pages/programs/Programs.tsx - About 4 hrs to fix

                                                  Cognitive Complexity

                                                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                  A method's cognitive complexity is based on a few simple rules:

                                                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                  • Code is considered more complex for each "break in the linear flow of the code"
                                                  • Code is considered more complex when "flow breaking structures are nested"

                                                  Further reading

                                                  Function Programs has 761 lines of code (exceeds 200 allowed). Consider refactoring.
                                                  Fixed

                                                  Severity: Major
                                                  Found in src/pages/programs/Programs.tsx - About 2 days to fix

                                                    File filterPrograms.tsx has 589 lines of code (exceeds 250 allowed). Consider refactoring.
                                                    Fixed

                                                    Severity: Major
                                                    Found in src/pages/programs/filterPrograms.tsx - About 1 day to fix

                                                      Function FilterProgram has 524 lines of code (exceeds 200 allowed). Consider refactoring.
                                                      Fixed

                                                      Severity: Major
                                                      Found in src/pages/programs/filterPrograms.tsx - About 1 day to fix

                                                        File UpdateProgram.tsx has 273 lines of code (exceeds 250 allowed). Consider refactoring.
                                                        Fixed

                                                        Severity: Minor
                                                        Found in src/pages/programs/UpdateProgram.tsx - About 2 hrs to fix

                                                          Function UpdateProgram has a Cognitive Complexity of 20 (exceeds 15 allowed). Consider refactoring.
                                                          Fixed

                                                          Severity: Minor
                                                          Found in src/pages/programs/UpdateProgram.tsx - About 1 hr to fix

                                                          Cognitive Complexity

                                                          Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                          A method's cognitive complexity is based on a few simple rules:

                                                          • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                          • Code is considered more complex for each "break in the linear flow of the code"
                                                          • Code is considered more complex when "flow breaking structures are nested"

                                                          Further reading

                                                          Function UpdateProgram has 253 lines of code (exceeds 200 allowed). Consider refactoring.
                                                          Fixed

                                                          Severity: Major
                                                          Found in src/pages/programs/UpdateProgram.tsx - About 3 hrs to fix

                                                            File Applications.tsx has 572 lines of code (exceeds 250 allowed). Consider refactoring.
                                                            Fixed

                                                            Severity: Major
                                                            Found in src/pages/Applications.tsx - About 1 day to fix

                                                              Function Applications has a Cognitive Complexity of 19 (exceeds 15 allowed). Consider refactoring.
                                                              Fixed

                                                              Severity: Minor
                                                              Found in src/pages/Applications.tsx - About 55 mins to fix

                                                              Cognitive Complexity

                                                              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                              A method's cognitive complexity is based on a few simple rules:

                                                              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                              • Code is considered more complex for each "break in the linear flow of the code"
                                                              • Code is considered more complex when "flow breaking structures are nested"

                                                              Further reading

                                                              Function Applications has 537 lines of code (exceeds 200 allowed). Consider refactoring.
                                                              Fixed

                                                              Severity: Major
                                                              Found in src/pages/Applications.tsx - About 1 day to fix

                                                                File fiterJopPost.tsx has 589 lines of code (exceeds 250 allowed). Consider refactoring.
                                                                Fixed

                                                                Severity: Major
                                                                Found in src/pages/JobPost/fiterJopPost.tsx - About 1 day to fix

                                                                  Function FilterJobPost has 517 lines of code (exceeds 200 allowed). Consider refactoring.
                                                                  Fixed

                                                                  Severity: Major
                                                                  Found in src/pages/JobPost/fiterJopPost.tsx - About 1 day to fix

                                                                    File job.tsx has 716 lines of code (exceeds 250 allowed). Consider refactoring.
                                                                    Fixed

                                                                    Severity: Major
                                                                    Found in src/pages/JobPost/job.tsx - About 1 day to fix

                                                                      Function Jobs has a Cognitive Complexity of 29 (exceeds 15 allowed). Consider refactoring.
                                                                      Fixed

                                                                      Severity: Minor
                                                                      Found in src/pages/JobPost/job.tsx - About 2 hrs to fix

                                                                      Cognitive Complexity

                                                                      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                      A method's cognitive complexity is based on a few simple rules:

                                                                      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                      • Code is considered more complex for each "break in the linear flow of the code"
                                                                      • Code is considered more complex when "flow breaking structures are nested"

                                                                      Further reading

                                                                      Function Jobs has 668 lines of code (exceeds 200 allowed). Consider refactoring.
                                                                      Fixed

                                                                      Severity: Major
                                                                      Found in src/pages/JobPost/job.tsx - About 2 days to fix

                                                                        File applicantJobFiltering.tsx has 487 lines of code (exceeds 250 allowed). Consider refactoring.
                                                                        Fixed

                                                                        Severity: Minor
                                                                        Found in src/pages/JobPost/applicantJobFiltering.tsx - About 7 hrs to fix

                                                                          Function ApplicantSeachJobPost has 454 lines of code (exceeds 200 allowed). Consider refactoring.
                                                                          Fixed

                                                                          Severity: Major
                                                                          Found in src/pages/JobPost/applicantJobFiltering.tsx - About 1 day to fix

                                                                            File traineUpdate.tsx has 808 lines of code (exceeds 250 allowed). Consider refactoring.
                                                                            Fixed

                                                                            Severity: Major
                                                                            Found in src/pages/updateTrainee/traineUpdate.tsx - About 1 day to fix

                                                                              Function TraineeUpdate has a Cognitive Complexity of 51 (exceeds 15 allowed). Consider refactoring.
                                                                              Fixed

                                                                              Severity: Minor
                                                                              Found in src/pages/updateTrainee/traineUpdate.tsx - About 6 hrs to fix

                                                                              Cognitive Complexity

                                                                              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                              A method's cognitive complexity is based on a few simple rules:

                                                                              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                              • Code is considered more complex for each "break in the linear flow of the code"
                                                                              • Code is considered more complex when "flow breaking structures are nested"

                                                                              Further reading

                                                                              Function TraineeUpdate has 781 lines of code (exceeds 200 allowed). Consider refactoring.
                                                                              Fixed

                                                                              Severity: Major
                                                                              Found in src/pages/updateTrainee/traineUpdate.tsx - About 3 days to fix

                                                                                File Trainee.tsx has 578 lines of code (exceeds 250 allowed). Consider refactoring.
                                                                                Fixed

                                                                                Severity: Major
                                                                                Found in src/pages/TraineApplicant/Trainee.tsx - About 1 day to fix

                                                                                  Function AddTrainee has a Cognitive Complexity of 21 (exceeds 15 allowed). Consider refactoring.
                                                                                  Fixed

                                                                                  Severity: Minor
                                                                                  Found in src/pages/TraineApplicant/Trainee.tsx - About 1 hr to fix

                                                                                  Cognitive Complexity

                                                                                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                                  A method's cognitive complexity is based on a few simple rules:

                                                                                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                                  • Code is considered more complex for each "break in the linear flow of the code"
                                                                                  • Code is considered more complex when "flow breaking structures are nested"

                                                                                  Further reading

                                                                                  Function AddTrainee has 536 lines of code (exceeds 200 allowed). Consider refactoring.
                                                                                  Fixed

                                                                                  Severity: Major
                                                                                  Found in src/pages/TraineApplicant/Trainee.tsx - About 1 day to fix

                                                                                    File ApplicationCycle.tsx has 501 lines of code (exceeds 250 allowed). Consider refactoring.
                                                                                    Fixed

                                                                                    Severity: Major
                                                                                    Found in src/pages/ApplicationCycle/ApplicationCycle.tsx - About 1 day to fix

                                                                                      Function ApplicationCycle has 470 lines of code (exceeds 200 allowed). Consider refactoring.
                                                                                      Fixed

                                                                                      Severity: Major
                                                                                      Found in src/pages/ApplicationCycle/ApplicationCycle.tsx - About 1 day to fix

                                                                                        File filterRolesAccess.tsx has 574 lines of code (exceeds 250 allowed). Consider refactoring.
                                                                                        Fixed

                                                                                        Severity: Major
                                                                                        Found in src/pages/roles&permissions/filterRolesAccess.tsx - About 1 day to fix

                                                                                          Function FilterRole has 509 lines of code (exceeds 200 allowed). Consider refactoring.
                                                                                          Fixed

                                                                                          Severity: Major
                                                                                          Found in src/pages/roles&permissions/filterRolesAccess.tsx - About 1 day to fix

                                                                                            File ListAllUsersPage.tsx has 373 lines of code (exceeds 250 allowed). Consider refactoring.
                                                                                            Fixed

                                                                                            Severity: Minor
                                                                                            Found in src/pages/roles&permissions/ListAllUsersPage.tsx - About 4 hrs to fix

                                                                                              Function ListAllUsersPage has a Cognitive Complexity of 42 (exceeds 15 allowed). Consider refactoring.
                                                                                              Fixed

                                                                                              Severity: Minor
                                                                                              Found in src/pages/roles&permissions/ListAllUsersPage.tsx - About 4 hrs to fix

                                                                                              Cognitive Complexity

                                                                                              Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                                                                              A method's cognitive complexity is based on a few simple rules:

                                                                                              • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                                                                              • Code is considered more complex for each "break in the linear flow of the code"
                                                                                              • Code is considered more complex when "flow breaking structures are nested"

                                                                                              Further reading

                                                                                              Function ListAllUsersPage has 335 lines of code (exceeds 200 allowed). Consider refactoring.
                                                                                              Fixed

                                                                                              Severity: Major
                                                                                              Found in src/pages/roles&permissions/ListAllUsersPage.tsx - About 6 hrs to fix

                                                                                                There are no issues that match your filters.

                                                                                                Category
                                                                                                Status