Executive summary
upperdo/backoffice-template scores 37 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged. Watchdog judged it as a template, sample or demo, meant to be read or copied, so the dimensions about building, releasing and running a product don't apply, and its lenses are rated against a lower bar. The score itself is worked out as for any repository.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 16 and is rated Weak. Its Test Distribution dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 1 No tests found finding(s) in Test Distribution and to resolve the 3 Leaked secret finding(s) in Secret Scanning, and if Production Readiness rose to 70, the score would rise from 37 to about 55.
55 findings are critical: 31 in Dependency Vulnerabilities, eight in Circular Imports, seven in Forms & labels, three in Secret Scanning, two in IaC & Container Security, one in Keyboard semantics, one in Page structure, one in Static Analysis (SAST) and one in Test Reliability.
Watchdog couldn't measure 4 dimensions in this code, among them Navigability, Web-Security Posture and Structured logging, so they are left out of the score. The product code is 6,075 lines, which would take an estimated 0.1 person-years, around €5,200, to rebuild.
If Production Readiness rose from 16 to 70, the lowest score rated Strong, the score would rise from 37 to about 55.
New since the last survey: 10 findings
- Dependency Hygiene · Deprecated: @playwright/test package.json
- Dependency Hygiene · Deprecated: eslint package.json
- Dependency Hygiene · Deprecated: lucide-svelte package.json
- Secret Scanning · REDACTED
- Secret Scanning · REDACTED
- Static Analysis (SAST) · REDACTED
- Incompleteness & stubs · Both branches are identical — the condition decides nothing src/lib/app/utils/updateFilterOptions.ts
- Incompleteness & stubs · Fake-async — async method never awaits src/lib/use-cases/AccountService.ts
- Incompleteness & stubs · Fake-async — async method never awaits src/lib/use-cases/AccountService.ts
- Incompleteness & stubs · Hollow method — returns a constant without doing the work src/routes/(backoffice)/dashboard/+page.server.ts
Fixed since the last survey: 187 findings
- Dead Code · Dead file (~24 LoC) src/lib/app/ui/components/card/index.ts
- Dead Code · Dead file (~23 LoC) src/lib/app/config/index.js
- Dead Code · Dead file (~23 LoC) src/lib/app/types/interfaces/CommonPropertiesInterface.ts
- Dead Code · Dead file (~23 LoC) src/lib/app/utils/constructUrl.ts
- Dead Code · Dead file (~23 LoC) src/lib/app/utils/createFilter.ts
- Dead Code · Dead file (~22 LoC) src/lib/app/ui/components/badge/index.ts
- Dead Code · Dead file (~22 LoC) src/lib/features/settings/widgets/profile-form.svelte
- Dead Code · Dead file (~20 LoC) src/lib/app/ui/components/sheet/sheet-content.svelte
- Dead Code · Dead file (~18 LoC) src/lib/app/ui/components/tabs/index.ts
- Dead Code · Dead file (~17 LoC) src/lib/app/ui/components/accordion/index.ts
- Dead Code · Dead file (~17 LoC) src/lib/app/ui/components/select/select-content.svelte
- Dead Code · Dead file (~16 LoC) src/lib/app/ui/components/toggle/toggle.svelte
- Dead Code · Dead file (~15 LoC) src/lib/app/ui/components/collapsible/index.ts
- Dead Code · Dead file (~15 LoC) src/lib/app/ui/components/radio-group/index.ts
- Dead Code · Dead file (~15 LoC) src/lib/app/ui/components/tooltip/index.ts
- Dead Code · Dead file (~15 LoC) src/lib/infraestructure/appwrite/AppwriteContextFactory.ts
- Dead Code · Dead file (~14 LoC) src/lib/app/ui/components/accordion/accordion-content.svelte
- Dead Code · Dead file (~14 LoC) src/lib/app/ui/components/dialog/dialog-content.svelte
- Dead Code · Dead file (~14 LoC) src/lib/app/ui/components/hover-card/index.ts
- Dead Code · Dead file (~14 LoC) src/lib/app/ui/components/popover/index.ts
- Dead Code · Dead file (~14 LoC) src/lib/app/ui/components/tooltip/tooltip-content.svelte
- Dead Code · Dead file (~14 LoC) src/lib/app/utils/createCookieObject.ts
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/alert-dialog/alert-dialog-overlay.svelte
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/avatar/index.ts
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/button/button.svelte
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/context-menu/context-menu-sub-trigger.svelte
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/dialog/dialog-overlay.svelte
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/dropdown-menu/dropdown-menu-sub-content.svelte
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/dropdown-menu/dropdown-menu-sub-trigger.svelte
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/menubar/menubar-sub-trigger.svelte
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/radio-group/radio-group-item.svelte
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/select/select-item.svelte
- Dead Code · Dead file (~13 LoC) src/lib/app/ui/components/sheet/sheet-overlay.svelte
- Dead Code · Dead file (~12 LoC) src/lib/app/logger/index.ts
- Dead Code · Dead file (~12 LoC) src/lib/app/stores/account.ts
- Dead Code · Dead file (~12 LoC) src/lib/app/types/interfaces/CredentialsInterface.ts
- Dead Code · Dead file (~12 LoC) src/lib/app/ui/components/alert/alert-title.svelte
- Dead Code · Dead file (~12 LoC) src/lib/app/ui/components/alert/alert.svelte
- Dead Code · Dead file (~12 LoC) src/lib/app/ui/components/card/card-title.svelte
- Dead Code · Dead file (~12 LoC) src/lib/app/ui/components/context-menu/context-menu-item.svelte
- Dead Code · Dead file (~12 LoC) src/lib/app/ui/components/dropdown-menu/dropdown-menu-item.svelte
- Dead Code · Dead file (~12 LoC) src/lib/app/ui/components/form/form-label.svelte
- Dead Code · Dead file (~12 LoC) src/lib/app/ui/components/menubar/menubar-item.svelte
- Dead Code · Dead file (~12 LoC) src/lib/app/ui/components/menubar/menubar-sub-content.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/accordion/accordion-trigger.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/alert-dialog/alert-dialog-content.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/checkbox/checkbox.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/context-menu/context-menu-checkbox-item.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/context-menu/context-menu-label.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/context-menu/context-menu-radio-item.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/dropdown-menu/dropdown-menu-checkbox-item.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/dropdown-menu/dropdown-menu-label.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/dropdown-menu/dropdown-menu-radio-item.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/form/form-checkbox.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/form/form-native-select.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/form/form-select-trigger.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/input/input.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/ui/components/textarea/textarea.svelte
- Dead Code · Dead file (~11 LoC) src/lib/app/utils/goBackFunction.ts
- Dead Code · Dead file (~11 LoC) src/lib/app/utils/reloadPageUtil.ts
- Dead Code · Dead file (~11 LoC) src/lib/app/utils/splitCookies.ts
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/alert-dialog/alert-dialog-action.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/alert-dialog/alert-dialog-cancel.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/avatar/avatar-image.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/context-menu/context-menu-content.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/context-menu/context-menu-sub-content.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/dropdown-menu/dropdown-menu-content.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/form/form-switch.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/form/form-textarea.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/hover-card/hover-card-content.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/menubar/menubar-content.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/menubar/menubar-label.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/menubar/menubar-radio-item.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/popover/popover-content.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/progress/progress.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/select/select-trigger.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/separator/separator.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/switch/switch.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/table/table-row.svelte
- Dead Code · Dead file (~10 LoC) src/lib/app/ui/components/tabs/tabs-trigger.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/accordion/accordion-item.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/alert-dialog/alert-dialog-title.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/avatar/avatar.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/collapsible/collapsible-content.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/form/form-input.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/form/form-radio-group.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/menubar/menubar-checkbox-item.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/menubar/menubar-trigger.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/radio-group/radio-group.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/slider/slider.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/ui/components/tabs/tabs-content.svelte
- Dead Code · Dead file (~9 LoC) src/lib/app/utils/onResultForm.ts
- Dead Code · Dead file (~9 LoC) src/lib/features/dashboard/widgets/main-nav.svelte
- Dead Code · Dead file (~9 LoC) src/lib/features/dashboard/widgets/user-nav.svelte
- Dead Code · Dead file (~8 LoC) src/lib/app/ui/components/alert-dialog/alert-dialog-description.svelte
- Dead Code · Dead file (~8 LoC) src/lib/app/ui/components/alert-dialog/alert-dialog-footer.svelte
- Dead Code · Dead file (~8 LoC) src/lib/app/ui/components/alert-dialog/alert-dialog-header.svelte
- Dead Code · Dead file (~8 LoC) src/lib/app/ui/components/alert/alert-description.svelte
- Dead Code · Dead file (~8 LoC) src/lib/app/ui/components/avatar/avatar-fallback.svelte
- Dead Code · Dead file (~8 LoC) src/lib/app/ui/components/badge/badge.svelte
Rebuild cost: about €5,200 · Estimate
| Cost to rebuild | €1,700 to €8,600, for 29 to 91 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 37. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 6,075 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 appwrite.functions.initUserCollection.src | 2 appwrite.functions.onDeleteUser.src | 3 appwrite.functions.userActionControl.src | 4 src | 5 src.lib.app.logger | 6 src.lib.app.types.interfaces.CommonPropertiesInterface | 7 src.lib.app.types.interfaces.CredentialsInterface | 8 src.lib.app.types.interfaces.LinkInterface | 9 src.lib.app.types.interfaces.ListDocumentsInterface | 10 src.lib.app.types.interfaces.QueryOptionsInterface | 11 src.lib.app.ui.components.alert | 12 src.lib.app.ui.components.card | 13 src.lib.app.ui.components.icons | 14 src.lib.app.utils.localStorageUtils | 15 src.lib.data-access.AccountDto | 16 src.lib.data-access.AddressDto | 17 src.lib.data-access.errors.AccountError | 18 src.lib.data-access.errors.AddressError | 19 src.lib.entities.account | 20 src.lib.entities.address | 21 src.lib.entities.execution | 22 src.lib.infraestructure | 23 src.lib.infraestructure.appwrite.AppwriteServiceErrors | 24 src.lib.use-cases.errors.AccountErrors | 25 src.lib.use-cases.errors.AddressErrors | 26 src.routes | 27 src.routes.(auth).login | 28 src.routes.(auth).logout | 29 src.routes.(backoffice) | 30 src.routes.(backoffice).dashboard | 31 src.routes.(backoffice).settings.account | 32 src.lib.app.stores | 33 src.lib.app.utils | 34 src.lib.infraestructure.BackendServiceInterface | 35 src.lib.use-cases | 36 src.lib.data-access | 37 src.lib.infraestructure.appwrite.AppwriteContextFactory | 38 src.lib.infraestructure.appwrite.AppwriteService | 39 src.lib.use-cases.AccountService | 40 src.lib.use-cases.AddressService |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 appwrite.functions.initUserCollection.src | ||||||||||||||||||||||||||||||||||||||||
| 2 appwrite.functions.onDeleteUser.src | ||||||||||||||||||||||||||||||||||||||||
| 3 appwrite.functions.userActionControl.src | ||||||||||||||||||||||||||||||||||||||||
| 4 src | ||||||||||||||||||||||||||||||||||||||||
| 5 src.lib.app.logger | ||||||||||||||||||||||||||||||||||||||||
| 6 src.lib.app.types.interfaces.CommonPropertiesInterface | ||||||||||||||||||||||||||||||||||||||||
| 7 src.lib.app.types.interfaces.CredentialsInterface | ||||||||||||||||||||||||||||||||||||||||
| 8 src.lib.app.types.interfaces.LinkInterface | ||||||||||||||||||||||||||||||||||||||||
| 9 src.lib.app.types.interfaces.ListDocumentsInterface | ||||||||||||||||||||||||||||||||||||||||
| 10 src.lib.app.types.interfaces.QueryOptionsInterface | ||||||||||||||||||||||||||||||||||||||||
| 11 src.lib.app.ui.components.alert | ||||||||||||||||||||||||||||||||||||||||
| 12 src.lib.app.ui.components.card | ||||||||||||||||||||||||||||||||||||||||
| 13 src.lib.app.ui.components.icons | ||||||||||||||||||||||||||||||||||||||||
| 14 src.lib.app.utils.localStorageUtils | ||||||||||||||||||||||||||||||||||||||||
| 15 src.lib.data-access.AccountDto | ||||||||||||||||||||||||||||||||||||||||
| 16 src.lib.data-access.AddressDto | ||||||||||||||||||||||||||||||||||||||||
| 17 src.lib.data-access.errors.AccountError | ||||||||||||||||||||||||||||||||||||||||
| 18 src.lib.data-access.errors.AddressError | ||||||||||||||||||||||||||||||||||||||||
| 19 src.lib.entities.account | ||||||||||||||||||||||||||||||||||||||||
| 20 src.lib.entities.address | ||||||||||||||||||||||||||||||||||||||||
| 21 src.lib.entities.execution | ||||||||||||||||||||||||||||||||||||||||
| 22 src.lib.infraestructure | ||||||||||||||||||||||||||||||||||||||||
| 23 src.lib.infraestructure.appwrite.AppwriteServiceErrors | ||||||||||||||||||||||||||||||||||||||||
| 24 src.lib.use-cases.errors.AccountErrors | ||||||||||||||||||||||||||||||||||||||||
| 25 src.lib.use-cases.errors.AddressErrors | ||||||||||||||||||||||||||||||||||||||||
| 26 src.routes | ||||||||||||||||||||||||||||||||||||||||
| 27 src.routes.(auth).login | ||||||||||||||||||||||||||||||||||||||||
| 28 src.routes.(auth).logout | ||||||||||||||||||||||||||||||||||||||||
| 29 src.routes.(backoffice) | ||||||||||||||||||||||||||||||||||||||||
| 30 src.routes.(backoffice).dashboard | ||||||||||||||||||||||||||||||||||||||||
| 31 src.routes.(backoffice).settings.account | ||||||||||||||||||||||||||||||||||||||||
| 32 src.lib.app.stores | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 src.lib.app.utils | 4 | |||||||||||||||||||||||||||||||||||||||
| 34 src.lib.infraestructure.BackendServiceInterface | 2 | |||||||||||||||||||||||||||||||||||||||
| 35 src.lib.use-cases | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 36 src.lib.data-access | 2 | 3 | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||||
| 37 src.lib.infraestructure.appwrite.AppwriteContextFactory | 1 | |||||||||||||||||||||||||||||||||||||||
| 38 src.lib.infraestructure.appwrite.AppwriteService | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 39 src.lib.use-cases.AccountService | 1 | 3 | 1 | |||||||||||||||||||||||||||||||||||||
| 40 src.lib.use-cases.AddressService | 1 | 1 | 2 | 1 |
32→15 src.lib.app.stores uses src.lib.data-access.AccountDto✕
- Connections
- 1 pair of types, where a type in src.lib.app.stores uses a type in src.lib.data-access.AccountDto.
- The types involved
src.lib.app.stores.account→src.lib.data-access.AccountDto.AccountDto
- Direction
- src.lib.app.stores uses src.lib.data-access.AccountDto, so a change to src.lib.data-access.AccountDto can break src.lib.app.stores, while a change to src.lib.app.stores can't break src.lib.data-access.AccountDto.
- Position
- Below the diagonal: src.lib.app.stores uses a module listed above it, which is the healthy direction.
33→10 src.lib.app.utils uses src.lib.app.types.interfaces.QueryOptionsInterface✕
- Connections
- 4 pairs of types, where a type in src.lib.app.utils uses a type in src.lib.app.types.interfaces.QueryOptionsInterface.
- The types involved
src.lib.app.utils.constructUrl→src.lib.app.types.interfaces.QueryOptionsInterface.QueryOptionssrc.lib.app.utils.createFilter→src.lib.app.types.interfaces.QueryOptionsInterface.QueryOptionssrc.lib.app.utils.pageFilter→src.lib.app.types.interfaces.QueryOptionsInterface.QueryOptionssrc.lib.app.utils.updateFilterOptions→src.lib.app.types.interfaces.QueryOptionsInterface.QueryOptions
- Direction
- src.lib.app.utils uses src.lib.app.types.interfaces.QueryOptionsInterface, so a change to src.lib.app.types.interfaces.QueryOptionsInterface can break src.lib.app.utils, while a change to src.lib.app.utils can't break src.lib.app.types.interfaces.QueryOptionsInterface.
- Position
- Below the diagonal: src.lib.app.utils uses a module listed above it, which is the healthy direction.
34→7 src.lib.infraestructure.BackendServiceInterface uses src.lib.app.types.interfaces.CredentialsInterface✕
- Connections
- 2 pairs of types, where a type in src.lib.infraestructure.BackendServiceInterface uses a type in src.lib.app.types.interfaces.CredentialsInterface.
- The types involved
src.lib.infraestructure.BackendServiceInterface.BackendServiceInterface→src.lib.app.types.interfaces.CredentialsInterface.CredentialsInterfacesrc.lib.infraestructure.BackendServiceInterface.BackendServiceInterface→src.lib.app.types.interfaces.CredentialsInterface.NewAccount
- Direction
- src.lib.infraestructure.BackendServiceInterface uses src.lib.app.types.interfaces.CredentialsInterface, so a change to src.lib.app.types.interfaces.CredentialsInterface can break src.lib.infraestructure.BackendServiceInterface, while a change to src.lib.infraestructure.BackendServiceInterface can't break src.lib.app.types.interfaces.CredentialsInterface.
- Position
- Below the diagonal: src.lib.infraestructure.BackendServiceInterface uses a module listed above it, which is the healthy direction.
35→7 src.lib.use-cases uses src.lib.app.types.interfaces.CredentialsInterface✕
- Connections
- 1 pair of types, where a type in src.lib.use-cases uses a type in src.lib.app.types.interfaces.CredentialsInterface.
- The types involved
src.lib.use-cases.AccountService→src.lib.app.types.interfaces.CredentialsInterface.NewAccount
- Direction
- src.lib.use-cases uses src.lib.app.types.interfaces.CredentialsInterface, so a change to src.lib.app.types.interfaces.CredentialsInterface can break src.lib.use-cases, while a change to src.lib.use-cases can't break src.lib.app.types.interfaces.CredentialsInterface.
- Position
- Below the diagonal: src.lib.use-cases uses a module listed above it, which is the healthy direction.
35→15 src.lib.use-cases uses src.lib.data-access.AccountDto✕
- Connections
- 1 pair of types, where a type in src.lib.use-cases uses a type in src.lib.data-access.AccountDto.
- The types involved
src.lib.use-cases.AccountService→src.lib.data-access.AccountDto.AccountDto
- Direction
- src.lib.use-cases uses src.lib.data-access.AccountDto, so a change to src.lib.data-access.AccountDto can break src.lib.use-cases, while a change to src.lib.use-cases can't break src.lib.data-access.AccountDto.
- Position
- Below the diagonal: src.lib.use-cases uses a module listed above it, which is the healthy direction.
35→16 src.lib.use-cases uses src.lib.data-access.AddressDto✕
- Connections
- 1 pair of types, where a type in src.lib.use-cases uses a type in src.lib.data-access.AddressDto.
- The types involved
src.lib.use-cases.AddressService→src.lib.data-access.AddressDto.AddressDTO
- Direction
- src.lib.use-cases uses src.lib.data-access.AddressDto, so a change to src.lib.data-access.AddressDto can break src.lib.use-cases, while a change to src.lib.use-cases can't break src.lib.data-access.AddressDto.
- Position
- Below the diagonal: src.lib.use-cases uses a module listed above it, which is the healthy direction.
35→19 src.lib.use-cases uses src.lib.entities.account✕
- Connections
- 1 pair of types, where a type in src.lib.use-cases uses a type in src.lib.entities.account.
- The types involved
src.lib.use-cases.AccountService→src.lib.entities.account.AccountEntity
- Direction
- src.lib.use-cases uses src.lib.entities.account, so a change to src.lib.entities.account can break src.lib.use-cases, while a change to src.lib.use-cases can't break src.lib.entities.account.
- Position
- Below the diagonal: src.lib.use-cases uses a module listed above it, which is the healthy direction.
36→7 src.lib.data-access uses src.lib.app.types.interfaces.CredentialsInterface✕
- Connections
- 2 pairs of types, where a type in src.lib.data-access uses a type in src.lib.app.types.interfaces.CredentialsInterface.
- The types involved
src.lib.data-access.AccountDto→src.lib.app.types.interfaces.CredentialsInterface.CredentialsInterfacesrc.lib.data-access.AccountDto→src.lib.app.types.interfaces.CredentialsInterface.NewAccount
- Direction
- src.lib.data-access uses src.lib.app.types.interfaces.CredentialsInterface, so a change to src.lib.app.types.interfaces.CredentialsInterface can break src.lib.data-access, while a change to src.lib.data-access can't break src.lib.app.types.interfaces.CredentialsInterface.
- Position
- Below the diagonal: src.lib.data-access uses a module listed above it, which is the healthy direction.
36→15 src.lib.data-access uses src.lib.data-access.AccountDto✕
- Connections
- 3 pairs of types, where a type in src.lib.data-access uses a type in src.lib.data-access.AccountDto.
- The types involved
src.lib.data-access.AccountDto→src.lib.data-access.AccountDto.AccountDtosrc.lib.data-access.AccountDto→src.lib.data-access.AccountDto.IdentityListsrc.lib.data-access.AccountDto→src.lib.data-access.AccountDto.Session
- Direction
- src.lib.data-access uses src.lib.data-access.AccountDto, so a change to src.lib.data-access.AccountDto can break src.lib.data-access, while a change to src.lib.data-access can't break src.lib.data-access.AccountDto.
- Position
- Below the diagonal: src.lib.data-access uses a module listed above it, which is the healthy direction.
36→16 src.lib.data-access uses src.lib.data-access.AddressDto✕
- Connections
- 1 pair of types, where a type in src.lib.data-access uses a type in src.lib.data-access.AddressDto.
- The types involved
src.lib.data-access.AddressDto→src.lib.data-access.AddressDto.AddressDTO
- Direction
- src.lib.data-access uses src.lib.data-access.AddressDto, so a change to src.lib.data-access.AddressDto can break src.lib.data-access, while a change to src.lib.data-access can't break src.lib.data-access.AddressDto.
- Position
- Below the diagonal: src.lib.data-access uses a module listed above it, which is the healthy direction.
36→20 src.lib.data-access uses src.lib.entities.address✕
- Connections
- 1 pair of types, where a type in src.lib.data-access uses a type in src.lib.entities.address.
- The types involved
src.lib.data-access.AddressDto→src.lib.entities.address.AddressEntity
- Direction
- src.lib.data-access uses src.lib.entities.address, so a change to src.lib.entities.address can break src.lib.data-access, while a change to src.lib.data-access can't break src.lib.entities.address.
- Position
- Below the diagonal: src.lib.data-access uses a module listed above it, which is the healthy direction.
36→34 src.lib.data-access uses src.lib.infraestructure.BackendServiceInterface✕
- Connections
- 3 pairs of types, where a type in src.lib.data-access uses a type in src.lib.infraestructure.BackendServiceInterface.
- The types involved
src.lib.data-access.AccountDto→src.lib.infraestructure.BackendServiceInterface.BackendServiceInterfacesrc.lib.data-access.AddressDto→src.lib.infraestructure.BackendServiceInterface.BackendServiceContextsrc.lib.data-access.AddressDto→src.lib.infraestructure.BackendServiceInterface.BackendServiceInterface
- Direction
- src.lib.data-access uses src.lib.infraestructure.BackendServiceInterface, so a change to src.lib.infraestructure.BackendServiceInterface can break src.lib.data-access, while a change to src.lib.data-access can't break src.lib.infraestructure.BackendServiceInterface.
- Position
- Below the diagonal: src.lib.data-access uses a module listed above it, which is the healthy direction.
37→34 src.lib.infraestructure.appwrite.AppwriteContextFactory uses src.lib.infraestructure.BackendServiceInterface✕
- Connections
- 1 pair of types, where a type in src.lib.infraestructure.appwrite.AppwriteContextFactory uses a type in src.lib.infraestructure.BackendServiceInterface.
- The types involved
src.lib.infraestructure.appwrite.AppwriteContextFactory.AppwriteContextFactory→src.lib.infraestructure.BackendServiceInterface.BackendServiceContext
- Direction
- src.lib.infraestructure.appwrite.AppwriteContextFactory uses src.lib.infraestructure.BackendServiceInterface, so a change to src.lib.infraestructure.BackendServiceInterface can break src.lib.infraestructure.appwrite.AppwriteContextFactory, while a change to src.lib.infraestructure.appwrite.AppwriteContextFactory can't break src.lib.infraestructure.BackendServiceInterface.
- Position
- Below the diagonal: src.lib.infraestructure.appwrite.AppwriteContextFactory uses a module listed above it, which is the healthy direction.
38→7 src.lib.infraestructure.appwrite.AppwriteService uses src.lib.app.types.interfaces.CredentialsInterface✕
- Connections
- 2 pairs of types, where a type in src.lib.infraestructure.appwrite.AppwriteService uses a type in src.lib.app.types.interfaces.CredentialsInterface.
- The types involved
src.lib.infraestructure.appwrite.AppwriteService.AppwriteService→src.lib.app.types.interfaces.CredentialsInterface.CredentialsInterfacesrc.lib.infraestructure.appwrite.AppwriteService.AppwriteService→src.lib.app.types.interfaces.CredentialsInterface.NewAccount
- Direction
- src.lib.infraestructure.appwrite.AppwriteService uses src.lib.app.types.interfaces.CredentialsInterface, so a change to src.lib.app.types.interfaces.CredentialsInterface can break src.lib.infraestructure.appwrite.AppwriteService, while a change to src.lib.infraestructure.appwrite.AppwriteService can't break src.lib.app.types.interfaces.CredentialsInterface.
- Position
- Below the diagonal: src.lib.infraestructure.appwrite.AppwriteService uses a module listed above it, which is the healthy direction.
38→34 src.lib.infraestructure.appwrite.AppwriteService uses src.lib.infraestructure.BackendServiceInterface✕
- Connections
- 2 pairs of types, where a type in src.lib.infraestructure.appwrite.AppwriteService uses a type in src.lib.infraestructure.BackendServiceInterface.
- The types involved
src.lib.infraestructure.appwrite.AppwriteService.AppwriteService→src.lib.infraestructure.BackendServiceInterface.BackendServiceContextsrc.lib.infraestructure.appwrite.AppwriteService.AppwriteService→src.lib.infraestructure.BackendServiceInterface.BackendServiceInterface
- Direction
- src.lib.infraestructure.appwrite.AppwriteService uses src.lib.infraestructure.BackendServiceInterface, so a change to src.lib.infraestructure.BackendServiceInterface can break src.lib.infraestructure.appwrite.AppwriteService, while a change to src.lib.infraestructure.appwrite.AppwriteService can't break src.lib.infraestructure.BackendServiceInterface.
- Position
- Below the diagonal: src.lib.infraestructure.appwrite.AppwriteService uses a module listed above it, which is the healthy direction.
39→7 src.lib.use-cases.AccountService uses src.lib.app.types.interfaces.CredentialsInterface✕
- Connections
- 1 pair of types, where a type in src.lib.use-cases.AccountService uses a type in src.lib.app.types.interfaces.CredentialsInterface.
- The types involved
src.lib.use-cases.AccountService.AccountService→src.lib.app.types.interfaces.CredentialsInterface.NewAccount
- Direction
- src.lib.use-cases.AccountService uses src.lib.app.types.interfaces.CredentialsInterface, so a change to src.lib.app.types.interfaces.CredentialsInterface can break src.lib.use-cases.AccountService, while a change to src.lib.use-cases.AccountService can't break src.lib.app.types.interfaces.CredentialsInterface.
- Position
- Below the diagonal: src.lib.use-cases.AccountService uses a module listed above it, which is the healthy direction.
39→15 src.lib.use-cases.AccountService uses src.lib.data-access.AccountDto✕
- Connections
- 3 pairs of types, where a type in src.lib.use-cases.AccountService uses a type in src.lib.data-access.AccountDto.
- The types involved
src.lib.use-cases.AccountService.AccountService→src.lib.data-access.AccountDto.AccountDtosrc.lib.use-cases.AccountService.AccountService→src.lib.data-access.AccountDto.Credentialssrc.lib.use-cases.AccountService.AccountService→src.lib.data-access.AccountDto.IdentityList
- Direction
- src.lib.use-cases.AccountService uses src.lib.data-access.AccountDto, so a change to src.lib.data-access.AccountDto can break src.lib.use-cases.AccountService, while a change to src.lib.use-cases.AccountService can't break src.lib.data-access.AccountDto.
- Position
- Below the diagonal: src.lib.use-cases.AccountService uses a module listed above it, which is the healthy direction.
39→34 src.lib.use-cases.AccountService uses src.lib.infraestructure.BackendServiceInterface✕
- Connections
- 1 pair of types, where a type in src.lib.use-cases.AccountService uses a type in src.lib.infraestructure.BackendServiceInterface.
- The types involved
src.lib.use-cases.AccountService.AccountService→src.lib.infraestructure.BackendServiceInterface.BackendServiceInterface
- Direction
- src.lib.use-cases.AccountService uses src.lib.infraestructure.BackendServiceInterface, so a change to src.lib.infraestructure.BackendServiceInterface can break src.lib.use-cases.AccountService, while a change to src.lib.use-cases.AccountService can't break src.lib.infraestructure.BackendServiceInterface.
- Position
- Below the diagonal: src.lib.use-cases.AccountService uses a module listed above it, which is the healthy direction.
40→10 src.lib.use-cases.AddressService uses src.lib.app.types.interfaces.QueryOptionsInterface✕
- Connections
- 1 pair of types, where a type in src.lib.use-cases.AddressService uses a type in src.lib.app.types.interfaces.QueryOptionsInterface.
- The types involved
src.lib.use-cases.AddressService.AddressService→src.lib.app.types.interfaces.QueryOptionsInterface.QueryOptions
- Direction
- src.lib.use-cases.AddressService uses src.lib.app.types.interfaces.QueryOptionsInterface, so a change to src.lib.app.types.interfaces.QueryOptionsInterface can break src.lib.use-cases.AddressService, while a change to src.lib.use-cases.AddressService can't break src.lib.app.types.interfaces.QueryOptionsInterface.
- Position
- Below the diagonal: src.lib.use-cases.AddressService uses a module listed above it, which is the healthy direction.
40→16 src.lib.use-cases.AddressService uses src.lib.data-access.AddressDto✕
- Connections
- 1 pair of types, where a type in src.lib.use-cases.AddressService uses a type in src.lib.data-access.AddressDto.
- The types involved
src.lib.use-cases.AddressService.AddressService→src.lib.data-access.AddressDto.AddressDTO
- Direction
- src.lib.use-cases.AddressService uses src.lib.data-access.AddressDto, so a change to src.lib.data-access.AddressDto can break src.lib.use-cases.AddressService, while a change to src.lib.use-cases.AddressService can't break src.lib.data-access.AddressDto.
- Position
- Below the diagonal: src.lib.use-cases.AddressService uses a module listed above it, which is the healthy direction.
40→34 src.lib.use-cases.AddressService uses src.lib.infraestructure.BackendServiceInterface✕
- Connections
- 2 pairs of types, where a type in src.lib.use-cases.AddressService uses a type in src.lib.infraestructure.BackendServiceInterface.
- The types involved
src.lib.use-cases.AddressService.AddressService→src.lib.infraestructure.BackendServiceInterface.BackendServiceContextsrc.lib.use-cases.AddressService.AddressService→src.lib.infraestructure.BackendServiceInterface.BackendServiceInterface
- Direction
- src.lib.use-cases.AddressService uses src.lib.infraestructure.BackendServiceInterface, so a change to src.lib.infraestructure.BackendServiceInterface can break src.lib.use-cases.AddressService, while a change to src.lib.use-cases.AddressService can't break src.lib.infraestructure.BackendServiceInterface.
- Position
- Below the diagonal: src.lib.use-cases.AddressService uses a module listed above it, which is the healthy direction.
40→39 src.lib.use-cases.AddressService uses src.lib.use-cases.AccountService✕
- Connections
- 1 pair of types, where a type in src.lib.use-cases.AddressService uses a type in src.lib.use-cases.AccountService.
- The types involved
src.lib.use-cases.AddressService.AddressService→src.lib.use-cases.AccountService.AccountService
- Direction
- src.lib.use-cases.AddressService uses src.lib.use-cases.AccountService, so a change to src.lib.use-cases.AccountService can break src.lib.use-cases.AddressService, while a change to src.lib.use-cases.AddressService can't break src.lib.use-cases.AccountService.
- Position
- Below the diagonal: src.lib.use-cases.AddressService uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 45 | High / Critical |
| A02:2025 — Security Misconfiguration | 12 | High / Critical |
| A07:2025 — Authentication Failures | 3 | High / Critical |
| A05:2025 — Injection | 2 | High / Critical |
Roadmap
Begin by addressing the single missing test in Test Distribution and resolving three leaked secrets in REDACTED to immediately reduce security and coverage risks. Next, update three deprecated dependencies starting with package.json to improve stability, then implement a CI workflow that builds and runs tests on every push to enforce quality gates. Finally, integrate a structured logging library like pino or winston at key points in your services to establish basic observability and monitoring.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No tests found finding(s) in Test Distribution. | +18.3 pts | Low | Test Distribution |
| Resolve the 3 Leaked secret finding(s) in Secret Scanning — start with REDACTED (3). | +11.4 pts | Low | Secret Scanning |
| Resolve the 3 Deprecated finding(s) in Dependency Hygiene — start with package.json (3). | +5.1 pts | Low | Dependency Hygiene |
| Resolve the 1 One package at two majors across the workspace finding(s) in Dependency Hygiene. | +1.7 pts | Low | Dependency Hygiene |
| Resolve the 1 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json. | +1.7 pts | Low | Dependency Hygiene |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +2.9 pts | Medium | CI/CD gates |
| Adopt pino (or winston) and log at meaningful points in the services you run. | +2.9 pts | Medium | Observability |
| Run what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing. | +2.9 pts | Medium | Security & performance tooling |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 2.6 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 2.6 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.7 | Mixed | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 5.1 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Near-clean | Static Analysis (SAST): High: REDACTED |
| package.json | 7.4 | Near-clean | Dependency Hygiene: Deprecated: @playwright/test |
| REDACTED | 7.9 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| appwrite/functions/initUserCollection/package.json | 9.5 | Near-clean | Dependency Hygiene: Outdated (npm): node-appwrite |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 71 of 75 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 75 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 156 of 175 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 68 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (docker-compose.yml). compose up failed (exit 14 — a file the compose project references is missing) — env file .env not found: stat .env: no such file or directory; runtime evidence skipped.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- R7 Dead Code — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 187 further occurrence(s) are not listed individually; the score already reflects all 227.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 108 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled certificate validation and obsolete TLS versions, and none was found. The server controls this dimension also scores were not assessed, so no score is given.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP make no call through a named logger, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D5 · Coupling
4 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence, with abstractness counted on 1 of the 4 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
D6 · Cohesion (LCOM4)
0 of 3 classes have LCOM4 above 3.
D9 · Test Distribution
No test suite found.
What to do
- Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D12 · Dependency Hygiene
2 outdated direct production npm dependency(ies) of 2 graded, 1 pinning defect(s), across 4 package.json (4 of them the product) and 4 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 3 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
What to do
- Resolve the 3 Deprecated finding(s) in Dependency Hygiene — start with package.json (3). — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 1 One package at two majors across the workspace finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json. — One of this dimension's main actionable groups (1 recommendation-level).
- Stand up a CI pipeline, then gate Dependency Hygiene in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 3 Leaked secret finding(s) in Secret Scanning — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Stand up a CI pipeline, then gate Secret Scanning in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 2 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 2 production dependency(ies) this repository's committed lockfile resolves, across 4 product package.json manifest(s). Its 28 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 2987 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README gives a clear overview of the project and its SvelteKit Appwrite backoffice template (screenshots, quick dev commands, appwrite folder notes, well-organized routes/lib/tech stack, and an adapter link), while four directory-specific READMEs document their own directories (userActionControl endpoints) with usage, response, configuration, and environment-variable content. The architecture/design docs count at zero but the project's scope is covered by the root README.
What to do
- Improve Documentation Quality — currently 8.0/10. — The repository's root README gives a clear overview of the project and its SvelteKit Appwrite backoffice template (screenshots, quick dev commands, appwrite folder notes, well-organized routes/lib/tech stack, and an adapter link), while four directory-specific READMEs document their own directories (userActionControl endpoints) with usage, response, configuration, and environment-variable content. The architecture/design docs count at zero but the project's scope is covered by the root README.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
0 API inconsistencies across 3 exposed types.
D26 · Project Cohesion
0 of 4 build units (npm) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
2 finding(s): 0 critical, 1 high, 1 medium, 0 low.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D30 · Dependency Vulnerabilities
45 finding(s): 5 critical, 26 high, 12 medium, 2 low.
What to do
- Resolve the 25 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (24), REDACTED. — One of this dimension's main actionable groups (25 issue-level).
- Resolve the 5 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (4), REDACTED. — One of this dimension's main actionable groups (5 issue-level).
- Resolve the 1 High vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
12 finding(s): 0 critical, 2 high, 8 medium, 2 low.
What to do
- Resolve the 2 High IaC finding(s) in IaC & Container Security — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 8 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (4), REDACTED (4). — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 2 Low IaC finding(s) in IaC & Container Security — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 recommendation-level).
D34 · Knowledge Freshness
12 of 12 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/lib/infraestructure/appwrite/AppwriteService.ts. Counted over 12 of the 257 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 12 Orphaned file finding(s) in Knowledge Freshness — start with AppwriteService.ts, AccountService.ts, AddressService.ts. — One of this dimension's main actionable groups (12 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 15 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AC2 · Forms & labels
- This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. (×6) — src/lib/app/ui/components/form/form-input.svelte:12, src/lib/app/ui/components/form/form-textarea.svelte:13, src/lib/app/ui/components/input/input.svelte:14, …
- This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label. — src/lib/features/dashboard/widgets/search.svelte:6
What to do
- Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure
- A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>. — src/app.html:2
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics
- A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler. — src/lib/app/ui/components/card/card.svelte:12
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC5 · ARIA correctness
AC6 · Visual & motion safety
AC7 · A11y enforcement
- An a11y linter is configured (Documented) but there's no automated a11y test or CI gate. Add vitest-axe to verify at runtime, then gate it in CI. What was searched, so you can tell an absence from a miss: the 142 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Accessibility linting is already configured — assert with vitest-axe in tests, then gate axe/pa11y/Lighthouse in CI.
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX6 · Interface segregation
- `BackendServiceInterface` declares 16 required operations: `getAccount`, `deleteSession`, `createEmailSession`, `createAccount`, `listIdentities`, `updateName`, `updateEmail`, `updatePhone`, `updatePassword`, `listDocuments`, `getDocumentBySlug`, `createDocument`, `getDocument`, `updateDocument`, `deleteDocument`, `runFunction`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — src/lib/infraestructure/BackendServiceInterface.ts:8
What to do
- Split fat interfaces into focused role-interfaces so clients depend only on what they use.
C2 · Access Controls
- Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) — this is NOT a claim that endpoints are unprotected. What's missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can't be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect.
What to do
- Name the access rules — roles/permissions declared once (a @Roles/@Permissions decorator with its guard, a CASL ability, a casbin model, or Supabase CREATE POLICY) and consulted where access is checked, so the rule set is reviewable and testable on its own.
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- `InitAccountStore` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — src/lib/app/stores/account.ts:10
- The `if` and its `else` contain the same statements, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body. — src/lib/app/utils/updateFilterOptions.ts:24
- `validateSessionResponse` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — src/lib/use-cases/AccountService.ts:156
- `createSessionSsr` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — src/lib/use-cases/AccountService.ts:164
- `load` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — src/routes/(backoffice)/dashboard/+page.server.ts:3
- `load` has an empty body — confirm it's an intentional no-op and not an unfinished method. — src/routes/(auth)/login/+page.server.ts:9
What to do
- Finish or delete the unfinished stubs (functions that throw "not implemented", or whose body is empty or a bare constant) — they are dead surface that looks live.
- Clear the softer debt: re-enable or delete skipped tests, decide whether each empty function is a deliberate no-op (and say so in a comment), and replace blanket `eslint-disable` / `@ts-nocheck` with targeted, justified suppressions.
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
M3 · Folder & project structure
What to do
- Start a test surface where your build system looks for one (tests/, test/, spec/, or your ecosystem's test source set) — the separation follows from putting the first tests in the right place.
M4 · Documentation accuracy
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P10 · Library API & versioning
P2 · Observability
- No logging call was found in the 108 JavaScript/TypeScript production file(s) this check read across 4 module(s). Each was searched for its ecosystem's logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
What to do
- Adopt pino (or winston) and log at meaningful points in the services you run.
- Consider OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) and a health-check endpoint (@godaddy/terminus or a /health route) for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Run what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- 10 duplicated blocks under src/lib/app/ui/components/ have copies in at least two of the sibling directories accordion, alert, alert-dialog, card, context-menu, dialog (+4 more sibling(s) not listed) — 4 of them are reported below, and 6 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 10 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 10 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 10 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — src/lib/app/ui/components/accordion/accordion-content.svelte:4
- src/lib/use-cases/AccountService.ts:35 · src/lib/use-cases/AccountService.ts:63 — the two spans are one implementation copied and then locally edited — 74 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — src/lib/use-cases/AccountService.ts:35
- src/lib/data-access/AddressDto.ts:43 · src/lib/use-cases/AddressService.ts:9 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/lib/data-access/AddressDto.ts:43
- appwrite/functions/initUserCollection/src/main.js:4 · appwrite/functions/onDeleteUser/src/main.js:4 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — appwrite/functions/initUserCollection/src/main.js:4
- src/routes/(backoffice)/settings/account/+page.server.ts:6 · src/routes/(backoffice)/settings/profile/+page.server.ts:6 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — src/routes/(backoffice)/settings/account/+page.server.ts:6
- appwrite/functions/initUserCollection/src/main.js:1 · appwrite/functions/onDeleteUser/src/main.js:1 · appwrite/functions/userActionControl/src/main.js:1 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — appwrite/functions/initUserCollection/src/main.js:1
- src/lib/infraestructure/appwrite/AppwriteService.ts:71 · src/lib/infraestructure/appwrite/AppwriteService.ts:91 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — src/lib/infraestructure/appwrite/AppwriteService.ts:71
- src/lib/infraestructure/appwrite/AppwriteService.ts:137 · src/lib/infraestructure/appwrite/AppwriteService.ts:185 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — src/lib/infraestructure/appwrite/AppwriteService.ts:137
- src/lib/app/ui/components/accordion/accordion-content.svelte:4 · src/lib/app/ui/components/dialog/dialog-content.svelte:5 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/lib/app/ui/components/accordion/accordion-content.svelte:4
- src/lib/app/ui/components/context-menu/context-menu-item.svelte:2 · src/lib/app/ui/components/dropdown-menu/dropdown-menu-item.svelte:2 · src/lib/app/ui/components/menubar/menubar-item.svelte:2 — the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/lib/app/ui/components/context-menu/context-menu-item.svelte:2
- src/lib/app/ui/components/context-menu/context-menu-radio-item.svelte:2 · src/lib/app/ui/components/dropdown-menu/dropdown-menu-checkbox-item.svelte:2 · src/lib/app/ui/components/dropdown-menu/dropdown-menu-radio-item.svelte:2 · src/lib/app/ui/components/menubar/menubar-radio-item.svelte:2 — the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/lib/app/ui/components/context-menu/context-menu-radio-item.svelte:2
- src/lib/app/config/index.js:5 · src/lib/app/config/index.js:12 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/lib/app/config/index.js:5
- src/lib/app/ui/components/context-menu/context-menu-content.svelte:2 · src/lib/app/ui/components/context-menu/context-menu-sub-content.svelte:2 · src/lib/app/ui/components/dropdown-menu/dropdown-menu-content.svelte:2 · src/lib/app/ui/components/hover-card/hover-card-content.svelte:2 · +2 more site(s) not listed — the 6 copies are spread across 6 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/lib/app/ui/components/context-menu/context-menu-content.svelte:2
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R2 · Cyclomatic Complexity
R3 · Large Files
R4 · Test Coverage
- 0% of 233 production file(s) reachable from 0 test file(s) via the import graph — 'production' here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace's file count
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
R7 · Dead Code
- Unreachable from the 26 application, 7 tooling and 0 test entry point(s) detected in this repo. Gate removals on `pnpm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×18) — src/lib/infraestructure/appwrite/AppwriteService.ts, src/lib/use-cases/AddressService.ts, src/lib/data-access/AccountDto.ts, …
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/use-cases/AddressService.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×2) — src/lib/use-cases/AccountService.ts, src/lib/use-cases/errors/AddressErrors.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/infraestructure/appwrite/AppwriteService.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/infraestructure/appwrite/AppwriteServiceErrors.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/app/ui/components/sheet/sheet-content.svelte) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/app/ui/components/sheet/index.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/app/utils/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×5) — REDACTED, src/lib/app/utils/localStorageUtils.ts, src/lib/app/utils/pageFilter.ts, …
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/app/ui/components/form/form-textarea.svelte) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/app/ui/components/form/index.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/infraestructure/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/infraestructure/di-container.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/lib/use-cases/AccountService.ts, src/lib/use-cases/AddressService.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/use-cases/errors/AccountErrors.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/data-access/AccountDto.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/data-access/errors/AccountError.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/app/ui/components/button/button.svelte) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/app/ui/components/button/index.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/data-access/AddressDto.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/data-access/errors/AddressError.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/app/ui/components/alert-dialog/alert-dialog-content.svelte) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/app/ui/components/alert-dialog/index.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/app/ui/components/dialog/dialog-content.svelte) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/app/ui/components/dialog/index.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/lib/app/ui/components/alert/alert-title.svelte, src/lib/app/ui/components/alert/alert.svelte) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/app/ui/components/alert/index.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/app/ui/components/toggle/toggle.svelte) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/app/ui/components/toggle/index.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/app/ui/components/textarea/textarea.svelte) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/app/ui/components/textarea/index.ts
- no import path from any entry point (26 application, 7 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/lib/app/ui/components/input/input.svelte) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/lib/app/ui/components/input/index.ts
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Declared in the root package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
- src/lib/app/ui/components/alert-dialog/alert-dialog-content.svelte → src/lib/app/ui/components/alert-dialog/index.ts → src/lib/app/ui/components/alert-dialog/alert-dialog-content.svelte — src/lib/app/ui/components/alert-dialog/alert-dialog-content.svelte:3
- src/lib/app/ui/components/alert/alert.svelte → src/lib/app/ui/components/alert/index.ts → src/lib/app/ui/components/alert/alert.svelte — src/lib/app/ui/components/alert/alert.svelte:4
- src/lib/app/ui/components/badge/badge.svelte → src/lib/app/ui/components/badge/index.ts → src/lib/app/ui/components/badge/badge.svelte — src/lib/app/ui/components/badge/badge.svelte:3
- src/lib/app/ui/components/button/button.svelte → src/lib/app/ui/components/button/index.ts → src/lib/app/ui/components/button/button.svelte — src/lib/app/ui/components/button/button.svelte:4
- src/lib/app/ui/components/dialog/dialog-content.svelte → src/lib/app/ui/components/dialog/index.ts → src/lib/app/ui/components/dialog/dialog-content.svelte — src/lib/app/ui/components/dialog/dialog-content.svelte:3
- src/lib/app/ui/components/sheet/index.ts → src/lib/app/ui/components/sheet/sheet-content.svelte → src/lib/app/ui/components/sheet/index.ts — src/lib/app/ui/components/sheet/index.ts:6
- src/lib/app/ui/components/toggle/index.ts → src/lib/app/ui/components/toggle/toggle.svelte → src/lib/app/ui/components/toggle/index.ts — src/lib/app/ui/components/toggle/index.ts:1
- src/lib/features/dashboard/widgets/dashboard-page.svelte → src/lib/features/dashboard/widgets/index.ts → src/lib/features/dashboard/widgets/dashboard-page.svelte — src/lib/features/dashboard/widgets/dashboard-page.svelte:6
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 0/2 async functions that make a cancellable request (fetch, axios, ky, ofetch) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, an unmounted component, a timed-out job. Take a `signal` (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
- `respond` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — src/service-worker.js:37
- `createEmailSessionSsr` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — src/lib/use-cases/AccountService.ts:125
What to do
- Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up.
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- ~2.1 `!` null assertions per 1k TypeScript source lines — 7 assertion(s) across the 3403 source line(s) of the 100 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: src/lib/use-cases/AddressService.ts (4), src/lib/use-cases/AccountService.ts (3). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC4 · Keyboard semantics | 2.1.1, 2.4.3 | Partial signal |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 55% | Adequate — gated by R7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 57% | Adequate — gated by R9 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 70% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 16% | Weak — gated by D9, R4, P1, P2, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 73% | Adequate — gated by D30 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 48% | Adequate — gated by AC4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Not evidenced — 2 control(s) we could not find positive evidence for
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 55 check(s) not relevant to this codebase
- AC1 Text alternatives — No image/media element found in the parsed markup — AC1 not applicable here.
- AX1 Captive dependencies — Not applicable: this repository's JavaScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; this repository's TypeScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 14 — a file the compose project references is missing) — env file .env not found: stat .env: no such file or directory; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no data at rest for these controls to protect. If it does persist personal data (through a hosted backend configured outside this repository, for instance), the controls belong to wherever that data is stored.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a hosted backend configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data whose lifetime a retention limit would bound. If it does (through a hosted backend configured outside this repository, for instance), the limit belongs wherever that data is stored.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over. If it does (through a hosted backend configured outside this repository, for instance), the rights are served wherever that data is stored.
- D10 Test Quality — No tests were found in the analyzed repository to assess for quality.
- D11 Test Reliability — Test reliability NOT MEASURED: the JavaScript/TypeScript suite's dependency install refused the committed lockfile, so no test ever ran and flakiness could not be exercised — the dependency install for the repository root refused the committed lockfile (ERR_PNPM_NO_LOCKFILE Cannot install with "frozen-lockfile" because REDACTED is absent), so the suite never ran. It is excluded from the score rather than counted as a defect; a lockfile in sync with package.json is what lets the suite be re-run.
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D20 ADR Quality — N/A — this repo declares itself a template / kata / sample / demo; a formal ADR log is deferred to a real application built from it.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.js,.ts), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.cjs, .js, .svelte, .ts) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — This repo declares itself a template / kata / sample; tests are deferred to the application built from it, so coverage is not scored here.
- DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this lens looks for
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- M2 Architecture documentation — This repo declares itself a template / kata / sample / demo — formal architecture documentation (ADRs, C4 diagrams) is deferred to a real application built from it, so its absence is not a defect here.
- P12 CI test-gate honesty — no CI workflow found
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage --coverage.reporter=lcovonly`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- S1 Web-Security Posture — Not assessed: 108 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. That half of the dimension is clean, but it is not scored on its own: a C# repository with the same clean reading is scored on its server controls as well, or is N/A for having no web surface, and neither can be decided here. The server controls — HTTPS enforcement, HSTS, cookie flags, input validation — are NOT assessed for JavaScript/TypeScript: each is scored as an absence, an absence is only reportable over the production HTTP server, and in this ecosystem the file that opens the port is build output or a framework launcher rather than a file in the source tree. Their absence here is not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 55 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Import cycle (2 files) src/lib/app/ui/components/alert-dialog/alert-dialog-content.svelte:3
- Import cycle (2 files) src/lib/app/ui/components/alert/alert.svelte:4
- Import cycle (2 files) src/lib/app/ui/components/badge/badge.svelte:3
- Import cycle (2 files) src/lib/app/ui/components/button/button.svelte:4
- Import cycle (2 files) src/lib/app/ui/components/dialog/dialog-content.svelte:3
- Import cycle (2 files) src/lib/app/ui/components/sheet/index.ts:6
- Import cycle (2 files) src/lib/app/ui/components/toggle/index.ts:1
- Import cycle (2 files) src/lib/features/dashboard/widgets/dashboard-page.svelte:6
- <input> without a programmatic label src/lib/app/ui/components/form/form-input.svelte:12
- <input> without a programmatic label src/lib/app/ui/components/input/input.svelte:14
- <input> without a programmatic label src/lib/features/authentication/widgets/user-auth-form.svelte:48
- <input> without a programmatic label src/lib/features/authentication/widgets/user-auth-form.svelte:52
- <input> without a programmatic label src/lib/features/dashboard/widgets/search.svelte:6
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <textarea> without a programmatic label src/lib/app/ui/components/form/form-textarea.svelte:13
- <textarea> without a programmatic label src/lib/app/ui/components/textarea/textarea.svelte:14
- REDACTED
- REDACTED
- Document without a <title> src/app.html:2
- Click handler on a non-interactive <div> src/lib/app/ui/components/card/card.svelte:12
- Test suite cannot be installed from its own lockfile: the repository root
- REDACTED
- REDACTED
Serious — 91 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Deprecated: @playwright/test package.json:18
- Deprecated: eslint package.json:29
- Deprecated: lucide-svelte package.json:53
- Fake-async — async method never awaits src/lib/app/stores/account.ts:10
- Fake-async — async method never awaits src/lib/use-cases/AccountService.ts:156
- Fake-async — async method never awaits src/lib/use-cases/AccountService.ts:164
- Dead file (~25 LoC) src/lib/app/ui/components/input/index.ts
- Dead file (~25 LoC) src/lib/app/utils/index.ts
- Dead file (~25 LoC) src/lib/infraestructure/BackendServiceInterface.ts
- Duplicated block (13 lines × 2 locations) appwrite/functions/initUserCollection/src/main.js:4
- Duplicated block (13 lines × 2 locations) src/routes/(backoffice)/settings/account/+page.server.ts:6
- Duplicated block (9 lines × 2 locations) src/lib/infraestructure/appwrite/AppwriteService.ts:71
- Duplicated block (9 lines × 2 locations) src/lib/infraestructure/appwrite/AppwriteService.ts:137
- Dead file (~75 LoC) src/lib/app/utils/localStorageUtils.ts
- Dead file (~75 LoC) src/lib/use-cases/errors/AccountErrors.ts
- Dead file (~52 LoC) src/lib/app/ui/components/button/index.ts
- Dead file (~52 LoC) src/lib/app/ui/components/menubar/index.ts
- Dead file (~49 LoC) src/lib/app/ui/components/context-menu/index.ts
- Dead file (~49 LoC) src/lib/app/utils/pageFilter.ts
- Dead file (~48 LoC) src/lib/app/ui/components/dropdown-menu/index.ts
- Dead file (~48 LoC) src/lib/data-access/errors/AddressError.ts
- Dead file (~40 LoC) src/lib/app/ui/components/alert-dialog/index.ts
- Dead file (~40 LoC) src/lib/features/authentication/widgets/user-auth-form.svelte
- Dead file (~34 LoC) src/lib/app/ui/components/dialog/index.ts
- Dead file (~34 LoC) src/lib/app/ui/components/select/index.ts
- Dead file (~32 LoC) src/lib/app/ui/components/alert/index.ts
- Dead file (~32 LoC) src/lib/app/utils/debounceUtil.ts
- Dead file (~28 LoC) src/lib/app/ui/components/table/index.ts
- Dead file (~28 LoC) src/lib/app/ui/components/textarea/index.ts
- Async function without AbortSignal: respond src/service-worker.js:37
- Async function without AbortSignal: createEmailSessionSsr src/lib/use-cases/AccountService.ts:125
- Test reliability not measured — JavaScript/TypeScript suite install refused the lockfile
- One package at two majors across the workspace: node-appwrite
- REDACTED
- Both branches are identical — the condition decides nothing src/lib/app/utils/updateFilterOptions.ts:24
- Hollow method — returns a constant without doing the work src/routes/(backoffice)/dashboard/+page.server.ts:3
- No CI pipeline
- No structured logging
- Duplication concentrated across 10 sibling directories (10 clone groups) src/lib/app/ui/components/accordion/accordion-content.svelte:4
- Duplicated block with local edits (17 matched lines × 2 locations) src/lib/use-cases/AccountService.ts:35
- Duplicated block (15 lines × 2 locations) src/lib/data-access/AddressDto.ts:43
- Duplicated block (11 lines × 3 locations) appwrite/functions/initUserCollection/src/main.js:1
- Duplicated block (8 lines × 2 locations) src/lib/app/ui/components/accordion/accordion-content.svelte:4
- Duplicated block (8 lines × 3 locations) src/lib/app/ui/components/context-menu/context-menu-item.svelte:2
- Duplicated block (7 lines × 4 locations) src/lib/app/ui/components/context-menu/context-menu-radio-item.svelte:2
- Duplicated block (6 lines × 2 locations) src/lib/app/config/index.js:5
- Duplicated block (6 lines × 6 locations) src/lib/app/ui/components/context-menu/context-menu-content.svelte:2
- Test Coverage
- Dead file (~235 LoC) src/lib/infraestructure/appwrite/AppwriteService.ts
- Dead file (~218 LoC) src/lib/use-cases/AccountService.ts
- Dead file (~193 LoC) src/lib/use-cases/AddressService.ts
- Dead file (~162 LoC) src/lib/data-access/AccountDto.ts
- Dead file (~141 LoC) src/lib/data-access/AddressDto.ts
- Dead file (~118 LoC) src/lib/infraestructure/appwrite/AppwriteServiceErrors.ts
- Dead file (~111 LoC) src/lib/entities/address.ts
- Dead file (~106 LoC) src/lib/app/ui/components/sheet/index.ts
- Dead file (~93 LoC) REDACTED
- Dead file (~82 LoC) src/lib/app/ui/components/form/index.ts
- Dead file (~80 LoC) src/lib/entities/account.ts
- Dead file (~77 LoC) src/lib/infraestructure/di-container.ts
- Dead file (~69 LoC) src/lib/data-access/errors/AccountError.ts
- Dead file (~58 LoC) src/lib/app/ui/components/icons/index.ts
- Dead file (~53 LoC) src/lib/entities/execution.ts
- Dead file (~44 LoC) src/lib/features/settings/widgets/forms/account-form.svelte
- Dead file (~41 LoC) src/lib/use-cases/errors/AddressErrors.ts
- Dead file (~35 LoC) src/lib/app/utils/updateFilterOptions.ts
- Dead file (~31 LoC) src/lib/app/ui/components/toggle/index.ts
- Dead file (~30 LoC) src/lib/app/utils/encryptUtil.ts
- Unused dependency 'd3-scale'
- Unused dependency 'set-cookie-parser'
- Unused dependency 'tslib'
Minor — 28 finding(s)
- Orphaned file src/lib/infraestructure/appwrite/AppwriteService.ts:1
- Orphaned file src/lib/use-cases/AccountService.ts:1
- Orphaned file src/lib/use-cases/AddressService.ts:1
- Orphaned file src/lib/data-access/AddressDto.ts:1
- Orphaned file src/lib/data-access/AccountDto.ts:1
- Orphaned file src/lib/infraestructure/appwrite/AppwriteServiceErrors.ts:1
- Orphaned file src/lib/features/dashboard/widgets/dashboard-page.svelte:1
- Orphaned file REDACTED:1
- Orphaned file src/lib/features/settings/widgets/profile-form.svelte:1
- Orphaned file src/lib/features/settings/widgets/forms/account-form.svelte:1
- Orphaned file src/lib/infraestructure/di-container.ts:1
- Orphaned file src/lib/entities/address.ts:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Accessibility enforcement below the top rung
- Fat interface: BackendServiceInterface (16 required operations) src/lib/infraestructure/BackendServiceInterface.ts:8
- No named authorization policies
- Outdated (npm): node-appwrite appwrite/functions/initUserCollection/package.json:11
- Orphaned files with no living knowledge
- No tests — template/sample
- No tests found
- Empty method body src/routes/(auth)/login/+page.server.ts:9
- No SAST
- No rollback/health safety
- Not all async functions that make a request accept an AbortSignal
- Null assertions (`!`) reduce the strict null checking score
Minor — 1 finding(s)
- Outdated (npm): dotenv
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-e00b87ab68ce4c6eaef61ffbbbbff548/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-e00b87ab68ce4c6eaef61ffbbbbff548/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 2 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 45 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 12 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |