portal
portal copied to clipboard
[FIX]:- Optimization/hr module codebase
Description
- The
ApplicationControllerand theApplicationServicefrom which the Recruitment data is rendered, there was a little bit of the same code in both these files, but we used only theApplicationControllerto fetch the data. In this, Code duplication was happening on this. We have moved all the changes in theApplicationControllerto theApplicationServicefile which will be totally used to fetch the data. - Also, Made some code cleanups to optimize the HR recruitment page.
Coverage report for commit: eea1ecd
File: coverage.xml
Cover ┌─────────────────────────┐ Freq.
0% │ ███████████████████████ │ 82.5%
10% │ █░░░░░░░░░░░░░░░░░░░░░░ │ 1.8%
20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │ 0.0%
30% │ █░░░░░░░░░░░░░░░░░░░░░░ │ 0.9%
40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │ 0.0%
50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │ 0.0%
60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │ 0.0%
70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │ 0.0%
80% │ ░░░░░░░░░░░░░░░░░░░░░░░ │ 0.0%
90% │ ░░░░░░░░░░░░░░░░░░░░░░░ │ 0.0%
100% │ █████░░░░░░░░░░░░░░░░░░ │ 14.9%
└─────────────────────────┘
*Legend:* █ = Current Distribution
Summary - Lines: 3.00% | Methods: 5.22%
| Files | Lines | Methods | Branches |
|---|---|---|---|
| app/Casts | |||
| Decrypted.php | - | - | 100.00% |
| app/Console/Commands | |||
| CheckCommand.php | - | - | 100.00% |
| FakeProdDataCommand.php | 2.00% | 11.11% | 100.00% |
| Setup.php | - | - | 100.00% |
| app/Console | |||
| Kernel.php | 12.50% | 50.00% | 100.00% |
| app/Exceptions | |||
| Handler.php | - | - | 100.00% |
| app/Helpers | |||
| ContentHelper.php | - | - | 100.00% |
| DateHelper.php | - | - | 100.00% |
| DecimalToWordsHelper.php | - | - | 100.00% |
| FileHelper.php | - | - | 100.00% |
| app/Http/Controllers/Auth | |||
| ForgotPasswordController.php | - | - | 100.00% |
| LoginController.php | - | - | 100.00% |
| RegisterController.php | - | - | 100.00% |
| ResetPasswordController.php | - | - | 100.00% |
| app/Http/Controllers/CRM | |||
| CRMController.php | - | - | 100.00% |
| app/Http/Controllers | |||
| ClientController.php | - | - | 100.00% |
| CommentController.php | - | - | 100.00% |
| Controller.php | 100.00% | 100.00% | 100.00% |
| HomeController.php | 26.47% | 50.00% | 100.00% |
| ProjectController.php | - | - | 100.00% |
| ProjectStageController.php | - | - | 100.00% |
| UserBookController.php | - | - | 100.00% |
| UserController.php | - | - | 100.00% |
| app/Http/Controllers/Finance | |||
| InvoiceController.php | - | - | 100.00% |
| PaymentController.php | - | - | 100.00% |
| ReportsController.php | - | - | 100.00% |
| app/Http/Controllers/HR/Applications | |||
| VolunteerApplicationController.php | - | - | 100.00% |
| app/Http/Controllers/HR/Volunteers | |||
| CampaignsController.php | - | - | 100.00% |
| ReportsController.php | - | - | 100.00% |
| VolunteerOpportunityController.php | - | - | 100.00% |
| app/Http/Controllers/KnowledgeCafe | |||
| KnowledgeCafeController.php | - | - | 100.00% |
| WeeklyDoseController.php | - | - | 100.00% |
| app/Http/Controllers/KnowledgeCafe/Library | |||
| BookCategoryController.php | - | - | 100.00% |
| BookCommentController.php | - | - | 100.00% |
| BookController.php | - | - | 100.00% |
| app/Http/Controllers/Settings | |||
| BankDetailController.php | - | - | 100.00% |
| HRController.php | - | - | 100.00% |
| NDAAgreementController.php | - | - | 100.00% |
| PermissionController.php | - | - | 100.00% |
| SettingController.php | - | - | 100.00% |
| app/Http | |||
| Kernel.php | 100.00% | 100.00% | 100.00% |
| app/Http/Middleware | |||
| EncryptCookies.php | 100.00% | 100.00% | 100.00% |
| RedirectIfAuthenticated.php | - | - | 100.00% |
| TrimStrings.php | 100.00% | 100.00% | 100.00% |
| TrustProxies.php | 100.00% | 100.00% | 100.00% |
| VerifyCsrfToken.php | 100.00% | 100.00% | 100.00% |
| app/Http/Requests | |||
| ClientRequest.php | - | - | 100.00% |
| ProjectRequest.php | - | - | 100.00% |
| ProjectStageRequest.php | - | - | 100.00% |
| app/Http/Requests/Finance | |||
| InvoiceRequest.php | - | - | 100.00% |
| PaymentRequest.php | - | - | 100.00% |
| app/Http/Requests/KnowledgeCafe/Library | |||
| BookCategoryRequest.php | - | - | 100.00% |
| BookRequest.php | - | - | 100.00% |
| app/Http/Requests/KnowledgeCafe | |||
| WeeklyDoseRequest.php | - | - | 100.00% |
| app/Http/Requests/Setting | |||
| SettingRequest.php | - | - | 100.00% |
| UpdateRolePermissionsRequest.php | - | - | 100.00% |
| UpdateUserRolesRequest.php | - | - | 100.00% |
| app/Http/View/Composers | |||
| CodeTrekApplicantsComposer.php | 100.00% | 100.00% | 100.00% |
| app/Imports | |||
| ApplicationImport.php | - | - | 100.00% |
| app/Listeners | |||
| RemoveUserFromWebsite.php | - | - | 100.00% |
| app/Mail | |||
| DailyEffortSummary.php | - | - | 100.00% |
| ErrorReport.php | - | - | 100.00% |
| sendEmail.php | - | - | 100.00% |
| app/Models | |||
| BankDetails.php | 100.00% | 100.00% | 100.00% |
| Category.php | - | - | 100.00% |
| Client.php | - | - | 100.00% |
| ClientCrmDetails.php | - | - | 100.00% |
| Comment.php | - | - | 100.00% |
| Country.php | 100.00% | 100.00% | 100.00% |
| Project.php | - | - | 100.00% |
| ProjectStage.php | - | - | 100.00% |
| ProjectStageBilling.php | - | - | 100.00% |
| Resource.php | - | - | 100.00% |
| Setting.php | - | - | 100.00% |
| SkillSet.php | 100.00% | 100.00% | 100.00% |
| Tag.php | - | - | 100.00% |
| app/Models/Finance | |||
| Invoice.php | - | - | 100.00% |
| Payment.php | - | - | 100.00% |
| app/Models/Finance/PaymentModes | |||
| Cash.php | - | - | 100.00% |
| Cheque.php | - | - | 100.00% |
| WireTransfer.php | - | - | 100.00% |
| app/Models/KnowledgeCafe/Library | |||
| Book.php | 13.79% | 13.64% | 100.00% |
| BookAMonth.php | - | - | 100.00% |
| BookCategory.php | - | - | 100.00% |
| app/Models/KnowledgeCafe | |||
| WeeklyDose.php | 100.00% | 100.00% | 100.00% |
| app/Notifications | |||
| ReviewNDA.php | - | - | 100.00% |
| app/Policies | |||
| ClientPolicy.php | - | - | 100.00% |
| ProjectPolicy.php | - | - | 100.00% |
| SettingPolicy.php | - | - | 100.00% |
| UserPolicy.php | - | - | 100.00% |
| app/Policies/Finance | |||
| InvoicePolicy.php | - | - | 100.00% |
| ReportPolicy.php | - | - | 100.00% |
| app/Policies/Infrastructure | |||
| BillingsPolicy.php | - | - | 100.00% |
| app/Policies/KnowledgeCafe/Library | |||
| BookCategoryPolicy.php | - | - | 100.00% |
| BookPolicy.php | - | - | 100.00% |
| app/Policies/KnowledgeCafe | |||
| WeeklyDosePolicy.php | - | - | 100.00% |
| app/Providers | |||
| AppServiceProvider.php | 100.00% | 100.00% | 100.00% |
| ApplicantsComposerServiceProvider.php | 100.00% | 100.00% | 100.00% |
| AuthServiceProvider.php | 100.00% | 100.00% | 100.00% |
| BroadcastServiceProvider.php | - | - | 100.00% |
| DatabaseServiceProvider.php | 100.00% | 100.00% | 100.00% |
| EventServiceProvider.php | 100.00% | 100.00% | 100.00% |
| RouteServiceProvider.php | 100.00% | 100.00% | 100.00% |
| app/Rules | |||
| TeamMemberDesignationRule.php | - | - | 100.00% |
| TeamMemberRule.php | - | - | 100.00% |
| app/Services | |||
| BookServices.php | - | - | 100.00% |
| CRMServices.php | - | - | 100.00% |
| CalendarEventService.php | - | - | 100.00% |
| EmployeeService.php | - | - | 100.00% |
| GSuiteUserService.php | - | - | 100.00% |
| WebsiteUserService.php | - | - | 100.00% |
| app/Traits | |||
| Encryptable.php | - | - | 100.00% |
| Filters.php | - | - | 100.00% |
| HasTags.php | - | - | 100.00% |
:robot: comment via lucassabreu/comment-coverage-clover
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b9338ae) 3.38% compared to head (eea1ecd) 3.38%.
Additional details and impacted files
@@ Coverage Diff @@
## master #3394 +/- ##
========================================
Coverage 3.38% 3.38%
Complexity 584 584
========================================
Files 103 103
Lines 2065 2065
========================================
Hits 70 70
Misses 1995 1995
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Passing run #7886 ↗︎
Details:
| Merge eea1ecd6e06f871e62b45dbe31371a3c1618bf6b into b9338ae3197afe053edb165b7467... | |||
| Project: Employee portal | Commit: 858bb9d82a ℹ️ |
||
| Status: Passed | Duration: 00:27 💡 | ||
| Started: Nov 19, 2023 6:13 PM | Ended: Nov 19, 2023 6:14 PM | ||