ERP beyond your fridge - Grocy is a web-based self-hosted groceries & household management solution for your home
This report summarizes scanner evidence for grocy/grocy, a Blade project with 9,637 GitHub stars. SynthScan examined 54,600 lines of code across 376 source files, recording 43 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.3 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 36 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 32 finding(s).
Which changes need focused human review? 43 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 43 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | public/viewjs/quantityunitpluraltesting.js | 16 | function RefreshQuPluralTestingResult() | CODE |
| LOW | public/js/grocy.js | 605 | function RefreshLocaleNumberDisplay(rootSelector = "#page-content") | CODE |
| LOW | controllers/StockController.php | 330 | public function QuantityUnitConversionEditForm(Request $request, Response $response, array $args) | CODE |
| LOW | controllers/StockController.php | 395 | public function QuantityUnitPluralFormTesting(Request $request, Response $response, array $args) | CODE |
| LOW | controllers/StockController.php | 629 | public function QuantityUnitConversionsResolved(Request $request, Response $response, array $args) | CODE |
| LOW | controllers/Api/RecipesApiController.php | 14 | public function AddNotFulfilledProductsToShoppingList(Request $request, Response $response, array $args) | CODE |
| LOW | controllers/Api/StockApiController.php | 15 | public function AddMissingProductsToShoppingList(Request $request, Response $response, array $args) | CODE |
| LOW | controllers/Api/StockApiController.php | 39 | public function AddOverdueProductsToShoppingList(Request $request, Response $response, array $args) | CODE |
| LOW | controllers/Api/StockApiController.php | 62 | public function AddExpiredProductsToShoppingList(Request $request, Response $response, array $args) | CODE |
| LOW | controllers/Api/StockApiController.php | 527 | public function InventoryProductByBarcode(Request $request, Response $response, array $args) | CODE |
| LOW | controllers/Api/StockApiController.php | 733 | public function RemoveProductFromShoppingList(Request $request, Response $response, array $args) | CODE |
| LOW | controllers/Api/BaseApiController.php | 158 | protected function GetParsedAndFilteredRequestBody($request) | CODE |
| LOW | controllers/Api/GenericEntityApiController.php | 301 | private function IsEntityWithEditRequiresAdmin($entity) | CODE |
| LOW | controllers/Api/ChoresApiController.php | 14 | public function CalculateNextExecutionAssignments(Request $request, Response $response, array $args) | CODE |
| LOW | helpers/ConfigurationValidator.php | 72 | private function CheckMealplanFirstDayOfWeek() | CODE |
| LOW | helpers/extensions.php | 3 | function FindObjectInArrayByPropertyValue($array, $propertyName, $propertyValue) | CODE |
| LOW | helpers/extensions.php | 16 | function FindAllObjectsInArrayByPropertyValue($array, $propertyName, $propertyValue, $operator = '==') | CODE |
| LOW | helpers/extensions.php | 48 | function FindAllItemsInArrayByValue($array, $value, $operator = '==') | CODE |
| LOW | services/RecipesService.php | 14 | public function AddNotFulfilledProductsToShoppingList($recipeId, $excludedProductIds = null) | CODE |
| LOW | services/StockService.php | 21 | public function AddMissingProductsToShoppingList($listId = 1) | CODE |
| LOW | services/StockService.php | 60 | public function AddOverdueProductsToShoppingList($listId = 1) | CODE |
| LOW | services/StockService.php | 86 | public function AddExpiredProductsToShoppingList($listId = 1) | CODE |
| LOW | services/StockService.php | 601 | public function GetExternalBarcodeLookupPluginName() | CODE |
| LOW | services/StockService.php | 707 | public function GetCurrentStockLocationContent($includeOutOfStockProductsAtTheDefaultLocation = false) | CODE |
| LOW | services/StockService.php | 1163 | public function RemoveProductFromShoppingList($productId, $amount = 1, $listId = 1) | CODE |
| LOW | services/StockService.php | 1189 | public function GetShoppinglistInPrintableStrings($listId = 1): array | CODE |
| LOW | services/StockService.php | 1828 | private function LoadExternalBarcodeLookupPlugin() | CODE |
| LOW | services/ChoresService.php | 19 | public function CalculateNextExecutionAssignment($choreId) | CODE |
| LOW | services/DemoDataGeneratorService.php | 432 | private function DownloadFileIfNotAlreadyExists($sourceUrl, $destinationPath) | CODE |
| LOW | services/LocalizationService.php | 28 | public function CheckAndAddMissingTranslationToPot($text) | CODE |
| LOW | services/DatabaseMigrationService.php | 45 | private function ExecutePhpMigrationWhenNeeded(int $migrationId, string $phpFile, int &$migrationCounter) | CODE |
| LOW | services/DatabaseMigrationService.php | 60 | private function ExecuteSqlMigrationWhenNeeded(int $migrationId, string $sql, int &$migrationCounter) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | public/viewjs/components/camerabarcodescanner.js | 10 | var track = Grocy.Components.CameraBarcodeScanner.Scanner.stream.getVideoTracks()[0]; | CODE |
| CRITICAL | public/viewjs/components/camerabarcodescanner.js | 99 | Grocy.Components.CameraBarcodeScanner.TorchToggle(Grocy.Components.CameraBarcodeScanner.Scanner.stream.getVideoTrac | CODE |
| CRITICAL | public/viewjs/components/camerabarcodescanner.js | 169 | Grocy.Components.CameraBarcodeScanner.TorchToggle(Grocy.Components.CameraBarcodeScanner.Scanner.stream.getVideoTra | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | services/DemoDataGeneratorService.php | 22 | $loremIpsum = 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut lab | CODE |
| LOW⚡ | services/DemoDataGeneratorService.php | 22 | $loremIpsum = 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut lab | CODE |
| LOW⚡ | services/DemoDataGeneratorService.php | 23 | $loremIpsumWithHtmlFormattings = "<h1>Lorem ipsum</h1><p>Lorem ipsum <b>dolor sit</b> amet, consetetur sadipscing eli | CODE |
| LOW⚡ | services/DemoDataGeneratorService.php | 23 | $loremIpsumWithHtmlFormattings = "<h1>Lorem ipsum</h1><p>Lorem ipsum <b>dolor sit</b> amet, consetetur sadipscing eli | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config-dist.php | 1 | <?php | COMMENT |
| LOW | config-dist.php | 21 | COMMENT | |
| LOW | config-dist.php | 41 | // Can also be set to -1 to dynamically start the meal plan week on "today" | COMMENT |
| LOW | config-dist.php | 61 | // Root URL = https://example.com/grocy/public/index.php/ | COMMENT |