Repository Analysis

openemr/openemr

The most popular open source electronic health records and medical practice management solution.

5.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of openemr/openemr, a PHP project with 5,402 GitHub stars. SynthScan v2.0 examined 2,015,401 lines of code across 6294 source files, recording 7108 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 5.1 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).

5.1
Adjusted Score
5.1
Raw Score
100%
Time Factor
2026-08-29
Last Push
5.4K
Stars
PHP
Language
2.0M
Lines of Code
6.3K
Files
7.1K
Pattern Hits
2026-08-29
Scan Date
0.02
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 14HIGH 140MEDIUM 907LOW 6047

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 7108 distinct pattern matches across 16 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 Identifiers5023 hits · 5301 pts
SeverityFileLineSnippetContext
LOWsql_upgrade.php282 function startVersionCheckIfNotRunning() {CODE
LOWREADME-Isolated-Testing.md95 public function testProcessReturnsTransformedData(): voidCODE
LOWinterface/eRx_xml.php54function stripSpecialCharacterFacility($str)CODE
LOWinterface/eRx_xml.php902function PatientFreeformHealthplans($doc, $r, $pid): voidCODE
LOWinterface/eRx_xml.php935function PrescriptionRenewalResponse($doc, $r, $pid): voidCODE
LOWinterface/eRxXMLBuilder.php193 public function getDemographicsCheckMessages()CODE
LOWinterface/eRxXMLBuilder.php218 public function createElementTextFieldEmpty($name, $value, $validationText)CODE
LOWinterface/eRxXMLBuilder.php225 public function createElementTextDemographicsCheck($name, $value, $validationText)CODE
LOWinterface/eRxXMLBuilder.php486 public function getLicensedPrescriberName($user, $prescriberType, $prefix = false)CODE
LOWinterface/eRxXMLBuilder.php617 public function getPatientCharacteristics($patient)CODE
LOWinterface/eRxXMLBuilder.php660 public function getPatientFreeformHealthplans($patientId)CODE
LOWinterface/eRxXMLBuilder.php677 public function getPatientFreeformAllergy($patientId)CODE
LOWinterface/eRxPage.php164 public function checkForMissingExtensions()CODE
LOWinterface/eRxSOAP.php327 public function updatePatientImportStatus($status)CODE
LOWinterface/eRxSOAP.php373 public function initializePatientInformationRequester()CODE
LOWinterface/eRxSOAP.php460 public function getPatientFreeFormAllergyHistory()CODE
LOWinterface/eRxSOAP.php563 public function updatePatientAllergyEndDate($allergyArray)CODE
LOWinterface/eRxStore.php103 public function getPatientVitalsByPatientId($patientId)CODE
LOWinterface/eRxStore.php126 public function getPatientHealthplansByPatientId($patientId)CODE
LOWinterface/eRxStore.php146 public function getPatientAllergiesByPatientId($patientId)CODE
LOWinterface/eRxStore.php165 public function getPatientDiagnosisByPatientId($patientId)CODE
LOWinterface/eRxStore.php226 public function updatePrescriptionsActiveByPatientId($patientId, $active = 0)CODE
LOWinterface/eRxStore.php240 public function updatePrescriptionsUploadActiveByPatientIdPrescriptionId($upload, $active, $patientId, $prescriptionCODE
LOWinterface/eRxStore.php285 public function selectMedicationsNotUploadedByPatientId($patientId, $uploadActive, $limit)CODE
LOWinterface/eRxStore.php309 public function selectPrescriptionIdsNotUploadedByPatientId($patientId, $uploadActive, $limit)CODE
LOWinterface/eRxStore.php422 public function selectPrescriptionIdByGuidPatientId($prescriptionGuid, $patientId)CODE
LOWinterface/eRxStore.php568 public function selectAllergyErxSourceByPatientIdName($patientId, $name)CODE
LOWinterface/eRxStore.php633 public function updateAllergyOutcomeExternalIdByPatientIdName($outcome, $externalId, $patientId, $name)CODE
LOWinterface/eRxStore.php658 public function updateAllergyOutcomeByPatientIdExternalIdName($outcome, $patientId, $externalId, $name)CODE
LOWinterface/eRxStore.php676 public function updateAllergyUploadedByPatientIdAllergyId($uploaded, $patientId, $allergyId)CODE
LOWinterface/eRxStore.php697 public function selectActiveAllergiesByPatientId($patientId)CODE
LOWinterface/eRxStore.php718 public function updateAllergyEndDateByPatientIdListId($patientId, $listId)CODE
LOWinterface/eRxStore.php738 public function updateErxUploadedByListId($listId, $erx = 0)CODE
LOWinterface/eRxStore.php756 public function getPatientImportStatusByPatientId($patientId)CODE
LOWinterface/eRxStore.php772 public function updatePatientImportStatusByPatientId($patientId, $status)CODE
LOW…erface/forms/newpatient/C_EncounterVisitForm.class.php99 function getCareTeamFacilityForPatient($pid)CODE
LOW…erface/forms/newpatient/C_EncounterVisitForm.class.php170 function getBillingFacilityForTemplate(FacilityService $facilityService, $default_bill_fac = null)CODE
LOW…erface/forms/newpatient/C_EncounterVisitForm.class.php205 function getVisitCategoriesForTemplate($viewmode, $encounter, $default_visit_category)CODE
LOW…erface/forms/newpatient/C_EncounterVisitForm.class.php250 function getSensitivitiesForTemplate($encounter)CODE
LOW…erface/forms/newpatient/C_EncounterVisitForm.class.php342 function getInCollectionOptionsForTemplate($encounter = null)CODE
LOW…erface/forms/newpatient/C_EncounterVisitForm.class.php358 function getDischargeDispositionsForTemplate($encounter = null)CODE
LOW…erface/forms/newpatient/C_EncounterVisitForm.class.php385 function getTherapyGroupCategoriesForTemplate()CODE
LOW…erface/forms/newpatient/C_EncounterVisitForm.class.php447 function getDuplicateEncounterRecords($viewmode, $pid)CODE
LOW…erface/forms/newpatient/C_EncounterVisitForm.class.php746 function getDefaultFacilityForNewEncounters($pid, FacilityService $facilityService)CODE
LOWinterface/forms/newpatient/newpatient.js83 function checkForDuplicateEncounter(config) {CODE
LOWinterface/forms/clinical_notes/clinical-notes.js547 function setupDocumentDialogEvents(dialog, noteIndex) {CODE
LOWinterface/forms/clinical_notes/clinical-notes.js930 function updateDocumentSelectedCount(count) {CODE
LOWinterface/forms/clinical_notes/clinical-notes.js939 function updateResultsSelectedCount(count) {CODE
LOWinterface/forms/clinical_notes/clinical-notes.js1053 function matchesDocumentSearchTerm(media, searchTerm) {CODE
LOW…rms/procedure_order/procedure_order_save_functions.php287function softDeleteRemovedSpecimens($formid, $order_seq, $processedIds): voidCODE
LOW…rms/procedure_order/procedure_order_save_functions.php326function getOrCreateProcedureType($postData, $index): ?intCODE
LOWinterface/forms/procedure_order/common.php687 function addProcedureOrderSeqField(lineCount, orderSeq) {CODE
LOW…_groups/therapy_groups_models/group_statuses_model.php52 public function getGroupAttendanceStatuses()CODE
LOW…erapy_groups_controllers/therapy_groups_controller.php52 public static function prepareParticipantStatusesList()CODE
LOW…erapy_groups_controllers/therapy_groups_controller.php73 public static function prepareGroupParticipationList()CODE
LOW…erapy_groups_controllers/therapy_groups_controller.php355 private function checkIfHasApptOrEncounter($group_id): boolCODE
LOWinterface/smart/register-app.php313 function toggleSystemFunctionality(enabled) {CODE
LOWinterface/smart/register-app.php323 function toggleDecisionSupportTypeFields(event) {CODE
LOWinterface/orders/receive_hl7_results.inc.php403function getPerformingOrganizationDetails($obx23, $obx24, $obx25, $componentdelimiter, $commentdelim)CODE
LOWinterface/patient_file/front_payment_terminal.php100 function fetchPaymentIntentClientSecret(amount) {CODE
4963 more matches not shown…
Decorative Section Separators461 hits · 1714 pts
SeverityFileLineSnippetContext
MEDIUMwebpack.themes.js152 // ── oe-styles base themes (LTR) ──────────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js158 // ── oe-styles compact themes ─────────────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js164 // ── oe-styles RTL themes ─────────────────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js170 // ── oe-styles RTL compact themes ─────────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js176 // ── color variant themes (LTR) ───────────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js180 // ── color variant themes (compact) ───────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js184 // ── color variant themes (RTL) ───────────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js188 // ── color variant themes (RTL compact) ───────────────────────────────────COMMENT
MEDIUMwebpack.themes.js192 // ── tabs themes (LTR) ────────────────────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js196 // ── tabs themes (RTL) ────────────────────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js200 // ── root-level themes (no variant transforms) ────────────────────────────COMMENT
MEDIUMwebpack.themes.js205 // ── misc → public/themes/misc/ (LTR) ────────────────────────────────────COMMENT
MEDIUMwebpack.themes.js212 // ── misc → public/themes/misc/ (RTL) ────────────────────────────────────COMMENT
MEDIUM…/Carecoordination/Model/EncounterccdadispatchTable.php1436 // ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…/Carecoordination/Model/EncounterccdadispatchTable.php1438 // ───────────────────────────────────────────────────────────────COMMENT
MEDIUMdocker/container_benchmarking/summary.sh2# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/summary.sh4# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/summary.sh7# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh2# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh4# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh10# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh14# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh16# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh80# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh82# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh241# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh243# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh288# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh290# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh1573# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh1575# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_functionality.sh2# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_functionality.sh4# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/test_functionality.sh22# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/export_to_csv.sh2# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/export_to_csv.sh4# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/export_to_csv.sh8# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh15# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh19# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh21# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh561 # =========================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh563 # =========================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh568 # =========================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh574 # -------------------------------------------------------------------------COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh576 # -------------------------------------------------------------------------COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh2# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh4# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh63# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh65# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh99# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh101# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh261# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh263# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh332# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh334# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh385# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh387# ============================================================================COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh681 # -------------------------------------------------------------------------COMMENT
MEDIUMdocker/container_benchmarking/benchmark.sh683 # -------------------------------------------------------------------------COMMENT
MEDIUMdocker/container_benchmarking/docker-compose.yml1# ============================================================================COMMENT
401 more matches not shown…
Synthetic Comment Markers140 hits · 1104 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md79- `Generated-By: Claude` — Code fully generated by Claude Code, claude.ai, etc.CODE
HIGHgacl/admin/admin_functions.js121// AI-generated code start (GitHub Copilot)COMMENT
HIGHgacl/admin/admin_functions.js129// AI-generated code endCOMMENT
HIGHinterface/forms/eye_mag/view.php4474 // AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/forms/eye_mag/view.php4506 // AI-generated code endCOMMENT
HIGHinterface/forms/eye_mag/view.php4516 // AI-generated code (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/forms/eye_mag/view.php4525 // AI-generated code (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGH…erface/forms/newpatient/C_EncounterVisitForm.class.php147// GENERATED BY claude.ai January 30th 2025 -- HEADERCOMMENT
HIGH…erface/forms/newpatient/C_EncounterVisitForm.class.php480// GENERATED BY claude.ai January 30th 2025 -- FOOTERCOMMENT
HIGHinterface/forms/newpatient/newpatient.js15// CODE GENERATED BY CLAUDE.AI - STARTCOMMENT
HIGHinterface/forms/newpatient/newpatient.js45// CODE GENERATED BY CLAUDE.AI - ENDCOMMENT
HIGHinterface/forms/newpatient/newpatient.js120// CODE GENERATED BY CLAUDE.AI - STARTCOMMENT
HIGHinterface/forms/newpatient/newpatient.js306// CODE GENERATED BY CLAUDE.AI - ENDCOMMENT
HIGHinterface/usergroup/addrbook_edit.php177 // AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/usergroup/addrbook_edit.php193 // AI-generated code endCOMMENT
HIGHinterface/drugs/drug_inventory.php259// AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/drugs/drug_inventory.php271// AI-generated code endCOMMENT
HIGHinterface/patient_tracker/patient_tracker.php1034 // AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/patient_tracker/patient_tracker.php1053 // AI-generated code endCOMMENT
HIGHinterface/orders/procedure_provider_list.php57// AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/orders/procedure_provider_list.php81// AI-generated code endCOMMENT
HIGHinterface/orders/find_order_popup.php111 // AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/orders/find_order_popup.php134 // AI-generated code endCOMMENT
HIGHinterface/patient_file/front_payment.php401// AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/patient_file/front_payment.php411// AI-generated code endCOMMENT
HIGHinterface/patient_file/pos_checkout_normal.php216 // AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/patient_file/pos_checkout_normal.php226 // AI-generated code endCOMMENT
HIGHinterface/patient_file/pos_checkout_ippf.php585 // AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/patient_file/pos_checkout_ippf.php595 // AI-generated code endCOMMENT
HIGHinterface/patient_file/pos_checkout_ippf.php604 // AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/patient_file/pos_checkout_ippf.php622 // AI-generated code endCOMMENT
HIGHinterface/patient_file/transaction/add_transaction.php310// AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/patient_file/transaction/add_transaction.php321// AI-generated code endCOMMENT
HIGHinterface/patient_file/report/patient_report.php402 // AI-generated code (Claude Code) - startCOMMENT
HIGHinterface/patient_file/report/patient_report.php411 // AI-generated code (Claude Code) - endCOMMENT
HIGHinterface/patient_file/report/patient_report.php478 // AI-generated code (Claude Code) - startCOMMENT
HIGHinterface/patient_file/report/patient_report.php487 // AI-generated code (Claude Code) - endCOMMENT
HIGHinterface/patient_file/summary/stats_full.php121// AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/patient_file/summary/stats_full.php142// AI-generated code endCOMMENT
HIGHinterface/patient_file/summary/stats_full.php149// AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/patient_file/summary/stats_full.php172// AI-generated code endCOMMENT
HIGHinterface/main/tabs/js/tabs_view_model.js245// AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/main/tabs/js/tabs_view_model.js260// AI-generated code endCOMMENT
HIGHinterface/main/tabs/js/tabs_view_model.js264 // AI-generated code (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/main/messages/js/reminder_appts.js288// AI-generated code start (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGHinterface/main/messages/js/reminder_appts.js302// AI-generated code endCOMMENT
HIGH…face/main/calendar/modules/PostCalendar/common.api.php266 // AI-generated code (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGH…modules/zend_modules/public/js/lib/jquery-ui.custom.js1530 // Format a name, short or long as requestedCOMMENT
HIGH…les/zend_modules/public/js/lib/jquery.ui.datepicker.js1192 // Format a name, short or long as requestedCOMMENT
HIGH…erface/modules/zend_modules/public/js/lib/jquery-ui.js8906 // Format a name, short or long as requestedCOMMENT
HIGHinterface/billing/sl_eob_search.php22 * @copyright Public Domain for the pieces that were generated by Claude.AICOMMENT
HIGHinterface/billing/era_payments.php226 // AI-generated code (GitHub Copilot) - Refactored to use URLSearchParamsCOMMENT
HIGH…ort/docs/bower/admin-lte/plugins/jQueryUI/jquery-ui.js5102 // Format a name, short or long as requestedCOMMENT
HIGH…y/layout/bower/admin-lte/plugins/jQueryUI/jquery-ui.js5102 // Format a name, short or long as requestedCOMMENT
HIGHtests/PHPStan/Rules/ForbiddenGlobalsAccessRule.php11 * @author GitHub Copilot // AI-generatedCOMMENT
HIGH…erface/Forms/Observation/ObservationControllerTest.php11 * @copyright Public Domain for the pieces that were generated by Claude.AICOMMENT
HIGH…ts/Tests/Unit/FHIR/SMART/ClientAdminControllerTest.php8 * @copyright Public Domain, this class was generated by Claude AI and had modifications added afterwards.COMMENT
HIGH…nIDConnect/SMARTSessionTokenContextIntegrationTest.php20 * This code is released into the public domain as it was entirely generated by Claude AI.COMMENT
HIGH…stControllers/Subscriber/AuthorizationListenerTest.php9 * @copyright This file belongs in the public domain as most of it was generated by Claude.AI with bug fixes/changes madCOMMENT
HIGH…Common/Auth/OpenIDConnect/IdTokenSMARTResponseTest.php10 * This code is released into the public domain as it was entirely generated by Claude AI.COMMENT
80 more matches not shown…
Modern AI Meta-Vocabulary409 hits · 700 pts
SeverityFileLineSnippetContext
MEDIUMdocker/COVERAGE.md124. The container runs `kcov-wrapper.sh`, which does the heavy build (composer, npm, napa, webpack, phing) OUTSIDE kcov iCODE
MEDIUMdocker/flex/openemr.sh1115 # falling back to file sessions (which would break downstream orchestration).COMMENT
MEDIUMdocker/flex/kcov-wrapper.sh57# mostly bare command invocations; the meaningful orchestration pathsCOMMENT
MEDIUMdocker/flex/kcov-wrapper.sh63# Pass 2: orchestration under kcov, build already done. FLEX_SKIP_APACHE_EXECCOMMENT
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php5 'message' => '#^Use of the "global" keyword is forbidden \\(\\$ignoreAuth\\)\\. Use dependency injection instead\\.$CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php10 'message' => '#^Use of the "global" keyword is forbidden \\(\\$pid\\)\\. Use dependency injection instead\\.$#',CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php15 'message' => '#^Use of the "global" keyword is forbidden \\(\\$pid\\)\\. Use dependency injection instead\\.$#',CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php20 'message' => '#^Use of the "global" keyword is forbidden \\(\\$commitchanges\\)\\. Use dependency injection instead\CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php25 'message' => '#^Use of the "global" keyword is forbidden \\(\\$ISSUE_TYPES\\)\\. Use dependency injection instead\\.CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php30 'message' => '#^Use of the "global" keyword is forbidden \\(\\$qrda_file_path\\)\\. Use dependency injection insteadCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php35 'message' => '#^Use of the "global" keyword is forbidden \\(\\$code_external_tables\\)\\. Use dependency injection iCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php40 'message' => '#^Use of the "global" keyword is forbidden \\(\\$code_types, \\$code_external_tables\\)\\. Use dependeCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php45 'message' => '#^Use of the "global" keyword is forbidden \\(\\$code_types\\)\\. Use dependency injection instead\\.$CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php50 'message' => '#^Use of the "global" keyword is forbidden \\(\\$ct_external_options\\)\\. Use dependency injection inCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php55 'message' => '#^Use of the "global" keyword is forbidden \\(\\$EXPORT_PATH\\)\\. Use dependency injection instead\\.CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php60 'message' => '#^Use of the "global" keyword is forbidden \\(\\$pid\\)\\. Use dependency injection instead\\.$#',CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php65 'message' => '#^Use of the "global" keyword is forbidden \\(\\$out, \\$indent\\)\\. Use dependency injection insteadCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php70 'message' => '#^Use of the "global" keyword is forbidden \\(\\$encCheckUniqId, \\$from_date, \\$to_date, \\$EncounteCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php75 'message' => '#^Use of the "global" keyword is forbidden \\(\\$encCheckUniqId, \\$from_date, \\$to_date\\)\\. Use deCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php80 'message' => '#^Use of the "global" keyword is forbidden \\(\\$from_date, \\$to_date\\)\\. Use dependency injection CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php85 'message' => '#^Use of the "global" keyword is forbidden \\(\\$mainQrdaPayerCodeSendArr, \\$from_date, \\$to_date\\)CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php90 'message' => '#^Use of the "global" keyword is forbidden \\(\\$mainQrdaRaceCodeArr, \\$mainEthiCodeArr, \\$from_dateCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php95 'message' => '#^Use of the "global" keyword is forbidden \\(\\$preDefinedUniqIDRules\\)\\. Use dependency injection CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php100 'message' => '#^Use of the "global" keyword is forbidden \\(\\$qrda_file_path\\)\\. Use dependency injection insteadCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php105 'message' => '#^Use of the "global" keyword is forbidden \\(\\$facilityService\\)\\. Use dependency injection insteaCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php110 'message' => '#^Use of the "global" keyword is forbidden \\(\\$db\\)\\. Use dependency injection instead\\.$#',CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php115 'message' => '#^Use of the "global" keyword is forbidden \\(\\$where, \\$eracount, \\$eraname\\)\\. Use dependency iCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php120 'message' => '#^Use of the "global" keyword is forbidden \\(\\$InsertionId\\)\\. Use dependency injection instead\\.CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php125 'message' => '#^Use of the "global" keyword is forbidden \\(\\$StringToEcho, \\$debug\\)\\. Use dependency injectionCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php130 'message' => '#^Use of the "global" keyword is forbidden \\(\\$encount, \\$debug\\)\\. Use dependency injection instCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php135 'message' => '#^Use of the "global" keyword is forbidden \\(\\$invoice_total, \\$last_code, \\$paydate\\)\\. Use depCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php140 'message' => '#^Use of the "global" keyword is forbidden \\(\\$invoice_total\\)\\. Use dependency injection instead\CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php145 'message' => '#^Use of the "global" keyword is forbidden \\(\\$last_ptname, \\$last_invnumber, \\$last_code\\)\\. UsCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php150 'message' => '#^Use of the "global" keyword is forbidden \\(\\$STMT_TEMP_FILE_PDF\\)\\. Use dependency injection insCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php155 'message' => '#^Use of the "global" keyword is forbidden \\(\\$where, \\$eracount, \\$eraname\\)\\. Use dependency iCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php160 'message' => '#^Use of the "global" keyword is forbidden \\(\\$bcodes\\)\\. Use dependency injection instead\\.$#',CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php165 'message' => '#^Use of the "global" keyword is forbidden \\(\\$isAuthorized\\)\\. Use dependency injection instead\\CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php170 'message' => '#^Use of the "global" keyword is forbidden \\(\\$srcdir, \\$isAuthorized\\)\\. Use dependency injectioCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php175 'message' => '#^Use of the "global" keyword is forbidden \\(\\$isAuthorized\\)\\. Use dependency injection instead\\CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php180 'message' => '#^Use of the "global" keyword is forbidden \\(\\$ub04_codes\\)\\. Use dependency injection instead\\.$CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php185 'message' => '#^Use of the "global" keyword is forbidden \\(\\$tmpl_line_no\\)\\. Use dependency injection instead\\CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php190 'message' => '#^Use of the "global" keyword is forbidden \\(\\$drug_id, \\$is_user_restricted\\)\\. Use dependency iCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php195 'message' => '#^Use of the "global" keyword is forbidden \\(\\$drug_id\\)\\. Use dependency injection instead\\.$#',CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php200 'message' => '#^Use of the "global" keyword is forbidden \\(\\$auth_admin, \\$auth_lots\\)\\. Use dependency injectiCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php205 'message' => '#^Use of the "global" keyword is forbidden \\(\\$msg, \\$facilityService\\)\\. Use dependency injectioCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php210 'message' => '#^Use of the "global" keyword is forbidden \\(\\$msg, \\$page\\)\\. Use dependency injection instead\\CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php215 'message' => '#^Use of the "global" keyword is forbidden \\(\\$msg, \\$warning_msg, \\$dem_check\\)\\. Use dependencCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php220 'message' => '#^Use of the "global" keyword is forbidden \\(\\$msg\\)\\. Use dependency injection instead\\.$#',CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php225 'message' => '#^Use of the "global" keyword is forbidden \\(\\$cell_count, \\$CPR, \\$historical_ids, \\$USING_BOOTSCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php230 'message' => '#^Use of the "global" keyword is forbidden \\(\\$item_count, \\$historical_ids, \\$USING_BOOTSTRAP\\)\CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php235 'message' => '#^Use of the "global" keyword is forbidden \\(\\$cell_count, \\$CPR\\)\\. Use dependency injection insCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php240 'message' => '#^Use of the "global" keyword is forbidden \\(\\$item_count, \\$cell_count\\)\\. Use dependency injectCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php245 'message' => '#^Use of the "global" keyword is forbidden \\(\\$CPR\\)\\. Use dependency injection instead\\.$#',CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php250 'message' => '#^Use of the "global" keyword is forbidden \\(\\$counter_header\\)\\. Use dependency injection insteadCODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php255 'message' => '#^Use of the "global" keyword is forbidden \\(\\$ISSUE_TYPES\\)\\. Use dependency injection instead\\.CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php260 'message' => '#^Use of the "global" keyword is forbidden \\(\\$OE_SITE_DIR\\)\\. Use dependency injection instead\\.CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php265 'message' => '#^Use of the "global" keyword is forbidden \\(\\$PMSFH\\)\\. Use dependency injection instead\\.$#',CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php270 'message' => '#^Use of the "global" keyword is forbidden \\(\\$PMSFH_titles\\)\\. Use dependency injection instead\\CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php275 'message' => '#^Use of the "global" keyword is forbidden \\(\\$codes_found\\)\\. Use dependency injection instead\\.CODE
MEDIUM.phpstan/baseline/openemr.forbiddenGlobalKeyword.php280 'message' => '#^Use of the "global" keyword is forbidden \\(\\$dated\\)\\. Use dependency injection instead\\.$#',CODE
349 more matches not shown…
Over-Commented Block668 hits · 646 pts
SeverityFileLineSnippetContext
LOWacl_upgrade.php181 //Insert the 'state' object from the 'lists' section into the Administrators group write ACL (added in 3.0.2)COMMENT
LOWacl_upgrade.php381 AclExtended::addObjectAcl('patients', 'Patients', 'amendment', 'Amendments (write,addonly optional)');COMMENT
LOW.pre-commit-config.yaml1# See https://pre-commit.com for more informationCOMMENT
LOW.pre-commit-config.yaml21# - library/js/{Category,Document}TreeMenu.js, SearchHighlight.js (vendored plugins)COMMENT
LOW.pre-commit-config.yaml81 files: ^(\.github/docker/compose\.yml|ci/inferno/compose\.yml)$COMMENT
LOW.pre-commit-config.yaml181#COMMENT
LOW.pre-commit-config.yaml201 hooks:COMMENT
LOW.hadolint.yaml1# Hadolint configuration for OpenEMRCOMMENT
LOW.hadolint.yaml41COMMENT
LOWwebpack.themes.js21 * The filesystem cache writes to .webpack-cache/ (mapped by the Dockerfile'sCOMMENT
LOWwebpack.themes.js121 ],COMMENT
LOWsql_upgrade.php181 // "upgrade complete." This survives every failure mode that canCOMMENT
LOWversion.php21COMMENT
LOW.codespell-exclude-lines.txt1# Lines to exclude from codespell checkingCOMMENT
LOWsql_patch.php1<?phpCOMMENT
LOWrun-semgrep.sh1#!/bin/bashCOMMENT
LOWinterface/globals.php661 rtrim($globalsBag->getString('site_addr_oath') . trim($globalsBag->getString('webroot')), "/")COMMENT
LOWinterface/forms/eye_mag/view.php4561 // We are building the panel bar with the patient medical infoCOMMENT
LOWinterface/forms/eye_mag/js/shorthand_eye.js101 var nofield = 'error';COMMENT
LOWinterface/forms/eye_mag/php/eye_mag_functions.php1881 $PMSFH['SOCH']['occupation'] = [];COMMENT
LOWinterface/forms/phq9/phq9_javasrc.js1// PHQ9 formCOMMENT
LOWinterface/forms/CAMOS/new.php301 f4.rows = <?php echo js_escape((string) $textarea_rows); ?>;COMMENT
LOWinterface/forms/gad7/gad7_javasrc.js1// GAD-7 formCOMMENT
LOWinterface/drugs/drugs.inc.php1<?phpCOMMENT
LOWinterface/orders/load_compendium.php181 if ($fhcsv) {COMMENT
LOWinterface/orders/list_reports.php121//COMMENT
LOWinterface/patient_file/encounter/trend_form.php41<?php require OEGlobalsBag::getInstance()->getSrcDir() . '/js/xl/dygraphs.js.php'; ?>COMMENT
LOWinterface/main/calendar/config.php1<?phpCOMMENT
LOWinterface/main/calendar/pntables.php1<?phpCOMMENT
LOWinterface/main/calendar/includes/pnAPI.php1<?phpCOMMENT
LOWinterface/main/calendar/includes/pnHTML.php1<?phpCOMMENT
LOWinterface/main/calendar/includes/pnMod.php1<?phpCOMMENT
LOWinterface/main/calendar/modules/PostCalendar/pnuser.php521 // Only the 'default' PostCalendar template set ships with theCOMMENT
LOW…alendar/modules/PostCalendar/pnincludes/PopupWindow.js1// ===================================================================COMMENT
LOW…lendar/modules/PostCalendar/pnincludes/overlib_mini.js1//\//////////////////////////////////////////////////////////////////////////////////COMMENT
LOW…lendar/modules/PostCalendar/pnincludes/ColorPicker2.js1// ===================================================================COMMENT
LOW…ndar/modules/PostCalendar/pnincludes/AnchorPosition.js1// ===================================================================COMMENT
LOW…stCalendar/pntemplates/default/views/monthSelector.php1<?phpCOMMENT
LOWinterface/main/finder/dynamic_finder_ajax.php81 } else {COMMENT
LOW…ation/src/Carecoordination/Model/ModuleconfigTable.php1<?phpCOMMENT
LOW…ordination/src/Carecoordination/Model/Moduleconfig.php1<?phpCOMMENT
LOW…romicsurveillance/Model/SyndromicsurveillanceTable.php321 //"|" . // 23. BirthplaceCOMMENT
LOWinterface/modules/zend_modules/public/index.php41// Strangler seam (PHP 8.5 migration off laminas-mvc): when the feature flag isCOMMENT
LOW…/modules/zend_modules/public/js/lib/virtualpaginate.js1// -------------------------------------------------------------------COMMENT
LOW…ace/modules/zend_modules/public/js/lib/jquery-1.8.3.js9461// since jQuery can be concatenated with other files that may use define,COMMENT
LOW…ace/modules/zend_modules/public/js/lib/jquery-1.4.3.js941 // (IE uses .cssText insted)COMMENT
LOW…ules/public/js/lib/jquery.treeview-1.4.1/lib/jquery.js941 // (IE uses .cssText insted)COMMENT
LOW…ink-telehealth/public/assets/js/src/conference-room.js441 // {COMMENT
LOW…ustom_modules/oe-module-ehi-exporter/src/Bootstrap.php181// $value = $GLOBALS[$key] ?? $config['default'];COMMENT
LOW…-module-faxsms/library/rc_sms_notification_helpers.php121 // For recurring events, the events-table dedup columnsCOMMENT
LOW…odules/oe-module-faxsms/src/Controller/VoiceClient.php61 $this->baseDir = OEGlobalsBag::getInstance()->getString('temporary_files_dir');COMMENT
LOWinterface/themes/color_base.scss21 * @license http://opensource.org/licenses/gpl-license.php GNU Public LicenseCOMMENT
LOWinterface/billing/sl_eob_search.php441 if ($aPatientID != $row['pid']) {COMMENT
LOWinterface/billing/ub04_form.php521#ub04id2{ left:26px; top:19px; width:264px; text-align:left;}COMMENT
LOWinterface/billing/ub04_form.php541#ub04id22{left:885px; top:110px; width:34px; text-align:left;}COMMENT
LOWinterface/billing/ub04_form.php561#ub04id42{left:741px; top:147px; width:37px; text-align:center;}COMMENT
LOWinterface/billing/ub04_form.php581#ub04id62{left:159px; top:202px; width:77px; text-align:right;}COMMENT
LOWinterface/billing/ub04_form.php601#ub04id82{left:631px; top:258px; width:34px; text-align:center;}COMMENT
LOWinterface/billing/ub04_form.php621#ub04id102{left:507px; top:332px; width:77px; text-align:right;}COMMENT
LOWinterface/billing/ub04_form.php641#ub04id122{left:891px; top:368px; width:28px; text-align:center;}COMMENT
608 more matches not shown…
Hallucination Indicators14 hits · 140 pts
SeverityFileLineSnippetContext
CRITICAL…ace/forms/eye_mag/js/jquery-ui-1-11-4/jquery-ui.min.js6(function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function t(t,s){var n,a,CODE
CRITICAL…ace/forms/eye_mag/js/jquery-ui-1-11-4/jquery-ui.min.js8return e.datepicker._get(n,"constrainInput")?(i=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),s=String.CODE
CRITICALinterface/forms/eye_mag/js/jquery-1-10-2/jquery.min.js5}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.CODE
CRITICAL…odules/zend_modules/public/js/lib/jquery.easyui.min.js8677$.fn.datagrid.defaults.view.onAfterRender.call(this,_66c);CODE
CRITICAL…odules/zend_modules/public/js/lib/jquery-1.10.2.min.js5}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.CODE
CRITICAL…ink-telehealth/public/assets/js/telehealth-calendar.js164 window.top.window.parent.left_nav.setPatientEncounter(encounterData.encounterList.ids, encounterData.encounterLiCODE
CRITICAL…docs/bower/admin-lte/plugins/jQueryUI/jquery-ui.min.js6(function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function t(t,s){var n,a,CODE
CRITICAL…docs/bower/admin-lte/plugins/jQueryUI/jquery-ui.min.js8return e.datepicker._get(n,"constrainInput")?(i=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),s=String.CODE
CRITICAL…ocs/bower/admin-lte/plugins/jQuery/jquery-2.2.3.min.js3}catch(e){}O.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return O.hasData(a)||N.hasData(a)},data:funCODE
CRITICALDocumentation/EHI_Export/docs/bower/jquery/jquery.js7591jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {CODE
CRITICAL…yout/bower/admin-lte/plugins/jQueryUI/jquery-ui.min.js6(function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(e){function t(t,s){var n,a,CODE
CRITICAL…yout/bower/admin-lte/plugins/jQueryUI/jquery-ui.min.js8return e.datepicker._get(n,"constrainInput")?(i=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),s=String.CODE
CRITICAL…out/bower/admin-lte/plugins/jQuery/jquery-2.2.3.min.js3}catch(e){}O.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return O.hasData(a)||N.hasData(a)},data:funCODE
CRITICAL…ion/EHI_Export/schemaspy/layout/bower/jquery/jquery.js7591jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {CODE
Verbosity Indicators90 hits · 128 pts
SeverityFileLineSnippetContext
LOW…erface/modules/zend_modules/public/js/lib/jquery-ui.js13433 // IE sets focus asynchronously, so we need to check if focusCOMMENT
LOW…-telehealth/public/assets/js/telehealth-appointment.js123 // now we need to check if the patient is setup for telehealthCOMMENT
LOW…ort/docs/bower/admin-lte/plugins/jQueryUI/jquery-ui.js14929 // IE sets focus asynchronously, so we need to check if focusCOMMENT
LOW…y/layout/bower/admin-lte/plugins/jQueryUI/jquery-ui.js14929 // IE sets focus asynchronously, so we need to check if focusCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1439 # Step 3: Set an older version in sites/default/docker-version to trigger upgradeCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1380 # Step 1: Start fresh installation and wait for it to completeCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1422 # Step 2: Get current version from container and verify all version files existCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1458 # Step 4: Recreate container to trigger upgrade check.COMMENT
LOWdocker/container_benchmarking/test_suite.sh1500 # Step 5: Check logs for upgrade messages (recreated container's logs)COMMENT
LOWdocker/container_benchmarking/test_suite.sh1515 # Step 6: Verify version marker was updatedCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1528 # Step 7: Verify OpenEMR is still configured and accessibleCOMMENT
LOWdocker/release/openemr.sh702# Step 1: Handle swarm mode coordination (if enabled)COMMENT
LOWdocker/release/openemr.sh707# Step 2: Configure SSL/TLS certificatesCOMMENT
LOWdocker/release/openemr.sh724# Step 3: Check for upgradesCOMMENT
LOWdocker/release/openemr.sh729# Step 4: Verify configuration exists (critical check for worker containers)COMMENT
LOWdocker/release/openemr.sh739# Step 5: Copy SSL/TLS certificates for MySQL, Redis, LDAP, CouchDBCOMMENT
LOWdocker/release/openemr.sh954# Step 12: Mark swarm completion (if in swarm mode)COMMENT
LOWdocker/release/openemr.sh960# Step 13: Signal instance ready (swarm mode only)COMMENT
LOWdocker/release/openemr.sh968# Step 14: Display support messageCOMMENT
LOWdocker/release/openemr.sh974# Step 15: Start Apache (if this container is an operator)COMMENT
LOWdocker/release/openemr.sh761# Step 6: Run auto-configuration (if needed)COMMENT
LOWdocker/release/openemr.sh838# Step 7: Update global settings if already configuredCOMMENT
LOWdocker/release/openemr.sh850# Step 8: Configure Redis sessions (if available)COMMENT
LOWdocker/release/openemr.sh886# Step 9: Finalize permissions and cleanup setup scriptsCOMMENT
LOWdocker/release/openemr.sh924# Step 10: Fix certificate permissions (only once in swarm mode) - OPTIMIZEDCOMMENT
LOWdocker/release/openemr.sh937# Step 11: Configure XDebug or PHP optimizationsCOMMENT
LOWdocker/binary/openemr.sh705# Step 1: Handle swarm mode coordination (if enabled)COMMENT
LOWdocker/binary/openemr.sh710# Step 2: Configure SSL/TLS certificatesCOMMENT
LOWdocker/binary/openemr.sh718# Step 3: Check for upgradesCOMMENT
LOWdocker/binary/openemr.sh723# Step 4: Verify configuration exists (critical check for worker containers)COMMENT
LOWdocker/binary/openemr.sh733# Step 5: Copy SSL/TLS certificates for MySQL, Redis, LDAP, CouchDBCOMMENT
LOWdocker/binary/openemr.sh915# Step 11: Configure PHP optimizations (XDebug not supported with static binaries)COMMENT
LOWdocker/binary/openemr.sh924# Step 12: Mark swarm completion (if in swarm mode)COMMENT
LOWdocker/binary/openemr.sh930# Step 13: Signal instance ready (swarm mode only)COMMENT
LOWdocker/binary/openemr.sh938# Step 14: Display support messageCOMMENT
LOWdocker/binary/openemr.sh944# Step 15: Start PHP-FPM and Apache (if this container is an operator)COMMENT
LOWdocker/binary/openemr.sh752# Step 6: Run auto-configuration (if needed)COMMENT
LOWdocker/binary/openemr.sh829# Step 7: Update global settings if already configuredCOMMENT
LOWdocker/binary/openemr.sh841# Step 8: Configure Redis sessions (if available)COMMENT
LOWdocker/binary/openemr.sh859# Step 9: Finalize permissions and cleanup setup scriptsCOMMENT
LOWdocker/binary/openemr.sh902# Step 10: Fix certificate permissions (only once in swarm mode) - OPTIMIZEDCOMMENT
LOWportal/patient/_machine_config.php88// if Multibyte support is specified then we need to check if multibyte functions are availableCOMMENT
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php219 // Step 1: User A logs inCOMMENT
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php224 // Step 2: User A navigates to profile edit pageCOMMENT
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php225 // Step 3: User A modifies the request to target User BCOMMENT
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php235 // Step 4: Expected resultCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php665 // Step 1: API listener creates and injects API sessionCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php670 // Step 2: getActiveSession returns API sessionCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php674 // Step 3: Data is accessibleCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php692 // Step 1: OAuth listener creates and injects OAuth sessionCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php697 // Step 2: getActiveSession returns OAuth sessionCOMMENT
LOWtests/Acceptance/UpgradeWizardUiTest.php86 // Step 1: load /sql_upgrade.php. On a fresh-installed butCOMMENT
LOWtests/Acceptance/UpgradeWizardUiTest.php106 // Step 2: verify from-version is present in the dropdown. IfCOMMENT
LOWtests/Acceptance/UpgradeWizardUiTest.php121 // Step 3: select the from-version and submit. Options viaCOMMENT
LOWtests/Acceptance/UpgradeWizardUiTest.php143 // Step 4: assert the migration ran through completion. WaitCOMMENT
LOWtests/Acceptance/UpgradeWizardUiTest.php189 // Step 5: definitive post-migration signal — GET / redirectsCOMMENT
LOWtests/Acceptance/bin/api-enable.php70 // Step 1: log in as admin.COMMENT
LOWtests/Acceptance/bin/api-enable.php76 // Step 2: load the globals editor.COMMENT
LOWtests/Acceptance/bin/api-enable.php81 // Step 3: look up each target field's form_N name by walkingCOMMENT
LOWtests/Acceptance/bin/api-enable.php126 // Step 4: set the 3 checkbox toggles + the text field. Uses JSCOMMENT
30 more matches not shown…
Fake / Example Data107 hits · 124 pts
SeverityFileLineSnippetContext
LOWacl_upgrade.php97 AclExtended::addObjectSectionAcl('placeholder', 'Placeholder');CODE
LOWacl_upgrade.php126 AclExtended::addObjectAcl('placeholder', 'Placeholder', 'filler', 'Placeholder (Maintains empty ACLs)');CODE
LOWinterface/usergroup/email_send_test.php125 placeholder="admin@example.com" required>CODE
LOW…mmunization/src/Immunization/Form/ImmunizationForm.php49 'placeholder' => 'From Date',CODE
LOW…mmunization/src/Immunization/Form/ImmunizationForm.php61 'placeholder' => 'To Date',CODE
LOW…/js/lib/jquery.treeview-1.4.1/jquery.treeview.async.js32 classes: "placeholder",CODE
LOW…/js/lib/jquery.treeview-1.4.1/jquery.treeview.async.js69 classes: "placeholder",CODE
LOW…ort/docs/bower/datatables.net/jquery.dataTables.min.js41"":this.value;b!=e.sSearch&&(ga(a,{sSearch:b,bRegex:e.bRegex,bSmart:e.bSmart,bCaseInsensitive:e.bCaseInsensitive}),a._iDCODE
LOW…y/layout/bower/datatables.net/jquery.dataTables.min.js41"":this.value;b!=e.sSearch&&(ga(a,{sSearch:b,bRegex:e.bRegex,bSmart:e.bSmart,bCaseInsensitive:e.bCaseInsensitive}),a._iDCODE
LOWDocumentation/api/AUTHENTICATION.md97 "contacts": ["admin@example.org"],CODE
LOWDocumentation/api/AUTHENTICATION.md125 "contacts": ["admin@example.org"],CODE
LOWDocumentation/api/STANDARD_API.md377 "street": "123 Main St",CODE
LOWDocumentation/api/STANDARD_API.md381 "phone_home": "555-1234",CODE
LOWDocumentation/api/SMART_ON_FHIR.md181 "contacts": ["admin@example.com"]CODE
LOWdocker/development-insane/docker-compose.yml689 - ../library/dockers/dev-nginx/dummy-key:/etc/nginx/dummy-key:roCODE
LOWportal/patient/scripts/app/patientdata.js189 $(this).prop('placeholder', 'Invalid Date');CODE
LOWswagger/swagger-ui.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amCODE
LOWswagger/swagger-ui-es-bundle-core.js2import*as e from"react-immutable-pure-component";import*as t from"remarkable/linkify";import*as r from"dompurify";importCODE
LOWswagger/swagger-ui-standalone-preset.js2!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amCODE
LOWci/compose-shared-nginx/compose.yml24 - ./nginx/dummy-key:/etc/nginx/dummy-key:roCODE
LOW…rvice/utils/demographics/populate-demographics.mock.js49 facility_phone: '555-5555',CODE
LOWtests/Tests/Unit/Common/Utils/XmlUtilsTest.php45 $this->assertSame('John Doe', (string) $result->name);CODE
LOWtests/Tests/Api/ApiTestClient.php269 "contacts" => ["me@example.org", "them@example.org"],CODE
LOWtests/Tests/Api/BulkAPITestClient.php128 "contacts" => ["me@example.org", "them@example.org"],CODE
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php171 'phoneHome' => '555-0000'CODE
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php232 'phoneHome' => '555-0000'CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php42 $result = $verify->verify('123 Main St', '', 'Springfield', 'IL', '62701');CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php100 $verify->verify('123 Main St', '', 'City', 'ST', '12345');CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php157 $verify->verify('123 Main St', 'Apt 4B', 'Springfield', 'IL', '62701', '1234');CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php160 $this->assertEquals('123 Main St', $query['streetAddress']);CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php173 $verify->verify('123 Main St', '', 'Springfield', 'IL', '', '');CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php211 $verify->verify('123 Main St', '', 'City', 'ST', '12345', '6789');CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php243 $verify->verify('123 Main St', '', 'City', 'ST', '12345');CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php251 $result = $verify->verify('123 Main St', '', 'City', 'ST', '12345');CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php262 $verify->verify('123 Main St', '', 'City', 'ST', '12345');CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php189 $verify->verify('123 Main St', '', 'City', 'ST', '12345', 'invalid');CODE
LOWtests/Tests/Isolated/USPS/USPSAddressVerifyV3Test.php200 $verify->verify('123 Main St', '', 'City', 'ST', '12345', '123');CODE
LOWtests/Tests/Isolated/Core/OEGlobalsBagIsolatedTest.php27 $key = 'dummy-key';CODE
LOWtests/Tests/Isolated/Core/OEGlobalsBagIsolatedTest.php28 $value = 'dummy-value';CODE
LOWtests/Tests/Isolated/Core/OEGlobalsBagIsolatedTest.php40 $key = 'dummy-key';CODE
LOWtests/Tests/Isolated/Core/OEGlobalsBagIsolatedTest.php41 $value = 'dummy-value';CODE
LOW…Controllers/SMART/SMARTAuthorizationControllerTest.php68 ->willReturn(['id' => '123e4567-e89b-12d3-a456-426614174000', 'name' => 'John Doe']);CODE
LOW…/Tests/Isolated/Cqm/Qdm/BaseTypes/AbstractTypeTest.php102 'street' => ['123 Main St', 'Suite 100'],CODE
LOW…/Tests/Isolated/Cqm/Qdm/BaseTypes/AbstractTypeTest.php110 $this->assertSame(['123 Main St', 'Suite 100'], $address->street);CODE
LOWtests/Tests/Isolated/library/CsvEscapeTest.php48 'email in middle' => ['user@example.com', '"user@example.com"'], // @ preserved when not leadingCODE
LOWtests/Tests/Isolated/library/classes/InstallerTest.php2635 ['Placeholder', 'placeholder'],CODE
LOW…lated/Immunization/ImmunizationSqlInjectionFixTest.php60 "John Doe",CODE
LOW…/Isolated/Common/Utils/ValidationUtilsIsolatedTest.php140 'user+tag@example.org',CODE
LOW…olated/Common/Command/PhoneNotificationCommandTest.php68 string $phoneHome = '555-1234',CODE
LOW…olated/Common/Command/PhoneNotificationCommandTest.php148 'phone_map' => [3 => '555-0000'],CODE
LOW…ts/Tests/Isolated/Validators/FacilityValidatorTest.php161 'phone' => '555-0123',CODE
LOW…ts/Tests/Isolated/Validators/FacilityValidatorTest.php164 'street' => '123 Main St',CODE
LOW…ts/Tests/Isolated/Validators/FacilityValidatorTest.php167 'fax' => '555-0124',CODE
LOW…ts/Tests/Isolated/Validators/CoverageValidatorTest.php79 'subscriber_street' => '123 Main St',CODE
LOW…ts/Tests/Isolated/Validators/CoverageValidatorTest.php124 'subscriber_street' => '123 Main St',CODE
LOW…ts/Tests/Isolated/Validators/CoverageValidatorTest.php152 'subscriber_street' => '123 Main St',CODE
LOW…ts/Tests/Isolated/Validators/CoverageValidatorTest.php242 'subscriber_street' => '123 Main St',CODE
LOW…ts/Tests/Isolated/Validators/CoverageValidatorTest.php254 'subscriber_phone' => '555-1234',CODE
LOW…s/Isolated/Validators/OpenEMRParticleValidatorTest.php109 $validData = ['name' => 'John Doe'];CODE
LOW…SMS/Notification/AppointmentNotificationRunnerTest.php241 'too short' => ['555-1234', null],CODE
47 more matches not shown…
Structural Annotation Overuse79 hits · 114 pts
SeverityFileLineSnippetContext
LOWDocumentation/api/AUTHENTICATION.md238#### Step 1: Authorization Request (GET)COMMENT
LOWDocumentation/api/AUTHENTICATION.md269#### Step 2: User Authentication & ConsentCOMMENT
LOWDocumentation/api/AUTHENTICATION.md276#### Step 3: Authorization ResponseCOMMENT
LOWDocumentation/api/AUTHENTICATION.md287#### Step 4: Token ExchangeCOMMENT
LOWDocumentation/api/AUTHENTICATION.md414#### Step 1: EHR Initiates LaunchCOMMENT
LOWDocumentation/api/AUTHENTICATION.md427#### Step 2: Authorization Request with LaunchCOMMENT
LOWDocumentation/api/AUTHENTICATION.md450#### Step 3: Token Response with ContextCOMMENT
LOWDocumentation/api/FHIR_API.md659# Step 1: Initiate export (get new token - client credentials)COMMENT
LOWDocumentation/api/FHIR_API.md668# Step 2: Start exportCOMMENT
LOWDocumentation/api/FHIR_API.md676# Step 3: Poll for completionCOMMENT
LOWDocumentation/api/FHIR_API.md691# Step 4: Get download URLsCOMMENT
LOWDocumentation/api/FHIR_API.md695# Step 5: Download filesCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1439 # Step 3: Set an older version in sites/default/docker-version to trigger upgradeCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1380 # Step 1: Start fresh installation and wait for it to completeCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1422 # Step 2: Get current version from container and verify all version files existCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1458 # Step 4: Recreate container to trigger upgrade check.COMMENT
LOWdocker/container_benchmarking/test_suite.sh1500 # Step 5: Check logs for upgrade messages (recreated container's logs)COMMENT
LOWdocker/container_benchmarking/test_suite.sh1515 # Step 6: Verify version marker was updatedCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1528 # Step 7: Verify OpenEMR is still configured and accessibleCOMMENT
LOWdocker/release/openemr.sh702# Step 1: Handle swarm mode coordination (if enabled)COMMENT
LOWdocker/release/openemr.sh707# Step 2: Configure SSL/TLS certificatesCOMMENT
LOWdocker/release/openemr.sh724# Step 3: Check for upgradesCOMMENT
LOWdocker/release/openemr.sh729# Step 4: Verify configuration exists (critical check for worker containers)COMMENT
LOWdocker/release/openemr.sh739# Step 5: Copy SSL/TLS certificates for MySQL, Redis, LDAP, CouchDBCOMMENT
LOWdocker/release/openemr.sh954# Step 12: Mark swarm completion (if in swarm mode)COMMENT
LOWdocker/release/openemr.sh960# Step 13: Signal instance ready (swarm mode only)COMMENT
LOWdocker/release/openemr.sh968# Step 14: Display support messageCOMMENT
LOWdocker/release/openemr.sh974# Step 15: Start Apache (if this container is an operator)COMMENT
LOWdocker/release/openemr.sh761# Step 6: Run auto-configuration (if needed)COMMENT
LOWdocker/release/openemr.sh838# Step 7: Update global settings if already configuredCOMMENT
LOWdocker/release/openemr.sh850# Step 8: Configure Redis sessions (if available)COMMENT
LOWdocker/release/openemr.sh886# Step 9: Finalize permissions and cleanup setup scriptsCOMMENT
LOWdocker/release/openemr.sh924# Step 10: Fix certificate permissions (only once in swarm mode) - OPTIMIZEDCOMMENT
LOWdocker/release/openemr.sh937# Step 11: Configure XDebug or PHP optimizationsCOMMENT
LOWdocker/binary/openemr.sh705# Step 1: Handle swarm mode coordination (if enabled)COMMENT
LOWdocker/binary/openemr.sh710# Step 2: Configure SSL/TLS certificatesCOMMENT
LOWdocker/binary/openemr.sh718# Step 3: Check for upgradesCOMMENT
LOWdocker/binary/openemr.sh723# Step 4: Verify configuration exists (critical check for worker containers)COMMENT
LOWdocker/binary/openemr.sh733# Step 5: Copy SSL/TLS certificates for MySQL, Redis, LDAP, CouchDBCOMMENT
LOWdocker/binary/openemr.sh915# Step 11: Configure PHP optimizations (XDebug not supported with static binaries)COMMENT
LOWdocker/binary/openemr.sh924# Step 12: Mark swarm completion (if in swarm mode)COMMENT
LOWdocker/binary/openemr.sh930# Step 13: Signal instance ready (swarm mode only)COMMENT
LOWdocker/binary/openemr.sh938# Step 14: Display support messageCOMMENT
LOWdocker/binary/openemr.sh944# Step 15: Start PHP-FPM and Apache (if this container is an operator)COMMENT
LOWdocker/binary/openemr.sh752# Step 6: Run auto-configuration (if needed)COMMENT
LOWdocker/binary/openemr.sh829# Step 7: Update global settings if already configuredCOMMENT
LOWdocker/binary/openemr.sh841# Step 8: Configure Redis sessions (if available)COMMENT
LOWdocker/binary/openemr.sh859# Step 9: Finalize permissions and cleanup setup scriptsCOMMENT
LOWdocker/binary/openemr.sh902# Step 10: Fix certificate permissions (only once in swarm mode) - OPTIMIZEDCOMMENT
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php219 // Step 1: User A logs inCOMMENT
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php224 // Step 2: User A navigates to profile edit pageCOMMENT
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php225 // Step 3: User A modifies the request to target User BCOMMENT
LOW…ests/Isolated/Portal/PatientControllerSecurityTest.php235 // Step 4: Expected resultCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php665 // Step 1: API listener creates and injects API sessionCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php670 // Step 2: getActiveSession returns API sessionCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php674 // Step 3: Data is accessibleCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php692 // Step 1: OAuth listener creates and injects OAuth sessionCOMMENT
LOW…/Isolated/Common/Session/SessionWrapperFactoryTest.php697 // Step 2: getActiveSession returns OAuth sessionCOMMENT
LOWtests/Acceptance/UpgradeWizardUiTest.php86 // Step 1: load /sql_upgrade.php. On a fresh-installed butCOMMENT
LOWtests/Acceptance/UpgradeWizardUiTest.php106 // Step 2: verify from-version is present in the dropdown. IfCOMMENT
19 more matches not shown…
AI Slop Vocabulary29 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUMinterface/globals.php665// Need to utilize a session since library/sql.inc.php is established before there are any globals established yet.COMMENT
MEDIUMinterface/forms/eye_mag/js/eye_base.php2786 //we can utilize a phoropter dial feature, we can sCOMMENT
MEDIUM…ace/modules/zend_modules/public/js/lib/jquery-1.8.3.js9463// AMD modules. A named AMD is safest and most robust way to register.COMMENT
MEDIUM…r/src/TableDefinitions/ExportPersonTableDefinition.php44 // instead of hunting down to figure where this is at, for now will just leverageCOMMENT
MEDIUMDocumentation/EHI_Export/docs/bower/jquery/jquery.js10202// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
MEDIUM…ion/EHI_Export/schemaspy/layout/bower/jquery/jquery.js10202// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
MEDIUMdocker/container_benchmarking/test_suite.sh5# This script runs comprehensive functional tests for OpenEMR containerCOMMENT
MEDIUMdocker/flex/openemr.sh275 # Create auto_configure.ini to leverage opcache for faster installationCOMMENT
MEDIUMccdaservice/serveccda.js1146 // not sure if the result set should be grouped better on the backend as the author information needs to be more nuaCOMMENT
MEDIUMtests/Acceptance/Support/UiSeedingTrait.php308 // is more robust than reconstructing a POST.COMMENT
MEDIUMtests/Acceptance/Support/UiSeedingTrait.php1309 // full performLoginAsAdmin flow — expensive but robust.COMMENT
MEDIUM.github/byte-identical.yml82# freshest-harness intent).COMMENT
MEDIUM.github/byte-identical.yml298# rebuilds `latest` daily — without the acceptance harness onCOMMENT
MEDIUM.github/docker/compose.yml1# Test harness compose file used by the .github/actions/test-actions-coreCOMMENT
MEDIUM.github/workflows/acceptance-package.yml258 # vendor/ for the harness), so break the build into its own jobCOMMENT
MEDIUM.github/workflows/claude-review.yml14 # Reusable workflows can only reduce, not elevate, the caller job'sCOMMENT
MEDIUM.github/workflows/acceptance-only.yml134 # "acceptance-harness-bug recovery" case the whole point is to runCOMMENT
MEDIUM.github/workflows/acceptance-only.yml135 # the FRESHEST harness (master's copy) against the OLDER build'sCOMMENT
MEDIUM.github/workflows/acceptance-only.yml294 # wants the freshest acceptance harness available, not a snapshotCOMMENT
MEDIUM.github/workflows/acceptance-docker.yml44# harness itself don't break the pattern.COMMENT
MEDIUM.github/workflows/acceptance-docker.yml511 # Extensions the acceptance harness needs (BrowserKit +COMMENT
LOW.github/workflows/release-prep.yml294 # Why can't we just add a paths filter that catches release-prepCOMMENT
MEDIUM.github/scripts/detect-acceptance-mode.sh191 # (shellcheck SC2012; also more robust to non-alphanumericCOMMENT
MEDIUMsrc/PaymentProcessing/Rainforest/Api.php57 // TODO: This should leverage Guzzle's abilities to make parallelCOMMENT
MEDIUMsrc/Services/UserService.php186 // TODO: eventually we'd like to leverage the inner search piece here and combine these methodsCOMMENT
MEDIUMsrc/Billing/X125010837I.php1067 // (Really oughta have this for robust 835 posting!)COMMENT
MEDIUMsrc/Billing/X125010837P.php1419 // (Really oughta have this for robust 835 posting!)COMMENT
MEDIUMsql/7_0_3-to-7_0_4_upgrade.sql359INSERT INTO `list_options` (`list_id`, `option_id`, `title`, `seq`, `activity`, `notes`) VALUES ('ecqm_2023_reporting','CODE
MEDIUMsql/7_0_3-to-7_0_4_upgrade.sql512INSERT INTO `list_options` (`list_id`, `option_id`, `title`, `seq`, `activity`, `notes`) VALUES ('ecqm_2025_reporting','CODE
Example Usage Blocks43 hits · 78 pts
SeverityFileLineSnippetContext
LOWrun-semgrep.sh5# Usage:COMMENT
LOWdocker/container_benchmarking/test_functionality.sh9# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-6/xdebug.sh16# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-5-redis/xdebug.sh16# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-2/xdebug.sh16# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-5/xdebug.sh16# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-4/xdebug.sh16# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-3/xdebug.sh16# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-3-redis/xdebug.sh16# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-4-redis/xdebug.sh16# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-6-redis/xdebug.sh16# Usage:COMMENT
LOWdocker/library/dockers/dev-php-fpm-8-2-redis/xdebug.sh16# Usage:COMMENT
LOWdocker/release/xdebug.sh15# Usage:COMMENT
LOWdocker/release/ssl.sh15# Usage:COMMENT
LOWdocker/release/openemr.sh21# Usage:COMMENT
LOWdocker/release/kcov-wrapper.sh12# Usage:COMMENT
LOWdocker/release/utilities/unlock_admin.sh10# Usage:COMMENT
LOWdocker/binary/ssl.sh15# Usage:COMMENT
LOWdocker/binary/openemr.sh23# Usage:COMMENT
LOWdocker/binary/utilities/unlock_admin.sh10# Usage:COMMENT
LOWdocker/flex/xdebug.sh15# Usage:COMMENT
LOWdocker/flex/ssl.sh15# Usage:COMMENT
LOWdocker/flex/openemr.sh40# Usage:COMMENT
LOWdocker/flex/pcov.sh17# Usage:COMMENT
LOWdocker/flex/kcov-wrapper.sh12# Usage:COMMENT
LOWdocker/flex/utilities/unlock_admin.sh9# Usage:COMMENT
LOWdocker/dockerhub/render.sh36# Usage:COMMENT
LOWdocker/dockerhub/tests/golden-test.sh22# Usage:COMMENT
LOWdocker/dockerhub/tests/sanity.sh26# Usage:COMMENT
LOWconfig/config.yaml5# Example usage:COMMENT
LOWtests/bats/ci-scripts/validate-source-run/helpers.bash35# Usage:COMMENT
LOWtests/bats/ci-scripts/verify-oci-labels/helpers.bash70# Usage:COMMENT
LOW…s/bats/ci-scripts/validate-byte-identical/helpers.bash119# Usage:COMMENT
LOWtests/Acceptance/bin/upgrade-package.sh19# Usage:COMMENT
LOWtests/Acceptance/bin/down-package.sh9# Usage:COMMENT
LOWtests/Acceptance/bin/boot-package.sh11# Usage:COMMENT
LOWtests/Acceptance/bin/down-docker.sh10# Usage:COMMENT
LOWtests/Acceptance/bin/boot-docker.sh11# Usage:COMMENT
LOWtests/Acceptance/bin/lib/extract-zip.sh49# Usage:COMMENT
LOWcontrib/util/openemr-docker-backup.sh38# Usage:COMMENT
LOW.github/docker/acceptance-package-compose.yml27# Usage:COMMENT
LOW.github/docker/acceptance-docker-compose.yml17# Usage:COMMENT
LOW.github/scripts/list-manifest-paths.sh7# Usage:COMMENT
Redundant / Tautological Comments29 hits · 33 pts
SeverityFileLineSnippetContext
LOWdocker/container_benchmarking/test_suite.sh1440 # Set it to version 1 (assuming current version is higher)COMMENT
LOWdocker/container_benchmarking/test_suite.sh209# Check if OpenEMR is configuredCOMMENT
LOWdocker/container_benchmarking/test_suite.sh384 # Check if OpenEMR is configuredCOMMENT
LOWdocker/container_benchmarking/test_suite.sh388 # Check if we can access the login pageCOMMENT
LOWdocker/container_benchmarking/test_suite.sh605 # Check if SSL is configured (container generates selfsigned.cert.pem and webserver.cert.pem symlink)COMMENT
LOWdocker/container_benchmarking/test_suite.sh728 # Check if Redis session handler is configuredCOMMENT
LOWdocker/container_benchmarking/test_suite.sh742 # Check if php-redis-configured marker existsCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1166 # Check if XDebug is configuredCOMMENT
LOWdocker/container_benchmarking/test_suite.sh1170 # Check if opcache is disabled (XDebug and opcache are incompatible) - use correct php.ini pathCOMMENT
LOWdocker/container_benchmarking/benchmark.sh194 # Check if status changed to healthyCOMMENT
LOWdocker/release/openemr.sh249 # Check if current leader is staleCOMMENT
LOWdocker/release/openemr.sh302 # Check if leader has diedCOMMENT
LOWdocker/binary/openemr.sh251 # Check if current leader is staleCOMMENT
LOWdocker/binary/openemr.sh304 # Check if leader has diedCOMMENT
LOWdocker/flex/openemr.sh508 # Check if current leader is staleCOMMENT
LOWdocker/flex/openemr.sh552 # Check if leader has diedCOMMENT
LOWdocker/flex/openemr.sh717 # Check if composer/vendor build is neededCOMMENT
LOWdocker/flex/openemr.sh722 # Check if npm build is needed (node_modules missing/empty OR public missing/empty)COMMENT
LOWdocker/flex/openemr.sh902# Set ownership to apache user (optimized: use {} + for batch operations)COMMENT
LOWci/parse_docker_dir.sh49 # Check if docker_dir ends with "_no-e2e"COMMENT
LOWci/parse_docker_dir.sh68 # Check if this is the first occurrence of this PHP versionCOMMENT
LOWci/parse_docker_dir.sh76 # Check if this is the first occurrence of this Node versionCOMMENT
LOW.github/workflows/database-version.yml56 # Check if database.sql has the v_database commentCOMMENT
LOW.github/workflows/database-version.yml75 # Check if versions matchCOMMENT
LOW.github/workflows/database-version.yml114 # Check if database.sql was modified in this PRCOMMENT
LOW.github/workflows/database-version.yml120 # Check if changes to database.sql include schema-affecting statementsCOMMENT
LOW.github/workflows/shellcheck.yml132 # Check if we've seen this hash beforeCOMMENT
LOWsrc/Services/Qdm/IndividualResult.php169 # Set agg_results to true if you are collecting aggregate results for multiple patientsCOMMENT
LOW…wBoard/Subscriber/PatientFlowBoardEventsSubscriber.php72 # Check if randomization has not yet been done (is random_drug_test NULL). If already done, then exit.COMMENT
Self-Referential Comments8 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMDocumentation/EHI_Export/b10-tables.yml3# This file is the single source of truth for which database tables are inCOMMENT
MEDIUMdocker/release/xdebug.sh115# Create the XDebug log file with appropriate permissions.COMMENT
MEDIUMdocker/release/kcov-wrapper.sh21# Create the directory where kcov will store coverage reports.COMMENT
MEDIUMdocker/flex/kcov-wrapper.sh26# Create the directory where kcov will write coverage reportsCOMMENT
MEDIUMtests/bats/docker/helpers.bash94# Create an executable command stub in a directory.COMMENT
MEDIUMtests/bats/ci-scripts/sync-byte-identical/helpers.bash16# Create a fresh temp git repo with master + the target rel branch (defaultCOMMENT
MEDIUM.github/workflows/shellcheck.yml87 # Create a temp directory to store file hashesCOMMENT
MEDIUM.github/scripts/create-release-tag.sh3# Create the annotated git tag and GitHub release for a tarballCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
MEDIUMinterface/forms/CAMOS/help.html37The data provided in the three columns upon initial installation of CAMOS is for demonstration purposes only.CODE
LOWdocker/library/couchdb-config-ssl-cert-keys/local.ini93; 'username = password' lines. Don't forget to restart CouchDB afterCODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWDocumentation/EHI_Export/docs/bower/jquery/jquery.js4198function getData( data ) {CODE
LOW…ion/EHI_Export/schemaspy/layout/bower/jquery/jquery.js4198function getData( data ) {CODE
Excessive Try-Catch Wrapping4 hits · 2 pts
SeverityFileLineSnippetContext
LOWdocker/container_benchmarking/benchmark.sh152except Exception as e:CODE
LOWdocker/container_benchmarking/benchmark.sh220except Exception as e:CODE
LOWdocker/container_benchmarking/benchmark.sh667except Exception as e:CODE
LOWdocker/container_benchmarking/benchmark.sh764except Exception as e:CODE