Executive summary
leal32b/webapi-nodejs scores 39 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 Security and Compliance, which scores 28 and is rated Weak. Its Dependency Vulnerabilities dimension scores 0 out of 10, and until that reaches 4, Security and Compliance can't be rated higher than Adequate. The first actions are to resolve the 8 Leaked secret finding(s) in REDACTED Scanning and to resolve the 5 Deprecated finding(s) in Dependency Hygiene, and if Security and Compliance rose to 70, the score would rise from 39 to about 47.
57 findings are critical: 42 in Dependency Vulnerabilities, eight in REDACTED Scanning, four in Secrets (history), two in Static Analysis (SAST) and one in Circular Imports.
Watchdog couldn't measure 6 dimensions in this code, among them Code Coverage, Test Reliability and Internal API Consistency, so they are left out of the score. The product code is 4,683 lines, which would take an estimated 0.1 person-years, around €13,000, to rebuild.
If Security and Compliance rose from 28 to 70, the lowest score rated Strong, the score would rise from 39 to about 47.
New since the last survey: 42 findings
- Dependency Hygiene · Deprecated: @faker-js/faker package.json
- Dependency Hygiene · Deprecated: eslint package.json
- Dependency Hygiene · Deprecated: eslint-config-standard-with-typescript package.json
- Dependency Hygiene · Deprecated: jscpd package.json
- Dependency Hygiene · Deprecated: supertest package.json
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Test Coverage · No test reaches this file src/modules/identity/2.presentation/routes/confirm-email/confirm-email.path.ts
- Test Coverage · No test reaches this file src/common/4.main/scripts/init-persistence.ts
- Test Coverage · No test reaches this file src/common/4.main/server.ts
- Test Coverage · No test reaches this file src/modules/communication/4.main/factories/handlers/user-send-email-confirmation.handler.factory.ts
- Test Coverage · No test reaches this file src/modules/identity/4.main/factories/handlers/user-set-group.handler.factory.ts
- Test Coverage · No test reaches this file src/modules/communication/1.application/events/queues/user-send-email-confirmation.queue.ts
- Test Coverage · No test reaches this file src/common/4.main/setup/events/index.ts
- Test Coverage · No test reaches this file src/modules/communication/4.main/setup/handlers/communication.handlers.ts
- Test Coverage · No test reaches this file src/modules/identity/4.main/setup/handlers/identity.handlers.ts
- Test Coverage · No test reaches this file src/common/4.main/setup/handlers/index.ts
- Dead Code · Dead file (~85 LoC) src/modules/identity/2.presentation/routes/change-password/change-password.path.ts
- Dead Code · Dead file (~70 LoC) src/modules/identity/2.presentation/routes/sign-in/sign-in.path.ts
- Dead Code · Dead file (~70 LoC) src/modules/identity/2.presentation/routes/sign-up/sign-up.path.ts
- Dead Code · Dead file (~64 LoC) src/modules/identity/2.presentation/routes/group/create-group/create-group.path.ts
- Dead Code · Dead file (~60 LoC) src/modules/identity/2.presentation/routes/confirm-email/confirm-email.path.ts
- Dead Code · Dead file (~31 LoC) src/modules/identity/4.main/setup/webapp/identity.api-specification.ts
- Dependency Hygiene · Unused dependency 'git-commit-msg-linter'
- Schema migrations · Schema created by TypeORM synchronize: true outside the migrations src/common/3.infra/persistence/postgres/data-sources/postgres-test.data-source.ts
Fixed since the last survey: 14 findings
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA 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 CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
Rebuild cost: about €13,000 · Estimate
| Cost to rebuild | €4,400 to €22,000, for 74 to 235 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, 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 39. 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,683 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 src.common.0_domain.base.aggregate | 2 src.common.0_domain.base.domain-error | 3 src.common.0_domain.utils.either | 4 src.common.1_application.base.event | 5 src.common.1_application.events.message-broker | 6 src.common.1_application.middleware.middleware | 7 src.common.2_presentation.base.controller | 8 src.common.3_infra.persistence.mongodb.base.mongodb_fixture | 9 src.common.3_infra.persistence.postgres.base.postgres_fixture | 10 src.modules.identity.4_main.factories.controllers | 11 src.common.0_domain.base.entity | 12 src.common.0_domain.base.validator | 13 src.common.1_application.base.use-case | 14 src.common.2_presentation.errors.server_error | 15 src.common.0_domain.base.value-object | 16 src.common.0_domain.validators.date_validator | 17 src.common.0_domain.validators.email_validator | 18 src.common.0_domain.validators.html_validator | 19 src.common.0_domain.validators.locale_validator | 20 src.common.0_domain.validators.max-length_validator | 21 src.common.0_domain.validators.min-length_validator | 22 src.common.0_domain.validators.not-empty_validator | 23 src.common.3_infra.events.amqplib.amqplib_adapter | 24 src.common.3_infra.webapp.express.express_adapter | 25 src.modules.communication.0_domain.entities.email_entity | 26 src.modules.identity.0_domain.entities.group_entity | 27 test.common._doubles.mocks.message-broker_mock | 28 src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter | 29 src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object | 30 src.modules.identity.0_domain.value-objects.user_password_value-object | 31 src.modules.identity.0_domain.value-objects.user_token_value-object | 32 src.modules.identity.1_application.use-cases.create-group_use-case | 33 test.common._doubles.stubs | 34 src.modules.identity.0_domain.entities.user_entity | 35 src.modules.identity.0_domain.aggregates.user_aggregate | 36 src.modules.identity.1_application.use-cases.change-password_use-case | 37 src.modules.identity.1_application.use-cases.confirm-email_use-case | 38 src.modules.identity.1_application.use-cases.sign-in_use-case | 39 src.modules.identity.1_application.use-cases.sign-up_use-case | 40 test.modules.identity.2_presentation.controllers |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 src.common.0_domain.base.aggregate | ||||||||||||||||||||||||||||||||||||||||
| 2 src.common.0_domain.base.domain-error | ||||||||||||||||||||||||||||||||||||||||
| 3 src.common.0_domain.utils.either | ||||||||||||||||||||||||||||||||||||||||
| 4 src.common.1_application.base.event | ||||||||||||||||||||||||||||||||||||||||
| 5 src.common.1_application.events.message-broker | ||||||||||||||||||||||||||||||||||||||||
| 6 src.common.1_application.middleware.middleware | ||||||||||||||||||||||||||||||||||||||||
| 7 src.common.2_presentation.base.controller | ||||||||||||||||||||||||||||||||||||||||
| 8 src.common.3_infra.persistence.mongodb.base.mongodb_fixture | ||||||||||||||||||||||||||||||||||||||||
| 9 src.common.3_infra.persistence.postgres.base.postgres_fixture | ||||||||||||||||||||||||||||||||||||||||
| 10 src.modules.identity.4_main.factories.controllers | ||||||||||||||||||||||||||||||||||||||||
| 11 src.common.0_domain.base.entity | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 src.common.0_domain.base.validator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 13 src.common.1_application.base.use-case | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 src.common.2_presentation.errors.server_error | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 src.common.0_domain.base.value-object | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 16 src.common.0_domain.validators.date_validator | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 17 src.common.0_domain.validators.email_validator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 18 src.common.0_domain.validators.html_validator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 src.common.0_domain.validators.locale_validator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 src.common.0_domain.validators.max-length_validator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 src.common.0_domain.validators.min-length_validator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 src.common.0_domain.validators.not-empty_validator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 src.common.3_infra.events.amqplib.amqplib_adapter | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 24 src.common.3_infra.webapp.express.express_adapter | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 25 src.modules.communication.0_domain.entities.email_entity | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 26 src.modules.identity.0_domain.entities.group_entity | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 test.common._doubles.mocks.message-broker_mock | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 28 src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 29 src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 src.modules.identity.0_domain.value-objects.user_password_value-object | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 31 src.modules.identity.0_domain.value-objects.user_token_value-object | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 32 src.modules.identity.1_application.use-cases.create-group_use-case | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 33 test.common._doubles.stubs | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 34 src.modules.identity.0_domain.entities.user_entity | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 35 src.modules.identity.0_domain.aggregates.user_aggregate | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 36 src.modules.identity.1_application.use-cases.change-password_use-case | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 37 src.modules.identity.1_application.use-cases.confirm-email_use-case | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 38 src.modules.identity.1_application.use-cases.sign-in_use-case | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 39 src.modules.identity.1_application.use-cases.sign-up_use-case | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 40 test.modules.identity.2_presentation.controllers | 1 | 1 | 1 | 1 | 1 |
11→3 src.common.0_domain.base.entity uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.base.entity uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.base.entity.Entity→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.base.entity uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.base.entity, while a change to src.common.0_domain.base.entity can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.base.entity uses a module listed above it, which is the healthy direction.
12→2 src.common.0_domain.base.validator uses src.common.0_domain.base.domain-error✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.base.validator uses a type in src.common.0_domain.base.domain-error.
- The types involved
src.common.0_domain.base.validator.Validator→src.common.0_domain.base.domain-error.DomainError
- Direction
- src.common.0_domain.base.validator uses src.common.0_domain.base.domain-error, so a change to src.common.0_domain.base.domain-error can break src.common.0_domain.base.validator, while a change to src.common.0_domain.base.validator can't break src.common.0_domain.base.domain-error.
- Position
- Below the diagonal: src.common.0_domain.base.validator uses a module listed above it, which is the healthy direction.
12→3 src.common.0_domain.base.validator uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.base.validator uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.base.validator.Validator→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.base.validator uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.base.validator, while a change to src.common.0_domain.base.validator can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.base.validator uses a module listed above it, which is the healthy direction.
13→3 src.common.1_application.base.use-case uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.1_application.base.use-case uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.1_application.base.use-case.UseCase→src.common.0_domain.utils.either.Either
- Direction
- src.common.1_application.base.use-case uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.1_application.base.use-case, while a change to src.common.1_application.base.use-case can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.1_application.base.use-case uses a module listed above it, which is the healthy direction.
14→2 src.common.2_presentation.errors.server_error uses src.common.0_domain.base.domain-error✕
- Connections
- 1 pair of types, where a type in src.common.2_presentation.errors.server_error uses a type in src.common.0_domain.base.domain-error.
- The types involved
src.common.2_presentation.errors.server_error.ServerError→src.common.0_domain.base.domain-error.DomainError
- Direction
- src.common.2_presentation.errors.server_error uses src.common.0_domain.base.domain-error, so a change to src.common.0_domain.base.domain-error can break src.common.2_presentation.errors.server_error, while a change to src.common.2_presentation.errors.server_error can't break src.common.0_domain.base.domain-error.
- Position
- Below the diagonal: src.common.2_presentation.errors.server_error uses a module listed above it, which is the healthy direction.
15→3 src.common.0_domain.base.value-object uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.base.value-object uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.base.value-object.ValueObject→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.base.value-object uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.base.value-object, while a change to src.common.0_domain.base.value-object can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.base.value-object uses a module listed above it, which is the healthy direction.
15→12 src.common.0_domain.base.value-object uses src.common.0_domain.base.validator✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.base.value-object uses a type in src.common.0_domain.base.validator.
- The types involved
src.common.0_domain.base.value-object.ValueObject→src.common.0_domain.base.validator.Validator
- Direction
- src.common.0_domain.base.value-object uses src.common.0_domain.base.validator, so a change to src.common.0_domain.base.validator can break src.common.0_domain.base.value-object, while a change to src.common.0_domain.base.value-object can't break src.common.0_domain.base.validator.
- Position
- Below the diagonal: src.common.0_domain.base.value-object uses a module listed above it, which is the healthy direction.
16→2 src.common.0_domain.validators.date_validator uses src.common.0_domain.base.domain-error✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.date_validator uses a type in src.common.0_domain.base.domain-error.
- The types involved
src.common.0_domain.validators.date_validator.DateValidator→src.common.0_domain.base.domain-error.DomainError
- Direction
- src.common.0_domain.validators.date_validator uses src.common.0_domain.base.domain-error, so a change to src.common.0_domain.base.domain-error can break src.common.0_domain.validators.date_validator, while a change to src.common.0_domain.validators.date_validator can't break src.common.0_domain.base.domain-error.
- Position
- Below the diagonal: src.common.0_domain.validators.date_validator uses a module listed above it, which is the healthy direction.
16→3 src.common.0_domain.validators.date_validator uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.date_validator uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.validators.date_validator.DateValidator→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.validators.date_validator uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.validators.date_validator, while a change to src.common.0_domain.validators.date_validator can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.validators.date_validator uses a module listed above it, which is the healthy direction.
16→12 src.common.0_domain.validators.date_validator uses src.common.0_domain.base.validator✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.date_validator uses a type in src.common.0_domain.base.validator.
- The types involved
src.common.0_domain.validators.date_validator.DateValidator→src.common.0_domain.base.validator.Validator
- Direction
- src.common.0_domain.validators.date_validator uses src.common.0_domain.base.validator, so a change to src.common.0_domain.base.validator can break src.common.0_domain.validators.date_validator, while a change to src.common.0_domain.validators.date_validator can't break src.common.0_domain.base.validator.
- Position
- Below the diagonal: src.common.0_domain.validators.date_validator uses a module listed above it, which is the healthy direction.
17→3 src.common.0_domain.validators.email_validator uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.email_validator uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.validators.email_validator.EmailValidator→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.validators.email_validator uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.validators.email_validator, while a change to src.common.0_domain.validators.email_validator can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.validators.email_validator uses a module listed above it, which is the healthy direction.
17→12 src.common.0_domain.validators.email_validator uses src.common.0_domain.base.validator✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.email_validator uses a type in src.common.0_domain.base.validator.
- The types involved
src.common.0_domain.validators.email_validator.EmailValidator→src.common.0_domain.base.validator.Validator
- Direction
- src.common.0_domain.validators.email_validator uses src.common.0_domain.base.validator, so a change to src.common.0_domain.base.validator can break src.common.0_domain.validators.email_validator, while a change to src.common.0_domain.validators.email_validator can't break src.common.0_domain.base.validator.
- Position
- Below the diagonal: src.common.0_domain.validators.email_validator uses a module listed above it, which is the healthy direction.
18→3 src.common.0_domain.validators.html_validator uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.html_validator uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.validators.html_validator.HtmlValidator→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.validators.html_validator uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.validators.html_validator, while a change to src.common.0_domain.validators.html_validator can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.validators.html_validator uses a module listed above it, which is the healthy direction.
18→12 src.common.0_domain.validators.html_validator uses src.common.0_domain.base.validator✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.html_validator uses a type in src.common.0_domain.base.validator.
- The types involved
src.common.0_domain.validators.html_validator.HtmlValidator→src.common.0_domain.base.validator.Validator
- Direction
- src.common.0_domain.validators.html_validator uses src.common.0_domain.base.validator, so a change to src.common.0_domain.base.validator can break src.common.0_domain.validators.html_validator, while a change to src.common.0_domain.validators.html_validator can't break src.common.0_domain.base.validator.
- Position
- Below the diagonal: src.common.0_domain.validators.html_validator uses a module listed above it, which is the healthy direction.
19→3 src.common.0_domain.validators.locale_validator uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.locale_validator uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.validators.locale_validator.LocaleValidator→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.validators.locale_validator uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.validators.locale_validator, while a change to src.common.0_domain.validators.locale_validator can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.validators.locale_validator uses a module listed above it, which is the healthy direction.
19→12 src.common.0_domain.validators.locale_validator uses src.common.0_domain.base.validator✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.locale_validator uses a type in src.common.0_domain.base.validator.
- The types involved
src.common.0_domain.validators.locale_validator.LocaleValidator→src.common.0_domain.base.validator.Validator
- Direction
- src.common.0_domain.validators.locale_validator uses src.common.0_domain.base.validator, so a change to src.common.0_domain.base.validator can break src.common.0_domain.validators.locale_validator, while a change to src.common.0_domain.validators.locale_validator can't break src.common.0_domain.base.validator.
- Position
- Below the diagonal: src.common.0_domain.validators.locale_validator uses a module listed above it, which is the healthy direction.
20→3 src.common.0_domain.validators.max-length_validator uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.max-length_validator uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.validators.max-length_validator.MaxLengthValidator→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.validators.max-length_validator uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.validators.max-length_validator, while a change to src.common.0_domain.validators.max-length_validator can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.validators.max-length_validator uses a module listed above it, which is the healthy direction.
20→12 src.common.0_domain.validators.max-length_validator uses src.common.0_domain.base.validator✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.max-length_validator uses a type in src.common.0_domain.base.validator.
- The types involved
src.common.0_domain.validators.max-length_validator.MaxLengthValidator→src.common.0_domain.base.validator.Validator
- Direction
- src.common.0_domain.validators.max-length_validator uses src.common.0_domain.base.validator, so a change to src.common.0_domain.base.validator can break src.common.0_domain.validators.max-length_validator, while a change to src.common.0_domain.validators.max-length_validator can't break src.common.0_domain.base.validator.
- Position
- Below the diagonal: src.common.0_domain.validators.max-length_validator uses a module listed above it, which is the healthy direction.
21→3 src.common.0_domain.validators.min-length_validator uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.min-length_validator uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.validators.min-length_validator.MinLengthValidator→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.validators.min-length_validator uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.validators.min-length_validator, while a change to src.common.0_domain.validators.min-length_validator can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.validators.min-length_validator uses a module listed above it, which is the healthy direction.
21→12 src.common.0_domain.validators.min-length_validator uses src.common.0_domain.base.validator✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.min-length_validator uses a type in src.common.0_domain.base.validator.
- The types involved
src.common.0_domain.validators.min-length_validator.MinLengthValidator→src.common.0_domain.base.validator.Validator
- Direction
- src.common.0_domain.validators.min-length_validator uses src.common.0_domain.base.validator, so a change to src.common.0_domain.base.validator can break src.common.0_domain.validators.min-length_validator, while a change to src.common.0_domain.validators.min-length_validator can't break src.common.0_domain.base.validator.
- Position
- Below the diagonal: src.common.0_domain.validators.min-length_validator uses a module listed above it, which is the healthy direction.
22→3 src.common.0_domain.validators.not-empty_validator uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.not-empty_validator uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.0_domain.validators.not-empty_validator.NotEmptyValidator→src.common.0_domain.utils.either.Either
- Direction
- src.common.0_domain.validators.not-empty_validator uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.0_domain.validators.not-empty_validator, while a change to src.common.0_domain.validators.not-empty_validator can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.0_domain.validators.not-empty_validator uses a module listed above it, which is the healthy direction.
22→12 src.common.0_domain.validators.not-empty_validator uses src.common.0_domain.base.validator✕
- Connections
- 1 pair of types, where a type in src.common.0_domain.validators.not-empty_validator uses a type in src.common.0_domain.base.validator.
- The types involved
src.common.0_domain.validators.not-empty_validator.NotEmptyValidator→src.common.0_domain.base.validator.Validator
- Direction
- src.common.0_domain.validators.not-empty_validator uses src.common.0_domain.base.validator, so a change to src.common.0_domain.base.validator can break src.common.0_domain.validators.not-empty_validator, while a change to src.common.0_domain.validators.not-empty_validator can't break src.common.0_domain.base.validator.
- Position
- Below the diagonal: src.common.0_domain.validators.not-empty_validator uses a module listed above it, which is the healthy direction.
23→3 src.common.3_infra.events.amqplib.amqplib_adapter uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.3_infra.events.amqplib.amqplib_adapter uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.3_infra.events.amqplib.amqplib_adapter.AmqplibAdapter→src.common.0_domain.utils.either.Either
- Direction
- src.common.3_infra.events.amqplib.amqplib_adapter uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.3_infra.events.amqplib.amqplib_adapter, while a change to src.common.3_infra.events.amqplib.amqplib_adapter can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.3_infra.events.amqplib.amqplib_adapter uses a module listed above it, which is the healthy direction.
23→4 src.common.3_infra.events.amqplib.amqplib_adapter uses src.common.1_application.base.event✕
- Connections
- 1 pair of types, where a type in src.common.3_infra.events.amqplib.amqplib_adapter uses a type in src.common.1_application.base.event.
- The types involved
src.common.3_infra.events.amqplib.amqplib_adapter.AmqplibAdapter→src.common.1_application.base.event.Event
- Direction
- src.common.3_infra.events.amqplib.amqplib_adapter uses src.common.1_application.base.event, so a change to src.common.1_application.base.event can break src.common.3_infra.events.amqplib.amqplib_adapter, while a change to src.common.3_infra.events.amqplib.amqplib_adapter can't break src.common.1_application.base.event.
- Position
- Below the diagonal: src.common.3_infra.events.amqplib.amqplib_adapter uses a module listed above it, which is the healthy direction.
23→5 src.common.3_infra.events.amqplib.amqplib_adapter uses src.common.1_application.events.message-broker✕
- Connections
- 1 pair of types, where a type in src.common.3_infra.events.amqplib.amqplib_adapter uses a type in src.common.1_application.events.message-broker.
- The types involved
src.common.3_infra.events.amqplib.amqplib_adapter.AmqplibAdapter→src.common.1_application.events.message-broker.MessageBroker
- Direction
- src.common.3_infra.events.amqplib.amqplib_adapter uses src.common.1_application.events.message-broker, so a change to src.common.1_application.events.message-broker can break src.common.3_infra.events.amqplib.amqplib_adapter, while a change to src.common.3_infra.events.amqplib.amqplib_adapter can't break src.common.1_application.events.message-broker.
- Position
- Below the diagonal: src.common.3_infra.events.amqplib.amqplib_adapter uses a module listed above it, which is the healthy direction.
23→14 src.common.3_infra.events.amqplib.amqplib_adapter uses src.common.2_presentation.errors.server_error✕
- Connections
- 1 pair of types, where a type in src.common.3_infra.events.amqplib.amqplib_adapter uses a type in src.common.2_presentation.errors.server_error.
- The types involved
src.common.3_infra.events.amqplib.amqplib_adapter.AmqplibAdapter→src.common.2_presentation.errors.server_error.ServerError
- Direction
- src.common.3_infra.events.amqplib.amqplib_adapter uses src.common.2_presentation.errors.server_error, so a change to src.common.2_presentation.errors.server_error can break src.common.3_infra.events.amqplib.amqplib_adapter, while a change to src.common.3_infra.events.amqplib.amqplib_adapter can't break src.common.2_presentation.errors.server_error.
- Position
- Below the diagonal: src.common.3_infra.events.amqplib.amqplib_adapter uses a module listed above it, which is the healthy direction.
24→3 src.common.3_infra.webapp.express.express_adapter uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.common.3_infra.webapp.express.express_adapter uses a type in src.common.0_domain.utils.either.
- The types involved
src.common.3_infra.webapp.express.express_adapter.ExpressAdapter→src.common.0_domain.utils.either.Either
- Direction
- src.common.3_infra.webapp.express.express_adapter uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.common.3_infra.webapp.express.express_adapter, while a change to src.common.3_infra.webapp.express.express_adapter can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.common.3_infra.webapp.express.express_adapter uses a module listed above it, which is the healthy direction.
24→6 src.common.3_infra.webapp.express.express_adapter uses src.common.1_application.middleware.middleware✕
- Connections
- 1 pair of types, where a type in src.common.3_infra.webapp.express.express_adapter uses a type in src.common.1_application.middleware.middleware.
- The types involved
src.common.3_infra.webapp.express.express_adapter.ExpressAdapter→src.common.1_application.middleware.middleware.Middleware
- Direction
- src.common.3_infra.webapp.express.express_adapter uses src.common.1_application.middleware.middleware, so a change to src.common.1_application.middleware.middleware can break src.common.3_infra.webapp.express.express_adapter, while a change to src.common.3_infra.webapp.express.express_adapter can't break src.common.1_application.middleware.middleware.
- Position
- Below the diagonal: src.common.3_infra.webapp.express.express_adapter uses a module listed above it, which is the healthy direction.
24→7 src.common.3_infra.webapp.express.express_adapter uses src.common.2_presentation.base.controller✕
- Connections
- 1 pair of types, where a type in src.common.3_infra.webapp.express.express_adapter uses a type in src.common.2_presentation.base.controller.
- The types involved
src.common.3_infra.webapp.express.express_adapter.ExpressAdapter→src.common.2_presentation.base.controller.Controller
- Direction
- src.common.3_infra.webapp.express.express_adapter uses src.common.2_presentation.base.controller, so a change to src.common.2_presentation.base.controller can break src.common.3_infra.webapp.express.express_adapter, while a change to src.common.3_infra.webapp.express.express_adapter can't break src.common.2_presentation.base.controller.
- Position
- Below the diagonal: src.common.3_infra.webapp.express.express_adapter uses a module listed above it, which is the healthy direction.
24→14 src.common.3_infra.webapp.express.express_adapter uses src.common.2_presentation.errors.server_error✕
- Connections
- 1 pair of types, where a type in src.common.3_infra.webapp.express.express_adapter uses a type in src.common.2_presentation.errors.server_error.
- The types involved
src.common.3_infra.webapp.express.express_adapter.ExpressAdapter→src.common.2_presentation.errors.server_error.ServerError
- Direction
- src.common.3_infra.webapp.express.express_adapter uses src.common.2_presentation.errors.server_error, so a change to src.common.2_presentation.errors.server_error can break src.common.3_infra.webapp.express.express_adapter, while a change to src.common.3_infra.webapp.express.express_adapter can't break src.common.2_presentation.errors.server_error.
- Position
- Below the diagonal: src.common.3_infra.webapp.express.express_adapter uses a module listed above it, which is the healthy direction.
25→3 src.modules.communication.0_domain.entities.email_entity uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.communication.0_domain.entities.email_entity uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.communication.0_domain.entities.email_entity.EmailEntity→src.common.0_domain.utils.either.Either
- Direction
- src.modules.communication.0_domain.entities.email_entity uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.communication.0_domain.entities.email_entity, while a change to src.modules.communication.0_domain.entities.email_entity can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.communication.0_domain.entities.email_entity uses a module listed above it, which is the healthy direction.
25→11 src.modules.communication.0_domain.entities.email_entity uses src.common.0_domain.base.entity✕
- Connections
- 1 pair of types, where a type in src.modules.communication.0_domain.entities.email_entity uses a type in src.common.0_domain.base.entity.
- The types involved
src.modules.communication.0_domain.entities.email_entity.EmailEntity→src.common.0_domain.base.entity.Entity
- Direction
- src.modules.communication.0_domain.entities.email_entity uses src.common.0_domain.base.entity, so a change to src.common.0_domain.base.entity can break src.modules.communication.0_domain.entities.email_entity, while a change to src.modules.communication.0_domain.entities.email_entity can't break src.common.0_domain.base.entity.
- Position
- Below the diagonal: src.modules.communication.0_domain.entities.email_entity uses a module listed above it, which is the healthy direction.
26→3 src.modules.identity.0_domain.entities.group_entity uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.entities.group_entity uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.0_domain.entities.group_entity.GroupEntity→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.0_domain.entities.group_entity uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.0_domain.entities.group_entity, while a change to src.modules.identity.0_domain.entities.group_entity can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.0_domain.entities.group_entity uses a module listed above it, which is the healthy direction.
26→11 src.modules.identity.0_domain.entities.group_entity uses src.common.0_domain.base.entity✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.entities.group_entity uses a type in src.common.0_domain.base.entity.
- The types involved
src.modules.identity.0_domain.entities.group_entity.GroupEntity→src.common.0_domain.base.entity.Entity
- Direction
- src.modules.identity.0_domain.entities.group_entity uses src.common.0_domain.base.entity, so a change to src.common.0_domain.base.entity can break src.modules.identity.0_domain.entities.group_entity, while a change to src.modules.identity.0_domain.entities.group_entity can't break src.common.0_domain.base.entity.
- Position
- Below the diagonal: src.modules.identity.0_domain.entities.group_entity uses a module listed above it, which is the healthy direction.
27→3 test.common._doubles.mocks.message-broker_mock uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in test.common._doubles.mocks.message-broker_mock uses a type in src.common.0_domain.utils.either.
- The types involved
test.common._doubles.mocks.message-broker_mock.MessageBrokerMock→src.common.0_domain.utils.either.Either
- Direction
- test.common._doubles.mocks.message-broker_mock uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break test.common._doubles.mocks.message-broker_mock, while a change to test.common._doubles.mocks.message-broker_mock can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: test.common._doubles.mocks.message-broker_mock uses a module listed above it, which is the healthy direction.
27→4 test.common._doubles.mocks.message-broker_mock uses src.common.1_application.base.event✕
- Connections
- 1 pair of types, where a type in test.common._doubles.mocks.message-broker_mock uses a type in src.common.1_application.base.event.
- The types involved
test.common._doubles.mocks.message-broker_mock.MessageBrokerMock→src.common.1_application.base.event.Event
- Direction
- test.common._doubles.mocks.message-broker_mock uses src.common.1_application.base.event, so a change to src.common.1_application.base.event can break test.common._doubles.mocks.message-broker_mock, while a change to test.common._doubles.mocks.message-broker_mock can't break src.common.1_application.base.event.
- Position
- Below the diagonal: test.common._doubles.mocks.message-broker_mock uses a module listed above it, which is the healthy direction.
27→5 test.common._doubles.mocks.message-broker_mock uses src.common.1_application.events.message-broker✕
- Connections
- 1 pair of types, where a type in test.common._doubles.mocks.message-broker_mock uses a type in src.common.1_application.events.message-broker.
- The types involved
test.common._doubles.mocks.message-broker_mock.MessageBrokerMock→src.common.1_application.events.message-broker.MessageBroker
- Direction
- test.common._doubles.mocks.message-broker_mock uses src.common.1_application.events.message-broker, so a change to src.common.1_application.events.message-broker can break test.common._doubles.mocks.message-broker_mock, while a change to test.common._doubles.mocks.message-broker_mock can't break src.common.1_application.events.message-broker.
- Position
- Below the diagonal: test.common._doubles.mocks.message-broker_mock uses a module listed above it, which is the healthy direction.
27→14 test.common._doubles.mocks.message-broker_mock uses src.common.2_presentation.errors.server_error✕
- Connections
- 1 pair of types, where a type in test.common._doubles.mocks.message-broker_mock uses a type in src.common.2_presentation.errors.server_error.
- The types involved
test.common._doubles.mocks.message-broker_mock.MessageBrokerMock→src.common.2_presentation.errors.server_error.ServerError
- Direction
- test.common._doubles.mocks.message-broker_mock uses src.common.2_presentation.errors.server_error, so a change to src.common.2_presentation.errors.server_error can break test.common._doubles.mocks.message-broker_mock, while a change to test.common._doubles.mocks.message-broker_mock can't break src.common.2_presentation.errors.server_error.
- Position
- Below the diagonal: test.common._doubles.mocks.message-broker_mock uses a module listed above it, which is the healthy direction.
28→2 src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses src.common.0_domain.base.domain-error✕
- Connections
- 1 pair of types, where a type in src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses a type in src.common.0_domain.base.domain-error.
- The types involved
src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter.NodemailerAdapter→src.common.0_domain.base.domain-error.DomainError
- Direction
- src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses src.common.0_domain.base.domain-error, so a change to src.common.0_domain.base.domain-error can break src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter, while a change to src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter can't break src.common.0_domain.base.domain-error.
- Position
- Below the diagonal: src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses a module listed above it, which is the healthy direction.
28→3 src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter.NodemailerAdapter→src.common.0_domain.utils.either.Either
- Direction
- src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter, while a change to src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses a module listed above it, which is the healthy direction.
28→25 src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses src.modules.communication.0_domain.entities.email_entity✕
- Connections
- 1 pair of types, where a type in src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses a type in src.modules.communication.0_domain.entities.email_entity.
- The types involved
src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter.NodemailerAdapter→src.modules.communication.0_domain.entities.email_entity.EmailEntity
- Direction
- src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses src.modules.communication.0_domain.entities.email_entity, so a change to src.modules.communication.0_domain.entities.email_entity can break src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter, while a change to src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter can't break src.modules.communication.0_domain.entities.email_entity.
- Position
- Below the diagonal: src.modules.communication.3_infra.communication.nodemailer.nodemailer_adapter uses a module listed above it, which is the healthy direction.
29→3 src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.UserEmailConfirmed→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object, while a change to src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object uses a module listed above it, which is the healthy direction.
29→15 src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object uses src.common.0_domain.base.value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object uses a type in src.common.0_domain.base.value-object.
- The types involved
src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.UserEmailConfirmed→src.common.0_domain.base.value-object.ValueObject
- Direction
- src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object uses src.common.0_domain.base.value-object, so a change to src.common.0_domain.base.value-object can break src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object, while a change to src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object can't break src.common.0_domain.base.value-object.
- Position
- Below the diagonal: src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object uses a module listed above it, which is the healthy direction.
30→3 src.modules.identity.0_domain.value-objects.user_password_value-object uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.value-objects.user_password_value-object uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.0_domain.value-objects.user_password_value-object.UserPassword→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.0_domain.value-objects.user_password_value-object uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.0_domain.value-objects.user_password_value-object, while a change to src.modules.identity.0_domain.value-objects.user_password_value-object can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.0_domain.value-objects.user_password_value-object uses a module listed above it, which is the healthy direction.
30→15 src.modules.identity.0_domain.value-objects.user_password_value-object uses src.common.0_domain.base.value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.value-objects.user_password_value-object uses a type in src.common.0_domain.base.value-object.
- The types involved
src.modules.identity.0_domain.value-objects.user_password_value-object.UserPassword→src.common.0_domain.base.value-object.ValueObject
- Direction
- src.modules.identity.0_domain.value-objects.user_password_value-object uses src.common.0_domain.base.value-object, so a change to src.common.0_domain.base.value-object can break src.modules.identity.0_domain.value-objects.user_password_value-object, while a change to src.modules.identity.0_domain.value-objects.user_password_value-object can't break src.common.0_domain.base.value-object.
- Position
- Below the diagonal: src.modules.identity.0_domain.value-objects.user_password_value-object uses a module listed above it, which is the healthy direction.
31→3 src.modules.identity.0_domain.value-objects.user_token_value-object uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.value-objects.user_token_value-object uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.0_domain.value-objects.user_token_value-object.UserToken→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.0_domain.value-objects.user_token_value-object uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.0_domain.value-objects.user_token_value-object, while a change to src.modules.identity.0_domain.value-objects.user_token_value-object can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.0_domain.value-objects.user_token_value-object uses a module listed above it, which is the healthy direction.
31→15 src.modules.identity.0_domain.value-objects.user_token_value-object uses src.common.0_domain.base.value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.value-objects.user_token_value-object uses a type in src.common.0_domain.base.value-object.
- The types involved
src.modules.identity.0_domain.value-objects.user_token_value-object.UserToken→src.common.0_domain.base.value-object.ValueObject
- Direction
- src.modules.identity.0_domain.value-objects.user_token_value-object uses src.common.0_domain.base.value-object, so a change to src.common.0_domain.base.value-object can break src.modules.identity.0_domain.value-objects.user_token_value-object, while a change to src.modules.identity.0_domain.value-objects.user_token_value-object can't break src.common.0_domain.base.value-object.
- Position
- Below the diagonal: src.modules.identity.0_domain.value-objects.user_token_value-object uses a module listed above it, which is the healthy direction.
32→3 src.modules.identity.1_application.use-cases.create-group_use-case uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.create-group_use-case uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.1_application.use-cases.create-group_use-case.CreateGroupUseCase→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.1_application.use-cases.create-group_use-case uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.1_application.use-cases.create-group_use-case, while a change to src.modules.identity.1_application.use-cases.create-group_use-case can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.create-group_use-case uses a module listed above it, which is the healthy direction.
32→13 src.modules.identity.1_application.use-cases.create-group_use-case uses src.common.1_application.base.use-case✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.create-group_use-case uses a type in src.common.1_application.base.use-case.
- The types involved
src.modules.identity.1_application.use-cases.create-group_use-case.CreateGroupUseCase→src.common.1_application.base.use-case.UseCase
- Direction
- src.modules.identity.1_application.use-cases.create-group_use-case uses src.common.1_application.base.use-case, so a change to src.common.1_application.base.use-case can break src.modules.identity.1_application.use-cases.create-group_use-case, while a change to src.modules.identity.1_application.use-cases.create-group_use-case can't break src.common.1_application.base.use-case.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.create-group_use-case uses a module listed above it, which is the healthy direction.
32→26 src.modules.identity.1_application.use-cases.create-group_use-case uses src.modules.identity.0_domain.entities.group_entity✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.create-group_use-case uses a type in src.modules.identity.0_domain.entities.group_entity.
- The types involved
src.modules.identity.1_application.use-cases.create-group_use-case.CreateGroupUseCase→src.modules.identity.0_domain.entities.group_entity.GroupEntity
- Direction
- src.modules.identity.1_application.use-cases.create-group_use-case uses src.modules.identity.0_domain.entities.group_entity, so a change to src.modules.identity.0_domain.entities.group_entity can break src.modules.identity.1_application.use-cases.create-group_use-case, while a change to src.modules.identity.1_application.use-cases.create-group_use-case can't break src.modules.identity.0_domain.entities.group_entity.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.create-group_use-case uses a module listed above it, which is the healthy direction.
33→1 test.common._doubles.stubs uses src.common.0_domain.base.aggregate✕
- Connections
- 1 pair of types, where a type in test.common._doubles.stubs uses a type in src.common.0_domain.base.aggregate.
- The types involved
test.common._doubles.stubs.aggregate.stub→src.common.0_domain.base.aggregate.Aggregate
- Direction
- test.common._doubles.stubs uses src.common.0_domain.base.aggregate, so a change to src.common.0_domain.base.aggregate can break test.common._doubles.stubs, while a change to test.common._doubles.stubs can't break src.common.0_domain.base.aggregate.
- Position
- Below the diagonal: test.common._doubles.stubs uses a module listed above it, which is the healthy direction.
33→3 test.common._doubles.stubs uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in test.common._doubles.stubs uses a type in src.common.0_domain.utils.either.
- The types involved
test.common._doubles.stubs.value-object.stub→src.common.0_domain.utils.either.Either
- Direction
- test.common._doubles.stubs uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break test.common._doubles.stubs, while a change to test.common._doubles.stubs can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: test.common._doubles.stubs uses a module listed above it, which is the healthy direction.
33→12 test.common._doubles.stubs uses src.common.0_domain.base.validator✕
- Connections
- 1 pair of types, where a type in test.common._doubles.stubs uses a type in src.common.0_domain.base.validator.
- The types involved
test.common._doubles.stubs.validator.stub→src.common.0_domain.base.validator.Validator
- Direction
- test.common._doubles.stubs uses src.common.0_domain.base.validator, so a change to src.common.0_domain.base.validator can break test.common._doubles.stubs, while a change to test.common._doubles.stubs can't break src.common.0_domain.base.validator.
- Position
- Below the diagonal: test.common._doubles.stubs uses a module listed above it, which is the healthy direction.
33→15 test.common._doubles.stubs uses src.common.0_domain.base.value-object✕
- Connections
- 1 pair of types, where a type in test.common._doubles.stubs uses a type in src.common.0_domain.base.value-object.
- The types involved
test.common._doubles.stubs.value-object.stub→src.common.0_domain.base.value-object.ValueObject
- Direction
- test.common._doubles.stubs uses src.common.0_domain.base.value-object, so a change to src.common.0_domain.base.value-object can break test.common._doubles.stubs, while a change to test.common._doubles.stubs can't break src.common.0_domain.base.value-object.
- Position
- Below the diagonal: test.common._doubles.stubs uses a module listed above it, which is the healthy direction.
34→3 src.modules.identity.0_domain.entities.user_entity uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.entities.user_entity uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.0_domain.entities.user_entity.UserEntity→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.0_domain.entities.user_entity uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.0_domain.entities.user_entity, while a change to src.modules.identity.0_domain.entities.user_entity can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.0_domain.entities.user_entity uses a module listed above it, which is the healthy direction.
34→11 src.modules.identity.0_domain.entities.user_entity uses src.common.0_domain.base.entity✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.entities.user_entity uses a type in src.common.0_domain.base.entity.
- The types involved
src.modules.identity.0_domain.entities.user_entity.UserEntity→src.common.0_domain.base.entity.Entity
- Direction
- src.modules.identity.0_domain.entities.user_entity uses src.common.0_domain.base.entity, so a change to src.common.0_domain.base.entity can break src.modules.identity.0_domain.entities.user_entity, while a change to src.modules.identity.0_domain.entities.user_entity can't break src.common.0_domain.base.entity.
- Position
- Below the diagonal: src.modules.identity.0_domain.entities.user_entity uses a module listed above it, which is the healthy direction.
34→29 src.modules.identity.0_domain.entities.user_entity uses src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.entities.user_entity uses a type in src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.
- The types involved
src.modules.identity.0_domain.entities.user_entity.UserEntity→src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.UserEmailConfirmed
- Direction
- src.modules.identity.0_domain.entities.user_entity uses src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object, so a change to src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object can break src.modules.identity.0_domain.entities.user_entity, while a change to src.modules.identity.0_domain.entities.user_entity can't break src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.
- Position
- Below the diagonal: src.modules.identity.0_domain.entities.user_entity uses a module listed above it, which is the healthy direction.
34→30 src.modules.identity.0_domain.entities.user_entity uses src.modules.identity.0_domain.value-objects.user_password_value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.entities.user_entity uses a type in src.modules.identity.0_domain.value-objects.user_password_value-object.
- The types involved
src.modules.identity.0_domain.entities.user_entity.UserEntity→src.modules.identity.0_domain.value-objects.user_password_value-object.UserPassword
- Direction
- src.modules.identity.0_domain.entities.user_entity uses src.modules.identity.0_domain.value-objects.user_password_value-object, so a change to src.modules.identity.0_domain.value-objects.user_password_value-object can break src.modules.identity.0_domain.entities.user_entity, while a change to src.modules.identity.0_domain.entities.user_entity can't break src.modules.identity.0_domain.value-objects.user_password_value-object.
- Position
- Below the diagonal: src.modules.identity.0_domain.entities.user_entity uses a module listed above it, which is the healthy direction.
34→31 src.modules.identity.0_domain.entities.user_entity uses src.modules.identity.0_domain.value-objects.user_token_value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.entities.user_entity uses a type in src.modules.identity.0_domain.value-objects.user_token_value-object.
- The types involved
src.modules.identity.0_domain.entities.user_entity.UserEntity→src.modules.identity.0_domain.value-objects.user_token_value-object.UserToken
- Direction
- src.modules.identity.0_domain.entities.user_entity uses src.modules.identity.0_domain.value-objects.user_token_value-object, so a change to src.modules.identity.0_domain.value-objects.user_token_value-object can break src.modules.identity.0_domain.entities.user_entity, while a change to src.modules.identity.0_domain.entities.user_entity can't break src.modules.identity.0_domain.value-objects.user_token_value-object.
- Position
- Below the diagonal: src.modules.identity.0_domain.entities.user_entity uses a module listed above it, which is the healthy direction.
35→1 src.modules.identity.0_domain.aggregates.user_aggregate uses src.common.0_domain.base.aggregate✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.aggregates.user_aggregate uses a type in src.common.0_domain.base.aggregate.
- The types involved
src.modules.identity.0_domain.aggregates.user_aggregate.UserAggregate→src.common.0_domain.base.aggregate.Aggregate
- Direction
- src.modules.identity.0_domain.aggregates.user_aggregate uses src.common.0_domain.base.aggregate, so a change to src.common.0_domain.base.aggregate can break src.modules.identity.0_domain.aggregates.user_aggregate, while a change to src.modules.identity.0_domain.aggregates.user_aggregate can't break src.common.0_domain.base.aggregate.
- Position
- Below the diagonal: src.modules.identity.0_domain.aggregates.user_aggregate uses a module listed above it, which is the healthy direction.
35→29 src.modules.identity.0_domain.aggregates.user_aggregate uses src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.aggregates.user_aggregate uses a type in src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.
- The types involved
src.modules.identity.0_domain.aggregates.user_aggregate.UserAggregate→src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.UserEmailConfirmed
- Direction
- src.modules.identity.0_domain.aggregates.user_aggregate uses src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object, so a change to src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object can break src.modules.identity.0_domain.aggregates.user_aggregate, while a change to src.modules.identity.0_domain.aggregates.user_aggregate can't break src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.
- Position
- Below the diagonal: src.modules.identity.0_domain.aggregates.user_aggregate uses a module listed above it, which is the healthy direction.
35→30 src.modules.identity.0_domain.aggregates.user_aggregate uses src.modules.identity.0_domain.value-objects.user_password_value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.aggregates.user_aggregate uses a type in src.modules.identity.0_domain.value-objects.user_password_value-object.
- The types involved
src.modules.identity.0_domain.aggregates.user_aggregate.UserAggregate→src.modules.identity.0_domain.value-objects.user_password_value-object.UserPassword
- Direction
- src.modules.identity.0_domain.aggregates.user_aggregate uses src.modules.identity.0_domain.value-objects.user_password_value-object, so a change to src.modules.identity.0_domain.value-objects.user_password_value-object can break src.modules.identity.0_domain.aggregates.user_aggregate, while a change to src.modules.identity.0_domain.aggregates.user_aggregate can't break src.modules.identity.0_domain.value-objects.user_password_value-object.
- Position
- Below the diagonal: src.modules.identity.0_domain.aggregates.user_aggregate uses a module listed above it, which is the healthy direction.
35→31 src.modules.identity.0_domain.aggregates.user_aggregate uses src.modules.identity.0_domain.value-objects.user_token_value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.aggregates.user_aggregate uses a type in src.modules.identity.0_domain.value-objects.user_token_value-object.
- The types involved
src.modules.identity.0_domain.aggregates.user_aggregate.UserAggregate→src.modules.identity.0_domain.value-objects.user_token_value-object.UserToken
- Direction
- src.modules.identity.0_domain.aggregates.user_aggregate uses src.modules.identity.0_domain.value-objects.user_token_value-object, so a change to src.modules.identity.0_domain.value-objects.user_token_value-object can break src.modules.identity.0_domain.aggregates.user_aggregate, while a change to src.modules.identity.0_domain.aggregates.user_aggregate can't break src.modules.identity.0_domain.value-objects.user_token_value-object.
- Position
- Below the diagonal: src.modules.identity.0_domain.aggregates.user_aggregate uses a module listed above it, which is the healthy direction.
35→34 src.modules.identity.0_domain.aggregates.user_aggregate uses src.modules.identity.0_domain.entities.user_entity✕
- Connections
- 1 pair of types, where a type in src.modules.identity.0_domain.aggregates.user_aggregate uses a type in src.modules.identity.0_domain.entities.user_entity.
- The types involved
src.modules.identity.0_domain.aggregates.user_aggregate.UserAggregate→src.modules.identity.0_domain.entities.user_entity.UserEntity
- Direction
- src.modules.identity.0_domain.aggregates.user_aggregate uses src.modules.identity.0_domain.entities.user_entity, so a change to src.modules.identity.0_domain.entities.user_entity can break src.modules.identity.0_domain.aggregates.user_aggregate, while a change to src.modules.identity.0_domain.aggregates.user_aggregate can't break src.modules.identity.0_domain.entities.user_entity.
- Position
- Below the diagonal: src.modules.identity.0_domain.aggregates.user_aggregate uses a module listed above it, which is the healthy direction.
36→3 src.modules.identity.1_application.use-cases.change-password_use-case uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.change-password_use-case uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.1_application.use-cases.change-password_use-case.ChangePasswordUseCase→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.1_application.use-cases.change-password_use-case uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.1_application.use-cases.change-password_use-case, while a change to src.modules.identity.1_application.use-cases.change-password_use-case can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.change-password_use-case uses a module listed above it, which is the healthy direction.
36→13 src.modules.identity.1_application.use-cases.change-password_use-case uses src.common.1_application.base.use-case✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.change-password_use-case uses a type in src.common.1_application.base.use-case.
- The types involved
src.modules.identity.1_application.use-cases.change-password_use-case.ChangePasswordUseCase→src.common.1_application.base.use-case.UseCase
- Direction
- src.modules.identity.1_application.use-cases.change-password_use-case uses src.common.1_application.base.use-case, so a change to src.common.1_application.base.use-case can break src.modules.identity.1_application.use-cases.change-password_use-case, while a change to src.modules.identity.1_application.use-cases.change-password_use-case can't break src.common.1_application.base.use-case.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.change-password_use-case uses a module listed above it, which is the healthy direction.
36→30 src.modules.identity.1_application.use-cases.change-password_use-case uses src.modules.identity.0_domain.value-objects.user_password_value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.change-password_use-case uses a type in src.modules.identity.0_domain.value-objects.user_password_value-object.
- The types involved
src.modules.identity.1_application.use-cases.change-password_use-case.ChangePasswordUseCase→src.modules.identity.0_domain.value-objects.user_password_value-object.UserPassword
- Direction
- src.modules.identity.1_application.use-cases.change-password_use-case uses src.modules.identity.0_domain.value-objects.user_password_value-object, so a change to src.modules.identity.0_domain.value-objects.user_password_value-object can break src.modules.identity.1_application.use-cases.change-password_use-case, while a change to src.modules.identity.1_application.use-cases.change-password_use-case can't break src.modules.identity.0_domain.value-objects.user_password_value-object.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.change-password_use-case uses a module listed above it, which is the healthy direction.
36→35 src.modules.identity.1_application.use-cases.change-password_use-case uses src.modules.identity.0_domain.aggregates.user_aggregate✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.change-password_use-case uses a type in src.modules.identity.0_domain.aggregates.user_aggregate.
- The types involved
src.modules.identity.1_application.use-cases.change-password_use-case.ChangePasswordUseCase→src.modules.identity.0_domain.aggregates.user_aggregate.UserAggregate
- Direction
- src.modules.identity.1_application.use-cases.change-password_use-case uses src.modules.identity.0_domain.aggregates.user_aggregate, so a change to src.modules.identity.0_domain.aggregates.user_aggregate can break src.modules.identity.1_application.use-cases.change-password_use-case, while a change to src.modules.identity.1_application.use-cases.change-password_use-case can't break src.modules.identity.0_domain.aggregates.user_aggregate.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.change-password_use-case uses a module listed above it, which is the healthy direction.
37→3 src.modules.identity.1_application.use-cases.confirm-email_use-case uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.confirm-email_use-case uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.1_application.use-cases.confirm-email_use-case.ConfirmEmailUseCase→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.1_application.use-cases.confirm-email_use-case uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.1_application.use-cases.confirm-email_use-case, while a change to src.modules.identity.1_application.use-cases.confirm-email_use-case can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.confirm-email_use-case uses a module listed above it, which is the healthy direction.
37→13 src.modules.identity.1_application.use-cases.confirm-email_use-case uses src.common.1_application.base.use-case✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.confirm-email_use-case uses a type in src.common.1_application.base.use-case.
- The types involved
src.modules.identity.1_application.use-cases.confirm-email_use-case.ConfirmEmailUseCase→src.common.1_application.base.use-case.UseCase
- Direction
- src.modules.identity.1_application.use-cases.confirm-email_use-case uses src.common.1_application.base.use-case, so a change to src.common.1_application.base.use-case can break src.modules.identity.1_application.use-cases.confirm-email_use-case, while a change to src.modules.identity.1_application.use-cases.confirm-email_use-case can't break src.common.1_application.base.use-case.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.confirm-email_use-case uses a module listed above it, which is the healthy direction.
37→29 src.modules.identity.1_application.use-cases.confirm-email_use-case uses src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.confirm-email_use-case uses a type in src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.
- The types involved
src.modules.identity.1_application.use-cases.confirm-email_use-case.ConfirmEmailUseCase→src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.UserEmailConfirmed
- Direction
- src.modules.identity.1_application.use-cases.confirm-email_use-case uses src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object, so a change to src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object can break src.modules.identity.1_application.use-cases.confirm-email_use-case, while a change to src.modules.identity.1_application.use-cases.confirm-email_use-case can't break src.modules.identity.0_domain.value-objects.user_email-confirmed_value-object.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.confirm-email_use-case uses a module listed above it, which is the healthy direction.
37→35 src.modules.identity.1_application.use-cases.confirm-email_use-case uses src.modules.identity.0_domain.aggregates.user_aggregate✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.confirm-email_use-case uses a type in src.modules.identity.0_domain.aggregates.user_aggregate.
- The types involved
src.modules.identity.1_application.use-cases.confirm-email_use-case.ConfirmEmailUseCase→src.modules.identity.0_domain.aggregates.user_aggregate.UserAggregate
- Direction
- src.modules.identity.1_application.use-cases.confirm-email_use-case uses src.modules.identity.0_domain.aggregates.user_aggregate, so a change to src.modules.identity.0_domain.aggregates.user_aggregate can break src.modules.identity.1_application.use-cases.confirm-email_use-case, while a change to src.modules.identity.1_application.use-cases.confirm-email_use-case can't break src.modules.identity.0_domain.aggregates.user_aggregate.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.confirm-email_use-case uses a module listed above it, which is the healthy direction.
38→3 src.modules.identity.1_application.use-cases.sign-in_use-case uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.sign-in_use-case uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.1_application.use-cases.sign-in_use-case.SignInUseCase→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.1_application.use-cases.sign-in_use-case uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.1_application.use-cases.sign-in_use-case, while a change to src.modules.identity.1_application.use-cases.sign-in_use-case can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.sign-in_use-case uses a module listed above it, which is the healthy direction.
38→13 src.modules.identity.1_application.use-cases.sign-in_use-case uses src.common.1_application.base.use-case✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.sign-in_use-case uses a type in src.common.1_application.base.use-case.
- The types involved
src.modules.identity.1_application.use-cases.sign-in_use-case.SignInUseCase→src.common.1_application.base.use-case.UseCase
- Direction
- src.modules.identity.1_application.use-cases.sign-in_use-case uses src.common.1_application.base.use-case, so a change to src.common.1_application.base.use-case can break src.modules.identity.1_application.use-cases.sign-in_use-case, while a change to src.modules.identity.1_application.use-cases.sign-in_use-case can't break src.common.1_application.base.use-case.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.sign-in_use-case uses a module listed above it, which is the healthy direction.
38→31 src.modules.identity.1_application.use-cases.sign-in_use-case uses src.modules.identity.0_domain.value-objects.user_token_value-object✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.sign-in_use-case uses a type in src.modules.identity.0_domain.value-objects.user_token_value-object.
- The types involved
src.modules.identity.1_application.use-cases.sign-in_use-case.SignInUseCase→src.modules.identity.0_domain.value-objects.user_token_value-object.UserToken
- Direction
- src.modules.identity.1_application.use-cases.sign-in_use-case uses src.modules.identity.0_domain.value-objects.user_token_value-object, so a change to src.modules.identity.0_domain.value-objects.user_token_value-object can break src.modules.identity.1_application.use-cases.sign-in_use-case, while a change to src.modules.identity.1_application.use-cases.sign-in_use-case can't break src.modules.identity.0_domain.value-objects.user_token_value-object.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.sign-in_use-case uses a module listed above it, which is the healthy direction.
38→35 src.modules.identity.1_application.use-cases.sign-in_use-case uses src.modules.identity.0_domain.aggregates.user_aggregate✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.sign-in_use-case uses a type in src.modules.identity.0_domain.aggregates.user_aggregate.
- The types involved
src.modules.identity.1_application.use-cases.sign-in_use-case.SignInUseCase→src.modules.identity.0_domain.aggregates.user_aggregate.UserAggregate
- Direction
- src.modules.identity.1_application.use-cases.sign-in_use-case uses src.modules.identity.0_domain.aggregates.user_aggregate, so a change to src.modules.identity.0_domain.aggregates.user_aggregate can break src.modules.identity.1_application.use-cases.sign-in_use-case, while a change to src.modules.identity.1_application.use-cases.sign-in_use-case can't break src.modules.identity.0_domain.aggregates.user_aggregate.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.sign-in_use-case uses a module listed above it, which is the healthy direction.
39→3 src.modules.identity.1_application.use-cases.sign-up_use-case uses src.common.0_domain.utils.either✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.sign-up_use-case uses a type in src.common.0_domain.utils.either.
- The types involved
src.modules.identity.1_application.use-cases.sign-up_use-case.SignUpUseCase→src.common.0_domain.utils.either.Either
- Direction
- src.modules.identity.1_application.use-cases.sign-up_use-case uses src.common.0_domain.utils.either, so a change to src.common.0_domain.utils.either can break src.modules.identity.1_application.use-cases.sign-up_use-case, while a change to src.modules.identity.1_application.use-cases.sign-up_use-case can't break src.common.0_domain.utils.either.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.sign-up_use-case uses a module listed above it, which is the healthy direction.
39→13 src.modules.identity.1_application.use-cases.sign-up_use-case uses src.common.1_application.base.use-case✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.sign-up_use-case uses a type in src.common.1_application.base.use-case.
- The types involved
src.modules.identity.1_application.use-cases.sign-up_use-case.SignUpUseCase→src.common.1_application.base.use-case.UseCase
- Direction
- src.modules.identity.1_application.use-cases.sign-up_use-case uses src.common.1_application.base.use-case, so a change to src.common.1_application.base.use-case can break src.modules.identity.1_application.use-cases.sign-up_use-case, while a change to src.modules.identity.1_application.use-cases.sign-up_use-case can't break src.common.1_application.base.use-case.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.sign-up_use-case uses a module listed above it, which is the healthy direction.
39→35 src.modules.identity.1_application.use-cases.sign-up_use-case uses src.modules.identity.0_domain.aggregates.user_aggregate✕
- Connections
- 1 pair of types, where a type in src.modules.identity.1_application.use-cases.sign-up_use-case uses a type in src.modules.identity.0_domain.aggregates.user_aggregate.
- The types involved
src.modules.identity.1_application.use-cases.sign-up_use-case.SignUpUseCase→src.modules.identity.0_domain.aggregates.user_aggregate.UserAggregate
- Direction
- src.modules.identity.1_application.use-cases.sign-up_use-case uses src.modules.identity.0_domain.aggregates.user_aggregate, so a change to src.modules.identity.0_domain.aggregates.user_aggregate can break src.modules.identity.1_application.use-cases.sign-up_use-case, while a change to src.modules.identity.1_application.use-cases.sign-up_use-case can't break src.modules.identity.0_domain.aggregates.user_aggregate.
- Position
- Below the diagonal: src.modules.identity.1_application.use-cases.sign-up_use-case uses a module listed above it, which is the healthy direction.
40→32 test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.create-group_use-case✕
- Connections
- 1 pair of types, where a type in test.modules.identity.2_presentation.controllers uses a type in src.modules.identity.1_application.use-cases.create-group_use-case.
- The types involved
test.modules.identity.2_presentation.controllers.create-group.controller.unit-test→src.modules.identity.1_application.use-cases.create-group_use-case.CreateGroupUseCase
- Direction
- test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.create-group_use-case, so a change to src.modules.identity.1_application.use-cases.create-group_use-case can break test.modules.identity.2_presentation.controllers, while a change to test.modules.identity.2_presentation.controllers can't break src.modules.identity.1_application.use-cases.create-group_use-case.
- Position
- Below the diagonal: test.modules.identity.2_presentation.controllers uses a module listed above it, which is the healthy direction.
40→36 test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.change-password_use-case✕
- Connections
- 1 pair of types, where a type in test.modules.identity.2_presentation.controllers uses a type in src.modules.identity.1_application.use-cases.change-password_use-case.
- The types involved
test.modules.identity.2_presentation.controllers.change-password.controller.unit-test→src.modules.identity.1_application.use-cases.change-password_use-case.ChangePasswordUseCase
- Direction
- test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.change-password_use-case, so a change to src.modules.identity.1_application.use-cases.change-password_use-case can break test.modules.identity.2_presentation.controllers, while a change to test.modules.identity.2_presentation.controllers can't break src.modules.identity.1_application.use-cases.change-password_use-case.
- Position
- Below the diagonal: test.modules.identity.2_presentation.controllers uses a module listed above it, which is the healthy direction.
40→37 test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.confirm-email_use-case✕
- Connections
- 1 pair of types, where a type in test.modules.identity.2_presentation.controllers uses a type in src.modules.identity.1_application.use-cases.confirm-email_use-case.
- The types involved
test.modules.identity.2_presentation.controllers.confirm-email.controller.unit-test→src.modules.identity.1_application.use-cases.confirm-email_use-case.ConfirmEmailUseCase
- Direction
- test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.confirm-email_use-case, so a change to src.modules.identity.1_application.use-cases.confirm-email_use-case can break test.modules.identity.2_presentation.controllers, while a change to test.modules.identity.2_presentation.controllers can't break src.modules.identity.1_application.use-cases.confirm-email_use-case.
- Position
- Below the diagonal: test.modules.identity.2_presentation.controllers uses a module listed above it, which is the healthy direction.
40→38 test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.sign-in_use-case✕
- Connections
- 1 pair of types, where a type in test.modules.identity.2_presentation.controllers uses a type in src.modules.identity.1_application.use-cases.sign-in_use-case.
- The types involved
test.modules.identity.2_presentation.controllers.sign-in.controller.unit-test→src.modules.identity.1_application.use-cases.sign-in_use-case.SignInUseCase
- Direction
- test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.sign-in_use-case, so a change to src.modules.identity.1_application.use-cases.sign-in_use-case can break test.modules.identity.2_presentation.controllers, while a change to test.modules.identity.2_presentation.controllers can't break src.modules.identity.1_application.use-cases.sign-in_use-case.
- Position
- Below the diagonal: test.modules.identity.2_presentation.controllers uses a module listed above it, which is the healthy direction.
40→39 test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.sign-up_use-case✕
- Connections
- 1 pair of types, where a type in test.modules.identity.2_presentation.controllers uses a type in src.modules.identity.1_application.use-cases.sign-up_use-case.
- The types involved
test.modules.identity.2_presentation.controllers.sign-up.controller.unit-test→src.modules.identity.1_application.use-cases.sign-up_use-case.SignUpUseCase
- Direction
- test.modules.identity.2_presentation.controllers uses src.modules.identity.1_application.use-cases.sign-up_use-case, so a change to src.modules.identity.1_application.use-cases.sign-up_use-case can break test.modules.identity.2_presentation.controllers, while a change to test.modules.identity.2_presentation.controllers can't break src.modules.identity.1_application.use-cases.sign-up_use-case.
- Position
- Below the diagonal: test.modules.identity.2_presentation.controllers 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 | 65 | High / Critical |
| A07:2025 — Authentication Failures | 13 | High / Critical |
| A02:2025 — Security Misconfiguration | 4 | Medium |
| A05:2025 — Injection | 3 | High / Critical |
Roadmap
Immediately resolve the eight leaked secrets in development and configuration files, then implement a global authentication guard with explicit public opt-outs to enforce default-deny access controls. Strengthen data protection by vaulting keys and encrypting sensitive columns, while cleaning up five deprecated dependencies to maintain hygiene. Finally, integrate a SAST step into the CI pipeline to automatically block security regressions before they reach production.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 8 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2), REDACTED (2), REDACTED. | +8.1 pts | Low | REDACTED Scanning |
| Resolve the 5 Deprecated finding(s) in Dependency Hygiene — start with package.json (5). | +3.9 pts | Low | Dependency Hygiene |
| Protect endpoints by default-deny: a global authentication guard or middleware with explicit public opt-outs, or a guard on every route, plus named role/permission rules for what an authenticated caller may do. | +6.7 pts | Medium | Access Controls |
| Strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, Azure Key Vault, GCP KMS / REDACTED Manager, HashiCorp Vault) and encrypt the most sensitive columns (typeorm-encrypted, prisma-field-encryption, mongoose-field-encryption or MongoDB CSFLE) — partial coverage still leaves gaps. | +5.8 pts | Medium | Data Protection |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +2.4 pts | Low | ADR Quality |
| Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with .nvmrc. | +2.1 pts | Low | Platform End-of-Life |
| Resolve the 4 REDACTED finding(s) in Secrets (history) — start with REDACTED, REDACTED, REDACTED. | +1.8 pts | Low | Secrets (history) |
| Resolve the 2 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (2). | +1.6 pts | Low | Dependency Hygiene |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 3.0 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 4.4 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 5.8 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 6.1 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| package.json | 6.3 | Mixed | Dependency Hygiene: Deprecated: @faker-js/faker |
| REDACTED | 7.2 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| .nvmrc | 7.9 | Mixed | Platform End-of-Life: End-of-life runtime: Node.js 18 |
| test/common/3.infra/events/amqplib/amqplib.adapter.unit-test.ts | 9.0 | Near-clean | Test Quality: Mock-dominated test: calls connection.createChannel with correct params |
| test/common/3.infra/webapp/express/express.adapter.unit-test.ts | 9.3 | Near-clean | Test Quality: Mock-dominated test: calls app.listen with correct params |
| test/common/3.infra/validation/ajv/ajv.adapter.unit-test.ts | 9.5 | Near-clean | Test Quality: Mock-dominated test: calls ajv.validate with correct params |
| test/modules/communication/3.infra/communication/nodemailer/nodemailer.adapter.unit-test.ts | 9.5 | Near-clean | Test Quality: Mock-dominated test: calls nodemailer.sendMail with correct params |
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. 78 of 82 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — 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 — 82 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, 184 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 · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — 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. Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the vitest suite in the repository root ran and not one test passed (Starting the MongoMemoryServer Instance failed, enable debug log for more information. Error:), so the coverage would describe the failed run, not the code — but the repository pins Node v18.16.1 in .nvmrc and the analyzer image ran it on Node 22, so the failure describes our runtime, not the suite. Coverage is excluded from the score rather than counted as a near-zero. This is OUR limitation, not a defect in the repo. In the meantime, commit (or publish into the working tree) the lcov/Cobertura report your CI produces and the real number is read on the next scan. You can widen what we reach: optional: commit the lcov/Cobertura report your CI produces, and the real number is read on the next scan.
- 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 vitest run in the repository root produced no per-test report (Starting the MongoMemoryServer Instance failed, enable debug log for more information. Error:). 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 vitest suite in the repository root was NOT MEASURED: the vitest run in the repository root produced no per-test report (Starting the MongoMemoryServer Instance failed, enable debug log for more information. Error:). 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-contributor repository — bus factor is not applicable (1 contributor(s) across 291 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- 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.
- D32 Data Compliance (PII/GDPR) — 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. `src/common/2.presentation/documentation/api-documenter.ts` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 15 — the compose project is invalid) — time="2026-10-22T13:13:15Z" level=warning msg="The \"DEBUG_PORT\" variable is not set. Defaulting to a blank string." time="2026-10-22T13:13:15Z" level=warning msg="The \"PERSISTENCE\" variable is not set. Defaulting to a blank string." time="2026-10-22T13:13:15Z" level=warning msg="The \"PERSISTENCE\" variable is not set. Defaulting to a blank string." no port specified: :<empty>; runtime evidence skipped.
- 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.
- 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 REDACTED Scanning: REDACTED 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.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- 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.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a 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.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- 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.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D6 · Cohesion (LCOM4)
0 of 17 classes have LCOM4 above 3.
D9 · Test Distribution
447 test methods: 447 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 447 `it`/`test` case(s) across 93 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 447 tests.
D12 · Dependency Hygiene
19 outdated direct production npm dependency(ies) of 20 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. 5 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 Deprecated finding(s) in Dependency Hygiene — start with package.json (5). — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 4 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (4). — One of this dimension's main actionable groups (4 recommendation-level).
- Resolve the 2 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (2). — One of this dimension's main actionable groups (2 recommendation-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · REDACTED Scanning
7 secret(s) detected.
What to do
- Resolve the 8 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (8 issue-level).
- Enforce REDACTED Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 20 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 20 production dependency(ies) this repository's committed lockfile resolves, across 1 product package.json manifest(s). Its 26 `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, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 4683 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README (README.md) is clear and complete: it states the project purpose (a TDD/DDD/Clean-Arch template with user/profile management, events handling, SQL/noSQL options), gives a one-line overview of each Getting Started command, links to license/codecov/circleci/codeclimate shields, and documents an ongoing todo list. The architecture/design docs are separate markdown files (docs/todo.md, docs/conventions/new-route-steps.md, docs/conventions/test-doubles.md) that cover test-double types, new-route steps, and sign-up DTO requirements; the README itself is focused on usage rather than the project's scope. All four architecture/Docs markdown files are present.
What to do
- Improve Documentation Quality — currently 6.0/10. — The repository's root README (README.md) is clear and complete: it states the project purpose (a TDD/DDD/Clean-Arch template with user/profile management, events handling, SQL/noSQL options), gives a one-line overview of each Getting Started command, links to license/codecov/circleci/codeclimate shields, and documents an ongoing todo list. The architecture/design docs are separate markdown files (docs/todo.md, docs/conventions/new-route-steps.md, docs/conventions/test-doubles.md) that cover test-double types, new-route steps, and sign-up DTO requirements; the README itself is focused on usage rather than the project's scope. All four architecture/Docs markdown files are present.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
1 of 1 build units (npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
4 finding(s): 0 critical, 4 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 4 REDACTED finding(s) in Secrets (history) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
3 finding(s): 0 critical, 2 high, 1 medium, 0 low. semgrep hit a parse error in 2 file(s) — `src/common/2.presentation/documentation/api-documenter.ts` (lines 23–24), `src/common/3.infra/persistence/persistence.fixture.ts` (lines 6–7) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D30 · Dependency Vulnerabilities
65 finding(s): 11 critical, 31 high, 16 medium, 7 low.
What to do
- Resolve the 31 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (31). — One of this dimension's main actionable groups (31 issue-level).
- Resolve the 15 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (15). — One of this dimension's main actionable groups (15 warning-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).
D31 · IaC & Container Security
4 finding(s): 0 critical, 0 high, 4 medium, 0 low.
What to do
- Resolve the 4 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (4). — One of this dimension's main actionable groups (4 warning-level).
D34 · Knowledge Freshness
12 of 12 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/modules/identity/3.infra/persistence/postgres/repositories/postgres-user.repository.ts. Counted over 12 of the 187 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 12 Orphaned file finding(s) in Knowledge Freshness — start with postgres-user.repository.ts, amqplib.adapter.ts, express.adapter.ts. — One of this dimension's main actionable groups (12 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 2 platform declaration(s) and 20 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.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with .nvmrc. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
C1 · Data Protection
What to do
- Strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, Azure Key Vault, GCP KMS / REDACTED Manager, HashiCorp Vault) and encrypt the most sensitive columns (typeorm-encrypted, prisma-field-encryption, mongoose-field-encryption or MongoDB CSFLE) — partial coverage still leaves gaps.
- Enforce HTTPS (serve through https.createServer / NestJS httpsOptions, or redirect plain HTTP with express-sslify behind your TLS terminator) so data in transit is always encrypted.
C2 · Access Controls
- This repository serves requests — express() (src/common/3.infra/webapp/express/express.adapter.ts:22) — and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected. — src/common/3.infra/webapp/express/express.adapter.ts:22
What to do
- Protect endpoints by default-deny: a global authentication guard or middleware with explicit public opt-outs, or a guard on every route, plus named role/permission rules for what an authenticated caller may do.
DM1 · Aggregate boundaries
DM11 · Constructible invalid state
DM4 · Rich vs anemic model
- `UserAggregate` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — src/modules/identity/0.domain/aggregates/user.aggregate.ts:13
- `GroupEntity` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — src/modules/identity/0.domain/entities/group.entity.ts:15
- `UserEntity` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — src/modules/identity/0.domain/entities/user.entity.ts:30
- `AggregateStub` is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — test/common/_doubles/stubs/aggregate.stub.ts:6
What to do
- Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 · Encapsulated state
- `GroupEntity` exposes publicly writable state (name). — src/modules/identity/0.domain/entities/group.entity.ts:15
- `UserEntity` exposes publicly writable state (emailConfirmed, password, token). — src/modules/identity/0.domain/entities/user.entity.ts:30
What to do
- Make entity setters private/init-only and hand collections out as IReadOnlyList/IReadOnlyCollection over a private backing field; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters).
DM6 · Domain ↔ infrastructure boundary
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
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
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
- `src/common/0.domain/utils/var.ts` reports through `console.*` at line 3 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/common/0.domain/utils/var.ts:3
- `src/common/0.domain/utils/var.ts` reports through `console.*` at line 9 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/common/0.domain/utils/var.ts:9
- `src/common/0.domain/utils/var.ts` reports through `console.*` at line 21 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/common/0.domain/utils/var.ts:21
- `src/common/0.domain/utils/var.ts` reports through `console.*` at line 33 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/common/0.domain/utils/var.ts:33
- `src/common/0.domain/utils/var.ts` reports through `console.*` at line 45 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/common/0.domain/utils/var.ts:45
- `src/common/0.domain/utils/var.ts` reports through `console.*` at line 53 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/common/0.domain/utils/var.ts:53
- `src/common/2.presentation/factories/server-error.factory.ts` reports through `console.*` at line 9 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/common/2.presentation/factories/server-error.factory.ts:9
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.
- Consider OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) and a health-check endpoint (@godaddy/terminus or a /health route) for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 1017 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
- Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P8 · Schema migrations
- This repository versions its schema (TypeORM migrations), but TypeORM synchronize: true here builds or alters the schema from the model as well, outside that history — the two paths can disagree about the shape, and a change made this way is never a reviewed migration. Turn it off and let TypeORM migrations own the schema. — src/common/3.infra/persistence/postgres/data-sources/postgres-test.data-source.ts:20
What to do
- Turn off TypeORM synchronize: true in production and let the versioned migrations own the schema.
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- 6 duplicated blocks under src/modules/ have copies in at least two of the sibling directories communication, identity — 3 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 6 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 6 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 6 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — src/modules/communication/1.application/use-cases/send-email-confirmation.use-case.ts:12
- src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-user.repository.ts:17 · src/modules/identity/3.infra/persistence/postgres/repositories/postgres-user.repository.ts:14 — the two spans are one implementation copied and then locally edited — 460 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/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-user.repository.ts:17
- src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-group.repository.ts:10 · src/modules/identity/3.infra/persistence/postgres/repositories/postgres-group.repository.ts:10 — 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/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-group.repository.ts:10
- src/modules/identity/3.infra/persistence/mongodb/mappers/mongodb-user.mapper.ts:6 · src/modules/identity/3.infra/persistence/postgres/mappers/postgres-user.mapper.ts:4 — the two spans are one implementation copied and then locally edited — 196 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/modules/identity/3.infra/persistence/mongodb/mappers/mongodb-user.mapper.ts:6
- src/common/3.infra/events/amqplib/amqplib.adapter.ts:85 · src/common/3.infra/events/amqplib/amqplib.adapter.ts:114 — 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/common/3.infra/events/amqplib/amqplib.adapter.ts:85
- src/modules/identity/2.presentation/controllers/change-password.controller.ts:9 · src/modules/identity/2.presentation/controllers/create-group.controller.ts:9 · src/modules/identity/2.presentation/controllers/sign-in.controller.ts:9 · src/modules/identity/2.presentation/controllers/sign-up.controller.ts:9 — the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/modules/identity/2.presentation/controllers/change-password.controller.ts:9
- src/modules/identity/1.application/use-cases/change-password.use-case.ts:87 · src/modules/identity/1.application/use-cases/confirm-email.use-case.ts:50 · src/modules/identity/1.application/use-cases/sign-in.use-case.ts:104 — the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/modules/identity/1.application/use-cases/change-password.use-case.ts:87
- src/common/3.infra/persistence/mongodb/client/mongodb.client.ts:44 · src/common/3.infra/persistence/postgres/client/postgres.client.ts:42 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — src/common/3.infra/persistence/mongodb/client/mongodb.client.ts:44
- src/common/3.infra/webapp/express/express.adapter.ts:30 · src/common/3.infra/webapp/express/express.adapter.ts:46 — 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/common/3.infra/webapp/express/express.adapter.ts:30
- src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-group.repository.ts:57 · src/modules/identity/3.infra/persistence/postgres/repositories/postgres-group.repository.ts:50 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-group.repository.ts:57
- src/modules/identity/2.presentation/controllers/change-password.controller.ts:18 · src/modules/identity/2.presentation/controllers/confirm-email.controller.ts:18 · src/modules/identity/2.presentation/controllers/create-group.controller.ts:18 · src/modules/identity/2.presentation/controllers/sign-in.controller.ts:18 · +1 more site(s) not listed — the 5 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — src/modules/identity/2.presentation/controllers/change-password.controller.ts:18
- src/common/0.domain/utils/either.ts:3 · src/common/0.domain/utils/either.ts:19 — the two spans are one implementation copied and then locally edited — 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — src/common/0.domain/utils/either.ts:3
- src/common/3.infra/webapp/express/express.adapter.ts:67 · src/common/3.infra/webapp/express/express.adapter.ts:86 — 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/common/3.infra/webapp/express/express.adapter.ts:67
- src/common/4.main/container/persistence/make-mongodb.ts:12 · src/common/4.main/container/persistence/make-postgres.ts:12 — 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/common/4.main/container/persistence/make-mongodb.ts:12
- src/modules/communication/0.domain/value-objects/email.from.value-object.ts:8 · src/modules/identity/0.domain/value-objects/user.email.value-object.ts:8 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — src/modules/communication/0.domain/value-objects/email.from.value-object.ts:8
- src/common/2.presentation/middlewares/auth.middleware.ts:11 · src/common/2.presentation/middlewares/schema-validator.middleware.ts:8 · src/common/3.infra/cryptography/argon/argon.adapter.ts:8 · src/modules/communication/3.infra/communication/nodemailer/nodemailer.adapter.ts:11 · +1 more site(s) not listed — the 5 copies are spread across 5 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/common/2.presentation/middlewares/auth.middleware.ts:11
- src/common/3.infra/events/amqplib/amqplib.adapter.ts:32 · src/common/3.infra/events/amqplib/amqplib.adapter.ts:56 — 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/common/3.infra/events/amqplib/amqplib.adapter.ts:32
- src/common/3.infra/webapp/express/express.adapter.ts:52 · src/common/3.infra/webapp/express/express.adapter.ts:88 — 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/common/3.infra/webapp/express/express.adapter.ts:52
- src/modules/communication/0.domain/value-objects/email.from.value-object.ts:9 · src/modules/communication/0.domain/value-objects/email.to.value-object.ts:9 · src/modules/identity/0.domain/value-objects/user.email.value-object.ts:9 — the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — src/modules/communication/0.domain/value-objects/email.from.value-object.ts:9
- src/modules/identity/0.domain/value-objects/group.name.value-object.ts:7 · src/modules/identity/0.domain/value-objects/user.name.value-object.ts:7 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — src/modules/identity/0.domain/value-objects/group.name.value-object.ts:7
- src/modules/identity/0.domain/value-objects/user.password.value-object.ts:7 · src/modules/identity/0.domain/value-objects/user.token.value-object.ts:7 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — src/modules/identity/0.domain/value-objects/user.password.value-object.ts:7
- src/common/3.infra/persistence/mongodb/base/mongodb.fixture.ts:7 · src/common/3.infra/persistence/postgres/base/postgres.fixture.ts:5 — 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/common/3.infra/persistence/mongodb/base/mongodb.fixture.ts:7
- src/modules/communication/0.domain/value-objects/email.subject.value-object.ts:8 · src/modules/identity/0.domain/value-objects/group.name.value-object.ts:8 · src/modules/identity/0.domain/value-objects/user.name.value-object.ts:8 — the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — src/modules/communication/0.domain/value-objects/email.subject.value-object.ts:8
- src/common/0.domain/validators/date.validator.ts:4 · src/common/0.domain/validators/not-empty.validator.ts:3 · src/common/0.domain/validators/not-null.validator.ts:3 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/common/0.domain/validators/date.validator.ts:4
- src/common/3.infra/persistence/mongodb/base/mongodb.fixture.ts:18 · src/common/3.infra/persistence/postgres/base/postgres.fixture.ts:16 — 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/common/3.infra/persistence/mongodb/base/mongodb.fixture.ts:18
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
- vitest.setup.ts:1 imports @shelf/jest-mongodb/lib/setup, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — vitest.setup.ts:1
- vitest.setup.ts:2 imports @shelf/jest-mongodb/lib/teardown, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — vitest.setup.ts:2
What to do
- Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
R2 · Cyclomatic Complexity
R3 · Large Files
R4 · Test Coverage
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×10) — src/modules/identity/2.presentation/routes/confirm-email/confirm-email.path.ts:1, src/common/4.main/scripts/init-persistence.ts:1, src/common/4.main/server.ts:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
- 45 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, 4 tooling and 111 test entry point(s) detected in this repo. Gate removals on `npm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (3 application, 4 tooling, 111 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/modules/identity/4.main/setup/webapp/identity.api-specification.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×5) — src/modules/identity/2.presentation/routes/change-password/change-password.path.ts, src/modules/identity/2.presentation/routes/sign-in/sign-in.path.ts, src/modules/identity/2.presentation/routes/sign-up/sign-up.path.ts, …
- no import path from any entry point (3 application, 4 tooling, 111 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 — src/modules/identity/4.main/setup/webapp/identity.api-specification.ts
- Nothing imports this binding — it is safe to review for removal. (×3) — src/common/2.presentation/factories/client-error.factory.ts:4, src/common/2.presentation/factories/server-error.factory.ts:3, src/modules/identity/3.infra/persistence/mongodb/entities/mongodb-group.entity.ts:22
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Declared in the root package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
- src/common/4.main/container/index.ts → src/common/4.main/container/persistence/make-mongodb.ts → src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-group.repository.ts → src/common/4.main/container/index.ts (one verified cycle inside a mutually-dependent group of 7 files) — src/common/4.main/container/index.ts:20
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
S1 · Web-Security Posture
- `app.listen(…)` serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (`https.createServer`, Fastify `https`, Nest `httpsOptions`), no redirect of plain requests to `https://`, no `Strict-Transport-Security` (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it — so a browser may talk to it in clear text. (−2.0 on this card.) — src/common/3.infra/webapp/express/express.adapter.ts:34
What to do
- Enforce HTTPS on each listed server: serve TLS itself, or redirect plain requests to `https://` and send `Strict-Transport-Security` (`helmet()` does by default) behind the TLS-terminating proxy — and commit that proxy's configuration beside the service. A server only this machine reaches should bind `127.0.0.1`.
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
X5 · Nullable reference types
- 0/2 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 | 73% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 80% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 54% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 30% | Weak — gated by D13, P3, P5, P8 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 28% | Weak — gated by D30, C1, C2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 61% | Adequate — gated by DM4, DM5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 2 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- X10 Duplicated predicate — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (an audit-log table or model, an ORM write hook that records changes — a TypeORM/MikroORM subscriber, a Sequelize or Mongoose hook, Prisma middleware — or a change-history plugin such as mongoose-history or sequelize-paper-trail) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 53 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).
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 15 — the compose project is invalid) — time="2026-10-22T13:13:15Z" level=warning msg="The \"DEBUG_PORT\" variable is not set. Defaulting to a blank string." time="2026-10-22T13:13:15Z" level=warning msg="The \"PERSISTENCE\" variable is not set. Defaulting to a blank string." time="2026-10-22T13:13:15Z" level=warning msg="The \"PERSISTENCE\" variable is not set. Defaulting to a blank string." no port specified: :<empty>; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- D11 Test Reliability — Test reliability not measured — JavaScript/TypeScript suite did not run
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- 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. Aggregate roots were found in only one source directory (identity), which is a layered codebase, not two contexts. 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.
- D32 Data Compliance (PII/GDPR) — 1 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- 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 — JavaScript/TypeScript suite
- DM10 One transaction, one aggregate — no repository writes detected — no operation to judge against the one-aggregate rule
- DM2 Strongly-typed ids — no id-bearing domain types detected — strongly-typed-id adoption not assessable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- 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
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HTTP client call or construction in the JavaScript/TypeScript source (service entry point: src/common/3.infra/webapp/express/express.adapter.ts:22 (express()))
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage --coverage.reporter=lcovonly`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- SC1 Supply-chain hygiene — 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 — 57 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
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Import cycle (3 files) src/common/4.main/container/index.ts:20
Serious — 82 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No test reaches this file src/modules/identity/2.presentation/routes/confirm-email/confirm-email.path.ts:1
- No test reaches this file src/common/4.main/scripts/init-persistence.ts:1
- No test reaches this file src/common/4.main/server.ts:1
- No test reaches this file src/modules/communication/4.main/factories/handlers/user-send-email-confirmation.handler.factory.ts:1
- No test reaches this file src/modules/identity/4.main/factories/handlers/user-set-group.handler.factory.ts:1
- No test reaches this file src/modules/communication/1.application/events/queues/user-send-email-confirmation.queue.ts:1
- No test reaches this file src/common/4.main/setup/events/index.ts:1
- No test reaches this file src/modules/communication/4.main/setup/handlers/communication.handlers.ts:1
- No test reaches this file src/modules/identity/4.main/setup/handlers/identity.handlers.ts:1
- No test reaches this file src/common/4.main/setup/handlers/index.ts:1
- Deprecated: @faker-js/faker package.json:65
- Deprecated: eslint package.json:78
- Deprecated: eslint-config-standard-with-typescript package.json:79
- Deprecated: jscpd package.json:85
- Deprecated: supertest package.json:87
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Anemic entity: UserAggregate src/modules/identity/0.domain/aggregates/user.aggregate.ts:13
- Anemic entity: GroupEntity src/modules/identity/0.domain/entities/group.entity.ts:15
- Anemic entity: UserEntity src/modules/identity/0.domain/entities/user.entity.ts:30
- Anemic entity: AggregateStub test/common/_doubles/stubs/aggregate.stub.ts:6
- Duplicated block (9 lines × 2 locations) src/common/3.infra/events/amqplib/amqplib.adapter.ts:32
- Duplicated block (9 lines × 2 locations) src/common/3.infra/webapp/express/express.adapter.ts:52
- Duplicated block (9 lines × 2 locations) src/modules/identity/0.domain/value-objects/group.name.value-object.ts:7
- Duplicated block (9 lines × 2 locations) src/modules/identity/0.domain/value-objects/user.password.value-object.ts:7
- Duplicated block (10 lines × 2 locations) src/common/3.infra/webapp/express/express.adapter.ts:67
- Duplicated block (10 lines × 2 locations) src/common/4.main/container/persistence/make-mongodb.ts:12
- Duplicated block (10 lines × 2 locations) src/modules/communication/0.domain/value-objects/email.from.value-object.ts:8
- Mutable entity: GroupEntity src/modules/identity/0.domain/entities/group.entity.ts:15
- Mutable entity: UserEntity src/modules/identity/0.domain/entities/user.entity.ts:30
- Duplicated block (15 lines × 2 locations) src/common/3.infra/persistence/mongodb/client/mongodb.client.ts:44
- Duplicated block (15 lines × 2 locations) src/common/3.infra/webapp/express/express.adapter.ts:30
- Boundary violation [package:third-party-deep-import] vitest.setup.ts:1
- Boundary violation [package:third-party-deep-import] vitest.setup.ts:2
- Dead file (~70 LoC) src/modules/identity/2.presentation/routes/sign-in/sign-in.path.ts
- Dead file (~70 LoC) src/modules/identity/2.presentation/routes/sign-up/sign-up.path.ts
- No authorization src/common/3.infra/webapp/express/express.adapter.ts:22
- REDACTED
- REDACTED
- End-of-life runtime: Node.js 18 .nvmrc:1
- Coverage collected but not gated
- No DR/backup evidence
- Schema created by TypeORM synchronize: true outside the migrations src/common/3.infra/persistence/postgres/data-sources/postgres-test.data-source.ts:20
- Duplication concentrated across 2 sibling directories (6 clone groups) src/modules/communication/1.application/use-cases/send-email-confirmation.use-case.ts:12
- Duplicated block with local edits (63 matched lines × 2 locations) src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-user.repository.ts:17
- Duplicated block (32 lines × 2 locations) src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-group.repository.ts:10
- Duplicated block with local edits (30 matched lines × 2 locations) src/modules/identity/3.infra/persistence/mongodb/mappers/mongodb-user.mapper.ts:6
- Duplicated block (22 lines × 2 locations) src/common/3.infra/events/amqplib/amqplib.adapter.ts:85
- Duplicated block (20 lines × 4 locations) src/modules/identity/2.presentation/controllers/change-password.controller.ts:9
- Duplicated block (19 lines × 3 locations) src/modules/identity/1.application/use-cases/change-password.use-case.ts:87
- Duplicated block (14 lines × 2 locations) src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-group.repository.ts:57
- Duplicated block (13 lines × 5 locations) src/modules/identity/2.presentation/controllers/change-password.controller.ts:18
- Duplicated block with local edits (10 matched lines × 2 locations) src/common/0.domain/utils/either.ts:3
- Duplicated block (9 lines × 5 locations) src/common/2.presentation/middlewares/auth.middleware.ts:11
- Duplicated block (9 lines × 3 locations) src/modules/communication/0.domain/value-objects/email.from.value-object.ts:9
- Duplicated block (8 lines × 2 locations) src/common/3.infra/persistence/mongodb/base/mongodb.fixture.ts:7
- Duplicated block (8 lines × 3 locations) src/modules/communication/0.domain/value-objects/email.subject.value-object.ts:8
- Duplicated block (7 lines × 3 locations) src/common/0.domain/validators/date.validator.ts:4
- Duplicated block (7 lines × 2 locations) src/common/3.infra/persistence/mongodb/base/mongodb.fixture.ts:18
- Dependency Freshness
- Dead file (~85 LoC) src/modules/identity/2.presentation/routes/change-password/change-password.path.ts
- Dead file (~64 LoC) src/modules/identity/2.presentation/routes/group/create-group/create-group.path.ts
- Dead file (~60 LoC) src/modules/identity/2.presentation/routes/confirm-email/confirm-email.path.ts
- Dead file (~31 LoC) src/modules/identity/4.main/setup/webapp/identity.api-specification.ts
- Unused dependency 'git-commit-msg-linter'
Minor — 58 finding(s)
- Mock-dominated test: calls connection.createChannel with correct params test/common/3.infra/events/amqplib/amqplib.adapter.unit-test.ts:79
- Mock-dominated test: calls channel.assertQueue with correct params test/common/3.infra/events/amqplib/amqplib.adapter.unit-test.ts:89
- Mock-dominated test: calls channel.bindQueue with correct params test/common/3.infra/events/amqplib/amqplib.adapter.unit-test.ts:106
- Mock-dominated test: calls channel.assertExchange with correct params test/common/3.infra/events/amqplib/amqplib.adapter.unit-test.ts:135
- Mock-dominated test: calls channel.sendToQueue with correct params test/common/3.infra/events/amqplib/amqplib.adapter.unit-test.ts:161
- Mock-dominated test: calls channel.publish with correct params test/common/3.infra/events/amqplib/amqplib.adapter.unit-test.ts:204
- Mock-dominated test: calls channel.consume with correct params test/common/3.infra/events/amqplib/amqplib.adapter.unit-test.ts:247
- Mock-dominated test: does not call channel.ack when handlerFn returns Left test/common/3.infra/events/amqplib/amqplib.adapter.unit-test.ts:440
- Mock-dominated test: calls ajv.validate with correct params test/common/3.infra/validation/ajv/ajv.adapter.unit-test.ts:55
- Mock-dominated test: calls app.listen with correct params test/common/3.infra/webapp/express/express.adapter.unit-test.ts:68
- Mock-dominated test: calls app.<routeType> with correct params test/common/3.infra/webapp/express/express.adapter.unit-test.ts:100
- Mock-dominated test: calls nodemailer.sendMail with correct params test/modules/communication/3.infra/communication/nodemailer/nodemailer.adapter.unit-test.ts:63
- Orphaned file src/modules/identity/3.infra/persistence/postgres/repositories/postgres-user.repository.ts:1
- Orphaned file src/common/3.infra/events/amqplib/amqplib.adapter.ts:1
- Orphaned file src/common/3.infra/webapp/express/express.adapter.ts:1
- Orphaned file src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-user.repository.ts:1
- Orphaned file src/modules/identity/1.application/use-cases/sign-in.use-case.ts:1
- Orphaned file src/modules/identity/1.application/use-cases/change-password.use-case.ts:1
- Orphaned file src/modules/identity/1.application/use-cases/sign-up.use-case.ts:1
- Orphaned file src/modules/identity/0.domain/entities/user.entity.ts:1
- Orphaned file src/common/2.presentation/middlewares/auth.middleware.ts:1
- Orphaned file src/modules/identity/3.infra/persistence/mongodb/repositories/mongodb-group.repository.ts:1
- Orphaned file src/modules/identity/1.application/use-cases/confirm-email.use-case.ts:1
- Orphaned file src/modules/identity/2.presentation/routes/change-password/change-password.path.ts:1
- Console output used as the logging channel src/common/0.domain/utils/var.ts:3
- Console output used as the logging channel src/common/0.domain/utils/var.ts:9
- Console output used as the logging channel src/common/0.domain/utils/var.ts:21
- Console output used as the logging channel src/common/0.domain/utils/var.ts:33
- Console output used as the logging channel src/common/0.domain/utils/var.ts:45
- Console output used as the logging channel src/common/0.domain/utils/var.ts:53
- Console output used as the logging channel src/common/2.presentation/factories/server-error.factory.ts:9
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Deprecated: resolve-url REDACTED:10831
- Deprecated: source-map-resolve REDACTED:11495
- Deprecated: source-map-url REDACTED:11508
- Deprecated: urix REDACTED:12838
- Outdated (npm): i18next package.json:50
- Outdated (npm): nodemailer package.json:54
- No ADRs found
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- Orphaned files with no living knowledge
- REDACTED
- No ADRs
- No SAST
- No rollback/health safety
- Unused export 'ClientErrorStatus' src/common/2.presentation/factories/client-error.factory.ts:4
- Unused export 'ServerErrorStatus' src/common/2.presentation/factories/server-error.factory.ts:3
- Unused export 'MongodbGroupModel' src/modules/identity/3.infra/persistence/mongodb/entities/mongodb-group.entity.ts:22
- No app-layer HTTPS enforcement detected src/common/3.infra/webapp/express/express.adapter.ts:34
- Duplicated predicate src/common/3.infra/persistence/mongodb/base/mongodb.fixture.ts:34
- Strict null checking is not enabled everywhere the repository type-checks
Minor — 17 finding(s)
- Outdated (npm): ajv
- Outdated (npm): amqplib
- Outdated (npm): argon2
- Outdated (npm): dotenv
- Outdated (npm): express
- Outdated (npm): handlebars
- Outdated (npm): jsonwebtoken
- Outdated (npm): mongodb
- Outdated (npm): mongoose
- Outdated (npm): nodemon
- Outdated (npm): pg
- Outdated (npm): pg-mem
- Outdated (npm): rimraf
- Outdated (npm): swagger-ui-express
- Outdated (npm): tsc-alias
- 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-5d815eee17cf4d66b0fb2b424e859608/history.json --exit-code 0 --source . | 2 | 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-5d815eee17cf4d66b0fb2b424e859608/tree.json --exit-code 0 --source . | 2 | 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 | 65 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 4 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 1 file(s) — `src/common/2.presentation/documentation/api-documenter.ts` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 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 |