Executive summary
cecric/hexapinod scores 40 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 28 and is rated Weak. Its CI/CD gates 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 2 Leaked secret finding(s) in Secret Scanning and to resolve the 5 Outdated (npm) finding(s) in Dependency Hygiene, and if Production Readiness rose to 70, the score would rise from 40 to about 49.
47 findings are critical: 44 in Dependency Vulnerabilities, two in Secret Scanning and one in Dependency Hygiene.
Watchdog couldn't measure 11 dimensions in this code, among them Test Reliability, Internal API Consistency and Navigability, so they are left out of the score. The product code is 4,285 lines, which would take an estimated 0.1 person-years, around €4,100, to rebuild.
If Production Readiness rose from 28 to 70, the lowest score rated Strong, the score would rise from 40 to about 49.
New since the last survey: 28 findings
- Dependency Hygiene · Deprecated: eslint package.json
- Secret Scanning · REDACTED
- Secret Scanning · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Large Files · src/dependencies/hexapinod-framework/model/model.ts: 413 lines of code src/dependencies/hexapinod-framework/model/model.ts
- Dependency Hygiene · Unlisted import 'swagger-ui-express' src/application/api/server.ts
- Dependency Hygiene · Unused dependency 'bcryptjs'
- Dependency Hygiene · Unused dependency 'body-parser'
- Dependency Hygiene · Unused dependency 'chai-http'
- Async & latency hygiene · Sync-over-async blocking src/application/api/rest/routes/index.ts
- Async & latency hygiene · Sync-over-async blocking src/application/api/rest/routes/index.ts
- Async & latency hygiene · Sync-over-async blocking src/application/api/rest/routes/index.ts
- Async & latency hygiene · Sync-over-async blocking src/core/hexapinod/services/validator.service.ts
- Async & latency hygiene · Sync-over-async blocking src/core/hexapinod/services/validator.service.ts
- Async & latency hygiene · Sync-over-async blocking src/core/hexapinod/services/validator.service.ts
- Async & latency hygiene · Sync-over-async blocking src/dependencies/hexapinod-framework/events/eventsmanager.ts
- Async & latency hygiene · Sync-over-async blocking src/dependencies/hexapinod-framework/events/eventsmanager.ts
- Async & latency hygiene · Sync-over-async blocking src/dependencies/hexapinod-framework/events/eventsmanager.ts
- Async & latency hygiene · Sync-over-async blocking src/dependencies/hexapinod-framework/service-manager/servicemanager.ts
- Async & latency hygiene · Sync-over-async blocking src/dependencies/hexapinod-framework/service-manager/servicemanager.ts
Fixed since the last survey: 13 findings
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium vulnerability: [GHSA redacted] REDACTED
- Async & latency hygiene · Sync-over-async blocking src/application/api/rest/routes/index.ts
- Async & latency hygiene · Sync-over-async blocking src/core/hexapinod/services/validator.service.ts
- Async & latency hygiene · Sync-over-async blocking src/dependencies/hexapinod-framework/events/eventsmanager.ts
- Async & latency hygiene · Sync-over-async blocking src/dependencies/hexapinod-framework/events/eventsmanager.ts
- Async & latency hygiene · Sync-over-async blocking src/dependencies/hexapinod-framework/service-manager/servicemanager.ts
- Async & latency hygiene · Sync-over-async blocking src/dependencies/hexapinod-framework/service-manager/servicemanager.ts
Rebuild cost: about €4,100 · Estimate
| Cost to rebuild | €1,400 to €6,900, for 23 to 72 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 40. 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: 4,285 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 (global) | 2 src.application.api | 3 src.application.api.rest | 4 src.application.api.rest.middlewares | 5 src.application.api.rest.middlewares.example | 6 src.application.api.rest.routes.example | 7 src.application.api.server | 8 src.application.api.wsserver | 9 src.application.cli.basecommand | 10 src.core.example.interfaces.models.user_interface | 11 src.core.hexapinod.exceptions.accessdenied_exception | 12 src.core.hexapinod.exceptions.generic_exception | 13 src.core.hexapinod.exceptions.invalidaccess_exception | 14 src.core.hexapinod.interfaces.repositories.repository_interface | 15 src.dependencies.hexapinod-framework.events.baseeventlistener | 16 src.dependencies.hexapinod-framework.model.model | 17 src.dependencies.hexapinod-framework.service-manager.service | 18 src.dependencies.hexapinod-framework.usecases.usecases | 19 src.dependencies.mysql-manager.dbmanager | 20 src.application.cli.example_command | 21 src.application.cli.typeorm_command | 22 src.core.example.eventslisteners.authentificationlistener_event | 23 src.core.example.eventslisteners.examplelistener_event | 24 src.core.example.eventslisteners.websocketslistener_event | 25 src.core.example.models.example | 26 src.core.example.models.exampleorm | 27 src.core.example.usecases.authentification_usecases | 28 src.core.hexapinod.services.repositories_service | 29 src.core.hexapinod.services.validator_service | 30 src.core.hexapinod.usecases.subprocess_usecases | 31 src.dependencies.hexapinod-framework.model.ormwrapper | 32 src.dependencies.hexapinod-framework.service-manager.servicemanager | 33 src.core.example.interfaces.repositories.example_interface | 34 src.core.example.interfaces.repositories.exampleorm_interface | 35 src.core.example.usecases.example_usecases | 36 src.core.hexapinod.services.ormrepositories_service | 37 src.dependencies.typeorm-wrapper.typeormwrapper | 38 src.infrastructure.repositories.example_repo | 39 src.infrastructure.repositories.exampleorm_typeorm_repo | 40 src.infrastructure.repositories.test.example_repo |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 (global) | ||||||||||||||||||||||||||||||||||||||||
| 2 src.application.api | ||||||||||||||||||||||||||||||||||||||||
| 3 src.application.api.rest | ||||||||||||||||||||||||||||||||||||||||
| 4 src.application.api.rest.middlewares | ||||||||||||||||||||||||||||||||||||||||
| 5 src.application.api.rest.middlewares.example | ||||||||||||||||||||||||||||||||||||||||
| 6 src.application.api.rest.routes.example | ||||||||||||||||||||||||||||||||||||||||
| 7 src.application.api.server | ||||||||||||||||||||||||||||||||||||||||
| 8 src.application.api.wsserver | ||||||||||||||||||||||||||||||||||||||||
| 9 src.application.cli.basecommand | ||||||||||||||||||||||||||||||||||||||||
| 10 src.core.example.interfaces.models.user_interface | ||||||||||||||||||||||||||||||||||||||||
| 11 src.core.hexapinod.exceptions.accessdenied_exception | ||||||||||||||||||||||||||||||||||||||||
| 12 src.core.hexapinod.exceptions.generic_exception | ||||||||||||||||||||||||||||||||||||||||
| 13 src.core.hexapinod.exceptions.invalidaccess_exception | ||||||||||||||||||||||||||||||||||||||||
| 14 src.core.hexapinod.interfaces.repositories.repository_interface | ||||||||||||||||||||||||||||||||||||||||
| 15 src.dependencies.hexapinod-framework.events.baseeventlistener | ||||||||||||||||||||||||||||||||||||||||
| 16 src.dependencies.hexapinod-framework.model.model | ||||||||||||||||||||||||||||||||||||||||
| 17 src.dependencies.hexapinod-framework.service-manager.service | ||||||||||||||||||||||||||||||||||||||||
| 18 src.dependencies.hexapinod-framework.usecases.usecases | ||||||||||||||||||||||||||||||||||||||||
| 19 src.dependencies.mysql-manager.dbmanager | ||||||||||||||||||||||||||||||||||||||||
| 20 src.application.cli.example_command | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 src.application.cli.typeorm_command | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 src.core.example.eventslisteners.authentificationlistener_event | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 src.core.example.eventslisteners.examplelistener_event | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 src.core.example.eventslisteners.websocketslistener_event | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 src.core.example.models.example | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 src.core.example.models.exampleorm | 1 | |||||||||||||||||||||||||||||||||||||||
| 27 src.core.example.usecases.authentification_usecases | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 28 src.core.hexapinod.services.repositories_service | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 29 src.core.hexapinod.services.validator_service | 1 | |||||||||||||||||||||||||||||||||||||||
| 30 src.core.hexapinod.usecases.subprocess_usecases | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 src.dependencies.hexapinod-framework.model.ormwrapper | 1 | |||||||||||||||||||||||||||||||||||||||
| 32 src.dependencies.hexapinod-framework.service-manager.servicemanager | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 src.core.example.interfaces.repositories.example_interface | 1 | |||||||||||||||||||||||||||||||||||||||
| 34 src.core.example.interfaces.repositories.exampleorm_interface | 1 | |||||||||||||||||||||||||||||||||||||||
| 35 src.core.example.usecases.example_usecases | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 36 src.core.hexapinod.services.ormrepositories_service | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 src.dependencies.typeorm-wrapper.typeormwrapper | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 src.infrastructure.repositories.example_repo | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 src.infrastructure.repositories.exampleorm_typeorm_repo | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 src.infrastructure.repositories.test.example_repo | 1 | 1 |
20→9 src.application.cli.example_command uses src.application.cli.basecommand✕
- Connections
- 1 pair of types, where a type in src.application.cli.example_command uses a type in src.application.cli.basecommand.
- The types involved
src.application.cli.example_command.ExampleCommand→src.application.cli.basecommand.BaseCommand
- Direction
- src.application.cli.example_command uses src.application.cli.basecommand, so a change to src.application.cli.basecommand can break src.application.cli.example_command, while a change to src.application.cli.example_command can't break src.application.cli.basecommand.
- Position
- Below the diagonal: src.application.cli.example_command uses a module listed above it, which is the healthy direction.
21→9 src.application.cli.typeorm_command uses src.application.cli.basecommand✕
- Connections
- 1 pair of types, where a type in src.application.cli.typeorm_command uses a type in src.application.cli.basecommand.
- The types involved
src.application.cli.typeorm_command.TypeORMCommand→src.application.cli.basecommand.BaseCommand
- Direction
- src.application.cli.typeorm_command uses src.application.cli.basecommand, so a change to src.application.cli.basecommand can break src.application.cli.typeorm_command, while a change to src.application.cli.typeorm_command can't break src.application.cli.basecommand.
- Position
- Below the diagonal: src.application.cli.typeorm_command uses a module listed above it, which is the healthy direction.
22→15 src.core.example.eventslisteners.authentificationlistener_event uses src.dependencies.hexapinod-framework.events.baseeventlistener✕
- Connections
- 1 pair of types, where a type in src.core.example.eventslisteners.authentificationlistener_event uses a type in src.dependencies.hexapinod-framework.events.baseeventlistener.
- The types involved
src.core.example.eventslisteners.authentificationlistener_event.AuthentificationListener→src.dependencies.hexapinod-framework.events.baseeventlistener.BaseEventListener
- Direction
- src.core.example.eventslisteners.authentificationlistener_event uses src.dependencies.hexapinod-framework.events.baseeventlistener, so a change to src.dependencies.hexapinod-framework.events.baseeventlistener can break src.core.example.eventslisteners.authentificationlistener_event, while a change to src.core.example.eventslisteners.authentificationlistener_event can't break src.dependencies.hexapinod-framework.events.baseeventlistener.
- Position
- Below the diagonal: src.core.example.eventslisteners.authentificationlistener_event uses a module listed above it, which is the healthy direction.
23→15 src.core.example.eventslisteners.examplelistener_event uses src.dependencies.hexapinod-framework.events.baseeventlistener✕
- Connections
- 1 pair of types, where a type in src.core.example.eventslisteners.examplelistener_event uses a type in src.dependencies.hexapinod-framework.events.baseeventlistener.
- The types involved
src.core.example.eventslisteners.examplelistener_event.ExampleListener→src.dependencies.hexapinod-framework.events.baseeventlistener.BaseEventListener
- Direction
- src.core.example.eventslisteners.examplelistener_event uses src.dependencies.hexapinod-framework.events.baseeventlistener, so a change to src.dependencies.hexapinod-framework.events.baseeventlistener can break src.core.example.eventslisteners.examplelistener_event, while a change to src.core.example.eventslisteners.examplelistener_event can't break src.dependencies.hexapinod-framework.events.baseeventlistener.
- Position
- Below the diagonal: src.core.example.eventslisteners.examplelistener_event uses a module listed above it, which is the healthy direction.
24→15 src.core.example.eventslisteners.websocketslistener_event uses src.dependencies.hexapinod-framework.events.baseeventlistener✕
- Connections
- 1 pair of types, where a type in src.core.example.eventslisteners.websocketslistener_event uses a type in src.dependencies.hexapinod-framework.events.baseeventlistener.
- The types involved
src.core.example.eventslisteners.websocketslistener_event.WebSocketsListener→src.dependencies.hexapinod-framework.events.baseeventlistener.BaseEventListener
- Direction
- src.core.example.eventslisteners.websocketslistener_event uses src.dependencies.hexapinod-framework.events.baseeventlistener, so a change to src.dependencies.hexapinod-framework.events.baseeventlistener can break src.core.example.eventslisteners.websocketslistener_event, while a change to src.core.example.eventslisteners.websocketslistener_event can't break src.dependencies.hexapinod-framework.events.baseeventlistener.
- Position
- Below the diagonal: src.core.example.eventslisteners.websocketslistener_event uses a module listed above it, which is the healthy direction.
25→16 src.core.example.models.example uses src.dependencies.hexapinod-framework.model.model✕
- Connections
- 1 pair of types, where a type in src.core.example.models.example uses a type in src.dependencies.hexapinod-framework.model.model.
- The types involved
src.core.example.models.example.Example→src.dependencies.hexapinod-framework.model.model.Model
- Direction
- src.core.example.models.example uses src.dependencies.hexapinod-framework.model.model, so a change to src.dependencies.hexapinod-framework.model.model can break src.core.example.models.example, while a change to src.core.example.models.example can't break src.dependencies.hexapinod-framework.model.model.
- Position
- Below the diagonal: src.core.example.models.example uses a module listed above it, which is the healthy direction.
26→16 src.core.example.models.exampleorm uses src.dependencies.hexapinod-framework.model.model✕
- Connections
- 1 pair of types, where a type in src.core.example.models.exampleorm uses a type in src.dependencies.hexapinod-framework.model.model.
- The types involved
src.core.example.models.exampleorm.ExampleOrm→src.dependencies.hexapinod-framework.model.model.Model
- Direction
- src.core.example.models.exampleorm uses src.dependencies.hexapinod-framework.model.model, so a change to src.dependencies.hexapinod-framework.model.model can break src.core.example.models.exampleorm, while a change to src.core.example.models.exampleorm can't break src.dependencies.hexapinod-framework.model.model.
- Position
- Below the diagonal: src.core.example.models.exampleorm uses a module listed above it, which is the healthy direction.
27→10 src.core.example.usecases.authentification_usecases uses src.core.example.interfaces.models.user_interface✕
- Connections
- 1 pair of types, where a type in src.core.example.usecases.authentification_usecases uses a type in src.core.example.interfaces.models.user_interface.
- The types involved
src.core.example.usecases.authentification_usecases.AuthentificationUsecases→src.core.example.interfaces.models.user_interface.IUser
- Direction
- src.core.example.usecases.authentification_usecases uses src.core.example.interfaces.models.user_interface, so a change to src.core.example.interfaces.models.user_interface can break src.core.example.usecases.authentification_usecases, while a change to src.core.example.usecases.authentification_usecases can't break src.core.example.interfaces.models.user_interface.
- Position
- Below the diagonal: src.core.example.usecases.authentification_usecases uses a module listed above it, which is the healthy direction.
27→18 src.core.example.usecases.authentification_usecases uses src.dependencies.hexapinod-framework.usecases.usecases✕
- Connections
- 1 pair of types, where a type in src.core.example.usecases.authentification_usecases uses a type in src.dependencies.hexapinod-framework.usecases.usecases.
- The types involved
src.core.example.usecases.authentification_usecases.AuthentificationUsecases→src.dependencies.hexapinod-framework.usecases.usecases.UseCases
- Direction
- src.core.example.usecases.authentification_usecases uses src.dependencies.hexapinod-framework.usecases.usecases, so a change to src.dependencies.hexapinod-framework.usecases.usecases can break src.core.example.usecases.authentification_usecases, while a change to src.core.example.usecases.authentification_usecases can't break src.dependencies.hexapinod-framework.usecases.usecases.
- Position
- Below the diagonal: src.core.example.usecases.authentification_usecases uses a module listed above it, which is the healthy direction.
28→14 src.core.hexapinod.services.repositories_service uses src.core.hexapinod.interfaces.repositories.repository_interface✕
- Connections
- 1 pair of types, where a type in src.core.hexapinod.services.repositories_service uses a type in src.core.hexapinod.interfaces.repositories.repository_interface.
- The types involved
src.core.hexapinod.services.repositories_service.RepositoriesService→src.core.hexapinod.interfaces.repositories.repository_interface.IRepository
- Direction
- src.core.hexapinod.services.repositories_service uses src.core.hexapinod.interfaces.repositories.repository_interface, so a change to src.core.hexapinod.interfaces.repositories.repository_interface can break src.core.hexapinod.services.repositories_service, while a change to src.core.hexapinod.services.repositories_service can't break src.core.hexapinod.interfaces.repositories.repository_interface.
- Position
- Below the diagonal: src.core.hexapinod.services.repositories_service uses a module listed above it, which is the healthy direction.
28→16 src.core.hexapinod.services.repositories_service uses src.dependencies.hexapinod-framework.model.model✕
- Connections
- 1 pair of types, where a type in src.core.hexapinod.services.repositories_service uses a type in src.dependencies.hexapinod-framework.model.model.
- The types involved
src.core.hexapinod.services.repositories_service.RepositoriesService→src.dependencies.hexapinod-framework.model.model.Model
- Direction
- src.core.hexapinod.services.repositories_service uses src.dependencies.hexapinod-framework.model.model, so a change to src.dependencies.hexapinod-framework.model.model can break src.core.hexapinod.services.repositories_service, while a change to src.core.hexapinod.services.repositories_service can't break src.dependencies.hexapinod-framework.model.model.
- Position
- Below the diagonal: src.core.hexapinod.services.repositories_service uses a module listed above it, which is the healthy direction.
28→17 src.core.hexapinod.services.repositories_service uses src.dependencies.hexapinod-framework.service-manager.service✕
- Connections
- 1 pair of types, where a type in src.core.hexapinod.services.repositories_service uses a type in src.dependencies.hexapinod-framework.service-manager.service.
- The types involved
src.core.hexapinod.services.repositories_service.RepositoriesService→src.dependencies.hexapinod-framework.service-manager.service.Service
- Direction
- src.core.hexapinod.services.repositories_service uses src.dependencies.hexapinod-framework.service-manager.service, so a change to src.dependencies.hexapinod-framework.service-manager.service can break src.core.hexapinod.services.repositories_service, while a change to src.core.hexapinod.services.repositories_service can't break src.dependencies.hexapinod-framework.service-manager.service.
- Position
- Below the diagonal: src.core.hexapinod.services.repositories_service uses a module listed above it, which is the healthy direction.
29→17 src.core.hexapinod.services.validator_service uses src.dependencies.hexapinod-framework.service-manager.service✕
- Connections
- 1 pair of types, where a type in src.core.hexapinod.services.validator_service uses a type in src.dependencies.hexapinod-framework.service-manager.service.
- The types involved
src.core.hexapinod.services.validator_service.ValidatorService→src.dependencies.hexapinod-framework.service-manager.service.Service
- Direction
- src.core.hexapinod.services.validator_service uses src.dependencies.hexapinod-framework.service-manager.service, so a change to src.dependencies.hexapinod-framework.service-manager.service can break src.core.hexapinod.services.validator_service, while a change to src.core.hexapinod.services.validator_service can't break src.dependencies.hexapinod-framework.service-manager.service.
- Position
- Below the diagonal: src.core.hexapinod.services.validator_service uses a module listed above it, which is the healthy direction.
30→18 src.core.hexapinod.usecases.subprocess_usecases uses src.dependencies.hexapinod-framework.usecases.usecases✕
- Connections
- 1 pair of types, where a type in src.core.hexapinod.usecases.subprocess_usecases uses a type in src.dependencies.hexapinod-framework.usecases.usecases.
- The types involved
src.core.hexapinod.usecases.subprocess_usecases.SubProcessUsecases→src.dependencies.hexapinod-framework.usecases.usecases.UseCases
- Direction
- src.core.hexapinod.usecases.subprocess_usecases uses src.dependencies.hexapinod-framework.usecases.usecases, so a change to src.dependencies.hexapinod-framework.usecases.usecases can break src.core.hexapinod.usecases.subprocess_usecases, while a change to src.core.hexapinod.usecases.subprocess_usecases can't break src.dependencies.hexapinod-framework.usecases.usecases.
- Position
- Below the diagonal: src.core.hexapinod.usecases.subprocess_usecases uses a module listed above it, which is the healthy direction.
31→14 src.dependencies.hexapinod-framework.model.ormwrapper uses src.core.hexapinod.interfaces.repositories.repository_interface✕
- Connections
- 1 pair of types, where a type in src.dependencies.hexapinod-framework.model.ormwrapper uses a type in src.core.hexapinod.interfaces.repositories.repository_interface.
- The types involved
src.dependencies.hexapinod-framework.model.ormwrapper.OrmWrapper→src.core.hexapinod.interfaces.repositories.repository_interface.IRepository
- Direction
- src.dependencies.hexapinod-framework.model.ormwrapper uses src.core.hexapinod.interfaces.repositories.repository_interface, so a change to src.core.hexapinod.interfaces.repositories.repository_interface can break src.dependencies.hexapinod-framework.model.ormwrapper, while a change to src.dependencies.hexapinod-framework.model.ormwrapper can't break src.core.hexapinod.interfaces.repositories.repository_interface.
- Position
- Below the diagonal: src.dependencies.hexapinod-framework.model.ormwrapper uses a module listed above it, which is the healthy direction.
32→17 src.dependencies.hexapinod-framework.service-manager.servicemanager uses src.dependencies.hexapinod-framework.service-manager.service✕
- Connections
- 1 pair of types, where a type in src.dependencies.hexapinod-framework.service-manager.servicemanager uses a type in src.dependencies.hexapinod-framework.service-manager.service.
- The types involved
src.dependencies.hexapinod-framework.service-manager.servicemanager.ServiceManagerTool→src.dependencies.hexapinod-framework.service-manager.service.Service
- Direction
- src.dependencies.hexapinod-framework.service-manager.servicemanager uses src.dependencies.hexapinod-framework.service-manager.service, so a change to src.dependencies.hexapinod-framework.service-manager.service can break src.dependencies.hexapinod-framework.service-manager.servicemanager, while a change to src.dependencies.hexapinod-framework.service-manager.servicemanager can't break src.dependencies.hexapinod-framework.service-manager.service.
- Position
- Below the diagonal: src.dependencies.hexapinod-framework.service-manager.servicemanager uses a module listed above it, which is the healthy direction.
33→25 src.core.example.interfaces.repositories.example_interface uses src.core.example.models.example✕
- Connections
- 1 pair of types, where a type in src.core.example.interfaces.repositories.example_interface uses a type in src.core.example.models.example.
- The types involved
src.core.example.interfaces.repositories.example_interface.IExample→src.core.example.models.example.Example
- Direction
- src.core.example.interfaces.repositories.example_interface uses src.core.example.models.example, so a change to src.core.example.models.example can break src.core.example.interfaces.repositories.example_interface, while a change to src.core.example.interfaces.repositories.example_interface can't break src.core.example.models.example.
- Position
- Below the diagonal: src.core.example.interfaces.repositories.example_interface uses a module listed above it, which is the healthy direction.
34→26 src.core.example.interfaces.repositories.exampleorm_interface uses src.core.example.models.exampleorm✕
- Connections
- 1 pair of types, where a type in src.core.example.interfaces.repositories.exampleorm_interface uses a type in src.core.example.models.exampleorm.
- The types involved
src.core.example.interfaces.repositories.exampleorm_interface.IExampleOrm→src.core.example.models.exampleorm.ExampleOrm
- Direction
- src.core.example.interfaces.repositories.exampleorm_interface uses src.core.example.models.exampleorm, so a change to src.core.example.models.exampleorm can break src.core.example.interfaces.repositories.exampleorm_interface, while a change to src.core.example.interfaces.repositories.exampleorm_interface can't break src.core.example.models.exampleorm.
- Position
- Below the diagonal: src.core.example.interfaces.repositories.exampleorm_interface uses a module listed above it, which is the healthy direction.
35→18 src.core.example.usecases.example_usecases uses src.dependencies.hexapinod-framework.usecases.usecases✕
- Connections
- 1 pair of types, where a type in src.core.example.usecases.example_usecases uses a type in src.dependencies.hexapinod-framework.usecases.usecases.
- The types involved
src.core.example.usecases.example_usecases.ExampleUsecases→src.dependencies.hexapinod-framework.usecases.usecases.UseCases
- Direction
- src.core.example.usecases.example_usecases uses src.dependencies.hexapinod-framework.usecases.usecases, so a change to src.dependencies.hexapinod-framework.usecases.usecases can break src.core.example.usecases.example_usecases, while a change to src.core.example.usecases.example_usecases can't break src.dependencies.hexapinod-framework.usecases.usecases.
- Position
- Below the diagonal: src.core.example.usecases.example_usecases uses a module listed above it, which is the healthy direction.
35→25 src.core.example.usecases.example_usecases uses src.core.example.models.example✕
- Connections
- 1 pair of types, where a type in src.core.example.usecases.example_usecases uses a type in src.core.example.models.example.
- The types involved
src.core.example.usecases.example_usecases.ExampleUsecases→src.core.example.models.example.Example
- Direction
- src.core.example.usecases.example_usecases uses src.core.example.models.example, so a change to src.core.example.models.example can break src.core.example.usecases.example_usecases, while a change to src.core.example.usecases.example_usecases can't break src.core.example.models.example.
- Position
- Below the diagonal: src.core.example.usecases.example_usecases uses a module listed above it, which is the healthy direction.
36→14 src.core.hexapinod.services.ormrepositories_service uses src.core.hexapinod.interfaces.repositories.repository_interface✕
- Connections
- 1 pair of types, where a type in src.core.hexapinod.services.ormrepositories_service uses a type in src.core.hexapinod.interfaces.repositories.repository_interface.
- The types involved
src.core.hexapinod.services.ormrepositories_service.OrmRepositoriesService→src.core.hexapinod.interfaces.repositories.repository_interface.IRepository
- Direction
- src.core.hexapinod.services.ormrepositories_service uses src.core.hexapinod.interfaces.repositories.repository_interface, so a change to src.core.hexapinod.interfaces.repositories.repository_interface can break src.core.hexapinod.services.ormrepositories_service, while a change to src.core.hexapinod.services.ormrepositories_service can't break src.core.hexapinod.interfaces.repositories.repository_interface.
- Position
- Below the diagonal: src.core.hexapinod.services.ormrepositories_service uses a module listed above it, which is the healthy direction.
36→17 src.core.hexapinod.services.ormrepositories_service uses src.dependencies.hexapinod-framework.service-manager.service✕
- Connections
- 1 pair of types, where a type in src.core.hexapinod.services.ormrepositories_service uses a type in src.dependencies.hexapinod-framework.service-manager.service.
- The types involved
src.core.hexapinod.services.ormrepositories_service.OrmRepositoriesService→src.dependencies.hexapinod-framework.service-manager.service.Service
- Direction
- src.core.hexapinod.services.ormrepositories_service uses src.dependencies.hexapinod-framework.service-manager.service, so a change to src.dependencies.hexapinod-framework.service-manager.service can break src.core.hexapinod.services.ormrepositories_service, while a change to src.core.hexapinod.services.ormrepositories_service can't break src.dependencies.hexapinod-framework.service-manager.service.
- Position
- Below the diagonal: src.core.hexapinod.services.ormrepositories_service uses a module listed above it, which is the healthy direction.
36→31 src.core.hexapinod.services.ormrepositories_service uses src.dependencies.hexapinod-framework.model.ormwrapper✕
- Connections
- 1 pair of types, where a type in src.core.hexapinod.services.ormrepositories_service uses a type in src.dependencies.hexapinod-framework.model.ormwrapper.
- The types involved
src.core.hexapinod.services.ormrepositories_service.OrmRepositoriesService→src.dependencies.hexapinod-framework.model.ormwrapper.OrmWrapper
- Direction
- src.core.hexapinod.services.ormrepositories_service uses src.dependencies.hexapinod-framework.model.ormwrapper, so a change to src.dependencies.hexapinod-framework.model.ormwrapper can break src.core.hexapinod.services.ormrepositories_service, while a change to src.core.hexapinod.services.ormrepositories_service can't break src.dependencies.hexapinod-framework.model.ormwrapper.
- Position
- Below the diagonal: src.core.hexapinod.services.ormrepositories_service uses a module listed above it, which is the healthy direction.
37→14 src.dependencies.typeorm-wrapper.typeormwrapper uses src.core.hexapinod.interfaces.repositories.repository_interface✕
- Connections
- 1 pair of types, where a type in src.dependencies.typeorm-wrapper.typeormwrapper uses a type in src.core.hexapinod.interfaces.repositories.repository_interface.
- The types involved
src.dependencies.typeorm-wrapper.typeormwrapper.TypeOrmWrapper→src.core.hexapinod.interfaces.repositories.repository_interface.IRepository
- Direction
- src.dependencies.typeorm-wrapper.typeormwrapper uses src.core.hexapinod.interfaces.repositories.repository_interface, so a change to src.core.hexapinod.interfaces.repositories.repository_interface can break src.dependencies.typeorm-wrapper.typeormwrapper, while a change to src.dependencies.typeorm-wrapper.typeormwrapper can't break src.core.hexapinod.interfaces.repositories.repository_interface.
- Position
- Below the diagonal: src.dependencies.typeorm-wrapper.typeormwrapper uses a module listed above it, which is the healthy direction.
37→31 src.dependencies.typeorm-wrapper.typeormwrapper uses src.dependencies.hexapinod-framework.model.ormwrapper✕
- Connections
- 1 pair of types, where a type in src.dependencies.typeorm-wrapper.typeormwrapper uses a type in src.dependencies.hexapinod-framework.model.ormwrapper.
- The types involved
src.dependencies.typeorm-wrapper.typeormwrapper.TypeOrmWrapper→src.dependencies.hexapinod-framework.model.ormwrapper.OrmWrapper
- Direction
- src.dependencies.typeorm-wrapper.typeormwrapper uses src.dependencies.hexapinod-framework.model.ormwrapper, so a change to src.dependencies.hexapinod-framework.model.ormwrapper can break src.dependencies.typeorm-wrapper.typeormwrapper, while a change to src.dependencies.typeorm-wrapper.typeormwrapper can't break src.dependencies.hexapinod-framework.model.ormwrapper.
- Position
- Below the diagonal: src.dependencies.typeorm-wrapper.typeormwrapper uses a module listed above it, which is the healthy direction.
38→19 src.infrastructure.repositories.example_repo uses src.dependencies.mysql-manager.dbmanager✕
- Connections
- 1 pair of types, where a type in src.infrastructure.repositories.example_repo uses a type in src.dependencies.mysql-manager.dbmanager.
- The types involved
src.infrastructure.repositories.example_repo.ExampleRepository→src.dependencies.mysql-manager.dbmanager.DBManager
- Direction
- src.infrastructure.repositories.example_repo uses src.dependencies.mysql-manager.dbmanager, so a change to src.dependencies.mysql-manager.dbmanager can break src.infrastructure.repositories.example_repo, while a change to src.infrastructure.repositories.example_repo can't break src.dependencies.mysql-manager.dbmanager.
- Position
- Below the diagonal: src.infrastructure.repositories.example_repo uses a module listed above it, which is the healthy direction.
38→25 src.infrastructure.repositories.example_repo uses src.core.example.models.example✕
- Connections
- 1 pair of types, where a type in src.infrastructure.repositories.example_repo uses a type in src.core.example.models.example.
- The types involved
src.infrastructure.repositories.example_repo.ExampleRepository→src.core.example.models.example.Example
- Direction
- src.infrastructure.repositories.example_repo uses src.core.example.models.example, so a change to src.core.example.models.example can break src.infrastructure.repositories.example_repo, while a change to src.infrastructure.repositories.example_repo can't break src.core.example.models.example.
- Position
- Below the diagonal: src.infrastructure.repositories.example_repo uses a module listed above it, which is the healthy direction.
38→33 src.infrastructure.repositories.example_repo uses src.core.example.interfaces.repositories.example_interface✕
- Connections
- 1 pair of types, where a type in src.infrastructure.repositories.example_repo uses a type in src.core.example.interfaces.repositories.example_interface.
- The types involved
src.infrastructure.repositories.example_repo.ExampleRepository→src.core.example.interfaces.repositories.example_interface.IExample
- Direction
- src.infrastructure.repositories.example_repo uses src.core.example.interfaces.repositories.example_interface, so a change to src.core.example.interfaces.repositories.example_interface can break src.infrastructure.repositories.example_repo, while a change to src.infrastructure.repositories.example_repo can't break src.core.example.interfaces.repositories.example_interface.
- Position
- Below the diagonal: src.infrastructure.repositories.example_repo uses a module listed above it, which is the healthy direction.
39→26 src.infrastructure.repositories.exampleorm_typeorm_repo uses src.core.example.models.exampleorm✕
- Connections
- 1 pair of types, where a type in src.infrastructure.repositories.exampleorm_typeorm_repo uses a type in src.core.example.models.exampleorm.
- The types involved
src.infrastructure.repositories.exampleorm_typeorm_repo.ExampleRepository→src.core.example.models.exampleorm.ExampleOrm
- Direction
- src.infrastructure.repositories.exampleorm_typeorm_repo uses src.core.example.models.exampleorm, so a change to src.core.example.models.exampleorm can break src.infrastructure.repositories.exampleorm_typeorm_repo, while a change to src.infrastructure.repositories.exampleorm_typeorm_repo can't break src.core.example.models.exampleorm.
- Position
- Below the diagonal: src.infrastructure.repositories.exampleorm_typeorm_repo uses a module listed above it, which is the healthy direction.
39→34 src.infrastructure.repositories.exampleorm_typeorm_repo uses src.core.example.interfaces.repositories.exampleorm_interface✕
- Connections
- 1 pair of types, where a type in src.infrastructure.repositories.exampleorm_typeorm_repo uses a type in src.core.example.interfaces.repositories.exampleorm_interface.
- The types involved
src.infrastructure.repositories.exampleorm_typeorm_repo.ExampleRepository→src.core.example.interfaces.repositories.exampleorm_interface.IExampleOrm
- Direction
- src.infrastructure.repositories.exampleorm_typeorm_repo uses src.core.example.interfaces.repositories.exampleorm_interface, so a change to src.core.example.interfaces.repositories.exampleorm_interface can break src.infrastructure.repositories.exampleorm_typeorm_repo, while a change to src.infrastructure.repositories.exampleorm_typeorm_repo can't break src.core.example.interfaces.repositories.exampleorm_interface.
- Position
- Below the diagonal: src.infrastructure.repositories.exampleorm_typeorm_repo uses a module listed above it, which is the healthy direction.
40→25 src.infrastructure.repositories.test.example_repo uses src.core.example.models.example✕
- Connections
- 1 pair of types, where a type in src.infrastructure.repositories.test.example_repo uses a type in src.core.example.models.example.
- The types involved
src.infrastructure.repositories.test.example_repo.ExampleRepository→src.core.example.models.example.Example
- Direction
- src.infrastructure.repositories.test.example_repo uses src.core.example.models.example, so a change to src.core.example.models.example can break src.infrastructure.repositories.test.example_repo, while a change to src.infrastructure.repositories.test.example_repo can't break src.core.example.models.example.
- Position
- Below the diagonal: src.infrastructure.repositories.test.example_repo uses a module listed above it, which is the healthy direction.
40→33 src.infrastructure.repositories.test.example_repo uses src.core.example.interfaces.repositories.example_interface✕
- Connections
- 1 pair of types, where a type in src.infrastructure.repositories.test.example_repo uses a type in src.core.example.interfaces.repositories.example_interface.
- The types involved
src.infrastructure.repositories.test.example_repo.ExampleRepository→src.core.example.interfaces.repositories.example_interface.IExample
- Direction
- src.infrastructure.repositories.test.example_repo uses src.core.example.interfaces.repositories.example_interface, so a change to src.core.example.interfaces.repositories.example_interface can break src.infrastructure.repositories.test.example_repo, while a change to src.infrastructure.repositories.test.example_repo can't break src.core.example.interfaces.repositories.example_interface.
- Position
- Below the diagonal: src.infrastructure.repositories.test.example_repo 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 — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 60 | High / Critical |
| A05:2025 — Injection | 3 | Medium |
| A07:2025 — Authentication Failures | 2 | High / Critical |
Roadmap
Immediately resolve the two leaked secrets in REDACTED and update the five outdated npm dependencies in package.json to secure the codebase. Establish a CI pipeline that builds and tests every push, integrating static analysis tools to ensure security regressions fail the build. Finally, define and centralize access control rules using a declarative model to make permissions reviewable and testable.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with REDACTED (2). | +8.5 pts | Low | Secret Scanning |
| Resolve the 5 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (5). | +4.9 pts | Low | Dependency Hygiene |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +4.8 pts | Medium | CI/CD gates |
| 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. | +4.8 pts | Medium | Security & performance tooling |
| Resolve the 14 Orphaned file finding(s) in Knowledge Freshness — start with model.ts, server.ts, typeorm.command.ts. | +2.2 pts | Medium | Knowledge Freshness |
| Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (2). | +1.9 pts | Low | Dependency Hygiene |
| 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. | +3.4 pts | Medium | Access Controls |
| Replace TypeORM synchronize: true with TypeORM migrations (`typeorm migration:generate` + `migrationsRun`) so the production schema can evolve safely and reproducibly. | +2.1 pts | Medium | Schema migrations |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Secret Scanning: Leaked secret: REDACTED |
| src/application/api/server.ts | 6.9 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 6.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| package.json | 7.5 | Mixed | Dependency Hygiene: Deprecated: eslint |
| src/application/cli/typeorm.command.ts | 7.8 | Mixed | Cyclomatic Complexity: TypeORMCommand.execute (cyclomatic 28) |
| src/dependencies/hexapinod-framework/model/model.ts | 7.8 | Mixed | Cyclomatic Complexity: Model.toObject (cyclomatic 23) |
| src/dependencies/logger/logger.ts | 7.8 | Mixed | Cognitive Complexity: LoggerTool.error (cognitive 17) |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| src/application/api/rest/middlewares/example/jwtauth.middleware.ts | 8.2 | Near-clean | Explicit Debt: TodoComment |
| src/dependencies/hexapinod-framework/service-manager/service.ts | 8.2 | Near-clean | Explicit Debt: TodoComment |
| src/dependencies/mysql-manager/dbmanager.ts | 8.2 | Near-clean | Explicit Debt: TodoComment |
| src/core/hexapinod/services/validator.service.ts | 8.5 | Near-clean | Cognitive Complexity: ValidatorService.loadValidatorSchemas (cognitive 22) |
| src/dependencies/hexapinod-framework/events/eventsmanager.ts | 8.5 | Near-clean | Cognitive Complexity: EventsManagerTool.readPath (cognitive 19) |
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. 68 of 71 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 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 — 71 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, 182 of 214 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 | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ 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
- D11 Test Reliability — 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. Test reliability NOT MEASURED: the JavaScript/TypeScript suite could not be re-run in the analyzer sandbox — the mocha run in the repository root produced no per-test report ([ERROR] Database error (ENOENT)). This is OUR limitation, not a defect in the repo — it is excluded from the score.
- D11 Test Reliability — 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. Test reliability for the mocha suite in the repository root was NOT MEASURED: the mocha run in the repository root produced no per-test report ([ERROR] Database error (ENOENT)). This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- 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-maintainer repository — bus factor is not applicable (2 contributor(s) across 123 commit(s) sampled, automation and bot accounts excluded). One of them holds 99% of the history; the other 1 hold 1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D22 Internal API Consistency — 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. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: it declares a published package (package.json), but no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- 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.
- AX7 Slice cohesion — 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. 4 slice(s) were resolved from namespaces or project layout, but not one field or property type reference in them resolved to a type this analyzer had read. Cross-slice coupling is detected by following those references, so scoring the set anyway would report every slice as perfectly cohesive on the strength of having followed nothing.
- 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 DevServer (dev). the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence.
- C1 Data Protection — 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. 'mysql' is imported (src/dependencies/mysql-manager/dbmanager.ts:1), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C3 Audit Trail — 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. 'mysql' is imported (src/dependencies/mysql-manager/dbmanager.ts:1), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C4 Data Retention — 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. 'mysql' is imported (src/dependencies/mysql-manager/dbmanager.ts:1), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C5 Data-Subject Rights — 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. 'mysql' is imported (src/dependencies/mysql-manager/dbmanager.ts:1), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- DM9 Scattered domain decisions — 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. Arm two tells a construction that PRODUCES a measurement from one that merely passes it along, and this repository's frontend does not compute that fact. A measurement built independently in two places would not appear above.
- 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 none applies: this repository publishes a library and deploys nothing (no container, IaC or deployment manifest), so it holds no runtime state of its own. Any data-access dependency it declares is the store it is a CLIENT for, not one it operates. The DR control belongs to whoever runs that data.
- 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. 34 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.
- X2 Cancellation propagation — 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, Go, PHP, Dart, Kotlin, Ruby, Scala, Java, Python and Rust source only, and no C# was loaded, and no named async function in this repository's JavaScript/TypeScript, nor any Go, PHP or Dart function or Kotlin suspend function, makes a request that can be cancelled (fetch, axios, ky, ofetch; net/http, net.Dial; amphp; Dio; Ktor, OkHttp), so there is nothing to judge, 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.
- 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.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- 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.
- 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.
- 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 Dockerfile (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.
- 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.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- 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.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
2 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was TypeORMCommand.execute at 28.
What to do
- Bring the 2 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with TypeORMCommand.execute (cyclomatic 28), Model.toObject (cyclomatic 23). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cyclomatic Complexity from 9.2 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Stand up a CI pipeline, then gate Cyclomatic Complexity 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.
D2 · Cognitive Complexity
6 method(s) exceeded the cognitive complexity threshold of 15; the worst was Model.toObject at 39.
What to do
- Bring the 1 body over 30 down to 30 or less in Cognitive Complexity — start with Model.toObject (cognitive 39). — Refactoring it lifts Cognitive Complexity from 7.2 to about 7.9/10.
- Stand up a CI pipeline, then gate Cognitive Complexity 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.
D3 · God Classes
0 god class(es) detected.
D6 · Cohesion (LCOM4)
0 of 13 classes have LCOM4 above 3.
D9 · Test Distribution
3 test methods: 3 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 3 `it`/`test` case(s) across 2 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 3 tests.
D12 · Dependency Hygiene
24 outdated direct production npm dependency(ies) of 28 graded, 0 pinning defect(s), across 1 package.json (1 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 1 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 5 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (5). — One of this dimension's main actionable groups (5 recommendation-level).
- Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (2). — One of this dimension's main actionable groups (2 recommendation-level).
- Resolve the 1 Deprecated finding(s) in Dependency Hygiene — start with package.json. — One of this dimension's main actionable groups (1 warning-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 2 Leaked secret finding(s) in Secret Scanning — start with REDACTED (2). — One of this dimension's main actionable groups (2 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 28 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 28 production dependency(ies) this repository's committed lockfile resolves, across 1 product package.json manifest(s). Its 19 `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. This repository publishes itself under MIT license, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
Top hotspots: src/application/cli/typeorm.command.ts (9×28=252)
What to do
- Resolve the 1 Hotspot finding(s) in Churn × Complexity Hotspots — start with typeorm.command.ts. — One of this dimension's main actionable groups (1 warning-level).
D17 · Explicit Debt
6 deducted task-comment markers across 4285 LoC (0.1/KLoC) → score 9.8. 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.
What to do
- Resolve the 6 TodoComment finding(s) in Explicit Debt — start with server.ts (3), jwtauth.middleware.ts, service.ts. — One of this dimension's main actionable groups (6 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt 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.
D19 · Documentation Quality
The root Hexapinod README is excellent at explaining what the project is (a hexagonal architecture API framework/skeleton for TypeScript/node/express), its motivation, and a strong rationale for why it uses KISS principles rather than the full hexagonal structure. It also documents the three main directories (application, core, infrastructure) with their contents and a use-case example in each of them, plus an overview of prerequisites, installation, usage, and contribution guidance. The architecture/Docs markdown files are empty but the outline is present for every named document, so any gaps there would not be flagged as missing from this summary. All visible documents (application, core, infrastructure) are READMEs of their own directories rather than a single repository root README; each has its own overview and examples.
What to do
- Improve Documentation Quality — currently 8.0/10. — The root Hexapinod README is excellent at explaining what the project is (a hexagonal architecture API framework/skeleton for TypeScript/node/express), its motivation, and a strong rationale for why it uses KISS principles rather than the full hexagonal structure. It also documents the three main directories (application, core, infrastructure) with their contents and a use-case example in each of them, plus an overview of prerequisites, installation, usage, and contribution guidance. The architecture/Docs markdown files are empty but the outline is present for every named document, so any gaps there would not be flagged as missing from this summary. All visible documents (application, core, infrastructure) are READMEs of their own directories rather than a single repository root README; each has its own overview and examples.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
0 of 1 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)
3 finding(s): 0 critical, 0 high, 3 medium, 0 low.
What to do
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-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
60 finding(s): 11 critical, 33 high, 12 medium, 4 low.
What to do
- Resolve the 32 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (32). — One of this dimension's main actionable groups (32 issue-level).
- Resolve the 11 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (11). — One of this dimension's main actionable groups (11 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).
D34 · Knowledge Freshness
14 of 14 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/dependencies/hexapinod-framework/model/model.ts. Counted over 14 of the 34 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 14 Orphaned file finding(s) in Knowledge Freshness — start with model.ts, server.ts, typeorm.command.ts. — One of this dimension's main actionable groups (14 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 28 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
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
AX5 · Architecture & structure
AX6 · Interface segregation
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.
- Only 1 place(s) refuse an unauthorized caller — too few to demonstrate default-deny across handlers.
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.
- Enforce authorization at every handler — a guard on each route, or a global authentication guard/middleware with explicit public opt-outs, so protected-by-default is demonstrable.
DM6 · Domain ↔ infrastructure boundary
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- A bare `eslint-disable` or `@ts-nocheck` with no rule list switches every lint rule or the whole type checker off for the rest of the file — hidden debt. Disable the specific rule on the specific line, with a justification, instead. (×8) — src/dependencies/hexapinod-framework/service-manager/servicemanager.ts:154, src/dependencies/logger/logger.ts:71, src/dependencies/logger/logger.ts:90, …
What to do
- 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.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
- README claims PM2 service management but the evidence shows no pm2 dependency or usage — searched for: `pm2`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest and configuration files (package.json and other *.json, *.csproj, *.props, *.sln/*.slnx, *.yml, *.toml, *.config, tool configs such as eslint.config.js, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:1
What to do
- Reconcile the README with reality: README claims PM2 service management but the evidence shows no pm2 dependency or usage.
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
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 72 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:72
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 91 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:91
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 96 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:96
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 98 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:98
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 119 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:119
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 123 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:123
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 125 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:125
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 127 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:127
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 147 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:147
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 152 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:152
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 156 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:156
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 157 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:157
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 158 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:158
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 171 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:171
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 174 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:174
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 178 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:178
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 196 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:196
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 201 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:201
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 205 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:205
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 206 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:206
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 207 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:207
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 221 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:221
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 224 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:224
- `src/dependencies/logger/logger.ts` reports through `console.*` at line 228 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/dependencies/logger/logger.ts:228
What to do
- Route service-code `console.*` output through the module's structured logger (with named fields), so delivery outcomes and failures reach the log pipeline with a level.
- Add OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) so requests are traceable across the system, not just health-probable.
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.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
P8 · Schema migrations
- TypeORM synchronize: true builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database — a renamed column is dropped and re-added rather than migrated. Adopt TypeORM migrations (`typeorm migration:generate` + `migrationsRun`), so every schema change is a versioned file applied the same way in every environment. — config/dependencies/typeorm.json:9
What to do
- Replace TypeORM synchronize: true with TypeORM migrations (`typeorm migration:generate` + `migrationsRun`) so the production schema can evolve safely and reproducibly.
PF3 · Async & latency hygiene
- `fs.readdirSync` in `initializeRoutes` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/application/api/rest/routes/index.ts:18
- `fs.existsSync` in `initializeRoutes` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/application/api/rest/routes/index.ts:21
- `fs.lstatSync` in `initializeRoutes` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/application/api/rest/routes/index.ts:21
- `fs.readdirSync` in `importCommands` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/application/cli/basecommand.ts:105
- `fs.existsSync` in `getRepositoryByName` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — REDACTED:60
- `fs.readdirSync` in `loadValidatorSchemas` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. (×2) — src/core/hexapinod/services/validator.service.ts:73, src/core/hexapinod/services/validator.service.ts:81
- `fs.existsSync` in `loadValidatorSchemas` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/core/hexapinod/services/validator.service.ts:77
- `fs.readdirSync` in `initializeListenersBundle` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/dependencies/hexapinod-framework/events/eventsmanager.ts:76
- `fs.existsSync` in `readPath` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/dependencies/hexapinod-framework/events/eventsmanager.ts:98
- `fs.readdirSync` in `readPath` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/dependencies/hexapinod-framework/events/eventsmanager.ts:101
- `fs.readdirSync` in `initializeServiceBundle` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/dependencies/hexapinod-framework/service-manager/servicemanager.ts:81
- `fs.readdirSync` in `initializeServicesClass` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — src/dependencies/hexapinod-framework/service-manager/servicemanager.ts:103
What to do
- TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
R1 · Type Safety
R10 · Code Duplication
- src/dependencies/logger/logger.ts:152 · src/dependencies/logger/logger.ts:201 — 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/dependencies/logger/logger.ts:152
- src/dependencies/hexapinod-framework/events/eventsmanager.ts:62 · src/dependencies/hexapinod-framework/service-manager/servicemanager.ts:68 — 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. — src/dependencies/hexapinod-framework/events/eventsmanager.ts:62
- src/application/api/wsserver.ts:147 · src/application/api/wsserver.ts:184 — 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/application/api/wsserver.ts:147
- src/application/cli/typeorm.command.ts:133 · src/application/cli/typeorm.command.ts:147 · src/application/cli/typeorm.command.ts:161 — all 3 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/application/cli/typeorm.command.ts:133
- src/dependencies/logger/logger.ts:74 · src/dependencies/logger/logger.ts:102 — 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/dependencies/logger/logger.ts:74
- src/application/cli/typeorm.command.ts:117 · src/application/cli/typeorm.command.ts:184 — 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/application/cli/typeorm.command.ts:117
- src/dependencies/hexapinod-framework/model/model.ts:97 · src/dependencies/hexapinod-framework/model/model.ts:208 — 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/dependencies/hexapinod-framework/model/model.ts:97
- src/dependencies/hexapinod-framework/model/model.ts:248 · src/dependencies/hexapinod-framework/model/model.ts:271 — 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/dependencies/hexapinod-framework/model/model.ts:248
- src/dependencies/hexapinod-framework/model/model.ts:27 · src/dependencies/hexapinod-framework/model/model.ts:49 · src/dependencies/hexapinod-framework/model/model.ts:71 · src/dependencies/hexapinod-framework/model/model.ts:116 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. — src/dependencies/hexapinod-framework/model/model.ts:27
- src/dependencies/logger/logger.ts:131 · src/dependencies/logger/logger.ts:179 — 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/dependencies/logger/logger.ts:131
- src/dependencies/hexapinod-framework/model/model.ts:142 · src/dependencies/hexapinod-framework/model/model.ts:164 · src/dependencies/hexapinod-framework/model/model.ts:186 · src/dependencies/hexapinod-framework/model/model.ts:231 · +1 more site(s) not listed — all 5 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/dependencies/hexapinod-framework/model/model.ts:142
- src/dependencies/hexapinod-framework/model/model.ts:137 · src/dependencies/hexapinod-framework/model/model.ts:159 · src/dependencies/hexapinod-framework/model/model.ts:181 · src/dependencies/hexapinod-framework/model/model.ts:203 · +1 more site(s) not listed — all 5 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/dependencies/hexapinod-framework/model/model.ts:137
- src/application/cli/basecommand.ts:105 · src/dependencies/hexapinod-framework/service-manager/servicemanager.ts:103 — the two spans are one implementation copied and then locally edited — 84 tokens are still identical, in the same order in both files, 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/application/cli/basecommand.ts:105
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.
R11 · Import Boundaries
R2 · Cyclomatic Complexity
- execute has cyclomatic complexity 28 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/application/cli/typeorm.command.ts:44
- toObject has cyclomatic complexity 19 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/dependencies/hexapinod-framework/model/model.ts:356
- error has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/dependencies/logger/logger.ts:141
- success has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/dependencies/logger/logger.ts:190
- errorMiddleware has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/application/api/rest/middlewares/error.middleware.ts:22
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- src/dependencies/hexapinod-framework/model/model.ts has 413 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — src/dependencies/hexapinod-framework/model/model.ts:1
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R5 · Dependency Freshness
- 42 outdated package(s); JS/npm CVEs scored in D30
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
R7 · Dead Code
- Unreachable from the 3 application, 0 tooling and 3 test entry point(s) detected in this repo. Gate removals on `npm run test-unit` — an undetected custom entry would make these reachable.
- no import path from any entry point (3 application, 0 tooling, 3 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (REDACTED) — 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/dependencies/hexapinod-framework/model/model.ts
- no import path from any entry point (3 application, 0 tooling, 3 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 (×6) — src/application/cli/typeorm.command.ts, src/core/hexapinod/services/validator.service.ts, src/core/hexapinod/services/ormrepositories.service.ts, …
- no import path from any entry point (3 application, 0 tooling, 3 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/core/hexapinod/services/ormrepositories.service.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/dependencies/typeorm-wrapper/typeormwrapper.ts
- no import path from any entry point (3 application, 0 tooling, 3 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/core/hexapinod/services/ormrepositories.service.ts, src/dependencies/typeorm-wrapper/typeormwrapper.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/dependencies/hexapinod-framework/model/ormwrapper.ts
- no import path from any entry point (3 application, 0 tooling, 3 test roots considered), but 4 in-repo import(s) from 4 other file(s) do name it (src/core/hexapinod/services/ormrepositories.service.ts, REDACTED, src/dependencies/hexapinod-framework/model/ormwrapper.ts and 1 more) — 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/core/hexapinod/interfaces/repositories/repository.interface.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
- Imported but not declared in any reachable package.json — installs work only by hoisting accident. — src/application/api/server.ts:17
- 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
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
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
X4 · Structured logging
- `log` at line 221 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — src/application/api/server.ts:221
- `warn` at line 227 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.warn({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.warn('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — src/application/api/server.ts:227
- `error` at line 213 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.error({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.error('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — src/application/cli/typeorm.command.ts:213
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- 0/1 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
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 `?`).
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 47% | Weak — gated by R7, X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 92% | Exemplary | Solid. |
| Maturity | 50% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 28% | Weak — gated by R8, P1, P3, P8 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 43% | Weak — gated by D30, C2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 100% | Exemplary | Strongest area. |
| Performance | 60% | Adequate | Acceptable, with room to improve. |
Not evidenced — 5 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: this repository stores data through 'mysql' (src/dependencies/mysql-manager/dbmanager.ts:1) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether its changes need an audit trail could not be established, and the trail's absence is not scored.
- C4 Data Retention — Not assessed: this repository stores data through 'mysql' (src/dependencies/mysql-manager/dbmanager.ts:1) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether a retention limit applies here could not be established, and its absence is not scored.
- C5 Data-Subject Rights — Not assessed: this repository stores data through 'mysql' (src/dependencies/mysql-manager/dbmanager.ts:1) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether data-subject rights apply here could not be established, and their absence is not scored.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 64 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: 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).
- AX4 Dependency direction — not applicable to a vertical-slice architecture (the inward-dependency rule is for layered/clean styles)
- AX7 Slice cohesion — 4 slice(s) were identified, but none of their field/property type references could be resolved to a type in this repository, so no cross-slice reference could be followed. This is a limitation of the analyzer's type resolution on this language, not a finding about the repository.
- 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 — the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence 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 — Not assessed: this repository stores data through 'mysql' (src/dependencies/mysql-manager/dbmanager.ts:1) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so the absence of a personal-data field here is not evidence that none is stored, and encryption at rest is not scored over a subject that could not be established.
- D11 Test Reliability — Test reliability not measured — JavaScript/TypeScript suite did not run
- D16 Bus Factor — single-maintainer 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 — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- 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 (.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.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- 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 (.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.
- D5 Coupling — Not applicable — this npm build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
- 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 — Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the repository root runs mocha but declares no coverage provider, so the suite can run and still produce no lcov — add `c8` (or `nyc`) as a devDependency so the suite can be wrapped for coverage. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- DM1 Aggregate boundaries — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM10 One transaction, one aggregate — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM2 Strongly-typed ids — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM3 Integration-event coupling — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM4 Rich vs anemic model — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM5 Encapsulated state — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM7 Repository granularity — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- 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
- P12 CI test-gate honesty — no CI workflow found
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HTTP client call or construction in the JavaScript/TypeScript source (service entry point: src/application/api/server.ts:70 (express()))
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) 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.
- R4 Test Coverage — 3 test file(s) reach none of 32 production file(s) via imports — exercised outside the JS import graph (integration/bundled), not import-reachable
- S1 Web-Security Posture — Not assessed: 34 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.
- X2 Cancellation propagation — 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
- 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.
- 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 — 47 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
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Unlisted import 'swagger-ui-express' src/application/api/server.ts:17
Serious — 80 finding(s)
- Sync-over-async blocking src/application/api/rest/routes/index.ts:18
- Sync-over-async blocking src/application/api/rest/routes/index.ts:21
- Sync-over-async blocking src/application/api/rest/routes/index.ts:21
- Sync-over-async blocking src/application/cli/basecommand.ts:105
- Sync-over-async blocking REDACTED:60
- Sync-over-async blocking src/core/hexapinod/services/validator.service.ts:73
- Sync-over-async blocking src/core/hexapinod/services/validator.service.ts:77
- Sync-over-async blocking src/core/hexapinod/services/validator.service.ts:81
- Sync-over-async blocking src/dependencies/hexapinod-framework/events/eventsmanager.ts:76
- Sync-over-async blocking src/dependencies/hexapinod-framework/events/eventsmanager.ts:98
- Sync-over-async blocking src/dependencies/hexapinod-framework/events/eventsmanager.ts:101
- Sync-over-async blocking src/dependencies/hexapinod-framework/service-manager/servicemanager.ts:81
- Sync-over-async blocking src/dependencies/hexapinod-framework/service-manager/servicemanager.ts:103
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- TodoComment src/application/api/server.ts:148
- TodoComment src/application/api/server.ts:152
- TodoComment src/application/api/server.ts:187
- TodoComment src/application/api/rest/middlewares/example/jwtauth.middleware.ts:8
- TodoComment src/dependencies/hexapinod-framework/service-manager/service.ts:3
- TodoComment src/dependencies/mysql-manager/dbmanager.ts:47
- REDACTED
- REDACTED
- Duplicated block (14 lines × 2 locations) src/application/api/wsserver.ts:147
- Duplicated block (14 lines × 2 locations) src/dependencies/logger/logger.ts:74
- Duplicated block (12 lines × 2 locations) src/dependencies/hexapinod-framework/model/model.ts:97
- Duplicated block (12 lines × 2 locations) src/dependencies/hexapinod-framework/model/model.ts:248
- TypeORMCommand.execute (cyclomatic 28) src/application/cli/typeorm.command.ts:44
- Model.toObject (cyclomatic 23) src/dependencies/hexapinod-framework/model/model.ts:356
- Deprecated: eslint package.json:52
- Hotspot: src/application/cli/typeorm.command.ts src/application/cli/typeorm.command.ts:44
- Model.toObject (cognitive 39) src/dependencies/hexapinod-framework/model/model.ts:356
- TypeORMCommand.execute (cognitive 27) src/application/cli/typeorm.command.ts:44
- ValidatorService.loadValidatorSchemas (cognitive 22) src/core/hexapinod/services/validator.service.ts:67
- EventsManagerTool.readPath (cognitive 19) src/dependencies/hexapinod-framework/events/eventsmanager.ts:97
- LoggerTool.error (cognitive 17) src/dependencies/logger/logger.ts:141
- LoggerTool.success (cognitive 17) src/dependencies/logger/logger.ts:190
- REDACTED
- REDACTED
- Coverage not measured — JavaScript/TypeScript suite
- No CI pipeline
- Schema created by TypeORM synchronize: true (no migration path) config/dependencies/typeorm.json:9
- Duplicated block (21 lines × 2 locations) src/dependencies/logger/logger.ts:152
- Duplicated block (15 lines × 2 locations) src/dependencies/hexapinod-framework/events/eventsmanager.ts:62
- Duplicated block (14 lines × 3 locations) src/application/cli/typeorm.command.ts:133
- Duplicated block (13 lines × 2 locations) src/application/cli/typeorm.command.ts:117
- Duplicated block (11 lines × 4 locations) src/dependencies/hexapinod-framework/model/model.ts:27
- Duplicated block (11 lines × 2 locations) src/dependencies/logger/logger.ts:131
- Duplicated block (9 lines × 5 locations) src/dependencies/hexapinod-framework/model/model.ts:142
- Duplicated block (6 lines × 5 locations) src/dependencies/hexapinod-framework/model/model.ts:137
- Duplicated block with local edits (5 matched lines × 2 locations) src/application/cli/basecommand.ts:105
- Complex function execute (cyclomatic 28, cognitive 27) src/application/cli/typeorm.command.ts:44
- Complex function toObject (cyclomatic 19, cognitive 38) src/dependencies/hexapinod-framework/model/model.ts:356
- Complex function error (cyclomatic 12, cognitive 21) src/dependencies/logger/logger.ts:141
- Complex function success (cyclomatic 12, cognitive 21) src/dependencies/logger/logger.ts:190
- Complex function errorMiddleware (cyclomatic 11, cognitive 16) src/application/api/rest/middlewares/error.middleware.ts:22
- src/dependencies/hexapinod-framework/model/model.ts: 413 lines of code src/dependencies/hexapinod-framework/model/model.ts:1
- Dependency Freshness
- Dead file (~437 LoC) src/dependencies/hexapinod-framework/model/model.ts
- Dead file (~235 LoC) src/application/cli/typeorm.command.ts
- Dead file (~131 LoC) src/core/hexapinod/services/validator.service.ts
- Dead file (~85 LoC) src/core/hexapinod/services/ormrepositories.service.ts
- Dead file (~73 LoC) REDACTED
- Dead file (~72 LoC) src/dependencies/typeorm-wrapper/typeormwrapper.ts
- Dead file (~56 LoC) src/application/cli/example.command.ts
- Dead file (~43 LoC) src/dependencies/hexapinod-framework/model/ormwrapper.ts
- Dead file (~23 LoC) src/application/api/apicallwrapper.ts
- Dead file (~13 LoC) src/core/hexapinod/interfaces/repositories/repository.interface.ts
- Unused dependency 'bcryptjs'
- Unused dependency 'body-parser'
- Unused dependency 'chai-http'
Minor — 68 finding(s)
- Console output used as the logging channel src/dependencies/logger/logger.ts:72
- Console output used as the logging channel src/dependencies/logger/logger.ts:91
- Console output used as the logging channel src/dependencies/logger/logger.ts:96
- Console output used as the logging channel src/dependencies/logger/logger.ts:98
- Console output used as the logging channel src/dependencies/logger/logger.ts:119
- Console output used as the logging channel src/dependencies/logger/logger.ts:123
- Console output used as the logging channel src/dependencies/logger/logger.ts:125
- Console output used as the logging channel src/dependencies/logger/logger.ts:127
- Console output used as the logging channel src/dependencies/logger/logger.ts:147
- Console output used as the logging channel src/dependencies/logger/logger.ts:152
- Console output used as the logging channel src/dependencies/logger/logger.ts:156
- Console output used as the logging channel src/dependencies/logger/logger.ts:157
- Console output used as the logging channel src/dependencies/logger/logger.ts:158
- Console output used as the logging channel src/dependencies/logger/logger.ts:171
- Console output used as the logging channel src/dependencies/logger/logger.ts:174
- Console output used as the logging channel src/dependencies/logger/logger.ts:178
- Console output used as the logging channel src/dependencies/logger/logger.ts:196
- Console output used as the logging channel src/dependencies/logger/logger.ts:201
- Console output used as the logging channel src/dependencies/logger/logger.ts:205
- Console output used as the logging channel src/dependencies/logger/logger.ts:206
- Console output used as the logging channel src/dependencies/logger/logger.ts:207
- Console output used as the logging channel src/dependencies/logger/logger.ts:221
- Console output used as the logging channel src/dependencies/logger/logger.ts:224
- Console output used as the logging channel src/dependencies/logger/logger.ts:228
- Orphaned file src/dependencies/hexapinod-framework/model/model.ts:1
- Orphaned file src/application/api/server.ts:1
- Orphaned file src/application/cli/typeorm.command.ts:1
- Orphaned file src/application/api/wsserver.ts:1
- Orphaned file src/dependencies/logger/logger.ts:1
- Orphaned file src/dependencies/mysql-manager/dbmanager.ts:1
- Orphaned file src/dependencies/hexapinod-framework/events/eventsmanager.ts:1
- Orphaned file src/dependencies/hexapinod-framework/service-manager/service.ts:1
- Orphaned file src/dependencies/hexapinod-framework/service-manager/servicemanager.ts:1
- Orphaned file src/dependencies/configuration-reader/configurationreader.ts:1
- Orphaned file src/core/hexapinod/services/validator.service.ts:1
- Orphaned file REDACTED:1
- Orphaned file src/application/cli/basecommand.ts:1
- Orphaned file src/application/api/rest/middlewares/error.middleware.ts:1
- Blanket warning suppression src/dependencies/hexapinod-framework/service-manager/servicemanager.ts:154
- Blanket warning suppression src/dependencies/logger/logger.ts:71
- Blanket warning suppression src/dependencies/logger/logger.ts:90
- Blanket warning suppression src/dependencies/logger/logger.ts:94
- Blanket warning suppression src/dependencies/logger/logger.ts:118
- Blanket warning suppression src/dependencies/logger/logger.ts:122
- Blanket warning suppression src/dependencies/logger/logger.ts:142
- Blanket warning suppression src/dependencies/logger/logger.ts:191
- Outdated (npm): commander package.json:20
- Outdated (npm): dotenv package.json:22
- Outdated (npm): helmet package.json:29
- Outdated (npm): inquirer package.json:30
- Outdated (npm): public-ip package.json:34
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Interpolated log message defeats structured logging src/application/api/server.ts:221
- Interpolated log message defeats structured logging src/application/api/server.ts:227
- Interpolated log message defeats structured logging src/application/cli/typeorm.command.ts:213
- Deprecated: formidable REDACTED:3392
- Deprecated: nomnom REDACTED:5079
- No named authorization policies
- Thin authorization enforcement
- Orphaned files with no living knowledge
- No ADRs
- README/code drift README.md:1
- No SAST
- No changelog
- Strict null checking is not enabled everywhere the repository type-checks
Minor — 19 finding(s)
- Outdated (npm): @socket.io/redis-adapter
- Outdated (npm): ajv
- Outdated (npm): ajv-formats
- Outdated (npm): bcryptjs
- Outdated (npm): body-parser
- Outdated (npm): chalk
- Outdated (npm): cors
- Outdated (npm): express
- Outdated (npm): express-jsdoc-swagger
- Outdated (npm): express-rate-limit
- Outdated (npm): express-validator
- Outdated (npm): flatted
- Outdated (npm): jsonwebtoken
- Outdated (npm): luxon
- Outdated (npm): redis
- Outdated (npm): reflect-metadata
- Outdated (npm): socket.io
- Outdated (npm): typeorm
- Outdated (npm): winston
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-1917a9561c504d3082ec2fb337964017/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-1917a9561c504d3082ec2fb337964017/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 . | 3 | 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 | 60 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| 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 |