Open Source HR and Payroll Software
This report summarizes scanner evidence for frappe/hrms, a Python project with 8,913 GitHub stars. SynthScan examined 151,806 lines of code across 1517 source files, recording 1530 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 10.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1364 finding(s).
Are imports declared and package/API names verified? 61 finding(s).
Are wrappers, guards, and repeated structures necessary? 1388 finding(s).
Which changes need focused human review? 1530 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1530 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hrms/subscription_utils.py | 95 | def update_erpnext_workspaces(disable: bool = True): | CODE |
| LOW | hrms/telemetry.py | 142 | def on_leave_application_submit(doc, method=None): | CODE |
| LOW | hrms/telemetry.py | 171 | def on_attendance_request_submit(doc, method=None): | CODE |
| LOW | hrms/telemetry.py | 289 | def capture_daily_attendance_pulse(): | CODE |
| LOW | hrms/setup.py | 49 | def get_regional_custom_fields(): | CODE |
| LOW | hrms/setup.py | 601 | def create_default_role_profiles(): | CODE |
| LOW⚡ | hrms/setup.py | 655 | def create_salary_slip_loan_fields(): | CODE |
| LOW⚡ | hrms/setup.py | 660 | def add_lending_docperms_to_ess(): | CODE |
| LOW⚡ | hrms/setup.py | 670 | def remove_lending_docperms_from_ess(): | CODE |
| LOW | hrms/setup.py | 684 | def add_non_standard_user_types(): | CODE |
| LOW | hrms/setup.py | 735 | def get_lending_docperms_for_ess(): | CODE |
| LOW | hrms/setup.py | 775 | def append_docperms_to_user_type(docperms, doc): | CODE |
| LOW | hrms/setup.py | 789 | def update_select_perm_after_install(): | CODE |
| LOW | hrms/setup.py | 829 | def get_salary_slip_loan_fields(): | CODE |
| LOW | hrms/setup.py | 950 | def add_default_hr_permissions(): | CODE |
| LOW | hrms/overrides/dashboard_overrides.py | 7 | def get_dashboard_for_employee(data): | CODE |
| LOW⚡ | hrms/overrides/dashboard_overrides.py | 89 | def get_dashboard_for_holiday_list(data): | CODE |
| LOW⚡ | hrms/overrides/dashboard_overrides.py | 97 | def get_dashboard_for_timesheet(data): | CODE |
| LOW⚡ | hrms/overrides/dashboard_overrides.py | 103 | def get_dashboard_for_project(data): | CODE |
| LOW⚡ | hrms/overrides/dashboard_overrides.py | 111 | def get_dashboard_for_bank_account(data): | CODE |
| LOW | hrms/overrides/company.py | 119 | def set_expense_claim_type_accounts(doc, method=None): | CODE |
| LOW | hrms/overrides/company.py | 138 | def get_or_create_expense_claim_account(doc) -> str | None: | CODE |
| LOW | hrms/overrides/company.py | 171 | def validate_default_accounts(doc, method=None): | CODE |
| LOW | hrms/overrides/company.py | 194 | def delete_docs_with_company_field(doc, method=None): | CODE |
| LOW | hrms/overrides/company.py | 205 | def clear_company_field_for_single_doctypes(doc): | CODE |
| LOW | hrms/overrides/company.py | 220 | def get_single_doctypes_with_company_field(): | CODE |
| LOW | hrms/overrides/employee_payment_entry.py | 22 | def get_valid_reference_doctypes(self): | CODE |
| LOW | hrms/overrides/employee_payment_entry.py | 77 | def get_payment_entry_for_employee( | CODE |
| LOW | hrms/overrides/employee_payment_entry.py | 183 | def get_grand_total_and_outstanding_amount(doc, party_amount, party_account_currency): | CODE |
| LOW | hrms/overrides/employee_payment_entry.py | 218 | def get_paid_amount_and_received_amount( | CODE |
| LOW | hrms/overrides/employee_payment_entry.py | 249 | def get_payment_reference_details( | CODE |
| LOW | hrms/overrides/employee_payment_entry.py | 266 | def get_reference_details_for_employee( | CODE |
| LOW | hrms/overrides/employee_payment_entry.py | 306 | def get_total_amount_and_exchange_rate(ref_doc, party_account_currency, company_currency): | CODE |
| LOW | hrms/overrides/employee_payment_entry.py | 342 | def set_exchange_rate_in_advance(doc: Document, method: None = None): | CODE |
| LOW | hrms/overrides/employee_master.py | 31 | def validate_onboarding_process(doc, method=None): | CODE |
| LOW | hrms/overrides/employee_master.py | 57 | def update_job_applicant_and_offer(doc, method=None): | CODE |
| LOW | hrms/overrides/employee_master.py | 127 | def update_approver_user_roles(doc, method=None): | CODE |
| LOW | hrms/patches/v16_0/set_job_offer_in_employee.py | 35 | def set_job_offer_in_employee(): | CODE |
| LOW | …ble_multi_currency_expense_claim_for_existing_users.py | 9 | def has_multi_currency_documents(doctype: str) -> bool: | CODE |
| LOW⚡ | hrms/patches/v16_0/create_holiday_list_assignments.py | 19 | def create_holiday_list_assignment(entity_details): | CODE |
| LOW⚡ | hrms/patches/v16_0/create_holiday_list_assignments.py | 27 | def get_employee_holiday_details(): | CODE |
| LOW | hrms/patches/v16_0/create_holiday_list_assignments.py | 49 | def get_company_holiday_details(): | CODE |
| LOW | …_0/call_set_total_advance_paid_on_advance_documents.py | 17 | def call_set_total_advance_paid(doctype) -> list: | CODE |
| LOW | …ches/post_install/update_performance_module_changes.py | 68 | def update_kra_evaluation_method(): | CODE |
| LOW | hrms/tests/test_utils.py | 71 | def get_first_day_for_prev_month(): | CODE |
| LOW | hrms/tests/test_roster.py | 9 | def test_get_shifts_returns_shift_type_details(self): | CODE |
| LOW | hrms/tests/test_roster.py | 29 | def test_insert_shift_ignores_cancelled_assignment(self): | CODE |
| LOW⚡ | hrms/tests/test_sidebar_fixtures.py | 68 | def test_every_semantic_module_ships_one(self): | CODE |
| LOW⚡ | hrms/tests/test_sidebar_fixtures.py | 75 | def test_they_declare_the_renamed_doctype(self): | CODE |
| LOW⚡ | hrms/tests/test_sidebar_fixtures.py | 82 | def test_the_module_walk_picks_them_up(self): | CODE |
| LOW⚡ | hrms/tests/test_sidebar_fixtures.py | 90 | def test_record_name_and_filename_agree(self): | CODE |
| LOW | hrms/tests/test_sidebar_fixtures.py | 111 | def test_a_module_resolves_to_the_items_its_fixture_ships(self): | CODE |
| LOW | hrms/tests/test_sidebar_fixtures.py | 125 | def test_the_label_and_icon_are_the_fixture_s(self): | CODE |
| LOW | hrms/tests/test_sidebar_fixtures.py | 134 | def test_a_module_opens_on_its_own_navigation(self): | CODE |
| LOW | hrms/tests/utils.py | 129 | def make_holiday_list_assignment(self): | CODE |
| LOW | hrms/tests/utils.py | 335 | def update_email_account_settings(self): | CODE |
| LOW | hrms/tests/utils.py | 396 | def make_company_restricted_user(email: str, company: str, role: str = "HR Manager") -> str: | CODE |
| LOW | hrms/tests/test_api.py | 10 | def test_get_company_currencies_respects_company_scope(self): | CODE |
| LOW⚡ | hrms/tests/test_telemetry.py | 327 | def test_milestone_fires_for_doctype_seeded_at_install(self): | CODE |
| LOW⚡ | hrms/tests/test_telemetry.py | 337 | def test_milestone_fires_only_once_per_site(self): | CODE |
| 1207 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | hrms/hooks.py | 81 | # ---------- | COMMENT |
| MEDIUM⚡ | hrms/hooks.py | 91 | # ---------- | COMMENT |
| MEDIUM⚡ | hrms/hooks.py | 101 | # ------------ | COMMENT |
| MEDIUM⚡ | hrms/hooks.py | 117 | # ------------ | COMMENT |
| MEDIUM⚡ | hrms/hooks.py | 123 | # ---------------- | COMMENT |
| MEDIUM⚡ | hrms/hooks.py | 129 | # ------------------ | COMMENT |
| MEDIUM⚡ | hrms/hooks.py | 137 | # ------------------- | COMMENT |
| MEDIUM⚡ | hrms/hooks.py | 145 | # ------------------ | COMMENT |
| MEDIUM⚡ | hrms/hooks.py | 151 | # ----------- | COMMENT |
| MEDIUM | hrms/hooks.py | 25 | # ------------------ | COMMENT |
| MEDIUM | hrms/hooks.py | 68 | # ---------- | COMMENT |
| MEDIUM | hrms/hooks.py | 165 | # --------------- | COMMENT |
| MEDIUM | hrms/hooks.py | 176 | # --------------- | COMMENT |
| MEDIUM | hrms/hooks.py | 260 | # --------------- | COMMENT |
| MEDIUM | hrms/hooks.py | 312 | # ----------------------------- | COMMENT |
| MEDIUM | hrms/hooks.py | 363 | # -------------------- | COMMENT |
| MEDIUM | hrms/hooks.py | 387 | # -------------------------------- | COMMENT |
| MEDIUM | hrms/hooks.py | 394 | # -------------------------------- | COMMENT |
| MEDIUM | hrms/payroll/doctype/salary_slip/test_salary_slip.py | 1598 | # ------------------------------------ | COMMENT |
| MEDIUM⚡ | hrms/controllers/employee_reminders.py | 15 | # ----------------- | COMMENT |
| MEDIUM⚡ | hrms/controllers/employee_reminders.py | 17 | # ----------------- | COMMENT |
| MEDIUM | hrms/controllers/employee_reminders.py | 86 | # ------------------ | COMMENT |
| MEDIUM | hrms/controllers/employee_reminders.py | 88 | # ------------------ | COMMENT |
| MEDIUM⚡ | hrms/controllers/employee_reminders.py | 198 | # -------------------------- | COMMENT |
| MEDIUM⚡ | hrms/controllers/employee_reminders.py | 200 | # -------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hrms/subscription_utils.py | 116 | except Exception: | CODE |
| LOW | hrms/subscription_utils.py | 128 | except Exception: | CODE |
| LOW | hrms/uninstall.py | 11 | except Exception as e: | CODE |
| MEDIUM | hrms/uninstall.py | 6 | def before_uninstall(): | CODE |
| LOW | hrms/install.py | 13 | except Exception as e: | CODE |
| MEDIUM | hrms/install.py | 6 | def after_install(): | CODE |
| LOW | hrms/overrides/company.py | 34 | except Exception as e: | CODE |
| LOW | hrms/overrides/company.py | 47 | except Exception as e: | CODE |
| LOW | hrms/overrides/company.py | 61 | except Exception: | CODE |
| LOW | hrms/overrides/company.py | 86 | except Exception: | CODE |
| MEDIUM | hrms/overrides/company.py | 41 | def run_regional_setup(country): | CODE |
| MEDIUM | hrms/overrides/company.py | 54 | def get_error_message(error) -> str: | CODE |
| LOW⚡ | hrms/patches/v16_0/create_holiday_list_assignments.py | 15 | except Exception as e: | CODE |
| LOW | …hes/v15_0/rename_and_update_leave_encashment_fields.py | 9 | except Exception as e: | CODE |
| MEDIUM | …hes/v15_0/rename_and_update_leave_encashment_fields.py | 5 | def execute(): | CODE |
| LOW | …_0/call_set_total_advance_paid_on_advance_documents.py | 35 | except Exception as e: | CODE |
| LOW | …laim_date_to_payroll_date_in_employee_benefit_claim.py | 10 | except Exception as e: | CODE |
| MEDIUM | …laim_date_to_payroll_date_in_employee_benefit_claim.py | 5 | def execute(): | CODE |
| LOW | …_0/rename_enable_late_entry_early_exit_grace_period.py | 9 | except Exception as e: | CODE |
| MEDIUM | …_0/rename_enable_late_entry_early_exit_grace_period.py | 4 | def execute(): | CODE |
| LOW | hrms/patches/v15_0/migrate_loan_type_to_loan_product.py | 8 | except Exception as e: | CODE |
| MEDIUM | hrms/patches/v15_0/migrate_loan_type_to_loan_product.py | 4 | def execute(): | CODE |
| LOW | …ve_tax_slabs_from_payroll_period_to_income_tax_slab.py | 111 | except Exception: | STRING |
| LOW | …ve_tax_slabs_from_payroll_period_to_income_tax_slab.py | 139 | except Exception: | STRING |
| LOW | …ches/post_install/update_performance_module_changes.py | 63 | except Exception as e: | CODE |
| MEDIUM | …ches/post_install/update_performance_module_changes.py | 58 | def rename_fields(): | CODE |
| LOW | …post_install/rename_stop_to_send_birthday_reminders.py | 17 | except Exception as e: | CODE |
| LOW | hrms/utils/__init__.py | 27 | except Exception: | CODE |
| LOW⚡ | hrms/hr/utils.py | 384 | except Exception as e: | CODE |
| LOW | …shift_schedule_assignment/shift_schedule_assignment.py | 159 | except Exception as e: | CODE |
| LOW | hrms/hr/doctype/shift_type/shift_type.py | 180 | except Exception as e: | CODE |
| LOW | hrms/hr/doctype/pwa_notification/pwa_notification.py | 49 | except Exception: | CODE |
| MEDIUM | hrms/hr/doctype/pwa_notification/pwa_notification.py | 33 | def send_push_notification(self): | CODE |
| LOW | …/hr/doctype/leave_control_panel/leave_control_panel.py | 85 | except Exception: | CODE |
| LOW | …/hr/doctype/leave_control_panel/leave_control_panel.py | 126 | except Exception: | CODE |
| LOW | hrms/hr/doctype/overtime_slip/overtime_slip.py | 480 | except Exception as e: | CODE |
| LOW | hrms/hr/doctype/overtime_slip/overtime_slip.py | 513 | except Exception as e: | CODE |
| LOW | hrms/hr/doctype/interview/interview.py | 144 | except Exception: | CODE |
| LOW | hrms/hr/doctype/interview/interview.py | 238 | except Exception: | CODE |
| LOW | …doctype/shift_assignment_tool/shift_assignment_tool.py | 262 | except Exception: | CODE |
| LOW | …doctype/shift_assignment_tool/shift_assignment_tool.py | 314 | except Exception: | CODE |
| LOW | …ype/leave_policy_assignment/leave_policy_assignment.py | 542 | except Exception: | CODE |
| MEDIUM | hrms/api/__init__.py | 132 | def are_push_notifications_enabled() -> bool: | CODE |
| LOW | hrms/api/__init__.py | 804 | except Exception as e: | CODE |
| LOW | …eport/income_tax_computation/income_tax_computation.py | 173 | except Exception: | CODE |
| LOW | hrms/payroll/doctype/income_tax_slab/income_tax_slab.py | 127 | except Exception as e: | CODE |
| LOW | …ctype/employee_benefit_claim/employee_benefit_claim.py | 229 | except Exception as e: | CODE |
| LOW | …ry_structure_assignment/salary_structure_assignment.py | 462 | except Exception as exc: | CODE |
| MEDIUM | hrms/payroll/doctype/salary_slip/salary_slip.py | 1467 | def eval_condition_and_formula(self, struct_row, data): | CODE |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 1494 | except Exception as exc: | CODE |
| LOW | …s/payroll/doctype/salary_structure/salary_structure.py | 289 | except Exception: | CODE |
| LOW | …ructure_assignment/bulk_salary_structure_assignment.py | 118 | except Exception: | CODE |
| MEDIUM | hrms/payroll/doctype/payroll_entry/payroll_entry.py | 1837 | def submit_salary_slips_for_employees(payroll_entry, salary_slips, publish_progr | CODE |
| LOW | hrms/payroll/doctype/payroll_entry/payroll_entry.py | 855 | except Exception as e: | CODE |
| LOW | hrms/payroll/doctype/payroll_entry/payroll_entry.py | 1728 | except Exception: | CODE |
| LOW | hrms/payroll/doctype/payroll_entry/payroll_entry.py | 1783 | except Exception as e: | CODE |
| LOW | hrms/payroll/doctype/payroll_entry/payroll_entry.py | 1868 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | hrms/subscription_utils.py | 128 | except Exception: | CODE |
| HIGH | hrms/setup.py | 597 | except frappe.ValidationError: | CODE |
| HIGH | hrms/overrides/company.py | 45 | except ImportError: | CODE |
| HIGH | hrms/overrides/company.py | 31 | except (ImportError, AttributeError): | CODE |
| HIGH | …ve_tax_slabs_from_payroll_period_to_income_tax_slab.py | 111 | except Exception: | CODE |
| HIGH | …ve_tax_slabs_from_payroll_period_to_income_tax_slab.py | 139 | except Exception: | CODE |
| HIGH | …thly_attendance_sheet/test_monthly_attendance_sheet.py | 903 | except OverlapError: | CODE |
| HIGH | …thly_attendance_sheet/test_monthly_attendance_sheet.py | 239 | except OverlapError: | CODE |
| HIGH | hrms/hr/doctype/pwa_notification/pwa_notification.py | 46 | except ImportError: | CODE |
| HIGH | hrms/hr/doctype/appraisal_cycle/appraisal_cycle.py | 220 | except frappe.DuplicateEntryError: | CODE |
| HIGH | hrms/hr/doctype/leave_application/leave_application.py | 784 | except frappe.OutgoingEmailError: | CODE |
| HIGH | hrms/hr/doctype/vehicle_log/test_vehicle_log.py | 285 | except frappe.DuplicateEntryError: | CODE |
| HIGH | hrms/regional/india/utils.py | 97 | except IndexError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | hrms/hr/utils.py | 203 | # hack! if name is null, it could cause problems with != | COMMENT |
| HIGH | hrms/hr/utils.py | 203 | # hack! if name is null, it could cause problems with != | COMMENT |
| HIGH | hrms/hr/doctype/leave_application/leave_application.py | 509 | # hack! if name is null, it could cause problems with != | COMMENT |
| HIGH | hrms/hr/doctype/leave_application/leave_application.py | 509 | # hack! if name is null, it could cause problems with != | COMMENT |
| HIGH | hrms/regional/india/setup.py | 240 | "depends_on": "eval:doc.tax_relief_limit > 0 && doc.currency == 'INR'", | CODE |
| HIGH | hrms/payroll/doctype/payroll_period/payroll_period.py | 41 | # hack! if name is null, it could cause problems with != | COMMENT |
| HIGH | hrms/payroll/doctype/payroll_period/payroll_period.py | 41 | # hack! if name is null, it could cause problems with != | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ng_on_a_holiday/test_employees_working_on_a_holiday.py | 1 | CODE | |
| LOW | hrms/hr/report/leave_ledger/test_leave_ledger.py | 2 | CODE | |
| LOW | hrms/hr/report/leave_ledger/test_leave_ledger.py | 9 | CODE | |
| LOW | …r/report/employee_analytics/test_employee_analytics.py | 2 | CODE | |
| LOW | …t/monthly_attendance_sheet/monthly_attendance_sheet.py | 16 | CODE | |
| LOW | …t/monthly_attendance_sheet/monthly_attendance_sheet.py | 16 | CODE | |
| LOW | hrms/hr/doctype/attendance/test_attendance.py | 7 | CODE | |
| LOW | hrms/hr/doctype/attendance/test_attendance.py | 7 | CODE | |
| LOW | hrms/hr/doctype/job_applicant/test_job_applicant.py | 5 | CODE | |
| LOW | hrms/hr/doctype/leave_period/test_leave_period.py | 6 | CODE | |
| LOW | hrms/hr/doctype/leave_period/test_leave_period.py | 8 | CODE | |
| LOW | hrms/hr/doctype/shift_type/test_shift_type.py | 6 | CODE | |
| LOW | hrms/hr/doctype/employment_type/test_employment_type.py | 4 | CODE | |
| LOW | …/doctype/attendance_request/test_attendance_request.py | 14 | CODE | |
| LOW | …octype/employee_onboarding/test_employee_onboarding.py | 13 | CODE | |
| LOW | hrms/hr/doctype/overtime_type/test_overtime_type.py | 8 | CODE | |
| LOW | …s/hr/doctype/employee_checkin/test_employee_checkin.py | 7 | CODE | |
| LOW | …s/hr/doctype/employee_checkin/test_employee_checkin.py | 7 | CODE | |
| LOW | …s/hr/doctype/employee_checkin/test_employee_checkin.py | 19 | CODE | |
| LOW | …s/hr/doctype/employee_checkin/test_employee_checkin.py | 29 | CODE | |
| LOW | …doctype/leave_allocation/test_earned_leave_schedule.py | 5 | CODE | |
| LOW | hrms/hr/doctype/interview_type/interview_type.py | 5 | CODE | |
| LOW | hrms/hr/doctype/overtime_slip/overtime_slip.py | 5 | CODE | |
| LOW | hrms/hr/doctype/overtime_slip/overtime_slip.py | 6 | CODE | |
| LOW | hrms/hr/doctype/overtime_slip/overtime_slip.py | 10 | CODE | |
| LOW | hrms/hr/doctype/overtime_slip/overtime_slip.py | 13 | CODE | |
| LOW | …ms/hr/doctype/appraisal_template/appraisal_template.py | 5 | CODE | |
| LOW | …ms/hr/doctype/appraisal_template/appraisal_template.py | 6 | CODE | |
| LOW | …ms/hr/doctype/appraisal_template/appraisal_template.py | 8 | CODE | |
| LOW | …final_statement/full_and_final_statement_loan_utils.py | 7 | CODE | |
| LOW | …final_statement/full_and_final_statement_loan_utils.py | 12 | CODE | |
| LOW | …s/hr/doctype/leave_adjustment/test_leave_adjustment.py | 7 | CODE | |
| LOW | hrms/hr/doctype/leave_encashment/leave_encashment.py | 7 | CODE | |
| LOW | hrms/hr/doctype/leave_application/leave_application.py | 28 | CODE | |
| LOW | …hr/doctype/leave_application/test_leave_application.py | 38 | CODE | |
| LOW | hrms/hr/doctype/goal/goal.py | 4 | CODE | |
| LOW | hrms/hr/doctype/goal/test_goal.py | 9 | CODE | |
| LOW | hrms/api/oauth.py | 6 | CODE | |
| LOW | …ort/accrued_earnings_report/accrued_earnings_report.py | 7 | CODE | |
| LOW | …ort/employee_ctc_break_up/test_employee_ctc_breakup.py | 6 | CODE | |
| LOW | …declaration/test_employee_tax_exemption_declaration.py | 7 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 13 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 13 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 13 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 55 | CODE | |
| LOW | …/payroll/doctype/salary_slip/salary_slip_loan_utils.py | 10 | CODE | |
| LOW | …roll/doctype/salary_structure/test_salary_structure.py | 5 | CODE | |
| LOW | …roll/doctype/salary_structure/test_salary_structure.py | 8 | CODE | |
| LOW | …ll/doctype/additional_salary/test_additional_salary.py | 7 | CODE | |
| LOW | …ms/payroll/doctype/payroll_entry/test_payroll_entry.py | 6 | CODE | |
| LOW | …ms/payroll/doctype/payroll_entry/test_payroll_entry.py | 12 | CODE | |
| LOW | …ms/payroll/doctype/payroll_entry/test_payroll_entry.py | 13 | CODE | |
| LOW | hrms/payroll/doctype/payroll_period/payroll_period.py | 8 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hrms/setup.py | 582 | CODE | |
| LOW | hrms/overrides/employee_payment_entry.py | 183 | CODE | |
| LOW | hrms/overrides/employee_payment_entry.py | 218 | CODE | |
| LOW | hrms/overrides/employee_payment_entry.py | 266 | CODE | |
| LOW | hrms/overrides/employee_payment_entry.py | 306 | CODE | |
| LOW | hrms/overrides/employee_payment_entry.py | 22 | CODE | |
| LOW | hrms/overrides/employee_payment_entry.py | 32 | CODE | |
| LOW | hrms/overrides/employee_master.py | 15 | CODE | |
| LOW | hrms/utils/holiday_list.py | 342 | CODE | |
| LOW | hrms/www/jobs/index.py | 112 | CODE | |
| LOW | hrms/hr/utils.py | 98 | CODE | |
| LOW | hrms/hr/utils.py | 187 | CODE | |
| LOW | …t/monthly_attendance_sheet/monthly_attendance_sheet.py | 270 | CODE | |
| LOW | …t/monthly_attendance_sheet/monthly_attendance_sheet.py | 655 | CODE | |
| LOW | …t/monthly_attendance_sheet/monthly_attendance_sheet.py | 743 | CODE | |
| LOW | hrms/hr/report/shift_attendance/shift_attendance.py | 245 | CODE | |
| LOW | hrms/hr/doctype/attendance/attendance.py | 452 | CODE | |
| LOW | hrms/hr/doctype/expense_claim/expense_claim.py | 127 | CODE | |
| LOW | hrms/hr/doctype/expense_claim/expense_claim.py | 438 | CODE | |
| LOW | …ms/hr/doctype/attendance_request/attendance_request.py | 312 | CODE | |
| LOW | …/hr/doctype/employee_onboarding/employee_onboarding.py | 69 | CODE | |
| LOW | hrms/hr/doctype/employee_checkin/employee_checkin.py | 399 | CODE | |
| LOW | hrms/hr/doctype/shift_assignment/shift_assignment.py | 493 | CODE | |
| LOW | …final_statement/full_and_final_statement_loan_utils.py | 16 | CODE | |
| LOW | hrms/hr/doctype/leave_application/leave_application.py | 1347 | CODE | |
| LOW | hrms/hr/doctype/leave_application/leave_application.py | 188 | CODE | |
| LOW | hrms/hr/doctype/leave_application/leave_application.py | 308 | CODE | |
| LOW | hrms/hr/doctype/vehicle_log/vehicle_log.py | 49 | CODE | |
| LOW | hrms/hr/doctype/employee_advance/employee_advance.py | 137 | CODE | |
| LOW | hrms/api/__init__.py | 254 | CODE | |
| LOW | hrms/regional/india/utils.py | 11 | CODE | |
| LOW | hrms/regional/india/utils.py | 144 | CODE | |
| LOW | hrms/payroll/report/salary_register/salary_register.py | 17 | CODE | |
| LOW | hrms/payroll/report/salary_register/salary_register.py | 130 | CODE | |
| LOW | …ry_structure_assignment/salary_structure_assignment.py | 422 | CODE | |
| LOW | …yroll/doctype/salary_withholding/salary_withholding.py | 216 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 355 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 688 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 901 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 1253 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 1714 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 2141 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 2232 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 697 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/test_salary_slip.py | 2686 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/test_salary_slip.py | 1169 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/test_salary_slip.py | 1285 | CODE | |
| LOW | hrms/payroll/doctype/arrear/arrear.py | 251 | CODE | |
| LOW | …s/payroll/doctype/salary_structure/salary_structure.py | 91 | CODE | |
| LOW | hrms/payroll/doctype/payroll_entry/payroll_entry.py | 1587 | CODE | |
| LOW | hrms/payroll/doctype/payroll_entry/payroll_entry.py | 1837 | CODE | |
| LOW | hrms/payroll/doctype/payroll_entry/payroll_entry.py | 445 | CODE | |
| LOW | hrms/payroll/doctype/payroll_entry/payroll_entry.py | 1093 | CODE | |
| LOW | hrms/payroll/doctype/gratuity/gratuity.py | 234 | CODE | |
| LOW | .github/helper/documentation.py | 11 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …/doctype/attendance_request/test_attendance_request.py | 151 | # Check if the attendance record is created on the holiday | COMMENT |
| LOW⚡ | …/doctype/attendance_request/test_attendance_request.py | 148 | include_holidays=1, # Set include_holidays to True | CODE |
| LOW | …ms/hr/doctype/attendance_request/attendance_request.py | 224 | # Check if attendance_date is a holiday | COMMENT |
| LOW | …ms/hr/doctype/attendance_request/attendance_request.py | 233 | # Check if employee is on leave | COMMENT |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 2582 | # Check if Employee Benefit Application exists | COMMENT |
| LOW | hrms/payroll/doctype/salary_slip/test_salary_slip.py | 2221 | # Check if zero value component is included in salary slip based on component settings | COMMENT |
| LOW | …ms/payroll/doctype/payroll_entry/test_payroll_entry.py | 1314 | # Check if employee benefits have been fetched to accrued benefits table | COMMENT |
| LOW | …ms/payroll/doctype/payroll_entry/test_payroll_entry.py | 1329 | # Check if employee benefit ledger entries have been created for each component | COMMENT |
| LOW | …ms/payroll/doctype/payroll_entry/test_payroll_entry.py | 1343 | # Check if Employee Benefit Ledger exists for Accrued Earnings Component | COMMENT |
| LOW | .github/workflows/run-individual-tests.yml | 35 | # Loop through array and create JSON objects | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hrms/tests/test_roster.py | 40 | # Create a shift assignment with a date range, submit it, then cancel it | COMMENT |
| MEDIUM⚡ | …/doctype/attendance_request/test_attendance_request.py | 139 | # Create a holiday on today's date | COMMENT |
| MEDIUM⚡ | …/doctype/attendance_request/test_attendance_request.py | 143 | # Create an Attendance Request with include_holidays checked | COMMENT |
| MEDIUM | hrms/controllers/tests/test_employee_reminders.py | 24 | # Create a test holiday list | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …oard_chart_source/employees_by_age/employees_by_age.py | 15 | CODE | |
| LOW | …hiring_vs_attrition_count/hiring_vs_attrition_count.py | 15 | CODE | |
| LOW | …hiring_vs_attrition_count/hiring_vs_attrition_count.py | 78 | CODE | |
| LOW | hrms/hr/report/employee_exits/employee_exits.py | 125 | CODE | |
| LOW | hrms/hr/report/leave_ledger/leave_ledger.py | 166 | CODE | |
| LOW | …/report/project_profitability/project_profitability.py | 19 | CODE | |
| LOW | hrms/hr/report/shift_attendance/shift_attendance.py | 242 | CODE | |
| LOW | hrms/hr/report/shift_attendance/shift_attendance.py | 297 | CODE | |
| LOW | …e/employee_attendance_tool/employee_attendance_tool.py | 65 | CODE | |
| LOW | …e/employee_attendance_tool/employee_attendance_tool.py | 180 | CODE | |
| LOW | hrms/hr/doctype/leave_allocation/test_earned_leaves.py | 1298 | CODE | |
| LOW | hrms/payroll/doctype/salary_slip/test_salary_slip.py | 2948 | CODE | |
| LOW | …roll/doctype/salary_structure/test_salary_structure.py | 164 | CODE | |
| LOW | …roll/doctype/salary_structure/test_salary_structure.py | 256 | CODE | |
| LOW | …s/payroll/doctype/salary_structure/salary_structure.py | 393 | CODE | |
| LOW | …s/payroll/doctype/salary_structure/salary_structure.py | 202 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hrms/hooks.py | 61 | "Bank Transaction": "public/js/erpnext/bank_transaction.js", | COMMENT |
| LOW | hrms/hooks.py | 121 | COMMENT | |
| LOW | hrms/hooks.py | 141 | before_app_uninstall = "hrms.setup.before_app_uninstall" | COMMENT |
| LOW | hrms/hooks.py | 361 | COMMENT | |
| LOW | hrms/hooks.py | 381 | # { | COMMENT |
| LOW | hrms/tests/test_sidebar_fixtures.py | 21 | import json | COMMENT |
| LOW | …ployee_feedback_criteria/employee_feedback_criteria.js | 1 | // Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors | COMMENT |
| LOW | …shift_schedule_assignment/shift_schedule_assignment.js | 1 | // Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributors | COMMENT |
| LOW | hrms/hr/doctype/overtime_type/overtime_type.js | 1 | // Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributors | COMMENT |
| LOW | hrms/hr/doctype/pwa_notification/pwa_notification.js | 1 | // Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors | COMMENT |
| LOW | …ype/job_offer_term_template/job_offer_term_template.js | 1 | // Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hrms/hr/doctype/leave_block_list/leave_block_list.py | 42 | def set_weekly_off_dates(self, start_date: str, end_date: str, days: list, reason: str) -> None: | CODE |
| LOW | hrms/hr/doctype/goal/goal.py | 245 | def update_progress(progress: float, goal: str) -> None: | CODE |
| LOW | hrms/hr/doctype/goal/goal.py | 256 | def update_status(status: str, goals: str | list) -> None: | CODE |
| LOW | …ry_structure_assignment/salary_structure_assignment.py | 187 | def set_payroll_cost_centers(self) -> None: | CODE |
| LOW | …ee_benefit_application/employee_benefit_application.py | 88 | def set_benefit_components_and_currency(self) -> None: | CODE |
| LOW | …yroll/doctype/salary_withholding/salary_withholding.py | 91 | def set_withholding_cycles_and_to_date(self) -> None: | CODE |
| LOW | …yroll/doctype/salary_withholding/salary_withholding.py | 192 | def _update_payment_status_in_payroll(withholdings: list[dict], cancel: bool = False) -> None: | CODE |
| LOW | …yroll/doctype/salary_withholding/salary_withholding.py | 216 | def _update_salary_withholdings(withholdings: list[dict], cancel: bool = False) -> None: | CODE |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 1339 | def _set_evaluated_components(self) -> None: | CODE |
| LOW | hrms/payroll/doctype/salary_slip/salary_slip.py | 2418 | def set_totals(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hrms/telemetry.py | 295 | # Nothing set up yet — a zero-employee site would just add noise. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hrms/tests/test_telemetry.py | 197 | "employee_name": "Jane Doe", | CODE |