Repository Analysis

frappe/hrms

Open Source HR and Payroll Software

10.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of frappe/hrms, a Python project with 8,692 GitHub stars. SynthScan v2.0 examined 140,791 lines of code across 1471 source files, recording 1402 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 10.4 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

10.4
Adjusted Score
10.4
Raw Score
100%
Time Factor
2026-08-28
Last Push
8.7K
Stars
Python
Language
140.8K
Lines of Code
1.5K
Files
1.4K
Pattern Hits
2026-08-29
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 7MEDIUM 42LOW 1353

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1402 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers1156 hits · 1094 pts
SeverityFileLineSnippetContext
LOWhrms/subscription_utils.py86def update_erpnext_workspaces(disable: bool = True):CODE
LOWhrms/telemetry.py64def on_leave_application_submit(doc, method=None):CODE
LOWhrms/telemetry.py97def on_attendance_request_submit(doc, method=None):CODE
LOWhrms/telemetry.py216def capture_daily_attendance_pulse():CODE
LOWhrms/setup.py47def get_regional_custom_fields():CODE
LOWhrms/setup.py588def create_default_role_profiles():CODE
LOWhrms/setup.py642def create_salary_slip_loan_fields():CODE
LOWhrms/setup.py647def add_lending_docperms_to_ess():CODE
LOWhrms/setup.py657def remove_lending_docperms_from_ess():CODE
LOWhrms/setup.py671def add_non_standard_user_types():CODE
LOWhrms/setup.py722def get_lending_docperms_for_ess():CODE
LOWhrms/setup.py762def append_docperms_to_user_type(docperms, doc):CODE
LOWhrms/setup.py776def update_select_perm_after_install():CODE
LOWhrms/setup.py816def get_salary_slip_loan_fields():CODE
LOWhrms/setup.py937def add_default_hr_permissions():CODE
LOWhrms/overrides/dashboard_overrides.py7def get_dashboard_for_employee(data):CODE
LOWhrms/overrides/dashboard_overrides.py89def get_dashboard_for_holiday_list(data):CODE
LOWhrms/overrides/dashboard_overrides.py97def get_dashboard_for_timesheet(data):CODE
LOWhrms/overrides/dashboard_overrides.py103def get_dashboard_for_project(data):CODE
LOWhrms/overrides/dashboard_overrides.py111def get_dashboard_for_bank_account(data):CODE
LOWhrms/overrides/company.py119def validate_default_accounts(doc, method=None):CODE
LOWhrms/overrides/company.py142def delete_docs_with_company_field(doc, method=None):CODE
LOWhrms/overrides/company.py153def clear_company_field_for_single_doctypes(doc):CODE
LOWhrms/overrides/company.py168def get_single_doctypes_with_company_field():CODE
LOWhrms/overrides/employee_payment_entry.py21 def get_valid_reference_doctypes(self):CODE
LOWhrms/overrides/employee_payment_entry.py76def get_payment_entry_for_employee(CODE
LOWhrms/overrides/employee_payment_entry.py166def get_grand_total_and_outstanding_amount(doc, party_amount, party_account_currency):CODE
LOWhrms/overrides/employee_payment_entry.py201def get_paid_amount_and_received_amount(CODE
LOWhrms/overrides/employee_payment_entry.py232def get_payment_reference_details(CODE
LOWhrms/overrides/employee_payment_entry.py249def get_reference_details_for_employee(CODE
LOWhrms/overrides/employee_payment_entry.py289def get_total_amount_and_exchange_rate(ref_doc, party_account_currency, company_currency):CODE
LOWhrms/overrides/employee_payment_entry.py325def set_exchange_rate_in_advance(doc: Document, method: None = None):CODE
LOWhrms/overrides/employee_master.py31def validate_onboarding_process(doc, method=None):CODE
LOWhrms/overrides/employee_master.py56def update_job_applicant_and_offer(doc, method=None):CODE
LOWhrms/overrides/employee_master.py103def update_approver_user_roles(doc, method=None):CODE
LOWhrms/patches/v16_0/create_holiday_list_assignments.py19def create_holiday_list_assignment(entity_details):CODE
LOWhrms/patches/v16_0/create_holiday_list_assignments.py27def get_employee_holiday_details():CODE
LOWhrms/patches/v16_0/create_holiday_list_assignments.py49def get_company_holiday_details():CODE
LOW…_0/call_set_total_advance_paid_on_advance_documents.py17def call_set_total_advance_paid(doctype) -> list:CODE
LOW…ches/post_install/update_performance_module_changes.py68def update_kra_evaluation_method():CODE
LOWhrms/tests/test_utils.py71def get_first_day_for_prev_month():CODE
LOWhrms/tests/test_roster.py9 def test_get_shifts_returns_shift_type_details(self):CODE
LOWhrms/tests/test_roster.py29 def test_insert_shift_ignores_cancelled_assignment(self):CODE
LOWhrms/tests/test_sidebar_fixtures.py68 def test_every_semantic_module_ships_one(self):CODE
LOWhrms/tests/test_sidebar_fixtures.py75 def test_they_declare_the_renamed_doctype(self):CODE
LOWhrms/tests/test_sidebar_fixtures.py82 def test_the_module_walk_picks_them_up(self):CODE
LOWhrms/tests/test_sidebar_fixtures.py90 def test_record_name_and_filename_agree(self):CODE
LOWhrms/tests/test_sidebar_fixtures.py111 def test_a_module_resolves_to_the_items_its_fixture_ships(self):CODE
LOWhrms/tests/test_sidebar_fixtures.py125 def test_the_label_and_icon_are_the_fixture_s(self):CODE
LOWhrms/tests/test_sidebar_fixtures.py134 def test_a_module_opens_on_its_own_navigation(self):CODE
LOWhrms/tests/utils.py129 def make_holiday_list_assignment(self):CODE
LOWhrms/tests/utils.py335 def update_email_account_settings(self):CODE
LOWhrms/tests/test_telemetry.py93 def test_daily_pulse_summarises_yesterday_not_today(self):CODE
LOWhrms/tests/test_telemetry.py121 def test_daily_pulse_reports_zero_when_only_today_has_checkins(self):CODE
LOWhrms/tests/test_telemetry.py137 def test_daily_pulse_weekday_describes_the_summarised_day(self):CODE
LOWhrms/tests/test_telemetry.py150 def test_milestone_fires_for_doctype_seeded_at_install(self):CODE
LOWhrms/tests/test_telemetry.py160 def test_milestone_fires_only_once_per_site(self):CODE
LOWhrms/tests/test_telemetry.py168 def test_milestone_carries_day_since_install(self):CODE
LOWhrms/tests/test_telemetry.py175 def test_milestone_skipped_outside_activation_window(self):CODE
LOWhrms/tests/test_telemetry.py192 def test_claim_loses_to_a_row_written_by_another_transaction(self):CODE
1096 more matches not shown…
Decorative Section Separators25 hits · 94 pts
SeverityFileLineSnippetContext
MEDIUMhrms/hooks.py78# ----------COMMENT
MEDIUMhrms/hooks.py88# ----------COMMENT
MEDIUMhrms/hooks.py98# ------------COMMENT
MEDIUMhrms/hooks.py107# ------------COMMENT
MEDIUMhrms/hooks.py113# ----------------COMMENT
MEDIUMhrms/hooks.py119# ------------------COMMENT
MEDIUMhrms/hooks.py127# -------------------COMMENT
MEDIUMhrms/hooks.py135# ------------------COMMENT
MEDIUMhrms/hooks.py141# -----------COMMENT
MEDIUMhrms/hooks.py24# ------------------COMMENT
MEDIUMhrms/hooks.py65# ----------COMMENT
MEDIUMhrms/hooks.py155# ---------------COMMENT
MEDIUMhrms/hooks.py166# ---------------COMMENT
MEDIUMhrms/hooks.py249# ---------------COMMENT
MEDIUMhrms/hooks.py303# -----------------------------COMMENT
MEDIUMhrms/hooks.py354# --------------------COMMENT
MEDIUMhrms/hooks.py378# --------------------------------COMMENT
MEDIUMhrms/hooks.py385# --------------------------------COMMENT
MEDIUMhrms/payroll/doctype/salary_slip/test_salary_slip.py1238 # ------------------------------------COMMENT
MEDIUMhrms/controllers/employee_reminders.py15# -----------------COMMENT
MEDIUMhrms/controllers/employee_reminders.py17# -----------------COMMENT
MEDIUMhrms/controllers/employee_reminders.py86# ------------------COMMENT
MEDIUMhrms/controllers/employee_reminders.py88# ------------------COMMENT
MEDIUMhrms/controllers/employee_reminders.py198# --------------------------COMMENT
MEDIUMhrms/controllers/employee_reminders.py200# --------------------------COMMENT
Excessive Try-Catch Wrapping58 hits · 69 pts
SeverityFileLineSnippetContext
LOWhrms/subscription_utils.py107 except Exception:CODE
LOWhrms/subscription_utils.py119 except Exception:CODE
LOWhrms/uninstall.py11 except Exception as e:CODE
MEDIUMhrms/uninstall.py6def before_uninstall():CODE
LOWhrms/install.py13 except Exception as e:CODE
MEDIUMhrms/install.py6def after_install():CODE
LOWhrms/overrides/company.py34 except Exception as e:CODE
LOWhrms/overrides/company.py47 except Exception as e:CODE
LOWhrms/overrides/company.py61 except Exception:CODE
LOWhrms/overrides/company.py86 except Exception as e:CODE
MEDIUMhrms/overrides/company.py41def run_regional_setup(country):CODE
MEDIUMhrms/overrides/company.py54def get_error_message(error) -> str:CODE
LOWhrms/patches/v16_0/create_holiday_list_assignments.py15 except Exception as e:CODE
LOW…hes/v15_0/rename_and_update_leave_encashment_fields.py9 except Exception as e:CODE
MEDIUM…hes/v15_0/rename_and_update_leave_encashment_fields.py5def execute():CODE
LOW…_0/call_set_total_advance_paid_on_advance_documents.py35 except Exception as e:CODE
LOW…laim_date_to_payroll_date_in_employee_benefit_claim.py10 except Exception as e:CODE
MEDIUM…laim_date_to_payroll_date_in_employee_benefit_claim.py5def execute():CODE
LOW…_0/rename_enable_late_entry_early_exit_grace_period.py9 except Exception as e:CODE
MEDIUM…_0/rename_enable_late_entry_early_exit_grace_period.py4def execute():CODE
LOWhrms/patches/v15_0/migrate_loan_type_to_loan_product.py8 except Exception as e:CODE
MEDIUMhrms/patches/v15_0/migrate_loan_type_to_loan_product.py4def execute():CODE
LOW…ve_tax_slabs_from_payroll_period_to_income_tax_slab.py111 except Exception:STRING
LOW…ve_tax_slabs_from_payroll_period_to_income_tax_slab.py139 except Exception:STRING
LOW…ches/post_install/update_performance_module_changes.py63 except Exception as e:CODE
MEDIUM…ches/post_install/update_performance_module_changes.py58def rename_fields():CODE
LOW…post_install/rename_stop_to_send_birthday_reminders.py17 except Exception as e:CODE
LOWhrms/utils/__init__.py27 except Exception:CODE
LOWhrms/hr/utils.py387 except Exception as e:CODE
LOW…shift_schedule_assignment/shift_schedule_assignment.py158 except Exception as e:CODE
LOWhrms/hr/doctype/shift_type/shift_type.py163 except Exception as e:CODE
LOW…ms/hr/doctype/daily_work_summary/daily_work_summary.py98 except Exception:CODE
LOWhrms/hr/doctype/pwa_notification/pwa_notification.py49 except Exception:CODE
MEDIUMhrms/hr/doctype/pwa_notification/pwa_notification.py33def send_push_notification(self):CODE
LOW…/hr/doctype/leave_control_panel/leave_control_panel.py85 except Exception:CODE
LOW…/hr/doctype/leave_control_panel/leave_control_panel.py126 except Exception:CODE
LOWhrms/hr/doctype/overtime_slip/overtime_slip.py483 except Exception as e:CODE
LOWhrms/hr/doctype/overtime_slip/overtime_slip.py516 except Exception as e:CODE
LOWhrms/hr/doctype/interview/interview.py144 except Exception:CODE
LOWhrms/hr/doctype/interview/interview.py238 except Exception:CODE
LOW…doctype/shift_assignment_tool/shift_assignment_tool.py262 except Exception:CODE
LOW…doctype/shift_assignment_tool/shift_assignment_tool.py314 except Exception:CODE
LOW…ype/leave_policy_assignment/leave_policy_assignment.py509 except Exception:CODE
MEDIUMhrms/api/__init__.py131def are_push_notifications_enabled() -> bool:CODE
LOWhrms/api/__init__.py812 except Exception as e:CODE
LOW…eport/income_tax_computation/income_tax_computation.py173 except Exception:CODE
LOWhrms/payroll/doctype/income_tax_slab/income_tax_slab.py127 except Exception as e:CODE
LOW…ctype/employee_benefit_claim/employee_benefit_claim.py229 except Exception as e:CODE
LOW…ry_structure_assignment/salary_structure_assignment.py455 except Exception as exc:CODE
MEDIUMhrms/payroll/doctype/salary_slip/salary_slip.py1395def eval_condition_and_formula(self, struct_row, data):CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py1422 except Exception as exc:CODE
LOW…s/payroll/doctype/salary_structure/salary_structure.py289 except Exception:CODE
LOW…ructure_assignment/bulk_salary_structure_assignment.py118 except Exception:CODE
MEDIUMhrms/payroll/doctype/payroll_entry/payroll_entry.py1698def submit_salary_slips_for_employees(payroll_entry, salary_slips, publish_progrCODE
LOWhrms/payroll/doctype/payroll_entry/payroll_entry.py718 except Exception as e:CODE
LOWhrms/payroll/doctype/payroll_entry/payroll_entry.py1589 except Exception:CODE
LOWhrms/payroll/doctype/payroll_entry/payroll_entry.py1644 except Exception as e:CODE
LOWhrms/payroll/doctype/payroll_entry/payroll_entry.py1729 except Exception as e:CODE
Cross-Language Confusion7 hits · 50 pts
SeverityFileLineSnippetContext
HIGHhrms/hr/utils.py206 # hack! if name is null, it could cause problems with !=COMMENT
HIGHhrms/hr/utils.py206 # hack! if name is null, it could cause problems with !=COMMENT
HIGHhrms/hr/doctype/leave_application/leave_application.py506 # hack! if name is null, it could cause problems with !=COMMENT
HIGHhrms/hr/doctype/leave_application/leave_application.py506 # hack! if name is null, it could cause problems with !=COMMENT
HIGHhrms/regional/india/setup.py240 "depends_on": "eval:doc.tax_relief_limit > 0 && doc.currency == 'INR'",CODE
HIGHhrms/payroll/doctype/payroll_period/payroll_period.py41 # hack! if name is null, it could cause problems with !=COMMENT
HIGHhrms/payroll/doctype/payroll_period/payroll_period.py41 # hack! if name is null, it could cause problems with !=COMMENT
Unused Imports53 hits · 46 pts
SeverityFileLineSnippetContext
LOW…ng_on_a_holiday/test_employees_working_on_a_holiday.py1CODE
LOWhrms/hr/report/leave_ledger/test_leave_ledger.py2CODE
LOWhrms/hr/report/leave_ledger/test_leave_ledger.py9CODE
LOW…r/report/employee_analytics/test_employee_analytics.py2CODE
LOW…t/monthly_attendance_sheet/monthly_attendance_sheet.py16CODE
LOW…t/monthly_attendance_sheet/monthly_attendance_sheet.py16CODE
LOWhrms/hr/doctype/attendance/test_attendance.py7CODE
LOWhrms/hr/doctype/attendance/test_attendance.py7CODE
LOWhrms/hr/doctype/job_applicant/test_job_applicant.py5CODE
LOWhrms/hr/doctype/leave_period/test_leave_period.py6CODE
LOWhrms/hr/doctype/leave_period/test_leave_period.py8CODE
LOWhrms/hr/doctype/shift_type/test_shift_type.py6CODE
LOWhrms/hr/doctype/employment_type/test_employment_type.py4CODE
LOW…/doctype/attendance_request/test_attendance_request.py13CODE
LOW…octype/employee_onboarding/test_employee_onboarding.py13CODE
LOWhrms/hr/doctype/overtime_type/test_overtime_type.py8CODE
LOW…s/hr/doctype/employee_checkin/test_employee_checkin.py7CODE
LOW…s/hr/doctype/employee_checkin/test_employee_checkin.py7CODE
LOW…s/hr/doctype/employee_checkin/test_employee_checkin.py19CODE
LOW…s/hr/doctype/employee_checkin/test_employee_checkin.py29CODE
LOW…doctype/leave_allocation/test_earned_leave_schedule.py5CODE
LOWhrms/hr/doctype/interview_type/interview_type.py5CODE
LOWhrms/hr/doctype/overtime_slip/overtime_slip.py5CODE
LOWhrms/hr/doctype/overtime_slip/overtime_slip.py6CODE
LOWhrms/hr/doctype/overtime_slip/overtime_slip.py10CODE
LOWhrms/hr/doctype/overtime_slip/overtime_slip.py13CODE
LOW…ms/hr/doctype/appraisal_template/appraisal_template.py5CODE
LOW…ms/hr/doctype/appraisal_template/appraisal_template.py6CODE
LOW…ms/hr/doctype/appraisal_template/appraisal_template.py8CODE
LOW…final_statement/full_and_final_statement_loan_utils.py7CODE
LOW…final_statement/full_and_final_statement_loan_utils.py12CODE
LOW…s/hr/doctype/leave_adjustment/test_leave_adjustment.py7CODE
LOWhrms/hr/doctype/leave_encashment/leave_encashment.py7CODE
LOWhrms/hr/doctype/leave_application/leave_application.py28CODE
LOW…hr/doctype/leave_application/test_leave_application.py38CODE
LOWhrms/hr/doctype/goal/goal.py4CODE
LOWhrms/hr/doctype/goal/test_goal.py9CODE
LOWhrms/api/oauth.py6CODE
LOW…ort/accrued_earnings_report/accrued_earnings_report.py7CODE
LOW…ort/employee_ctc_break_up/test_employee_ctc_breakup.py6CODE
LOW…declaration/test_employee_tax_exemption_declaration.py7CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py11CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py11CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py11CODE
LOW…/payroll/doctype/salary_slip/salary_slip_loan_utils.py10CODE
LOW…roll/doctype/salary_structure/test_salary_structure.py5CODE
LOW…roll/doctype/salary_structure/test_salary_structure.py8CODE
LOW…ll/doctype/additional_salary/test_additional_salary.py7CODE
LOW…ms/payroll/doctype/payroll_entry/test_payroll_entry.py4CODE
LOW…ms/payroll/doctype/payroll_entry/test_payroll_entry.py10CODE
LOW…ms/payroll/doctype/payroll_entry/test_payroll_entry.py11CODE
LOW…ms/payroll/doctype/payroll_entry/test_payroll_entry.py31CODE
LOWhrms/payroll/doctype/payroll_period/payroll_period.py8CODE
Deep Nesting51 hits · 42 pts
SeverityFileLineSnippetContext
LOWhrms/setup.py569CODE
LOWhrms/overrides/employee_payment_entry.py166CODE
LOWhrms/overrides/employee_payment_entry.py201CODE
LOWhrms/overrides/employee_payment_entry.py249CODE
LOWhrms/overrides/employee_payment_entry.py289CODE
LOWhrms/overrides/employee_payment_entry.py21CODE
LOWhrms/overrides/employee_payment_entry.py31CODE
LOWhrms/overrides/employee_master.py15CODE
LOWhrms/utils/holiday_list.py245CODE
LOWhrms/www/jobs/index.py112CODE
LOWhrms/hr/utils.py101CODE
LOWhrms/hr/utils.py190CODE
LOW…t/monthly_attendance_sheet/monthly_attendance_sheet.py273CODE
LOW…t/monthly_attendance_sheet/monthly_attendance_sheet.py710CODE
LOW…t/monthly_attendance_sheet/monthly_attendance_sheet.py798CODE
LOWhrms/hr/report/shift_attendance/shift_attendance.py245CODE
LOWhrms/hr/doctype/attendance/attendance.py416CODE
LOWhrms/hr/doctype/expense_claim/expense_claim.py122CODE
LOWhrms/hr/doctype/expense_claim/expense_claim.py402CODE
LOW…ms/hr/doctype/daily_work_summary/daily_work_summary.py59CODE
LOW…ms/hr/doctype/attendance_request/attendance_request.py312CODE
LOW…/hr/doctype/employee_onboarding/employee_onboarding.py69CODE
LOWhrms/hr/doctype/employee_checkin/employee_checkin.py399CODE
LOWhrms/hr/doctype/shift_assignment/shift_assignment.py488CODE
LOW…final_statement/full_and_final_statement_loan_utils.py16CODE
LOWhrms/hr/doctype/leave_application/leave_application.py1306CODE
LOWhrms/hr/doctype/leave_application/leave_application.py188CODE
LOWhrms/hr/doctype/leave_application/leave_application.py308CODE
LOWhrms/hr/doctype/vehicle_log/vehicle_log.py49CODE
LOWhrms/hr/doctype/employee_advance/employee_advance.py137CODE
LOWhrms/api/__init__.py256CODE
LOWhrms/regional/india/utils.py11CODE
LOWhrms/regional/india/utils.py144CODE
LOW…yroll/doctype/salary_withholding/salary_withholding.py216CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py366CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py843CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py1187CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py1642CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py2069CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py2160CODE
LOWhrms/payroll/doctype/salary_slip/test_salary_slip.py2326CODE
LOWhrms/payroll/doctype/salary_slip/test_salary_slip.py822CODE
LOWhrms/payroll/doctype/salary_slip/test_salary_slip.py925CODE
LOWhrms/payroll/doctype/arrear/arrear.py251CODE
LOW…s/payroll/doctype/salary_structure/salary_structure.py91CODE
LOWhrms/payroll/doctype/payroll_entry/payroll_entry.py1462CODE
LOWhrms/payroll/doctype/payroll_entry/payroll_entry.py1698CODE
LOWhrms/payroll/doctype/payroll_entry/payroll_entry.py440CODE
LOWhrms/payroll/doctype/payroll_entry/payroll_entry.py956CODE
LOWhrms/payroll/doctype/gratuity/gratuity.py234CODE
LOW.github/helper/documentation.py11CODE
AI Structural Patterns17 hits · 16 pts
SeverityFileLineSnippetContext
LOWhrms/utils/holiday_list.py204CODE
LOW…oard_chart_source/employees_by_age/employees_by_age.py15CODE
LOW…hiring_vs_attrition_count/hiring_vs_attrition_count.py15CODE
LOW…hiring_vs_attrition_count/hiring_vs_attrition_count.py78CODE
LOWhrms/hr/report/employee_exits/employee_exits.py125CODE
LOWhrms/hr/report/leave_ledger/leave_ledger.py166CODE
LOW…/report/project_profitability/project_profitability.py19CODE
LOWhrms/hr/report/shift_attendance/shift_attendance.py242CODE
LOWhrms/hr/report/shift_attendance/shift_attendance.py297CODE
LOW…e/employee_attendance_tool/employee_attendance_tool.py63CODE
LOW…e/employee_attendance_tool/employee_attendance_tool.py170CODE
LOWhrms/hr/doctype/leave_allocation/test_earned_leaves.py1198CODE
LOWhrms/payroll/doctype/salary_slip/test_salary_slip.py2588CODE
LOW…roll/doctype/salary_structure/test_salary_structure.py164CODE
LOW…roll/doctype/salary_structure/test_salary_structure.py256CODE
LOW…s/payroll/doctype/salary_structure/salary_structure.py393CODE
LOW…s/payroll/doctype/salary_structure/salary_structure.py202CODE
Redundant / Tautological Comments10 hits · 16 pts
SeverityFileLineSnippetContext
LOW…/doctype/attendance_request/test_attendance_request.py147 include_holidays=1, # Set include_holidays to TrueCODE
LOW…/doctype/attendance_request/test_attendance_request.py150 # Check if the attendance record is created on the holidayCOMMENT
LOW…ms/hr/doctype/attendance_request/attendance_request.py224 # Check if attendance_date is a holidayCOMMENT
LOW…ms/hr/doctype/attendance_request/attendance_request.py233 # Check if employee is on leaveCOMMENT
LOWhrms/payroll/doctype/salary_slip/salary_slip.py2510 # Check if Employee Benefit Application existsCOMMENT
LOWhrms/payroll/doctype/salary_slip/test_salary_slip.py1861 # Check if zero value component is included in salary slip based on component settingsCOMMENT
LOW…ms/payroll/doctype/payroll_entry/test_payroll_entry.py1072 # Check if employee benefits have been fetched to accrued benefits tableCOMMENT
LOW…ms/payroll/doctype/payroll_entry/test_payroll_entry.py1087 # Check if employee benefit ledger entries have been created for each componentCOMMENT
LOW…ms/payroll/doctype/payroll_entry/test_payroll_entry.py1101 # Check if Employee Benefit Ledger exists for Accrued Earnings ComponentCOMMENT
LOW.github/workflows/run-individual-tests.yml35 # Loop through array and create JSON objectsCOMMENT
Self-Referential Comments4 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMhrms/tests/test_roster.py40 # Create a shift assignment with a date range, submit it, then cancel itCOMMENT
MEDIUM…/doctype/attendance_request/test_attendance_request.py138 # Create a holiday on today's dateCOMMENT
MEDIUM…/doctype/attendance_request/test_attendance_request.py142 # Create an Attendance Request with include_holidays checkedCOMMENT
MEDIUMhrms/controllers/tests/test_employee_reminders.py24 # Create a test holiday listCOMMENT
Over-Commented Block10 hits · 9 pts
SeverityFileLineSnippetContext
LOWhrms/hooks.py61# doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"}COMMENT
LOWhrms/hooks.py121# Name of the app being installed is passed as an argumentCOMMENT
LOWhrms/hooks.py141# -----------COMMENT
LOWhrms/hooks.py361# "partial": 1,COMMENT
LOWhrms/tests/test_sidebar_fixtures.py21import jsonCOMMENT
LOW…ployee_feedback_criteria/employee_feedback_criteria.js1// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributorsCOMMENT
LOW…shift_schedule_assignment/shift_schedule_assignment.js1// Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributorsCOMMENT
LOWhrms/hr/doctype/overtime_type/overtime_type.js1// Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributorsCOMMENT
LOWhrms/hr/doctype/pwa_notification/pwa_notification.js1// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributorsCOMMENT
LOW…ype/job_offer_term_template/job_offer_term_template.js1// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributorsCOMMENT
Modern Structural Boilerplate10 hits · 9 pts
SeverityFileLineSnippetContext
LOWhrms/hr/doctype/leave_block_list/leave_block_list.py42 def set_weekly_off_dates(self, start_date: str, end_date: str, days: list, reason: str) -> None:CODE
LOWhrms/hr/doctype/goal/goal.py229def update_progress(progress: float, goal: str) -> None:CODE
LOWhrms/hr/doctype/goal/goal.py239def update_status(status: str, goals: str | list) -> None:CODE
LOW…ry_structure_assignment/salary_structure_assignment.py187 def set_payroll_cost_centers(self) -> None:CODE
LOW…ee_benefit_application/employee_benefit_application.py88 def set_benefit_components_and_currency(self) -> None:CODE
LOW…yroll/doctype/salary_withholding/salary_withholding.py91 def set_withholding_cycles_and_to_date(self) -> None:CODE
LOW…yroll/doctype/salary_withholding/salary_withholding.py192def _update_payment_status_in_payroll(withholdings: list[dict], cancel: bool = False) -> None:CODE
LOW…yroll/doctype/salary_withholding/salary_withholding.py216def _update_salary_withholdings(withholdings: list[dict], cancel: bool = False) -> None:CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py1273 def _set_evaluated_components(self) -> None:CODE
LOWhrms/payroll/doctype/salary_slip/salary_slip.py2346 def set_totals(self) -> None:CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhrms/telemetry.py222 # Nothing set up yet — a zero-employee site would just add noise.COMMENT