Executive summary
phodal/powermd scores 39 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Accessibility, which scores 27 and is rated Weak. Its Visual & motion safety dimension scores 1 out of 10, and until that reaches 4, Accessibility can't be rated higher than Adequate. The first actions are to keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1 and to give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label, and if Accessibility rose to 70, the score would rise from 39 to about 50.
138 findings are critical: 127 in Dependency Vulnerabilities, nine in Forms & labels and two in Dependency Hygiene.
Watchdog couldn't measure 9 dimensions in this code, among them Cyclomatic Complexity, Cognitive Complexity and Code Coverage, so they are left out of the score. The product code is 18,773 lines, which would take an estimated 0.1 person-years, around €18,000, to rebuild.
If Accessibility rose from 27 to 70, the lowest score rated Strong, the score would rise from 39 to about 50.
New since the last survey: 15 findings
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Large Files · src/assets/editor/medium/me-markdown.standalone.js: 855 lines of code src/assets/editor/medium/me-markdown.standalone.js
- Large Files · src/app/shared/modules/mind-map/mind-map/mind-map.component.ts: 517 lines of code src/app/shared/modules/mind-map/mind-map/mind-map.component.ts
- Exception handling · Swallowed exception (empty catch) src/assets/editor/medium/me-markdown.standalone.js
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement src/assets/editor/simplemde/simplemde.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement src/assets/editor/simplemde/simplemde.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement src/assets/editor/medium/css/medium-editor.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement src/assets/editor/medium/css/medium-editor.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement src/app/shared/third-party/ngx-tree-dnd/styles-tree-dnd.scss
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement src/app/shared/third-party/ngx-tree-dnd/styles-tree-dnd.scss
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement src/app/shared/markdown/domain-design/domain-design.component.scss
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement src/app/shared/components/draggable-editable-section/draggable-editable-section.component.scss
- Visual & motion safety · Animation without a prefers-reduced-motion guard src/assets/editor/medium/css/medium-editor.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard src/assets/editor/medium/css/medium-editor.css
Fixed since the last survey: 2 findings
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
Rebuild cost: about €18,000 · Estimate
| Cost to rebuild | €6,000 to €30,000, for 100 to 318 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 39. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 18,773 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 e2e.src.app_po | 2 schematics.src.domain.files.__path__.__name@dasherize@if-flat__.repository.__name@dasherize___repository | 3 schematics.src.domain.files.__path__.__name@dasherize@if-flat__.repository.mapper.__name@dasherize__-repository_mapper | 4 schematics.src.domain.files.__path__.__name@dasherize@if-flat__.usecases.__name@dasherize___usecase | 5 schematics.src.domain.schema | 6 src | 7 src.app.app-routing_module | 8 src.app.app_module | 9 src.app.core.core_module | 10 src.app.core.model.checklist_model | 11 src.app.core.model.tile_model | 12 src.app.core.model.todo_model | 13 src.app.core.services.storage_service | 14 src.app.features.features_module | 15 src.app.pages.help.help_component | 16 src.app.pages.help.help_module | 17 src.app.presentation.knowledge-management.knowledge-management_module | 18 src.app.shared.components.markdown-render.markdown-render_component | 19 src.app.shared.markdown.markdown-task.markdown-task-item_service | 20 src.app.shared.markdown.model.markdown_model | 21 src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model | 22 schematics.src | 23 src.app.app_component | 24 src.app.features.components.checklist.checklist_component | 25 src.app.features.components.todo.todo_component | 26 src.app.presentation.knowledge-management.knowledge-management_component | 27 src.app.shared.components.draggable-editable-section.draggable-editable-section_component | 28 src.app.shared.components.power-md-editor.power-md-editor_component | 29 src.app.shared.markdown.markdown-radar-chart.markdown-radar-chart_component | 30 src.app.shared.markdown.markdown-radar-chart.markdown-rating-item.markdown-rating-item_component | 31 src.app.shared.markdown.markdown-radar-chart.markdown-rating.markdown-rating_component | 32 src.app.shared.markdown.markdown-task.markdown-task-item.markdown-task-item_component | 33 src.app.shared.markdown.markdown-task.markdown-task-render.markdown-task-render_component | 34 src.app.shared.markdown.markdown-task.markdown-task_component | 35 src.app.shared.modules.mind-map.mind-map.mind-map_component | 36 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service | 37 src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive | 38 src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive | 39 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component | 40 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 e2e.src.app_po | ||||||||||||||||||||||||||||||||||||||||
| 2 schematics.src.domain.files.__path__.__name@dasherize@if-flat__.repository.__name@dasherize___repository | ||||||||||||||||||||||||||||||||||||||||
| 3 schematics.src.domain.files.__path__.__name@dasherize@if-flat__.repository.mapper.__name@dasherize__-repository_mapper | ||||||||||||||||||||||||||||||||||||||||
| 4 schematics.src.domain.files.__path__.__name@dasherize@if-flat__.usecases.__name@dasherize___usecase | ||||||||||||||||||||||||||||||||||||||||
| 5 schematics.src.domain.schema | ||||||||||||||||||||||||||||||||||||||||
| 6 src | ||||||||||||||||||||||||||||||||||||||||
| 7 src.app.app-routing_module | ||||||||||||||||||||||||||||||||||||||||
| 8 src.app.app_module | ||||||||||||||||||||||||||||||||||||||||
| 9 src.app.core.core_module | ||||||||||||||||||||||||||||||||||||||||
| 10 src.app.core.model.checklist_model | ||||||||||||||||||||||||||||||||||||||||
| 11 src.app.core.model.tile_model | ||||||||||||||||||||||||||||||||||||||||
| 12 src.app.core.model.todo_model | ||||||||||||||||||||||||||||||||||||||||
| 13 src.app.core.services.storage_service | ||||||||||||||||||||||||||||||||||||||||
| 14 src.app.features.features_module | ||||||||||||||||||||||||||||||||||||||||
| 15 src.app.pages.help.help_component | ||||||||||||||||||||||||||||||||||||||||
| 16 src.app.pages.help.help_module | ||||||||||||||||||||||||||||||||||||||||
| 17 src.app.presentation.knowledge-management.knowledge-management_module | ||||||||||||||||||||||||||||||||||||||||
| 18 src.app.shared.components.markdown-render.markdown-render_component | ||||||||||||||||||||||||||||||||||||||||
| 19 src.app.shared.markdown.markdown-task.markdown-task-item_service | ||||||||||||||||||||||||||||||||||||||||
| 20 src.app.shared.markdown.model.markdown_model | ||||||||||||||||||||||||||||||||||||||||
| 21 src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model | ||||||||||||||||||||||||||||||||||||||||
| 22 schematics.src | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 src.app.app_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 src.app.features.components.checklist.checklist_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 src.app.features.components.todo.todo_component | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 26 src.app.presentation.knowledge-management.knowledge-management_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 27 src.app.shared.components.draggable-editable-section.draggable-editable-section_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 src.app.shared.components.power-md-editor.power-md-editor_component | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 src.app.shared.markdown.markdown-radar-chart.markdown-radar-chart_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 30 src.app.shared.markdown.markdown-radar-chart.markdown-rating-item.markdown-rating-item_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 src.app.shared.markdown.markdown-radar-chart.markdown-rating.markdown-rating_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 32 src.app.shared.markdown.markdown-task.markdown-task-item.markdown-task-item_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 src.app.shared.markdown.markdown-task.markdown-task-render.markdown-task-render_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 34 src.app.shared.markdown.markdown-task.markdown-task_component | 1 | |||||||||||||||||||||||||||||||||||||||
| 35 src.app.shared.modules.mind-map.mind-map.mind-map_component | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 36 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service | 3 | |||||||||||||||||||||||||||||||||||||||
| 37 src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component | 1 | 1 |
22→5 schematics.src uses schematics.src.domain.schema✕
- Connections
- 1 pair of types, where a type in schematics.src uses a type in schematics.src.domain.schema.
- The types involved
schematics.src.index→schematics.src.domain.schema.Schema
- Direction
- schematics.src uses schematics.src.domain.schema, so a change to schematics.src.domain.schema can break schematics.src, while a change to schematics.src can't break schematics.src.domain.schema.
- Position
- Below the diagonal: schematics.src uses a module listed above it, which is the healthy direction.
23→13 src.app.app_component uses src.app.core.services.storage_service✕
- Connections
- 1 pair of types, where a type in src.app.app_component uses a type in src.app.core.services.storage_service.
- The types involved
src.app.app_component.AppComponent→src.app.core.services.storage_service.StorageService
- Direction
- src.app.app_component uses src.app.core.services.storage_service, so a change to src.app.core.services.storage_service can break src.app.app_component, while a change to src.app.app_component can't break src.app.core.services.storage_service.
- Position
- Below the diagonal: src.app.app_component uses a module listed above it, which is the healthy direction.
24→13 src.app.features.components.checklist.checklist_component uses src.app.core.services.storage_service✕
- Connections
- 1 pair of types, where a type in src.app.features.components.checklist.checklist_component uses a type in src.app.core.services.storage_service.
- The types involved
src.app.features.components.checklist.checklist_component.ChecklistComponent→src.app.core.services.storage_service.StorageService
- Direction
- src.app.features.components.checklist.checklist_component uses src.app.core.services.storage_service, so a change to src.app.core.services.storage_service can break src.app.features.components.checklist.checklist_component, while a change to src.app.features.components.checklist.checklist_component can't break src.app.core.services.storage_service.
- Position
- Below the diagonal: src.app.features.components.checklist.checklist_component uses a module listed above it, which is the healthy direction.
25→12 src.app.features.components.todo.todo_component uses src.app.core.model.todo_model✕
- Connections
- 1 pair of types, where a type in src.app.features.components.todo.todo_component uses a type in src.app.core.model.todo_model.
- The types involved
src.app.features.components.todo.todo_component.TodoComponent→src.app.core.model.todo_model.TodoModel
- Direction
- src.app.features.components.todo.todo_component uses src.app.core.model.todo_model, so a change to src.app.core.model.todo_model can break src.app.features.components.todo.todo_component, while a change to src.app.features.components.todo.todo_component can't break src.app.core.model.todo_model.
- Position
- Below the diagonal: src.app.features.components.todo.todo_component uses a module listed above it, which is the healthy direction.
25→13 src.app.features.components.todo.todo_component uses src.app.core.services.storage_service✕
- Connections
- 1 pair of types, where a type in src.app.features.components.todo.todo_component uses a type in src.app.core.services.storage_service.
- The types involved
src.app.features.components.todo.todo_component.TodoComponent→src.app.core.services.storage_service.StorageService
- Direction
- src.app.features.components.todo.todo_component uses src.app.core.services.storage_service, so a change to src.app.core.services.storage_service can break src.app.features.components.todo.todo_component, while a change to src.app.features.components.todo.todo_component can't break src.app.core.services.storage_service.
- Position
- Below the diagonal: src.app.features.components.todo.todo_component uses a module listed above it, which is the healthy direction.
26→13 src.app.presentation.knowledge-management.knowledge-management_component uses src.app.core.services.storage_service✕
- Connections
- 1 pair of types, where a type in src.app.presentation.knowledge-management.knowledge-management_component uses a type in src.app.core.services.storage_service.
- The types involved
src.app.presentation.knowledge-management.knowledge-management_component.KnowledgeManagementComponent→src.app.core.services.storage_service.StorageService
- Direction
- src.app.presentation.knowledge-management.knowledge-management_component uses src.app.core.services.storage_service, so a change to src.app.core.services.storage_service can break src.app.presentation.knowledge-management.knowledge-management_component, while a change to src.app.presentation.knowledge-management.knowledge-management_component can't break src.app.core.services.storage_service.
- Position
- Below the diagonal: src.app.presentation.knowledge-management.knowledge-management_component uses a module listed above it, which is the healthy direction.
27→11 src.app.shared.components.draggable-editable-section.draggable-editable-section_component uses src.app.core.model.tile_model✕
- Connections
- 1 pair of types, where a type in src.app.shared.components.draggable-editable-section.draggable-editable-section_component uses a type in src.app.core.model.tile_model.
- The types involved
src.app.shared.components.draggable-editable-section.draggable-editable-section_component.DraggableEditableSectionComponent→src.app.core.model.tile_model.TileModel
- Direction
- src.app.shared.components.draggable-editable-section.draggable-editable-section_component uses src.app.core.model.tile_model, so a change to src.app.core.model.tile_model can break src.app.shared.components.draggable-editable-section.draggable-editable-section_component, while a change to src.app.shared.components.draggable-editable-section.draggable-editable-section_component can't break src.app.core.model.tile_model.
- Position
- Below the diagonal: src.app.shared.components.draggable-editable-section.draggable-editable-section_component uses a module listed above it, which is the healthy direction.
28→13 src.app.shared.components.power-md-editor.power-md-editor_component uses src.app.core.services.storage_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.components.power-md-editor.power-md-editor_component uses a type in src.app.core.services.storage_service.
- The types involved
src.app.shared.components.power-md-editor.power-md-editor_component.PowerMdEditorComponent→src.app.core.services.storage_service.StorageService
- Direction
- src.app.shared.components.power-md-editor.power-md-editor_component uses src.app.core.services.storage_service, so a change to src.app.core.services.storage_service can break src.app.shared.components.power-md-editor.power-md-editor_component, while a change to src.app.shared.components.power-md-editor.power-md-editor_component can't break src.app.core.services.storage_service.
- Position
- Below the diagonal: src.app.shared.components.power-md-editor.power-md-editor_component uses a module listed above it, which is the healthy direction.
28→19 src.app.shared.components.power-md-editor.power-md-editor_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.components.power-md-editor.power-md-editor_component uses a type in src.app.shared.markdown.markdown-task.markdown-task-item_service.
- The types involved
src.app.shared.components.power-md-editor.power-md-editor_component.PowerMdEditorComponent→src.app.shared.markdown.markdown-task.markdown-task-item_service.MarkdownTaskItemService
- Direction
- src.app.shared.components.power-md-editor.power-md-editor_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service, so a change to src.app.shared.markdown.markdown-task.markdown-task-item_service can break src.app.shared.components.power-md-editor.power-md-editor_component, while a change to src.app.shared.components.power-md-editor.power-md-editor_component can't break src.app.shared.markdown.markdown-task.markdown-task-item_service.
- Position
- Below the diagonal: src.app.shared.components.power-md-editor.power-md-editor_component uses a module listed above it, which is the healthy direction.
29→19 src.app.shared.markdown.markdown-radar-chart.markdown-radar-chart_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.markdown.markdown-radar-chart.markdown-radar-chart_component uses a type in src.app.shared.markdown.markdown-task.markdown-task-item_service.
- The types involved
src.app.shared.markdown.markdown-radar-chart.markdown-radar-chart_component.MarkdownRadarChartComponent→src.app.shared.markdown.markdown-task.markdown-task-item_service.MarkdownTaskItemService
- Direction
- src.app.shared.markdown.markdown-radar-chart.markdown-radar-chart_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service, so a change to src.app.shared.markdown.markdown-task.markdown-task-item_service can break src.app.shared.markdown.markdown-radar-chart.markdown-radar-chart_component, while a change to src.app.shared.markdown.markdown-radar-chart.markdown-radar-chart_component can't break src.app.shared.markdown.markdown-task.markdown-task-item_service.
- Position
- Below the diagonal: src.app.shared.markdown.markdown-radar-chart.markdown-radar-chart_component uses a module listed above it, which is the healthy direction.
30→20 src.app.shared.markdown.markdown-radar-chart.markdown-rating-item.markdown-rating-item_component uses src.app.shared.markdown.model.markdown_model✕
- Connections
- 1 pair of types, where a type in src.app.shared.markdown.markdown-radar-chart.markdown-rating-item.markdown-rating-item_component uses a type in src.app.shared.markdown.model.markdown_model.
- The types involved
src.app.shared.markdown.markdown-radar-chart.markdown-rating-item.markdown-rating-item_component.MarkdownRatingItemComponent→src.app.shared.markdown.model.markdown_model.MarkdownListModel
- Direction
- src.app.shared.markdown.markdown-radar-chart.markdown-rating-item.markdown-rating-item_component uses src.app.shared.markdown.model.markdown_model, so a change to src.app.shared.markdown.model.markdown_model can break src.app.shared.markdown.markdown-radar-chart.markdown-rating-item.markdown-rating-item_component, while a change to src.app.shared.markdown.markdown-radar-chart.markdown-rating-item.markdown-rating-item_component can't break src.app.shared.markdown.model.markdown_model.
- Position
- Below the diagonal: src.app.shared.markdown.markdown-radar-chart.markdown-rating-item.markdown-rating-item_component uses a module listed above it, which is the healthy direction.
31→19 src.app.shared.markdown.markdown-radar-chart.markdown-rating.markdown-rating_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.markdown.markdown-radar-chart.markdown-rating.markdown-rating_component uses a type in src.app.shared.markdown.markdown-task.markdown-task-item_service.
- The types involved
src.app.shared.markdown.markdown-radar-chart.markdown-rating.markdown-rating_component.MarkdownRatingComponent→src.app.shared.markdown.markdown-task.markdown-task-item_service.MarkdownTaskItemService
- Direction
- src.app.shared.markdown.markdown-radar-chart.markdown-rating.markdown-rating_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service, so a change to src.app.shared.markdown.markdown-task.markdown-task-item_service can break src.app.shared.markdown.markdown-radar-chart.markdown-rating.markdown-rating_component, while a change to src.app.shared.markdown.markdown-radar-chart.markdown-rating.markdown-rating_component can't break src.app.shared.markdown.markdown-task.markdown-task-item_service.
- Position
- Below the diagonal: src.app.shared.markdown.markdown-radar-chart.markdown-rating.markdown-rating_component uses a module listed above it, which is the healthy direction.
32→20 src.app.shared.markdown.markdown-task.markdown-task-item.markdown-task-item_component uses src.app.shared.markdown.model.markdown_model✕
- Connections
- 1 pair of types, where a type in src.app.shared.markdown.markdown-task.markdown-task-item.markdown-task-item_component uses a type in src.app.shared.markdown.model.markdown_model.
- The types involved
src.app.shared.markdown.markdown-task.markdown-task-item.markdown-task-item_component.MarkdownTaskItemComponent→src.app.shared.markdown.model.markdown_model.MarkdownListModel
- Direction
- src.app.shared.markdown.markdown-task.markdown-task-item.markdown-task-item_component uses src.app.shared.markdown.model.markdown_model, so a change to src.app.shared.markdown.model.markdown_model can break src.app.shared.markdown.markdown-task.markdown-task-item.markdown-task-item_component, while a change to src.app.shared.markdown.markdown-task.markdown-task-item.markdown-task-item_component can't break src.app.shared.markdown.model.markdown_model.
- Position
- Below the diagonal: src.app.shared.markdown.markdown-task.markdown-task-item.markdown-task-item_component uses a module listed above it, which is the healthy direction.
33→19 src.app.shared.markdown.markdown-task.markdown-task-render.markdown-task-render_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.markdown.markdown-task.markdown-task-render.markdown-task-render_component uses a type in src.app.shared.markdown.markdown-task.markdown-task-item_service.
- The types involved
src.app.shared.markdown.markdown-task.markdown-task-render.markdown-task-render_component.MarkdownTaskRenderComponent→src.app.shared.markdown.markdown-task.markdown-task-item_service.MarkdownTaskItemService
- Direction
- src.app.shared.markdown.markdown-task.markdown-task-render.markdown-task-render_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service, so a change to src.app.shared.markdown.markdown-task.markdown-task-item_service can break src.app.shared.markdown.markdown-task.markdown-task-render.markdown-task-render_component, while a change to src.app.shared.markdown.markdown-task.markdown-task-render.markdown-task-render_component can't break src.app.shared.markdown.markdown-task.markdown-task-item_service.
- Position
- Below the diagonal: src.app.shared.markdown.markdown-task.markdown-task-render.markdown-task-render_component uses a module listed above it, which is the healthy direction.
34→19 src.app.shared.markdown.markdown-task.markdown-task_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.markdown.markdown-task.markdown-task_component uses a type in src.app.shared.markdown.markdown-task.markdown-task-item_service.
- The types involved
src.app.shared.markdown.markdown-task.markdown-task_component.MarkdownTaskComponent→src.app.shared.markdown.markdown-task.markdown-task-item_service.MarkdownTaskItemService
- Direction
- src.app.shared.markdown.markdown-task.markdown-task_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service, so a change to src.app.shared.markdown.markdown-task.markdown-task-item_service can break src.app.shared.markdown.markdown-task.markdown-task_component, while a change to src.app.shared.markdown.markdown-task.markdown-task_component can't break src.app.shared.markdown.markdown-task.markdown-task-item_service.
- Position
- Below the diagonal: src.app.shared.markdown.markdown-task.markdown-task_component uses a module listed above it, which is the healthy direction.
35→19 src.app.shared.modules.mind-map.mind-map.mind-map_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.modules.mind-map.mind-map.mind-map_component uses a type in src.app.shared.markdown.markdown-task.markdown-task-item_service.
- The types involved
src.app.shared.modules.mind-map.mind-map.mind-map_component.MindMapComponent→src.app.shared.markdown.markdown-task.markdown-task-item_service.MarkdownTaskItemService
- Direction
- src.app.shared.modules.mind-map.mind-map.mind-map_component uses src.app.shared.markdown.markdown-task.markdown-task-item_service, so a change to src.app.shared.markdown.markdown-task.markdown-task-item_service can break src.app.shared.modules.mind-map.mind-map.mind-map_component, while a change to src.app.shared.modules.mind-map.mind-map.mind-map_component can't break src.app.shared.markdown.markdown-task.markdown-task-item_service.
- Position
- Below the diagonal: src.app.shared.modules.mind-map.mind-map.mind-map_component uses a module listed above it, which is the healthy direction.
35→20 src.app.shared.modules.mind-map.mind-map.mind-map_component uses src.app.shared.markdown.model.markdown_model✕
- Connections
- 1 pair of types, where a type in src.app.shared.modules.mind-map.mind-map.mind-map_component uses a type in src.app.shared.markdown.model.markdown_model.
- The types involved
src.app.shared.modules.mind-map.mind-map.mind-map_component.MindMapComponent→src.app.shared.markdown.model.markdown_model.MarkdownListModel
- Direction
- src.app.shared.modules.mind-map.mind-map.mind-map_component uses src.app.shared.markdown.model.markdown_model, so a change to src.app.shared.markdown.model.markdown_model can break src.app.shared.modules.mind-map.mind-map.mind-map_component, while a change to src.app.shared.modules.mind-map.mind-map.mind-map_component can't break src.app.shared.markdown.model.markdown_model.
- Position
- Below the diagonal: src.app.shared.modules.mind-map.mind-map.mind-map_component uses a module listed above it, which is the healthy direction.
36→21 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model✕
- Connections
- 3 pairs of types, where a type in src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service uses a type in src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- The types involved
src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.NgxTreeService→src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.FindingResultssrc.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.NgxTreeService→src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.TreeConfigsrc.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.NgxTreeService→src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.TreeModel
- Direction
- src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model, so a change to src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model can break src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service, while a change to src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service can't break src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- Position
- Below the diagonal: src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service uses a module listed above it, which is the healthy direction.
37→21 src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model✕
- Connections
- 1 pair of types, where a type in src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive uses a type in src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- The types involved
src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive.DragElementsDirective→src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.TreeModel
- Direction
- src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model, so a change to src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model can break src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive, while a change to src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive can't break src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- Position
- Below the diagonal: src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive uses a module listed above it, which is the healthy direction.
37→36 src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive uses src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive uses a type in src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.
- The types involved
src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive.DragElementsDirective→src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.NgxTreeService
- Direction
- src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive uses src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service, so a change to src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service can break src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive, while a change to src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive can't break src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.
- Position
- Below the diagonal: src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drag_directive uses a module listed above it, which is the healthy direction.
38→21 src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model✕
- Connections
- 1 pair of types, where a type in src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive uses a type in src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- The types involved
src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive.DropElementsDirective→src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.TreeModel
- Direction
- src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model, so a change to src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model can break src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive, while a change to src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive can't break src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- Position
- Below the diagonal: src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive uses a module listed above it, which is the healthy direction.
38→36 src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive uses src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive uses a type in src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.
- The types involved
src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive.DropElementsDirective→src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.NgxTreeService
- Direction
- src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive uses src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service, so a change to src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service can break src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive, while a change to src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive can't break src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.
- Position
- Below the diagonal: src.app.shared.third-party.ngx-tree-dnd.directives.ngx-tree-dnd-drop_directive uses a module listed above it, which is the healthy direction.
39→21 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model✕
- Connections
- 3 pairs of types, where a type in src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component uses a type in src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- The types involved
src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component.NgxTreeChildrenComponent→src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.TreeConfigsrc.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component.NgxTreeChildrenComponent→src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.TreeItemOptionssrc.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component.NgxTreeChildrenComponent→src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.TreeModel
- Direction
- src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model, so a change to src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model can break src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component, while a change to src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component can't break src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- Position
- Below the diagonal: src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component uses a module listed above it, which is the healthy direction.
39→36 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component uses src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component uses a type in src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.
- The types involved
src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component.NgxTreeChildrenComponent→src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.NgxTreeService
- Direction
- src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component uses src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service, so a change to src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service can break src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component, while a change to src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component can't break src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.
- Position
- Below the diagonal: src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-children.ngx-tree-dnd-children_component uses a module listed above it, which is the healthy direction.
40→21 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model✕
- Connections
- 1 pair of types, where a type in src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component uses a type in src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- The types involved
src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component.NgxTreeParentComponent→src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.TreeConfig
- Direction
- src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component uses src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model, so a change to src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model can break src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component, while a change to src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component can't break src.app.shared.third-party.ngx-tree-dnd.models.tree-view_model.
- Position
- Below the diagonal: src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component uses a module listed above it, which is the healthy direction.
40→36 src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component uses src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service✕
- Connections
- 1 pair of types, where a type in src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component uses a type in src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.
- The types involved
src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component.NgxTreeParentComponent→src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.NgxTreeService
- Direction
- src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component uses src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service, so a change to src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service can break src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component, while a change to src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_component can't break src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd_service.
- Position
- Below the diagonal: src.app.shared.third-party.ngx-tree-dnd.ngx-tree-dnd-parent.ngx-tree-dnd-parent_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
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 193 | High / Critical |
| A08:2025 — Software or Data Integrity Failures | 2 | Medium |
Roadmap
First, address visual and motion safety by ensuring visible focus styles, respecting reduced motion preferences, and fixing low-contrast colors. Next, improve forms by adding programmatic labels to all controls and buttons, and establish page structure with proper language attributes, titles, and landmarks. Then, enforce accessibility standards in the development toolchain by integrating linting rules and automated testing in CI. Finally, clean up dependencies by removing unused packages and explicitly declaring imports.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1. | +6.8 pts | Medium | Visual & motion safety |
| Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label. | +4.9 pts | Medium | Forms & labels |
| Resolve the 2 Malicious package finding(s) in Malicious Dependencies — start with REDACTED (2). | +2.3 pts | Low | Malicious Dependencies |
| 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. | +4.2 pts | Medium | A11y enforcement |
| Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh. | +3.7 pts | Medium | Page structure |
| Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies. | +3.2 pts | Medium | Dependency Hygiene |
| Resolve the 25 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (25). | +2.8 pts | Medium | Dependency Hygiene |
| Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. | +0.6 pts | Low | Supply-chain Provenance & Signing |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 1.7 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| docs/adr/0001-todo-list.md | 8.5 | Near-clean | ADR Quality: Informative title and a decision (a list of referenced tools) but no context/problem and no consequences/trade-offs |
| docs/adr/0002-link-模式.md | 8.5 | Near-clean | ADR Quality: Problem statement and explicit decision are present but context is cut mid-sentence before the real content (the decision) begins |
| docs/adr/0003-自定义-markodwn-mind-set.md | 8.5 | Near-clean | ADR Quality: Informative title and context; explicit decision/consequences are present but the visible text is clipped by the scanner before they can be assessed |
| docs/adr/0004-graphviz-like-node-link->.md | 8.5 | Near-clean | ADR Quality: Title is the only non-empty header; Context/Decision/Consequences are present but the body is a single repeated line ('## Decision') and cut by the clip marker |
| package.json | 9.0 | Near-clean | Dependency Hygiene: Outdated (npm): @angular/animations |
| schematics/package.json | 9.1 | Near-clean | Dependency Hygiene: Outdated (npm): @angular-devkit/core |
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. 64 of 69 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 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 — 69 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, 298 of 325 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
- D1 Cyclomatic Complexity — 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. Most of this repository's production source (.js) had no cyclomatic complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D2 Cognitive Complexity — 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. Most of this repository's production source (.js) had no cognitive complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the JavaScript/TypeScript suite(s) run through a browser-driven runner the coverage collector does not drive — the repository root (karma) — a gap in the analyzer, not something this repository is missing. 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.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 43 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/model/__name@dasherize__.entity.ts`, `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/model/__name@dasherize__.model.ts`, `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/repository/__name@dasherize__.repository.ts`, `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/repository/mapper/__name@dasherize__-repository.mapper.ts`, `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/usecases/__name@dasherize__.usecase.ts`, … (+1 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- D34 Knowledge Freshness — 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. Too few commits to judge knowledge freshness (43 commit(s) sampled).
- 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.
- M3 Folder & project structure — 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. Whether the tests sit apart from production code is not visible here, because the suite is not in a form this pass reads. The test-separation credit is granted rather than withheld: this is a gap in the analyzer's language coverage, not a finding about the repository's tests. You can widen what we reach: keep the test surface somewhere a reader can find it without opening a binary — an exported/checked-in test source tree beside the production code makes the suite reviewable, diffable and discoverable by tooling.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 50 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled certificate validation and obsolete TLS versions, and none was found. The server controls this dimension also scores were not assessed, so no score is given.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Go, PHP, Dart, Kotlin, Ruby, Scala, Java, Python and Rust source only, and no C# was loaded, and no named async function in this repository's JavaScript/TypeScript, nor any Go, PHP or Dart function or Kotlin suspend function, makes a request that can be cancelled (fetch, axios, ky, ofetch; net/http, net.Dial; amphp; Dio; Ktor, OkHttp), so there is nothing to judge, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP make no call through a named logger, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- 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.
- D7 Architectural Integrity: Layering is checked against detected/declared rules — an architecture whose boundaries live in convention or in code review, not in a rule a scanner can read, is not enforced here.
- 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.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- 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.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
The LLM boundary
Dimensions
D5 · Coupling
2 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence.
D6 · Cohesion (LCOM4)
0 of 15 classes have LCOM4 above 3.
D7 · Architectural Integrity
No mechanizable ADR was identified, so enforcement is not measured. Dependency cycles not checked (no project-reference graph; where this repository's language has an import-cycle lens, cycles are reported there).
What to do
- Enforce Architectural Integrity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D9 · Test Distribution
27 test methods: 26 unit, 0 integration, 0 BDD, 1 e2e. The JavaScript/TypeScript suite contributes 27 `it`/`test` case(s) across 21 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 27 tests.
D11 · Test Reliability
0 flaky across 1 measured tier(s). JavaScript/TypeScript (jasmine via `yarn install --frozen-lockfile --ignore-scripts` in schematics/ (1 tests)): measured (0 flaky).
D12 · Dependency Hygiene
36 outdated direct production npm dependency(ies) of 40 graded, 2 pinning defect(s), across 2 package.json (2 of them the product) and 3 committed lockfile(s). 40 of 41 resolved direct production dependency(ies) were graded against registry.npmjs.org (1 not published there — private or renamed). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 0 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
What to do
- Resolve the 25 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (25). — One of this dimension's main actionable groups (25 recommendation-level).
- Resolve the 1 Floating npm dependency finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 One package at two majors across the workspace finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 40 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 41 production dependency(ies) this repository's committed lockfile resolves, across 2 product package.json manifest(s). Its 30 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. A further 1 package(s) the lockfile resolves are not published on the public registry at all — a private scope, a workspace-internal name or a git install — and are outside this verdict. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 2619 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README (README.md) is a single cohesive document that introduces PowerMD as the markdown tool for Phodal's work and lists features such as mindset/todo list, radar chart, kanban, DDD model, and radial tidy tree with status, context, and links to architecture decision records. The schematics/README.md provides installation/testing/unit-testing/publishing guidance for a schematic repository, while the docs/adr/* files are architectural design documents (ADR) that document the repository's decisions. All four ADRs appear in the summary as per-documentation outlines but are clipped by the scanner before any of them can be flagged as missing; the README and schematics/README.md each fall below the clip threshold, so their completeness is not penalized. The quality sits at 6 because the root README lacks a licence statement (it links to LICENSE in the directory) and there is no architecture/design documentation for the repository itself.
What to do
- Improve Documentation Quality — currently 6.0/10. — The repository's root README (README.md) is a single cohesive document that introduces PowerMD as the markdown tool for Phodal's work and lists features such as mindset/todo list, radar chart, kanban, DDD model, and radial tidy tree with status, context, and links to architecture decision records. The schematics/README.md provides installation/testing/unit-testing/publishing guidance for a schematic repository, while the docs/adr/* files are architectural design documents (ADR) that document the repository's decisions. All four ADRs appear in the summary as per-documentation outlines but are clipped by the scanner before any of them can be flagged as missing; the README and schematics/README.md each fall below the clip threshold, so their completeness is not penalized. The quality sits at 6 because the root README lacks a licence statement (it links to LICENSE in the directory) and there is no architecture/design documentation for the repository itself.
D20 · ADR Quality
Evaluated 4 ADR(s) individually; mean quality 3.3/10 (frequently incomplete). 4 flagged with a specific gap.
What to do
- Resolve the 1 Informative title and a decision (a list of referenced tools) but no… finding(s) in ADR Quality — start with 0001-todo-list.md. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Problem statement and explicit decision are present but context is cut… finding(s) in ADR Quality — start with 0002-link-模式.md. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Informative title and context; explicit decision/consequences are… finding(s) in ADR Quality — start with 0003-自定义-markodwn-mind-set.md. — One of this dimension's main actionable groups (1 warning-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
1 of 3 build units (npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
semgrep found no security issues. semgrep hit a parse error in 6 file(s) — `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/model/__name@dasherize__.entity.ts` (line 1), `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/model/__name@dasherize__.model.ts` (line 1), `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/repository/__name@dasherize__.repository.ts` (line 6, line 7, line 8, …), `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/repository/mapper/__name@dasherize__-repository.mapper.ts` (line 1, line 2, line 5, …), `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/usecases/__name@dasherize__.usecase.ts` (line 4, line 5, line 10, …), … (+1 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
D30 · Dependency Vulnerabilities
189 finding(s): 36 critical, 91 high, 47 medium, 15 low.
What to do
- Resolve the 88 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (70), REDACTED (18). — One of this dimension's main actionable groups (88 issue-level).
- Resolve the 34 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (25), REDACTED (9). — One of this dimension's main actionable groups (34 issue-level).
- Resolve the 3 High vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 issue-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
0/3 supply-chain integrity signals present (provenance, signing, SBOM).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
2 finding(s): 0 critical, 0 high, 2 medium, 0 low.
What to do
- Resolve the 2 Malicious package finding(s) in Malicious Dependencies — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 34 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AC2 · Forms & labels
- This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. (×8) — src/app/features/components/todo/todo.component.html:3, src/app/shared/components/power-md-editor/power-md-editor.component.html:5, src/app/shared/markdown/domain-design/domain-design.component.html:21, …
- A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one). — src/app/shared/components/draggable-editable-section/draggable-editable-section.component.html:23
What to do
- Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — src/index.html:2
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC6 · Visual & motion safety
- `.d` moves (`animation: dots 1.5s ease-out infinite`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — src/index.html:52
- `.button:focus, .button:hover, button:focus, button:hover, input[type='button']:focus, input[type='button']:hover, input[type='reset']:focus, input[type='reset']:hover, input[type='submit']:focus, input[type='submit']:hover` sets color: #fff on background-color: #1abc9c — 2.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — src/assets/styles/mifa.css:129
- `.CodeMirror-scroll` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — src/assets/editor/simplemde/simplemde.css:165
- `.CodeMirror-code` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — src/assets/editor/simplemde/simplemde.css:279
- `.medium-editor-toolbar li button:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — src/assets/editor/medium/css/medium-editor.css:149
- `.medium-editor-toolbar-form .medium-editor-toolbar-input:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — src/assets/editor/medium/css/medium-editor.css:203
- `.tree-btn:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — src/app/shared/third-party/ngx-tree-dnd/styles-tree-dnd.scss:103
- `.input-rename` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — src/app/shared/third-party/ngx-tree-dnd/styles-tree-dnd.scss:143
- `textarea:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — src/app/shared/markdown/domain-design/domain-design.component.scss:128
- `:host *:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — src/app/shared/components/draggable-editable-section/draggable-editable-section.component.scss:5
- `.medium-editor-image-loading` moves (`animation: medium-editor-image-loading 1s infinite ease-in-out`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — src/assets/editor/medium/css/medium-editor.css:77
- `.medium-editor-toolbar-active.medium-editor-stalker-toolbar` moves (`animation: medium-editor-pop-upwards 160ms forwards linear`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — src/assets/editor/medium/css/medium-editor.css:170
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
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 21 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.
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX7 · Slice cohesion
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- 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.
M2 · Architecture documentation
What to do
- Grow the ADR log (currently 5) — reach 8 to raise the maturity tier; document significant decisions as they're made.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
- A CI pipeline exists but no test-runner invocation (your stack's test command, or a test job) was found — changes may merge without the suite running.
- A CI pipeline exists but no build step was matched — changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves.
What to do
- Run the test suite in CI via an explicit runner step (`npm test` for the toolchain this pipeline already uses) and gate merges on it.
- Add an explicit build step to your CI pipeline — your stack's own build command, or, if the pipeline delegates to a task runner, a build task that runner executes in CI — so every change is built before merge.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 336 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
R1 · Type Safety
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- src/app/shared/markdown/markdown-radar-chart/markdown-rating/markdown-rating.component.ts:19 · src/app/shared/markdown/markdown-task/markdown-task.component.ts:18 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/app/shared/markdown/markdown-radar-chart/markdown-rating/markdown-rating.component.ts:19
- src/app/shared/markdown/domain-design/domain-design.component.ts:102 · src/app/shared/markdown/markdown-radar-chart/markdown-radar-chart.component.ts:30 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/app/shared/markdown/domain-design/domain-design.component.ts:102
- src/app/shared/markdown/markdown-radar-chart/markdown-rating-item/markdown-rating-item.component.ts:29 · src/app/shared/markdown/markdown-task/markdown-task-item/markdown-task-item.component.ts:30 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — src/app/shared/markdown/markdown-radar-chart/markdown-rating-item/markdown-rating-item.component.ts:29
- src/app/shared/modules/mind-map/mind-map/mind-map.component.ts:107 · src/app/shared/modules/mind-map/mind-map/mind-map.component.ts:126 — 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/app/shared/modules/mind-map/mind-map/mind-map.component.ts:107
- src/app/shared/modules/mind-map/mind-map/mind-map.component.ts:145 · src/app/shared/modules/mind-map/mind-map/mind-map.component.ts:172 — 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/app/shared/modules/mind-map/mind-map/mind-map.component.ts:145
- src/app/features/components/todo/todo.component.ts:73 · src/app/shared/markdown/domain-design/domain-design.component.ts:112 · src/app/shared/markdown/markdown-radar-chart/markdown-radar-chart.component.ts:40 · src/app/shared/markdown/markdown-radar-chart/markdown-rating/markdown-rating.component.ts:34 · +3 more site(s) not listed — the 7 copies are spread across 7 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/app/features/components/todo/todo.component.ts:73
- src/app/shared/markdown/markdown-radar-chart/RadarChart.js:175 · src/app/shared/markdown/markdown-radar-chart/RadarChart.js:227 — 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/app/shared/markdown/markdown-radar-chart/RadarChart.js:175
- src/app/shared/markdown/model/markdown.helper.ts:157 · src/app/shared/markdown/model/markdown.helper.ts:173 — 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/app/shared/markdown/model/markdown.helper.ts:157
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
- src/app/shared/components/draggable-editable-section/draggable-editable-section.component.ts:8 reaches into another package with a relative path (../../../core/model/tile.model) — import the package by name instead. — src/app/shared/components/draggable-editable-section/draggable-editable-section.component.ts:8
- src/app/shared/shared.module.ts:10 reaches into another package with a relative path (./components/draggable-editable-section/draggable-editable-section.component) — import the package by name instead. — src/app/shared/shared.module.ts:10
- src/polyfills.ts:58 imports zone.js/dist/zone, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — src/polyfills.ts:58
What to do
- Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
R2 · Cyclomatic Complexity
- todoCompiled has cyclomatic complexity 23 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/app/shared/markdown/model/markdown.helper.ts:19
- collapseWhitespace has cyclomatic complexity 19 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/assets/editor/medium/me-markdown.standalone.js:408
- taskToMarkdownList has cyclomatic complexity 14 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/app/shared/components/power-md-editor/power-md-editor.component.ts:125
- markdownToJSON has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/app/shared/markdown/model/markdown.helper.ts:93
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- src/assets/editor/medium/me-markdown.standalone.js has 855 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — src/assets/editor/medium/me-markdown.standalone.js:1
- src/app/shared/modules/mind-map/mind-map/mind-map.component.ts has 517 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — src/app/shared/modules/mind-map/mind-map/mind-map.component.ts:1
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×10) — src/assets/editor/medium/me-markdown.standalone.js:1, schematics/src/domain/files/__path__/__name@dasherize@if-flat__/repository/__name@dasherize__.repository.ts:1, src/app/pages/help/help.module.ts:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
- 33 outdated package(s); JS/npm CVEs scored in D30
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
R7 · Dead Code
- 11 file(s) (~135 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package. — schematics
- 1 file(s) (~133 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package. — src/app/shared/components/draggable-editable-section
R8 · Dependency Hygiene
- Imported but not declared in any reachable package.json — installs work only by hoisting accident. (×2) — src/app/shared/markdown/domain-design/domain-design.component.ts:12, src/app/shared/components/power-md-editor/power-md-editor.component.ts:2
- Declared in the root package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
- `taskToMarkdownList` is exported and takes `tasks: any` from its caller, and it calls itself at line 168 (`this.taskToMarkdownList`) with a piece of `tasks` — and nowhere in `taskToMarkdownList` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `taskToMarkdownList` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — src/app/shared/components/power-md-editor/power-md-editor.component.ts:168
- `deleteTaskByItem` is exported and takes `tasks: any` from its caller, and it calls itself at line 54 (`this.deleteTaskByItem`) with a piece of `tasks` — and nowhere in `deleteTaskByItem` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `deleteTaskByItem` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — src/app/shared/markdown/markdown-task/markdown-task-item.service.ts:54
What to do
- Each finding names the externally-callable member that accepts the document and the self-call that descends, and states that no depth parameter or counter exists anywhere in the walk. Confirm from the two, then thread a depth argument through the walk and reject documents past a fixed maximum, or rewrite it with an explicit stack.
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. — src/assets/editor/medium/me-markdown.standalone.js:526
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- 1/3 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
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 |
| 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 | 72% | Strong | Solid. |
| Architecture | 81% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 74% | Strong | Strongest area. |
| Readiness | 36% | Weak — gated by R8, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 50% | Adequate — gated by D30, D36, D43 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 27% | Weak — gated by AC2, AC6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Not evidenced — 2 control(s) we could not find positive evidence for
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 60 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.
- AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
- AX1 Captive dependencies — Not applicable: Angular's root injector cannot see a component-level provider, so a root service asking for one fails with NullInjectorError instead of capturing it.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX4 Dependency direction — not applicable to a vertical-slice architecture (the inward-dependency rule is for layered/clean styles)
- AX6 Interface segregation — no exported interface declares behaviour
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no data at rest for these controls to protect. If it does persist personal data (through a hosted backend configured outside this repository, for instance), the controls belong to wherever that data is stored.
- C2 Access Controls — No access-control surface detected in the analyzed source — this repository stands up no server (no Express, Fastify, Koa, Hono, NestJS or similar app, no Next.js/SvelteKit/Nuxt server route, no edge function), creates no Supabase tables and talks to no hosted backend. Access control is therefore N/A here — a browser application or library is authorized by the server it calls, not by itself; a client-side route guard hides a page and authorizes nothing. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a hosted backend configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data whose lifetime a retention limit would bound. If it does (through a hosted backend configured outside this repository, for instance), the limit belongs wherever that data is stored.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over. If it does (through a hosted backend configured outside this repository, for instance), the rights are served wherever that data is stored.
- D1 Cyclomatic Complexity — cyclomatic complexity not measured — .js exposed no member bodies
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D2 Cognitive Complexity — cognitive complexity not measured — .js exposed no member bodies
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — none of 4 ADRs are conformance-checkable — unverifiable.
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.js,.ts), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D3 God Classes — Most of this repository's production source (.js) was not read by god-class detection, so class size was not assessed for the languages that are the product — whatever else this pass did read is not this repository's class size. Not scored — this is a gap in the analyzer, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — 6 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D34 Knowledge Freshness — too few commits to judge knowledge freshness
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.js, .ts) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D8 Code Coverage — Coverage not measured — 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 none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P2 Observability — This repository's JavaScript/TypeScript source (3 module(s), 51 file(s) read) declares no entry point and bootstraps no server, and nothing here deploys a service — it is a library, run inside whatever hosts it, so production observability (structured logging, tracing/metrics, health checks) is N/A. If it grows a binary or a service, the dimension reactivates.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- PF3 Async & latency hygiene — Not applicable: this repository declares no async functions, so there is no asynchronous code for a blocking call to stall.
- S1 Web-Security Posture — Not assessed: 50 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. That half of the dimension is clean, but it is not scored on its own: a C# repository with the same clean reading is scored on its server controls as well, or is N/A for having no web surface, and neither can be decided here. The server controls — HTTPS enforcement, HSTS, cookie flags, input validation — are NOT assessed for JavaScript/TypeScript: each is scored as an absence, an absence is only reportable over the production HTTP server, and in this ecosystem the file that opens the port is build output or a framework launcher rather than a file in the source tree. Their absence here is not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 138 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <input> without a programmatic label src/app/features/components/todo/todo.component.html:3
- <input> without a programmatic label src/app/shared/markdown/markdown-task/markdown-task-item/markdown-task-item.component.html:6
- <input> without a programmatic label src/app/shared/markdown/markdown-task/markdown-task-item/markdown-task-item.component.html:15
- <input> without a programmatic label src/app/shared/markdown/markdown-task/markdown-task-item/markdown-task-item.component.html:24
- <textarea> without a programmatic label src/app/shared/components/power-md-editor/power-md-editor.component.html:5
- <textarea> without a programmatic label src/app/shared/markdown/domain-design/domain-design.component.html:21
- <textarea> without a programmatic label src/app/shared/markdown/domain-design/domain-design.component.html:28
- <textarea> without a programmatic label src/app/shared/markdown/domain-design/domain-design.component.html:41
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <button> with no accessible text src/app/shared/components/draggable-editable-section/draggable-editable-section.component.html:23
- Unlisted import 'angular-resizable-element' src/app/shared/markdown/domain-design/domain-design.component.ts:12
- Unlisted import 'marked' src/app/shared/components/power-md-editor/power-md-editor.component.ts:2
Serious — 103 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No test reaches this file src/assets/editor/medium/me-markdown.standalone.js:1
- No test reaches this file schematics/src/domain/files/__path__/__name@dasherize@if-flat__/repository/__name@dasherize__.repository.ts:1
- No test reaches this file src/app/pages/help/help.module.ts:1
- No test reaches this file src/app/app.module.ts:1
- No test reaches this file schematics/src/domain/files/__path__/__name@dasherize@if-flat__/usecases/__name@dasherize__.usecase.ts:1
- No test reaches this file schematics/src/domain/files/__path__/__name@dasherize@if-flat__/repository/mapper/__name@dasherize__-repository.mapper.ts:1
- No test reaches this file schematics/src/domain/index_spec.ts:1
- No test reaches this file src/app/app-routing.module.ts:1
- No test reaches this file src/main.ts:1
- No test reaches this file schematics/src/domain/index.ts:1
- Focus outline removed in CSS without a :focus replacement src/assets/editor/simplemde/simplemde.css:165
- Focus outline removed in CSS without a :focus replacement src/assets/editor/simplemde/simplemde.css:279
- Focus outline removed in CSS without a :focus replacement src/assets/editor/medium/css/medium-editor.css:149
- Focus outline removed in CSS without a :focus replacement src/assets/editor/medium/css/medium-editor.css:203
- Focus outline removed in CSS without a :focus replacement src/app/shared/third-party/ngx-tree-dnd/styles-tree-dnd.scss:103
- Focus outline removed in CSS without a :focus replacement src/app/shared/third-party/ngx-tree-dnd/styles-tree-dnd.scss:143
- Focus outline removed in CSS without a :focus replacement src/app/shared/markdown/domain-design/domain-design.component.scss:128
- Focus outline removed in CSS without a :focus replacement src/app/shared/components/draggable-editable-section/draggable-editable-section.component.scss:5
- Animation without a prefers-reduced-motion guard src/index.html:52
- Animation without a prefers-reduced-motion guard src/assets/editor/medium/css/medium-editor.css:77
- Animation without a prefers-reduced-motion guard src/assets/editor/medium/css/medium-editor.css:170
- Boundary violation [package:relative-cross-package] src/app/shared/components/draggable-editable-section/draggable-editable-section.component.ts:8
- Boundary violation [package:relative-cross-package] src/app/shared/shared.module.ts:10
- Boundary violation [package:third-party-deep-import] src/polyfills.ts:58
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (22 lines × 2 locations) src/app/shared/markdown/domain-design/domain-design.component.ts:102
- Duplicated block (22 lines × 2 locations) src/app/shared/markdown/markdown-radar-chart/markdown-rating-item/markdown-rating-item.component.ts:29
- Recursive walk over a caller-supplied document has no depth cap src/app/shared/components/power-md-editor/power-md-editor.component.ts:168
- Recursive walk over a caller-supplied document has no depth cap src/app/shared/markdown/markdown-task/markdown-task-item.service.ts:54
- Page without a main landmark src/index.html:2
- Low contrast colour pair in CSS (2.4:1) src/assets/styles/mifa.css:129
- Accessibility enforcement below the top rung
- Floating npm dependency: chalk
- One package at two majors across the workspace: @angular/cdk
- Informative title and a decision (a list of referenced tools) but no context/problem and no consequences/trade-offs docs/adr/0001-todo-list.md
- Problem statement and explicit decision are present but context is cut mid-sentence before the real content (the decision) begins docs/adr/0002-link-模式.md
- Informative title and context; explicit decision/consequences are present but the visible text is clipped by the scanner before they can be assessed docs/adr/0003-自定义-markodwn-mind-set.md
- Title is the only non-empty header; Context/Decision/Consequences are present but the body is a single repeated line ('## Decision') and cut by the clip marker docs/adr/0004-graphviz-like-node-link->.md
- Duplicated block (25 lines × 2 locations) src/app/shared/markdown/markdown-radar-chart/markdown-rating/markdown-rating.component.ts:19
- Duplicated block (17 lines × 2 locations) src/app/shared/modules/mind-map/mind-map/mind-map.component.ts:107
- Duplicated block (16 lines × 2 locations) src/app/shared/modules/mind-map/mind-map/mind-map.component.ts:145
- Duplicated block (11 lines × 7 locations) src/app/features/components/todo/todo.component.ts:73
- Duplicated block (11 lines × 2 locations) src/app/shared/markdown/markdown-radar-chart/RadarChart.js:175
- Duplicated block (10 lines × 2 locations) src/app/shared/markdown/model/markdown.helper.ts:157
- Complex function todoCompiled (cyclomatic 23, cognitive 17) src/app/shared/markdown/model/markdown.helper.ts:19
- Complex function collapseWhitespace (cyclomatic 19, cognitive 29) src/assets/editor/medium/me-markdown.standalone.js:408
- Complex function taskToMarkdownList (cyclomatic 14, cognitive 35) src/app/shared/components/power-md-editor/power-md-editor.component.ts:125
- Complex function markdownToJSON (cyclomatic 13, cognitive 14) src/app/shared/markdown/model/markdown.helper.ts:93
- src/assets/editor/medium/me-markdown.standalone.js: 855 lines of code src/assets/editor/medium/me-markdown.standalone.js:1
- src/app/shared/modules/mind-map/mind-map/mind-map.component.ts: 517 lines of code src/app/shared/modules/mind-map/mind-map/mind-map.component.ts:1
- Dependency Freshness
- Unused dependency '@angular/cli'
- Unused dependency '@angular/compiler'
- Unused dependency '@angular/compiler-cli'
- Swallowed exception (empty catch) src/assets/editor/medium/me-markdown.standalone.js:526
Minor — 73 finding(s)
- Outdated (npm): @angular-devkit/core schematics/package.json:17
- Outdated (npm): @angular-devkit/schematics schematics/package.json:18
- Outdated (npm): @angular/animations package.json:15
- Outdated (npm): @angular/cdk package.json:16
- Outdated (npm): @angular/common package.json:17
- Outdated (npm): @angular/compiler package.json:18
- Outdated (npm): @angular/core package.json:19
- Outdated (npm): @angular/flex-layout package.json:20
- Outdated (npm): @angular/forms package.json:21
- Outdated (npm): @angular/material package.json:22
- Outdated (npm): @angular/platform-browser package.json:23
- Outdated (npm): @angular/platform-browser-dynamic package.json:24
- Outdated (npm): @angular/router package.json:25
- Outdated (npm): @ecodev/fab-speed-dial package.json:26
- Outdated (npm): @swimlane/ngx-datatable package.json:27
- Outdated (npm): @types/jasmine package.json:56
- Outdated (npm): @types/node package.json:61
- Outdated (npm): angular-split package.json:29
- Outdated (npm): chalk schematics/package.json:22
- Outdated (npm): d3 package.json:33
- Outdated (npm): date-fns package.json:34
- Outdated (npm): jasmine schematics/package.json:23
- Outdated (npm): ng2-dragula package.json:41
- Outdated (npm): ngx-markdown package.json:43
- Outdated (npm): typescript package.json:79
- Deprecated: are-we-there-yet REDACTED:97
- Deprecated: fsevents REDACTED:436
- Deprecated: gauge REDACTED:444
- Deprecated: glob REDACTED:471
- Deprecated: inflight REDACTED:543
- Deprecated: ini REDACTED:556
- Deprecated: is-accessor-descriptor REDACTED:561
- Deprecated: is-accessor-descriptor REDACTED:568
- Deprecated: is-data-descriptor REDACTED:587
- Deprecated: is-data-descriptor REDACTED:594
- Deprecated: mixin-deep REDACTED:808
- Deprecated: mkdirp REDACTED:816
- Deprecated: node-pre-gyp REDACTED:859
- Deprecated: npmlog REDACTED:903
- Deprecated: osenv REDACTED:963
- Deprecated: path-dirname REDACTED:981
- Deprecated: resolve-url REDACTED:1061
- Deprecated: rimraf REDACTED:1071
- Deprecated: set-value REDACTED:1117
- Deprecated: set-value REDACTED:1127
- Deprecated: source-map-resolve REDACTED:1172
- Deprecated: source-map-url REDACTED:1183
- Deprecated: tar REDACTED:1263
- Deprecated: urix REDACTED:1341
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- CI test execution not evidenced
- CI build step not evidenced
- No SAST
- Strict null checking is not enabled everywhere the repository type-checks
Minor — 11 finding(s)
- Outdated (npm): angular-calendar
- Outdated (npm): angularx-flatpickr
- Outdated (npm): core-js
- Outdated (npm): flatpickr
- Outdated (npm): lodash
- Outdated (npm): mousetrap
- Outdated (npm): ngx-contextmenu
- Outdated (npm): rxjs
- Outdated (npm): shortid
- Outdated (npm): tslib
- Outdated (npm): zone.js
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-f0cc109cfc62405b8149a04cb1ba6f93/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-f0cc109cfc62405b8149a04cb1ba6f93/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 . | 0 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 189 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 6 file(s) — `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/model/__name@dasherize__.entity.ts`, `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/model/__name@dasherize__.model.ts`, `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/repository/__name@dasherize__.repository.ts`, `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/repository/mapper/__name@dasherize__-repository.mapper.ts`, `schematics/src/domain/files/__path__/__name@dasherize@if-flat__/usecases/__name@dasherize__.usecase.ts`, … (+1 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 2 | artifacts/raw/trivy-fs.json |