Executive summary
Gramli/FileApi scores 51 out of 100 and is rated Adequate, while five of its seven lenses score higher still: Performance at 100 and Code Health at 94, both rated Exemplary, Architecture at 88 and Maturity at 74, both rated Strong, and Accessibility at 69, rated Adequate.
The score is lower than those five because the weakest lens counts most, and here that is Production Readiness, which scores 38 and is rated Weak. Its Test Coverage dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 1 Leaked secret finding(s) in Secret Scanning and to protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler, and if Production Readiness rose to 70, the score would rise from 51 to about 61.
15 findings are critical: seven in Static Analysis (SAST), four in Dependency Vulnerabilities, two in Secrets (history), one in Project dependency cycles and one in Secret Scanning.
Watchdog couldn't measure 5 dimensions in this code, among them Code Coverage, Dependency Hygiene and IL Efficiency, so they are left out of the score. The product code is 1,951 lines, which would take an estimated 0.1 person-years, around €4,200, to rebuild.
If Production Readiness rose from 38 to 70, the lowest score rated Strong, the score would rise from 51 to about 61.
New since the last survey: 17 findings
- Secret Scanning · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Dependency Hygiene · Unused dependency 'istanbul-lib-instrument'
- Access Controls · No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs
- Access Controls · No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs
- Access Controls · No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs
- Access Controls · No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs
- Access Controls · No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs
- Access Controls · No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs
Fixed since the last survey: 65 findings
- Static Analysis (SAST) · Medium: watchdog-eol-node-runtime-in-workflow REDACTED
- Dependency Vulnerabilities · Critical CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Critical CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Critical CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Critical CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Critical CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Critical CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High vulnerability: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium vulnerability: [GHSA redacted] REDACTED
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €4,200 · Estimate
| Cost to rebuild | €1,400 to €7,000, for 24 to 74 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 51. 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 | Very small: 1,951 lines of product code |
| Comment lines | The estimate prices 1,945 lines. Comment lines count towards the size of 1,951 lines but aren't priced as work. |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 (global) | 2 File.API.Configuration | 3 File.API.EndpointBuilders | 4 File.API.Extensions | 5 File.Core.Configuration | 6 File.Domain.Abstractions | 7 File.Domain.Dtos | 8 File.Domain.Extensions | 9 File.Domain.Logging | 10 File.Domain.Options | 11 File.Domain.Queries | 12 File.Infrastructure.Abstractions | 13 File.Infrastructure.Configuration | 14 File.Infrastructure.Database.EFContext.Entities | 15 File.Infrastructure.Extensions | 16 src.File_Frontend | 17 src.File_Frontend.src | 18 src.File_Frontend.src.app | 19 src.File_Frontend.src.app.app-routing_module | 20 src.File_Frontend.src.app.app_model | 21 src.File_Frontend.src.app.app_module | 22 src.File_Frontend.src.app.components.select-extension-modal_component | 23 src.File_Frontend.src.app.services.notification-adapter_service | 24 src.File_Frontend.src.app.translate.multi-translate-http-loader | 25 File.API.Files | 26 File.Core.Extensions | 27 File.Core.Queries | 28 File.Domain.Commands | 29 File.Infrastructure.Database.EFContext | 30 File.Infrastructure.FileConversions.Converters | 31 src.File_Frontend.src.app.services.file-api_http_service | 32 File.Core.Abstractions | 33 src.File_Frontend.src.app.services.file-loading_service | 34 File.Core.Commands | 35 File.Core.Validation | 36 File.Infrastructure.Database.Repositories | 37 File.Infrastructure.FileConversions | 38 src.File_Frontend.src.app.app_component |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 (global) | ||||||||||||||||||||||||||||||||||||||
| 2 File.API.Configuration | ||||||||||||||||||||||||||||||||||||||
| 3 File.API.EndpointBuilders | ||||||||||||||||||||||||||||||||||||||
| 4 File.API.Extensions | ||||||||||||||||||||||||||||||||||||||
| 5 File.Core.Configuration | ||||||||||||||||||||||||||||||||||||||
| 6 File.Domain.Abstractions | ||||||||||||||||||||||||||||||||||||||
| 7 File.Domain.Dtos | ||||||||||||||||||||||||||||||||||||||
| 8 File.Domain.Extensions | ||||||||||||||||||||||||||||||||||||||
| 9 File.Domain.Logging | ||||||||||||||||||||||||||||||||||||||
| 10 File.Domain.Options | ||||||||||||||||||||||||||||||||||||||
| 11 File.Domain.Queries | ||||||||||||||||||||||||||||||||||||||
| 12 File.Infrastructure.Abstractions | ||||||||||||||||||||||||||||||||||||||
| 13 File.Infrastructure.Configuration | ||||||||||||||||||||||||||||||||||||||
| 14 File.Infrastructure.Database.EFContext.Entities | ||||||||||||||||||||||||||||||||||||||
| 15 File.Infrastructure.Extensions | ||||||||||||||||||||||||||||||||||||||
| 16 src.File_Frontend | ||||||||||||||||||||||||||||||||||||||
| 17 src.File_Frontend.src | ||||||||||||||||||||||||||||||||||||||
| 18 src.File_Frontend.src.app | ||||||||||||||||||||||||||||||||||||||
| 19 src.File_Frontend.src.app.app-routing_module | ||||||||||||||||||||||||||||||||||||||
| 20 src.File_Frontend.src.app.app_model | ||||||||||||||||||||||||||||||||||||||
| 21 src.File_Frontend.src.app.app_module | ||||||||||||||||||||||||||||||||||||||
| 22 src.File_Frontend.src.app.components.select-extension-modal_component | ||||||||||||||||||||||||||||||||||||||
| 23 src.File_Frontend.src.app.services.notification-adapter_service | ||||||||||||||||||||||||||||||||||||||
| 24 src.File_Frontend.src.app.translate.multi-translate-http-loader | ||||||||||||||||||||||||||||||||||||||
| 25 File.API.Files | 1 | |||||||||||||||||||||||||||||||||||||
| 26 File.Core.Extensions | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 27 File.Core.Queries | 1 | 4 | 2 | 12 | ||||||||||||||||||||||||||||||||||
| 28 File.Domain.Commands | 1 | |||||||||||||||||||||||||||||||||||||
| 29 File.Infrastructure.Database.EFContext | 1 | |||||||||||||||||||||||||||||||||||||
| 30 File.Infrastructure.FileConversions.Converters | 5 | |||||||||||||||||||||||||||||||||||||
| 31 src.File_Frontend.src.app.services.file-api_http_service | 2 | |||||||||||||||||||||||||||||||||||||
| 32 File.Core.Abstractions | 2 | 4 | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 33 src.File_Frontend.src.app.services.file-loading_service | 1 | |||||||||||||||||||||||||||||||||||||
| 34 File.Core.Commands | 1 | 3 | ||||||||||||||||||||||||||||||||||||
| 35 File.Core.Validation | 2 | 1 | 3 | 2 | 2 | 7 | ||||||||||||||||||||||||||||||||
| 36 File.Infrastructure.Database.Repositories | 3 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||||
| 37 File.Infrastructure.FileConversions | 2 | 1 | 5 | 1 | ||||||||||||||||||||||||||||||||||
| 38 src.File_Frontend.src.app.app_component | 1 | 1 |
25→6 File.API.Files uses File.Domain.Abstractions✕
- Connections
- 1 pair of types, where a type in File.API.Files uses a type in File.Domain.Abstractions.
- The types involved
File.API.Files.FormFileProxy→File.Domain.Abstractions.IFileProxy
- Direction
- File.API.Files uses File.Domain.Abstractions, so a change to File.Domain.Abstractions can break File.API.Files, while a change to File.API.Files can't break File.Domain.Abstractions.
- Position
- Below the diagonal: File.API.Files uses a module listed above it, which is the healthy direction.
26→6 File.Core.Extensions uses File.Domain.Abstractions✕
- Connections
- 1 pair of types, where a type in File.Core.Extensions uses a type in File.Domain.Abstractions.
- The types involved
File.Core.Extensions.FileExtensions→File.Domain.Abstractions.IFileProxy
- Direction
- File.Core.Extensions uses File.Domain.Abstractions, so a change to File.Domain.Abstractions can break File.Core.Extensions, while a change to File.Core.Extensions can't break File.Domain.Abstractions.
- Position
- Below the diagonal: File.Core.Extensions uses a module listed above it, which is the healthy direction.
26→7 File.Core.Extensions uses File.Domain.Dtos✕
- Connections
- 1 pair of types, where a type in File.Core.Extensions uses a type in File.Domain.Dtos.
- The types involved
File.Core.Extensions.FileExtensions→File.Domain.Dtos.FileDto
- Direction
- File.Core.Extensions uses File.Domain.Dtos, so a change to File.Domain.Dtos can break File.Core.Extensions, while a change to File.Core.Extensions can't break File.Domain.Dtos.
- Position
- Below the diagonal: File.Core.Extensions uses a module listed above it, which is the healthy direction.
27→6 File.Core.Queries uses File.Domain.Abstractions✕
- Connections
- 1 pair of types, where a type in File.Core.Queries uses a type in File.Domain.Abstractions.
- The types involved
File.Core.Queries.ConvertToQuery→File.Domain.Abstractions.IFileProxy
- Direction
- File.Core.Queries uses File.Domain.Abstractions, so a change to File.Domain.Abstractions can break File.Core.Queries, while a change to File.Core.Queries can't break File.Domain.Abstractions.
- Position
- Below the diagonal: File.Core.Queries uses a module listed above it, which is the healthy direction.
27→7 File.Core.Queries uses File.Domain.Dtos✕
- Connections
- 4 pairs of types, where a type in File.Core.Queries uses a type in File.Domain.Dtos.
- The types involved
File.Core.Queries.ConvertToQueryHandler→File.Domain.Dtos.FileDtoFile.Core.Queries.DownloadFileQueryHandler→File.Domain.Dtos.FileDtoFile.Core.Queries.ExportFileQueryHandler→File.Domain.Dtos.FileDtoFile.Core.Queries.GetFilesInfoQueryHandler→File.Domain.Dtos.FileInfoDto
- Direction
- File.Core.Queries uses File.Domain.Dtos, so a change to File.Domain.Dtos can break File.Core.Queries, while a change to File.Core.Queries can't break File.Domain.Dtos.
- Position
- Below the diagonal: File.Core.Queries uses a module listed above it, which is the healthy direction.
27→11 File.Core.Queries uses File.Domain.Queries✕
- Connections
- 2 pairs of types, where a type in File.Core.Queries uses a type in File.Domain.Queries.
- The types involved
File.Core.Queries.DownloadFileQueryHandler→File.Domain.Queries.DownloadFileQueryFile.Core.Queries.ExportFileQueryHandler→File.Domain.Queries.ExportFileQuery
- Direction
- File.Core.Queries uses File.Domain.Queries, so a change to File.Domain.Queries can break File.Core.Queries, while a change to File.Core.Queries can't break File.Domain.Queries.
- Position
- Below the diagonal: File.Core.Queries uses a module listed above it, which is the healthy direction.
27→32 File.Core.Queries uses File.Core.Abstractions part of a loop✕
- Connections
- 12 pairs of types, where a type in File.Core.Queries uses a type in File.Core.Abstractions.
- The types involved
File.Core.Queries.ConvertToQueryHandler→File.Core.Abstractions.IConvertToQueryHandlerFile.Core.Queries.ConvertToQueryHandler→File.Core.Abstractions.IConvertToQueryValidatorFile.Core.Queries.ConvertToQueryHandler→File.Core.Abstractions.IFileConvertServiceFile.Core.Queries.DownloadFileQueryHandler→File.Core.Abstractions.IDownloadFileQueryHandlerFile.Core.Queries.DownloadFileQueryHandler→File.Core.Abstractions.IFileQueriesRepositoryFile.Core.Queries.ExportFileQueryHandler→File.Core.Abstractions.IExportFileQueryHandlerFile.Core.Queries.ExportFileQueryHandler→File.Core.Abstractions.IExportFileQueryValidatorFile.Core.Queries.ExportFileQueryHandler→File.Core.Abstractions.IFileByOptionsValidatorFile.Core.Queries.ExportFileQueryHandler→File.Core.Abstractions.IFileConvertServiceFile.Core.Queries.ExportFileQueryHandler→File.Core.Abstractions.IFileQueriesRepositoryFile.Core.Queries.GetFilesInfoQueryHandler→File.Core.Abstractions.IFileQueriesRepositoryFile.Core.Queries.GetFilesInfoQueryHandler→File.Core.Abstractions.IGetFilesInfoQueryHandler
- Direction
- File.Core.Queries uses File.Core.Abstractions, so a change to File.Core.Abstractions can break File.Core.Queries, while a change to File.Core.Queries can't break File.Core.Abstractions.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
28→6 File.Domain.Commands uses File.Domain.Abstractions✕
- Connections
- 1 pair of types, where a type in File.Domain.Commands uses a type in File.Domain.Abstractions.
- The types involved
File.Domain.Commands.AddFilesCommand→File.Domain.Abstractions.IFileProxy
- Direction
- File.Domain.Commands uses File.Domain.Abstractions, so a change to File.Domain.Abstractions can break File.Domain.Commands, while a change to File.Domain.Commands can't break File.Domain.Abstractions.
- Position
- Below the diagonal: File.Domain.Commands uses a module listed above it, which is the healthy direction.
29→14 File.Infrastructure.Database.EFContext uses File.Infrastructure.Database.EFContext.Entities✕
- Connections
- 1 pair of types, where a type in File.Infrastructure.Database.EFContext uses a type in File.Infrastructure.Database.EFContext.Entities.
- The types involved
File.Infrastructure.Database.EFContext.FileContext→File.Infrastructure.Database.EFContext.Entities.FileEntity
- Direction
- File.Infrastructure.Database.EFContext uses File.Infrastructure.Database.EFContext.Entities, so a change to File.Infrastructure.Database.EFContext.Entities can break File.Infrastructure.Database.EFContext, while a change to File.Infrastructure.Database.EFContext can't break File.Infrastructure.Database.EFContext.Entities.
- Position
- Below the diagonal: File.Infrastructure.Database.EFContext uses a module listed above it, which is the healthy direction.
30→12 File.Infrastructure.FileConversions.Converters uses File.Infrastructure.Abstractions✕
- Connections
- 5 pairs of types, where a type in File.Infrastructure.FileConversions.Converters uses a type in File.Infrastructure.Abstractions.
- The types involved
File.Infrastructure.FileConversions.Converters.JsonToXmlFileConverter→File.Infrastructure.Abstractions.IFileConverterFile.Infrastructure.FileConversions.Converters.JsonToYamlFileConverter→File.Infrastructure.Abstractions.IFileConverterFile.Infrastructure.FileConversions.Converters.XmlToJsonFileConverter→File.Infrastructure.Abstractions.IFileConverterFile.Infrastructure.FileConversions.Converters.XmlToYamlFileConverter→File.Infrastructure.Abstractions.IFileConverterFile.Infrastructure.FileConversions.Converters.YamlToJsonFileConverter→File.Infrastructure.Abstractions.IFileConverter
- Direction
- File.Infrastructure.FileConversions.Converters uses File.Infrastructure.Abstractions, so a change to File.Infrastructure.Abstractions can break File.Infrastructure.FileConversions.Converters, while a change to File.Infrastructure.FileConversions.Converters can't break File.Infrastructure.Abstractions.
- Position
- Below the diagonal: File.Infrastructure.FileConversions.Converters uses a module listed above it, which is the healthy direction.
31→20 src.File_Frontend.src.app.services.file-api_http_service uses src.File_Frontend.src.app.app_model✕
- Connections
- 2 pairs of types, where a type in src.File_Frontend.src.app.services.file-api_http_service uses a type in src.File_Frontend.src.app.app_model.
- The types involved
src.File_Frontend.src.app.services.file-api_http_service.FileApiHttpService→src.File_Frontend.src.app.app_model.IBase64Filesrc.File_Frontend.src.app.services.file-api_http_service.FileApiHttpService→src.File_Frontend.src.app.app_model.IDataResponse
- Direction
- src.File_Frontend.src.app.services.file-api_http_service uses src.File_Frontend.src.app.app_model, so a change to src.File_Frontend.src.app.app_model can break src.File_Frontend.src.app.services.file-api_http_service, while a change to src.File_Frontend.src.app.services.file-api_http_service can't break src.File_Frontend.src.app.app_model.
- Position
- Below the diagonal: src.File_Frontend.src.app.services.file-api_http_service uses a module listed above it, which is the healthy direction.
32→6 File.Core.Abstractions uses File.Domain.Abstractions✕
- Connections
- 2 pairs of types, where a type in File.Core.Abstractions uses a type in File.Domain.Abstractions.
- The types involved
File.Core.Abstractions.IFileByOptionsValidator→File.Domain.Abstractions.IFileProxyFile.Core.Abstractions.IFileConvertService→File.Domain.Abstractions.IFileProxy
- Direction
- File.Core.Abstractions uses File.Domain.Abstractions, so a change to File.Domain.Abstractions can break File.Core.Abstractions, while a change to File.Core.Abstractions can't break File.Domain.Abstractions.
- Position
- Below the diagonal: File.Core.Abstractions uses a module listed above it, which is the healthy direction.
32→7 File.Core.Abstractions uses File.Domain.Dtos✕
- Connections
- 4 pairs of types, where a type in File.Core.Abstractions uses a type in File.Domain.Dtos.
- The types involved
File.Core.Abstractions.IFileCommandsRepository→File.Domain.Dtos.FileDtoFile.Core.Abstractions.IFileConvertService→File.Domain.Dtos.FileDtoFile.Core.Abstractions.IFileQueriesRepository→File.Domain.Dtos.FileDtoFile.Core.Abstractions.IFileQueriesRepository→File.Domain.Dtos.FileInfoDto
- Direction
- File.Core.Abstractions uses File.Domain.Dtos, so a change to File.Domain.Dtos can break File.Core.Abstractions, while a change to File.Core.Abstractions can't break File.Domain.Dtos.
- Position
- Below the diagonal: File.Core.Abstractions uses a module listed above it, which is the healthy direction.
32→11 File.Core.Abstractions uses File.Domain.Queries✕
- Connections
- 2 pairs of types, where a type in File.Core.Abstractions uses a type in File.Domain.Queries.
- The types involved
File.Core.Abstractions.IExportFileQueryValidator→File.Domain.Queries.ExportFileQueryFile.Core.Abstractions.IFileQueriesRepository→File.Domain.Queries.DownloadFileQuery
- Direction
- File.Core.Abstractions uses File.Domain.Queries, so a change to File.Domain.Queries can break File.Core.Abstractions, while a change to File.Core.Abstractions can't break File.Domain.Queries.
- Position
- Below the diagonal: File.Core.Abstractions uses a module listed above it, which is the healthy direction.
32→27 File.Core.Abstractions uses File.Core.Queries✕
- Connections
- 1 pair of types, where a type in File.Core.Abstractions uses a type in File.Core.Queries.
- The types involved
File.Core.Abstractions.IConvertToQueryValidator→File.Core.Queries.ConvertToQuery
- Direction
- File.Core.Abstractions uses File.Core.Queries, so a change to File.Core.Queries can break File.Core.Abstractions, while a change to File.Core.Abstractions can't break File.Core.Queries.
- Position
- Below the diagonal: File.Core.Abstractions uses a module listed above it, which is the healthy direction.
32→28 File.Core.Abstractions uses File.Domain.Commands✕
- Connections
- 1 pair of types, where a type in File.Core.Abstractions uses a type in File.Domain.Commands.
- The types involved
File.Core.Abstractions.IAddFilesCommandValidator→File.Domain.Commands.AddFilesCommand
- Direction
- File.Core.Abstractions uses File.Domain.Commands, so a change to File.Domain.Commands can break File.Core.Abstractions, while a change to File.Core.Abstractions can't break File.Domain.Commands.
- Position
- Below the diagonal: File.Core.Abstractions uses a module listed above it, which is the healthy direction.
33→31 src.File_Frontend.src.app.services.file-loading_service uses src.File_Frontend.src.app.services.file-api_http_service✕
- Connections
- 1 pair of types, where a type in src.File_Frontend.src.app.services.file-loading_service uses a type in src.File_Frontend.src.app.services.file-api_http_service.
- The types involved
src.File_Frontend.src.app.services.file-loading_service.FileLoadingService→src.File_Frontend.src.app.services.file-api_http_service.FileApiHttpService
- Direction
- src.File_Frontend.src.app.services.file-loading_service uses src.File_Frontend.src.app.services.file-api_http_service, so a change to src.File_Frontend.src.app.services.file-api_http_service can break src.File_Frontend.src.app.services.file-loading_service, while a change to src.File_Frontend.src.app.services.file-loading_service can't break src.File_Frontend.src.app.services.file-api_http_service.
- Position
- Below the diagonal: src.File_Frontend.src.app.services.file-loading_service uses a module listed above it, which is the healthy direction.
34→28 File.Core.Commands uses File.Domain.Commands✕
- Connections
- 1 pair of types, where a type in File.Core.Commands uses a type in File.Domain.Commands.
- The types involved
File.Core.Commands.AddFilesCommandHandler→File.Domain.Commands.AddFilesCommand
- Direction
- File.Core.Commands uses File.Domain.Commands, so a change to File.Domain.Commands can break File.Core.Commands, while a change to File.Core.Commands can't break File.Domain.Commands.
- Position
- Below the diagonal: File.Core.Commands uses a module listed above it, which is the healthy direction.
34→32 File.Core.Commands uses File.Core.Abstractions✕
- Connections
- 3 pairs of types, where a type in File.Core.Commands uses a type in File.Core.Abstractions.
- The types involved
File.Core.Commands.AddFilesCommandHandler→File.Core.Abstractions.IAddFilesCommandHandlerFile.Core.Commands.AddFilesCommandHandler→File.Core.Abstractions.IAddFilesCommandValidatorFile.Core.Commands.AddFilesCommandHandler→File.Core.Abstractions.IFileCommandsRepository
- Direction
- File.Core.Commands uses File.Core.Abstractions, so a change to File.Core.Abstractions can break File.Core.Commands, while a change to File.Core.Commands can't break File.Core.Abstractions.
- Position
- Below the diagonal: File.Core.Commands uses a module listed above it, which is the healthy direction.
35→6 File.Core.Validation uses File.Domain.Abstractions✕
- Connections
- 2 pairs of types, where a type in File.Core.Validation uses a type in File.Domain.Abstractions.
- The types involved
File.Core.Validation.FileByOptionsValidator→File.Domain.Abstractions.IFileProxyFile.Core.Validation.GeneralPredicates→File.Domain.Abstractions.IFileProxy
- Direction
- File.Core.Validation uses File.Domain.Abstractions, so a change to File.Domain.Abstractions can break File.Core.Validation, while a change to File.Core.Validation can't break File.Domain.Abstractions.
- Position
- Below the diagonal: File.Core.Validation uses a module listed above it, which is the healthy direction.
35→10 File.Core.Validation uses File.Domain.Options✕
- Connections
- 1 pair of types, where a type in File.Core.Validation uses a type in File.Domain.Options.
- The types involved
File.Core.Validation.FileByOptionsValidator→File.Domain.Options.FilesOptions
- Direction
- File.Core.Validation uses File.Domain.Options, so a change to File.Domain.Options can break File.Core.Validation, while a change to File.Core.Validation can't break File.Domain.Options.
- Position
- Below the diagonal: File.Core.Validation uses a module listed above it, which is the healthy direction.
35→11 File.Core.Validation uses File.Domain.Queries✕
- Connections
- 3 pairs of types, where a type in File.Core.Validation uses a type in File.Domain.Queries.
- The types involved
File.Core.Validation.DownloadFileQuerySpecificationHolder→File.Domain.Queries.DownloadFileQueryFile.Core.Validation.ExportFileQuerySpecificationHolder→File.Domain.Queries.ExportFileQueryFile.Core.Validation.ExportFileQueryValidator→File.Domain.Queries.ExportFileQuery
- Direction
- File.Core.Validation uses File.Domain.Queries, so a change to File.Domain.Queries can break File.Core.Validation, while a change to File.Core.Validation can't break File.Domain.Queries.
- Position
- Below the diagonal: File.Core.Validation uses a module listed above it, which is the healthy direction.
35→27 File.Core.Validation uses File.Core.Queries✕
- Connections
- 2 pairs of types, where a type in File.Core.Validation uses a type in File.Core.Queries.
- The types involved
File.Core.Validation.ConvertToQuerySpecificationHolder→File.Core.Queries.ConvertToQueryFile.Core.Validation.ConvertToQueryValidator→File.Core.Queries.ConvertToQuery
- Direction
- File.Core.Validation uses File.Core.Queries, so a change to File.Core.Queries can break File.Core.Validation, while a change to File.Core.Validation can't break File.Core.Queries.
- Position
- Below the diagonal: File.Core.Validation uses a module listed above it, which is the healthy direction.
35→28 File.Core.Validation uses File.Domain.Commands✕
- Connections
- 2 pairs of types, where a type in File.Core.Validation uses a type in File.Domain.Commands.
- The types involved
File.Core.Validation.AddFileCommandSpecificationHolder→File.Domain.Commands.AddFilesCommandFile.Core.Validation.AddFilesCommandValidator→File.Domain.Commands.AddFilesCommand
- Direction
- File.Core.Validation uses File.Domain.Commands, so a change to File.Domain.Commands can break File.Core.Validation, while a change to File.Core.Validation can't break File.Domain.Commands.
- Position
- Below the diagonal: File.Core.Validation uses a module listed above it, which is the healthy direction.
35→32 File.Core.Validation uses File.Core.Abstractions✕
- Connections
- 7 pairs of types, where a type in File.Core.Validation uses a type in File.Core.Abstractions.
- The types involved
File.Core.Validation.AddFilesCommandValidator→File.Core.Abstractions.IAddFilesCommandValidatorFile.Core.Validation.AddFilesCommandValidator→File.Core.Abstractions.IFileByOptionsValidatorFile.Core.Validation.ConvertToQueryValidator→File.Core.Abstractions.IConvertToQueryValidatorFile.Core.Validation.ConvertToQueryValidator→File.Core.Abstractions.IFileByOptionsValidatorFile.Core.Validation.ExportFileQueryValidator→File.Core.Abstractions.IExportFileQueryValidatorFile.Core.Validation.ExportFileQueryValidator→File.Core.Abstractions.IFileByOptionsValidatorFile.Core.Validation.FileByOptionsValidator→File.Core.Abstractions.IFileByOptionsValidator
- Direction
- File.Core.Validation uses File.Core.Abstractions, so a change to File.Core.Abstractions can break File.Core.Validation, while a change to File.Core.Validation can't break File.Core.Abstractions.
- Position
- Below the diagonal: File.Core.Validation uses a module listed above it, which is the healthy direction.
36→7 File.Infrastructure.Database.Repositories uses File.Domain.Dtos✕
- Connections
- 3 pairs of types, where a type in File.Infrastructure.Database.Repositories uses a type in File.Domain.Dtos.
- The types involved
File.Infrastructure.Database.Repositories.FileCommandsRepository→File.Domain.Dtos.FileDtoFile.Infrastructure.Database.Repositories.FileQueriesRepository→File.Domain.Dtos.FileDtoFile.Infrastructure.Database.Repositories.FileQueriesRepository→File.Domain.Dtos.FileInfoDto
- Direction
- File.Infrastructure.Database.Repositories uses File.Domain.Dtos, so a change to File.Domain.Dtos can break File.Infrastructure.Database.Repositories, while a change to File.Infrastructure.Database.Repositories can't break File.Domain.Dtos.
- Position
- Below the diagonal: File.Infrastructure.Database.Repositories uses a module listed above it, which is the healthy direction.
36→11 File.Infrastructure.Database.Repositories uses File.Domain.Queries✕
- Connections
- 1 pair of types, where a type in File.Infrastructure.Database.Repositories uses a type in File.Domain.Queries.
- The types involved
File.Infrastructure.Database.Repositories.FileQueriesRepository→File.Domain.Queries.DownloadFileQuery
- Direction
- File.Infrastructure.Database.Repositories uses File.Domain.Queries, so a change to File.Domain.Queries can break File.Infrastructure.Database.Repositories, while a change to File.Infrastructure.Database.Repositories can't break File.Domain.Queries.
- Position
- Below the diagonal: File.Infrastructure.Database.Repositories uses a module listed above it, which is the healthy direction.
36→29 File.Infrastructure.Database.Repositories uses File.Infrastructure.Database.EFContext✕
- Connections
- 2 pairs of types, where a type in File.Infrastructure.Database.Repositories uses a type in File.Infrastructure.Database.EFContext.
- The types involved
File.Infrastructure.Database.Repositories.FileCommandsRepository→File.Infrastructure.Database.EFContext.FileContextFile.Infrastructure.Database.Repositories.FileQueriesRepository→File.Infrastructure.Database.EFContext.FileContext
- Direction
- File.Infrastructure.Database.Repositories uses File.Infrastructure.Database.EFContext, so a change to File.Infrastructure.Database.EFContext can break File.Infrastructure.Database.Repositories, while a change to File.Infrastructure.Database.Repositories can't break File.Infrastructure.Database.EFContext.
- Position
- Below the diagonal: File.Infrastructure.Database.Repositories uses a module listed above it, which is the healthy direction.
36→32 File.Infrastructure.Database.Repositories uses File.Core.Abstractions✕
- Connections
- 2 pairs of types, where a type in File.Infrastructure.Database.Repositories uses a type in File.Core.Abstractions.
- The types involved
File.Infrastructure.Database.Repositories.FileCommandsRepository→File.Core.Abstractions.IFileCommandsRepositoryFile.Infrastructure.Database.Repositories.FileQueriesRepository→File.Core.Abstractions.IFileQueriesRepository
- Direction
- File.Infrastructure.Database.Repositories uses File.Core.Abstractions, so a change to File.Core.Abstractions can break File.Infrastructure.Database.Repositories, while a change to File.Infrastructure.Database.Repositories can't break File.Core.Abstractions.
- Position
- Below the diagonal: File.Infrastructure.Database.Repositories uses a module listed above it, which is the healthy direction.
37→6 File.Infrastructure.FileConversions uses File.Domain.Abstractions✕
- Connections
- 2 pairs of types, where a type in File.Infrastructure.FileConversions uses a type in File.Domain.Abstractions.
- The types involved
File.Infrastructure.FileConversions.ConvertedFile→File.Domain.Abstractions.IFileProxyFile.Infrastructure.FileConversions.FileConversionService→File.Domain.Abstractions.IFileProxy
- Direction
- File.Infrastructure.FileConversions uses File.Domain.Abstractions, so a change to File.Domain.Abstractions can break File.Infrastructure.FileConversions, while a change to File.Infrastructure.FileConversions can't break File.Domain.Abstractions.
- Position
- Below the diagonal: File.Infrastructure.FileConversions uses a module listed above it, which is the healthy direction.
37→7 File.Infrastructure.FileConversions uses File.Domain.Dtos✕
- Connections
- 1 pair of types, where a type in File.Infrastructure.FileConversions uses a type in File.Domain.Dtos.
- The types involved
File.Infrastructure.FileConversions.FileConversionService→File.Domain.Dtos.FileDto
- Direction
- File.Infrastructure.FileConversions uses File.Domain.Dtos, so a change to File.Domain.Dtos can break File.Infrastructure.FileConversions, while a change to File.Infrastructure.FileConversions can't break File.Domain.Dtos.
- Position
- Below the diagonal: File.Infrastructure.FileConversions uses a module listed above it, which is the healthy direction.
37→12 File.Infrastructure.FileConversions uses File.Infrastructure.Abstractions✕
- Connections
- 5 pairs of types, where a type in File.Infrastructure.FileConversions uses a type in File.Infrastructure.Abstractions.
- The types involved
File.Infrastructure.FileConversions.EncodingFactory→File.Infrastructure.Abstractions.IEncodingFactoryFile.Infrastructure.FileConversions.FileConversionService→File.Infrastructure.Abstractions.IEncodingFactoryFile.Infrastructure.FileConversions.FileConversionService→File.Infrastructure.Abstractions.IFileConverterFactoryFile.Infrastructure.FileConversions.FileConverterFactory→File.Infrastructure.Abstractions.IFileConverterFile.Infrastructure.FileConversions.FileConverterFactory→File.Infrastructure.Abstractions.IFileConverterFactory
- Direction
- File.Infrastructure.FileConversions uses File.Infrastructure.Abstractions, so a change to File.Infrastructure.Abstractions can break File.Infrastructure.FileConversions, while a change to File.Infrastructure.FileConversions can't break File.Infrastructure.Abstractions.
- Position
- Below the diagonal: File.Infrastructure.FileConversions uses a module listed above it, which is the healthy direction.
37→32 File.Infrastructure.FileConversions uses File.Core.Abstractions✕
- Connections
- 1 pair of types, where a type in File.Infrastructure.FileConversions uses a type in File.Core.Abstractions.
- The types involved
File.Infrastructure.FileConversions.FileConversionService→File.Core.Abstractions.IFileConvertService
- Direction
- File.Infrastructure.FileConversions uses File.Core.Abstractions, so a change to File.Core.Abstractions can break File.Infrastructure.FileConversions, while a change to File.Infrastructure.FileConversions can't break File.Core.Abstractions.
- Position
- Below the diagonal: File.Infrastructure.FileConversions uses a module listed above it, which is the healthy direction.
38→23 src.File_Frontend.src.app.app_component uses src.File_Frontend.src.app.services.notification-adapter_service✕
- Connections
- 1 pair of types, where a type in src.File_Frontend.src.app.app_component uses a type in src.File_Frontend.src.app.services.notification-adapter_service.
- The types involved
src.File_Frontend.src.app.app_component.AppComponent→src.File_Frontend.src.app.services.notification-adapter_service.NotificationAdapterService
- Direction
- src.File_Frontend.src.app.app_component uses src.File_Frontend.src.app.services.notification-adapter_service, so a change to src.File_Frontend.src.app.services.notification-adapter_service can break src.File_Frontend.src.app.app_component, while a change to src.File_Frontend.src.app.app_component can't break src.File_Frontend.src.app.services.notification-adapter_service.
- Position
- Below the diagonal: src.File_Frontend.src.app.app_component uses a module listed above it, which is the healthy direction.
38→33 src.File_Frontend.src.app.app_component uses src.File_Frontend.src.app.services.file-loading_service✕
- Connections
- 1 pair of types, where a type in src.File_Frontend.src.app.app_component uses a type in src.File_Frontend.src.app.services.file-loading_service.
- The types involved
src.File_Frontend.src.app.app_component.AppComponent→src.File_Frontend.src.app.services.file-loading_service.FileLoadingService
- Direction
- src.File_Frontend.src.app.app_component uses src.File_Frontend.src.app.services.file-loading_service, so a change to src.File_Frontend.src.app.services.file-loading_service can break src.File_Frontend.src.app.app_component, while a change to src.File_Frontend.src.app.app_component can't break src.File_Frontend.src.app.services.file-loading_service.
- Position
- Below the diagonal: src.File_Frontend.src.app.app_component uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 12 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 6 | High / Critical |
| A07:2025 — Authentication Failures | 4 | High / Critical |
Roadmap
Immediately resolve the leaked secret in REDACTED and enforce default-deny access controls on all endpoints using authorization attributes or imperative guards. Integrate a static analysis tool into the CI pipeline to automatically fail builds on security regressions. Finally, establish test coverage for all production modules and enforce accessibility standards through linting and automated testing in the CI process.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. | +7.9 pts | Low | Secret Scanning |
| Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler. | +7.3 pts | Medium | Access Controls |
| Add a SAST step to CI running what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. | +5.5 pts | Medium | Security & performance tooling |
| Add tests that import the unreached modules (directly or through their public entry). | +5.5 pts | Medium | Test Coverage |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +1.4 pts | Low | ADR Quality |
| Resolve the 1 redundant comment finding(s) in Comment Value — start with LogEvents.cs. | +1.2 pts | Low | Comment Value |
| Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED, REDACTED. | +1.2 pts | Low | Static Analysis (SAST) |
| Resolve the 2 High secret finding(s) in Secrets (history) — start with REDACTED (2). | +1.0 pts | Low | Secrets (history) |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 2.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.1 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 7.2 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| src/File.Core/Abstractions/IFileByOptionsValidator.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| src/File.Infrastructure/Extensions/ResultExtensions.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| src/File.Domain/File.Domain.csproj | 8.5 | Near-clean | Coupling: Off the main sequence: File.Domain |
| src/File.Domain/Logging/LogEvents.cs | 9.5 | Near-clean | Comment Value: redundant comment |
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. 84 of 88 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 88 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, 44 of 61 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- 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 .NET half could not be measured — no coverage produced (collector absent, or test run exceeded the inline budget); the JavaScript/TypeScript half could not be measured — the JavaScript/TypeScript suite(s) run through a browser-driven runner the coverage collector does not drive — src/File.Frontend/ (karma) — a gap in the analyzer, not something this repository is missing. This repository's production source spans both ecosystems, and no partial figure is published as if it were the whole: 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.
- D12 Dependency Hygiene — 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. `dotnet list package` did not return usable output (restore or query failed); no outdated/vulnerable/deprecated data to assess. The tool said: `dotnet list package` exited 1 with no output.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (2 contributor(s) across 73 commit(s) sampled, automation and bot accounts excluded). One of them holds 99% of the history; the other 1 hold 1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D17 Explicit Debt — 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. The C# workspace loaded this repository's projects but reported a load failure, and the dead-code reference search is unreliable over a graph that did not load cleanly, so it was skipped. The other debt markers on this row were read; dead symbols were not, and their absence from the score is not a finding that the code has none. First load diagnostic: Failure: Cannot open project 'src/File.Frontend/File.Frontend.esproj' because the file extension '.esproj' is not associated with a language.
- D17 Explicit Debt — 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. The 2 deducted marker(s) and the 0.1/KLoC density on this row were taken over this repository's .NET projects ALONE: .ts (465 lines, 24% of production source) went unread, because every marker collector on this path is reached through a C# workspace. D17's marker collectors need a compiler we do not have for that language, so none of its nine marker kinds were read there. The debt in that source is UNMEASURED — its absence from the score above is a gap in this analyzer's language coverage, not a finding that the code carries none.
- D22 Internal API Consistency — 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. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- D27 Navigability — 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. Tracing effort is measured over resolved call sites, and all 1515 sampled here came from .cs files. This repository's .ts source is a material share of its production lines and contributed none, so the score above is a verdict about the part that was read. Not a finding that the unread half navigates well — it is unmeasured.
- D39 IL Efficiency — 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. IL NOT MEASURED: the analyzer's own build of this repository failed for an ENVIRONMENT reason (exit 1) — MSBuild's engine or the CLR gave up, or our image does not carry the SDK band/targeting pack this repository needs. This is OUR limitation, not a defect in the repo, and it is not a statement that this repository fails to build. D18 owns the question of whether this repository builds; it was not answered here.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DevServer (start). the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence.
- P8 Schema migrations — 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. Every other migration runner — DbUp, FluentMigrator, Evolve, Flyway, Liquibase, RoundhousE, a hand-rolled versioned-SQL runner — is invisible to the detector, so an absence here is our blind spot rather than a missing migration strategy in the repository. The card abstains instead of scoring. You can widen what we reach: if the schema is created and evolved by a tool other than EF Core migrations, naming it lets us teach the detector to read it.
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.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- 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.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- 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.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS 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.
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.
D4 · Code Duplication
0 duplicated block group(s) detected. Measured on part of this repository only: .ts (24% of production source) was not exposed to THIS dimension's token comparison and is not in this count; duplication there is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream.
D5 · Coupling
11 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling — start with File.Domain.csproj. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 4 classes have LCOM4 above 3.
D9 · Test Distribution
61 test methods: 56 unit, 5 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 0 zero-assertion, 3 mock references across 61 tests.
D11 · Test Reliability
0 flaky across 2 measured tier(s). unit: measured (0 flaky); integration: measured (0 flaky).
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Enforce Secret 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 195 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 23 direct `PackageReference`(s), and 172 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph — so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
2 deducted debt markers + unmeasured dead symbols across 1443 LoC in the .NET projects (0.1/KLoC) → score 9.9. Dead code not measured: the solution did not load cleanly, so the reference search was skipped. Measured on the .NET source only: .ts (24% of production source) was not read, and carries at least 0 uncounted task marker(s) in 0 file(s).
What to do
- Resolve the 2 TodoComment finding(s) in Explicit Debt — start with IFileByOptionsValidator.cs, ResultExtensions.cs. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
11 projects, 115 source files, 3154 hand-written lines of code (1443 production / 1711 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), plus 277 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 10 inter-project edges.
D19 · Documentation Quality
The repository's root README is a single cohesive document covering Clean Architecture FileApi as a full-stack solution with an overview of the problem domain (file upload/download across .txt/.json/.csv/.xml/.yml), two methods for downloading files (GetFileAsync returning a byte array and GetJsonFileAsync converting to Base64), and a menu ordering Prerequisites -> Installation -> Get Started, which includes Using PowerShell on Windows, Using Visual Studio, Run only Backend, and then Motivation/Backend Architecture/Frontend Example/Technologies. It is well written with the project's scope stated in its title and an example showing what it does; however, the document ends at a clipped marker mid-menu entry ('Motivation') before covering installation/build steps, contribution guidance, or license, so those elements fall below the visible portion.
What to do
- Improve Documentation Quality — currently 7.0/10. — The repository's root README is a single cohesive document covering Clean Architecture FileApi as a full-stack solution with an overview of the problem domain (file upload/download across .txt/.json/.csv/.xml/.yml), two methods for downloading files (GetFileAsync returning a byte array and GetJsonFileAsync converting to Base64), and a menu ordering Prerequisites -> Installation -> Get Started, which includes Using PowerShell on Windows, Using Visual Studio, Run only Backend, and then Motivation/Backend Architecture/Frontend Example/Technologies. It is well written with the project's scope stated in its title and an example showing what it does; however, the document ends at a clipped marker mid-menu entry ('Motivation') before covering installation/build steps, contribution guidance, or license, so those elements fall below the visible portion.
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
1 naming inconsistencies across 200 sampled symbols.
What to do
- Resolve the 1 Typo in test asset class name finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
D24 · Comment Value
0 valuable / 1 redundant across 119 sampled comments; 1 shown with locations.
What to do
- Resolve the 1 redundant comment finding(s) in Comment Value — start with LogEvents.cs. — One of this dimension's main actionable groups (1 recommendation-level).
D26 · Project Cohesion
0 of 11 projects flagged as possibly oversized/incoherent.
D27 · Navigability
96 % of calls cross a namespace and 20 % go through an interface, but 94 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated. Measured over the .cs source only — this repository's .ts was not sampled for call sites, so this score covers part of the tree, not all of it.
What to do
- Improve Navigability — currently 8.7/10. — 96 % of calls cross a namespace and 20 % go through an interface, but 94 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated. Measured over the .cs source only — this repository's .ts was not sampled for call sites, so this score covers part of the tree, not all of it.
D28 · Secrets (history)
2 finding(s): 0 critical, 2 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 2 High secret finding(s) in Secrets (history) — start with REDACTED (2). — One of this dimension's main actionable groups (2 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)
12 finding(s): 0 critical, 7 high, 5 medium, 0 low. 6 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens.
What to do
- Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (4 warning-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).
- No action in Static Analysis (SAST) — all 6 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (6 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
6 finding(s): 0 critical, 4 high, 2 medium, 0 low.
What to do
- Resolve the 4 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3), REDACTED. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 2 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 4 of the 68 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 12 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AC2 · Forms & labels
AC3 · Page structure
- Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one. — src/File.Frontend/src/app/app.component.html:5
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC5 · ARIA correctness
AC6 · Visual & motion safety
AC7 · A11y enforcement
- No accessibility enforcement found — no a11y linter (@angular-eslint/eslint-plugin-template (a11y rules)) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 3 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the toolchain: add @angular-eslint/eslint-plugin-template (a11y rules), then assert with your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) in tests, then gate axe/pa11y/Lighthouse in CI.
AX1 · Captive dependencies
AX10 · Code composition
AX2 · Stateful singletons
AX3 · Project dependency cycles
- The namespaces File.Core.Abstractions ↔ File.Core.Queries depend on each other. The lightest dependency in the cycle is File.Core.Abstractions → File.Core.Queries (File.Core.Abstractions.IConvertToQueryValidator → File.Core.Queries.ConvertToQuery, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — src/File.Core/Abstractions/IConvertToQueryValidator.cs:1
What to do
- Break namespace cycles inside a project by moving the shared type to a namespace both sides can use, or by inverting the back edge behind an interface.
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
AX8 · Test isolation
AX9 · CQS / query purity
C2 · Access Controls
- No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found — endpoints may be unprotected.
- `MapPost("/upload")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:32
- `MapGet("/{id}/download")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:44
- `MapGet("/{id}/download/json")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:52
- `MapGet("/")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:65
- `MapGet("{id}/export")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:76
- `MapPost("/convert")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:92
What to do
- Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler.
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 a README to the 11 of 11 project(s) that lack one — worth up to 2 pts.
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
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1738 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 csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — 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.
PF3 · Async & latency hygiene
R1 · Type Safety
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- src/File.Frontend/src/app/app.component.ts:97 · src/File.Frontend/src/app/app.component.ts:112 — 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/File.Frontend/src/app/app.component.ts:97
- src/File.Frontend/src/app/services/file-loading.service.ts:16 · src/File.Frontend/src/app/services/file-loading.service.ts:29 — 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/File.Frontend/src/app/services/file-loading.service.ts:16
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R2 · Cyclomatic Complexity
R3 · Large Files
R4 · Test Coverage
- 0% of 9 production file(s) reachable from 0 test file(s) via the import graph — 'production' here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace's file count
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
- test ✓ · lint ✗ · typecheck ✓ — read from this repository's package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: `test` for the suite, `lint` or `prettier` for linting, `typecheck`/`type-check`/`tsc` for type checking. ✗ therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline — a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A ✓ means the wiring is DECLARED — a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite.
What to do
- Add eslint as package.json scripts and run them in CI.
R7 · Dead Code
R8 · Dependency Hygiene
- Declared in src/File.Frontend/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
S1 · Web-Security Posture
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
- This web host's pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves. — src/File.API/Program.cs:10
What to do
- Add security response headers (Content-Security-Policy first, then Strict-Transport-Security, X-Content-Type-Options and a frame policy) — defense in depth, even when a reverse proxy could set them.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
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
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
X5 · Nullable reference types
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 94% | Exemplary | Solid. |
| Architecture | 88% | Strong | Solid. |
| Maturity | 74% | Strong | Solid. |
| Readiness | 38% | Weak — gated by R4, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 46% | Weak — gated by C2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 69% | Adequate | Acceptable, with room to improve. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 2 check(s) recorded observations but carry no score
- D36 Supply-chain Provenance & Signing — 3 observation(s) recorded · 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.
- 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.
Not evidenced — 3 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 38 check(s) not relevant to this codebase
- AC1 Text alternatives — No image/media element found in the parsed markup — AC1 not applicable here.
- AC4 Keyboard semantics — No interactive element found in the parsed markup — AC4 not applicable here.
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C3 Audit Trail — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C4 Data Retention — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C5 Data-Subject Rights — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- D12 Dependency Hygiene — Dependency hygiene not measured
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — small single-context codebase (1,443 production LoC in the .NET projects) — bounded contexts are not needed at this size No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D25 ADR Conformance — no ADRs to check
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- 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 — IL not measured — the analyzer's build of the target did not succeed
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage not measured — .NET and JavaScript/TypeScript suite
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (a Domain/Aggregates/ValueObjects layer)
- ED1 Event-Driven — not scored — this repository shows only 1 of the 3 signals this lens looks for (10 CQRS handler(s))
- 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 HttpClient/IHttpClientFactory/AddHttpClient in source, and no Refit/RestSharp/Flurl.Http namespace or package reference
- P8 Schema migrations — EF Core is used, but the schema-migration mechanism could not be identified — this check only recognises EF migrations, so any other migration runner reads as an absence. Our limit, not a verdict on this repository.
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) 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 — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — 15 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Namespace dependency cycle src/File.Core/Abstractions/IConvertToQueryValidator.cs:1
- REDACTED
- REDACTED
Serious — 30 finding(s)
- No authorization
- No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:32
- No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:44
- No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:52
- No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:65
- No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:76
- No authorization src/File.API/EndpointBuilders/FileEndpointsBuilder.cs:92
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- TodoComment src/File.Core/Abstractions/IFileByOptionsValidator.cs:6
- TodoComment src/File.Infrastructure/Extensions/ResultExtensions.cs:8
- REDACTED
- REDACTED
- Heading level jumps from h1 to h4 src/File.Frontend/src/app/app.component.html:5
- Accessibility enforcement below the top rung
- REDACTED
- Off the main sequence: File.Domain src/File.Domain/File.Domain.csproj:1
- CI test gate excludes suites by filter REDACTED:31
- Duplicated block (14 lines × 2 locations) src/File.Frontend/src/app/app.component.ts:97
- Duplicated block (10 lines × 2 locations) src/File.Frontend/src/app/services/file-loading.service.ts:16
- Test Coverage
- No lint script
- Unused dependency '@fortawesome/react-fontawesome'
- Unused dependency 'istanbul-lib-instrument'
- Unused dependency 'tslib'
Minor — 9 finding(s)
- No security response headers detected
- No security response headers detected src/File.API/Program.cs:10
- No ADRs found
- Typo in test asset class name: 'UknownByteData' is missing the 'n' in 'Unknown', while other asset classes like 'ValidConverters' and 'InvalidXmlData' are spelled correctly.
- redundant comment src/File.Domain/Logging/LogEvents.cs:7
- REDACTED
- REDACTED
- No ADRs
- No SAST
Minor — 7 finding(s)
- XML-doc coverage: File.API REDACTED
- XML-doc coverage: File.Core src/File.Core/File.Core.csproj
- XML-doc coverage: File.Domain src/File.Domain/File.Domain.csproj
- XML-doc coverage: File.Infrastructure src/File.Infrastructure/File.Infrastructure.csproj
- Mock framework: Moq
- Mock framework: Moq
- Mock framework: Moq
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-e28a92924f1e42e3a7eb9a24ea564f2f/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-e28a92924f1e42e3a7eb9a24ea564f2f/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 12 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list src/FileSol.slnx package --vulnerable --include-transitive --format json | 6 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| 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 |