Executive summary
Tyrrrz/DiscordChatExporter scores 47 out of 100 and is rated Weak, while four of its seven lenses score higher still: Code Health at 83 and Performance at 80, both rated Strong, and Security and Compliance at 69 and Architecture at 59, both rated Adequate.
The score is lower than those four because the weakest lens counts most, and here that is Accessibility, which scores 41 and is rated Weak. Its Keyboard semantics dimension scores 1 out of 10, and until that reaches 4, Accessibility can't be rated higher than Adequate. The first actions are to resolve the 1 No ADRs found finding(s) in ADR Quality and to resolve the 1 Deprecated finding(s) in Dependency Hygiene. The weakest lenses score close to each other, so improving any of them moves the score.
15 findings are critical: seven in Static Analysis (SAST), three in Keyboard semantics, two in Explicit Debt, two in Project dependency cycles and one in Page structure.
Watchdog couldn't measure Platform End-of-Life and Runtime accessibility in this code, so those dimensions are left out of the score. The product code is 18,458 lines, which would take an estimated 0.2 person-years, around €23,000, to rebuild.
The weakest lenses score close to each other, so improving any of them moves the score.
New since the last survey: 4 findings
- Supply-chain Provenance & Signing · REDACTED
- Documentation (README) · README may be stale
- Cancellation propagation · Async method without CancellationToken: ExecuteAsync DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs
- Cancellation propagation · Async method without CancellationToken: InitializeAsync DiscordChatExporter.Gui/ViewModels/MainViewModel.cs
Fixed since the last survey: 6 findings
- Coupling · Off the main sequence: DiscordChatExporter.Core
- Cancellation propagation · Async method without CancellationToken: StartTaskAsync DiscordChatExporter.Cli/Utils/Extensions/ConsoleExtensions.cs
- Cancellation propagation · Async method without CancellationToken: PromptSaveFilePathAsync DiscordChatExporter.Gui/Framework/DialogManager.cs
- Cancellation propagation · Async method without CancellationToken: PromptDirectoryPathAsync DiscordChatExporter.Gui/Framework/DialogManager.cs
- Cancellation propagation · Async method without CancellationToken: WaitForCloseAsync DiscordChatExporter.Gui/Framework/DialogViewModelBase.cs
- Exception handling · Swallowed exception (caught, then discarded) DiscordChatExporter.Gui/Utils/Extensions/EnvironmentExtensions.cs
Rebuild cost: about €23,000 · Estimate
| Cost to rebuild | €7,800 to €39,000, for 130 to 406 hours of work, about 0.2 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 47. 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,458 lines of product code, of which 73% is declarations and boilerplate, 7% straight logic and 20% logic with branches |
| Comment lines | The estimate prices 17,807 lines. Comment lines count towards the size of 18,458 lines but aren't priced as work. |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 Cli | 2 Cli.Commands.Shared | 3 Cli.Utils.Extensions | 4 Core.Exceptions | 5 Core.Exporting.Partitioning | 6 Core.Utils | 7 Core.Utils.Extensions | 8 Gui.Converters | 9 Gui.Models | 10 Gui.Utils | 11 Gui.Utils.Extensions | 12 Gui.Views.Controls | 13 Cli.Commands.Converters | 14 Core.Discord.Data.Common | 15 Core.Discord.Data.Embeds | 16 Core.Discord.Data.Polls | 17 Gui.Localization | 18 Core.Discord.Data | 19 Core.Discord | 20 Core.Exporting.Filtering | 21 Core.Discord.Dump | 22 Core.Exporting.Filtering.Parsing | 23 Core.Markdown | 24 Gui.ViewModels.Components | 25 Core.Markdown.Parsing | 26 Gui.ViewModels | 27 Core.Exporting | 28 Cli.Commands.Base | 29 Gui.ViewModels.Dialogs | 30 Cli.Commands | 31 Gui.Framework | 32 Gui.Services | 33 Gui.Views | 34 Gui.Views.Components | 35 Gui.Views.Dialogs | 36 Gui |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Cli | ||||||||||||||||||||||||||||||||||||
| 2 Cli.Commands.Shared | ||||||||||||||||||||||||||||||||||||
| 3 Cli.Utils.Extensions | ||||||||||||||||||||||||||||||||||||
| 4 Core.Exceptions | ||||||||||||||||||||||||||||||||||||
| 5 Core.Exporting.Partitioning | ||||||||||||||||||||||||||||||||||||
| 6 Core.Utils | ||||||||||||||||||||||||||||||||||||
| 7 Core.Utils.Extensions | ||||||||||||||||||||||||||||||||||||
| 8 Gui.Converters | ||||||||||||||||||||||||||||||||||||
| 9 Gui.Models | ||||||||||||||||||||||||||||||||||||
| 10 Gui.Utils | ||||||||||||||||||||||||||||||||||||
| 11 Gui.Utils.Extensions | ||||||||||||||||||||||||||||||||||||
| 12 Gui.Views.Controls | ||||||||||||||||||||||||||||||||||||
| 13 Cli.Commands.Converters | 1 | |||||||||||||||||||||||||||||||||||
| 14 Core.Discord.Data.Common | 2 | |||||||||||||||||||||||||||||||||||
| 15 Core.Discord.Data.Embeds | 1 | |||||||||||||||||||||||||||||||||||
| 16 Core.Discord.Data.Polls | 1 | |||||||||||||||||||||||||||||||||||
| 17 Gui.Localization | 1 | |||||||||||||||||||||||||||||||||||
| 18 Core.Discord.Data | 8 | 2 | 1 | 12 | ||||||||||||||||||||||||||||||||
| 19 Core.Discord | 9 | |||||||||||||||||||||||||||||||||||
| 20 Core.Exporting.Filtering | 9 | |||||||||||||||||||||||||||||||||||
| 21 Core.Discord.Dump | 1 | |||||||||||||||||||||||||||||||||||
| 22 Core.Exporting.Filtering.Parsing | 1 | |||||||||||||||||||||||||||||||||||
| 23 Core.Markdown | 1 | 2 | ||||||||||||||||||||||||||||||||||
| 24 Gui.ViewModels.Components | 1 | 2 | 1 | 4 | 1 | |||||||||||||||||||||||||||||||
| 25 Core.Markdown.Parsing | 15 | |||||||||||||||||||||||||||||||||||
| 26 Gui.ViewModels | 1 | 1 | 4 | 2 | ||||||||||||||||||||||||||||||||
| 27 Core.Exporting | 1 | 7 | 25 | 4 | 1 | 15 | 2 | |||||||||||||||||||||||||||||
| 28 Cli.Commands.Base | 1 | 1 | 1 | 2 | 1 | 2 | ||||||||||||||||||||||||||||||
| 29 Gui.ViewModels.Dialogs | 1 | 1 | 3 | 2 | 1 | 1 | 1 | 5 | 2 | |||||||||||||||||||||||||||
| 30 Cli.Commands | 1 | 3 | 7 | |||||||||||||||||||||||||||||||||
| 31 Gui.Framework | 1 | 2 | 1 | 1 | 3 | |||||||||||||||||||||||||||||||
| 32 Gui.Services | 2 | 2 | 2 | 2 | 2 | |||||||||||||||||||||||||||||||
| 33 Gui.Views | 1 | |||||||||||||||||||||||||||||||||||
| 34 Gui.Views.Components | 1 | |||||||||||||||||||||||||||||||||||
| 35 Gui.Views.Dialogs | 3 | |||||||||||||||||||||||||||||||||||
| 36 Gui | 1 |
13→2 Cli.Commands.Converters uses Cli.Commands.Shared✕
- Connections
- 1 pair of types, where a type in Cli.Commands.Converters uses a type in Cli.Commands.Shared.
- The types involved
DiscordChatExporter.Cli.Commands.Converters.ThreadInclusionModeInputConverter→DiscordChatExporter.Cli.Commands.Shared.ThreadInclusionMode
- Direction
- Cli.Commands.Converters uses Cli.Commands.Shared, so a change to Cli.Commands.Shared can break Cli.Commands.Converters, while a change to Cli.Commands.Converters can't break Cli.Commands.Shared.
- Position
- Below the diagonal: Cli.Commands.Converters uses a module listed above it, which is the healthy direction.
14→19 Core.Discord.Data.Common uses Core.Discord part of a loop✕
- Connections
- 2 pairs of types, where a type in Core.Discord.Data.Common uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Core.Discord.Data.Common.IHasId→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Common.ImageCdn→DiscordChatExporter.Core.Discord.Snowflake
- Direction
- Core.Discord.Data.Common uses Core.Discord, so a change to Core.Discord can break Core.Discord.Data.Common, while a change to Core.Discord.Data.Common can't break Core.Discord.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
15→18 Core.Discord.Data.Embeds uses Core.Discord.Data part of a loop✕
- Connections
- 1 pair of types, where a type in Core.Discord.Data.Embeds uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Core.Discord.Data.Embeds.PollResultEmbedProjection→DiscordChatExporter.Core.Discord.Data.Emoji
- Direction
- Core.Discord.Data.Embeds uses Core.Discord.Data, so a change to Core.Discord.Data can break Core.Discord.Data.Embeds, while a change to Core.Discord.Data.Embeds can't break Core.Discord.Data.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
16→18 Core.Discord.Data.Polls uses Core.Discord.Data part of a loop✕
- Connections
- 1 pair of types, where a type in Core.Discord.Data.Polls uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Core.Discord.Data.Polls.PollAnswer→DiscordChatExporter.Core.Discord.Data.Emoji
- Direction
- Core.Discord.Data.Polls uses Core.Discord.Data, so a change to Core.Discord.Data can break Core.Discord.Data.Polls, while a change to Core.Discord.Data.Polls can't break Core.Discord.Data.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
17→32 Gui.Localization uses Gui.Services part of a loop✕
- Connections
- 1 pair of types, where a type in Gui.Localization uses a type in Gui.Services.
- The types involved
DiscordChatExporter.Gui.Localization.LocalizationManager→DiscordChatExporter.Gui.Services.SettingsService
- Direction
- Gui.Localization uses Gui.Services, so a change to Gui.Services can break Gui.Localization, while a change to Gui.Localization can't break Gui.Services.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
18→14 Core.Discord.Data uses Core.Discord.Data.Common✕
- Connections
- 8 pairs of types, where a type in Core.Discord.Data uses a type in Core.Discord.Data.Common.
- The types involved
DiscordChatExporter.Core.Discord.Data.Attachment→DiscordChatExporter.Core.Discord.Data.Common.FileSizeDiscordChatExporter.Core.Discord.Data.Attachment→DiscordChatExporter.Core.Discord.Data.Common.IHasIdDiscordChatExporter.Core.Discord.Data.Channel→DiscordChatExporter.Core.Discord.Data.Common.IHasIdDiscordChatExporter.Core.Discord.Data.Guild→DiscordChatExporter.Core.Discord.Data.Common.IHasIdDiscordChatExporter.Core.Discord.Data.Member→DiscordChatExporter.Core.Discord.Data.Common.IHasIdDiscordChatExporter.Core.Discord.Data.Message→DiscordChatExporter.Core.Discord.Data.Common.IHasIdDiscordChatExporter.Core.Discord.Data.Role→DiscordChatExporter.Core.Discord.Data.Common.IHasIdDiscordChatExporter.Core.Discord.Data.User→DiscordChatExporter.Core.Discord.Data.Common.IHasId
- Direction
- Core.Discord.Data uses Core.Discord.Data.Common, so a change to Core.Discord.Data.Common can break Core.Discord.Data, while a change to Core.Discord.Data can't break Core.Discord.Data.Common.
- Position
- Below the diagonal: Core.Discord.Data uses a module listed above it, which is the healthy direction.
18→15 Core.Discord.Data uses Core.Discord.Data.Embeds✕
- Connections
- 2 pairs of types, where a type in Core.Discord.Data uses a type in Core.Discord.Data.Embeds.
- The types involved
DiscordChatExporter.Core.Discord.Data.Message→DiscordChatExporter.Core.Discord.Data.Embeds.EmbedDiscordChatExporter.Core.Discord.Data.MessageSnapshot→DiscordChatExporter.Core.Discord.Data.Embeds.Embed
- Direction
- Core.Discord.Data uses Core.Discord.Data.Embeds, so a change to Core.Discord.Data.Embeds can break Core.Discord.Data, while a change to Core.Discord.Data can't break Core.Discord.Data.Embeds.
- Position
- Below the diagonal: Core.Discord.Data uses a module listed above it, which is the healthy direction.
18→16 Core.Discord.Data uses Core.Discord.Data.Polls✕
- Connections
- 1 pair of types, where a type in Core.Discord.Data uses a type in Core.Discord.Data.Polls.
- The types involved
DiscordChatExporter.Core.Discord.Data.Message→DiscordChatExporter.Core.Discord.Data.Polls.Poll
- Direction
- Core.Discord.Data uses Core.Discord.Data.Polls, so a change to Core.Discord.Data.Polls can break Core.Discord.Data, while a change to Core.Discord.Data can't break Core.Discord.Data.Polls.
- Position
- Below the diagonal: Core.Discord.Data uses a module listed above it, which is the healthy direction.
18→19 Core.Discord.Data uses Core.Discord part of a loop✕
- Connections
- 12 pairs of types, where a type in Core.Discord.Data uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Core.Discord.Data.Application→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Attachment→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Channel→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Emoji→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Guild→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Interaction→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Member→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Message→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.MessageReference→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Role→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.Sticker→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Discord.Data.User→DiscordChatExporter.Core.Discord.Snowflake
- Direction
- Core.Discord.Data uses Core.Discord, so a change to Core.Discord can break Core.Discord.Data, while a change to Core.Discord.Data can't break Core.Discord.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
19→18 Core.Discord uses Core.Discord.Data✕
- Connections
- 9 pairs of types, where a type in Core.Discord uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Core.Discord.DiscordClient→DiscordChatExporter.Core.Discord.Data.ApplicationDiscordChatExporter.Core.Discord.DiscordClient→DiscordChatExporter.Core.Discord.Data.ChannelDiscordChatExporter.Core.Discord.DiscordClient→DiscordChatExporter.Core.Discord.Data.EmojiDiscordChatExporter.Core.Discord.DiscordClient→DiscordChatExporter.Core.Discord.Data.GuildDiscordChatExporter.Core.Discord.DiscordClient→DiscordChatExporter.Core.Discord.Data.InviteDiscordChatExporter.Core.Discord.DiscordClient→DiscordChatExporter.Core.Discord.Data.MemberDiscordChatExporter.Core.Discord.DiscordClient→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Discord.DiscordClient→DiscordChatExporter.Core.Discord.Data.RoleDiscordChatExporter.Core.Discord.DiscordClient→DiscordChatExporter.Core.Discord.Data.User
- Direction
- Core.Discord uses Core.Discord.Data, so a change to Core.Discord.Data can break Core.Discord, while a change to Core.Discord can't break Core.Discord.Data.
- Position
- Below the diagonal: Core.Discord uses a module listed above it, which is the healthy direction.
20→18 Core.Exporting.Filtering uses Core.Discord.Data✕
- Connections
- 9 pairs of types, where a type in Core.Exporting.Filtering uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Core.Exporting.Filtering.BinaryExpressionMessageFilter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.Filtering.ContainsMessageFilter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.Filtering.FromMessageFilter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.Filtering.HasMessageFilter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.Filtering.MentionsMessageFilter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.Filtering.MessageFilter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.Filtering.NegatedMessageFilter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.Filtering.NullMessageFilter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.Filtering.ReactionMessageFilter→DiscordChatExporter.Core.Discord.Data.Message
- Direction
- Core.Exporting.Filtering uses Core.Discord.Data, so a change to Core.Discord.Data can break Core.Exporting.Filtering, while a change to Core.Exporting.Filtering can't break Core.Discord.Data.
- Position
- Below the diagonal: Core.Exporting.Filtering uses a module listed above it, which is the healthy direction.
21→19 Core.Discord.Dump uses Core.Discord✕
- Connections
- 1 pair of types, where a type in Core.Discord.Dump uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Core.Discord.Dump.DataDumpChannel→DiscordChatExporter.Core.Discord.Snowflake
- Direction
- Core.Discord.Dump uses Core.Discord, so a change to Core.Discord can break Core.Discord.Dump, while a change to Core.Discord.Dump can't break Core.Discord.
- Position
- Below the diagonal: Core.Discord.Dump uses a module listed above it, which is the healthy direction.
22→20 Core.Exporting.Filtering.Parsing uses Core.Exporting.Filtering✕
- Connections
- 1 pair of types, where a type in Core.Exporting.Filtering.Parsing uses a type in Core.Exporting.Filtering.
- The types involved
DiscordChatExporter.Core.Exporting.Filtering.Parsing.FilterGrammar→DiscordChatExporter.Core.Exporting.Filtering.MessageFilter
- Direction
- Core.Exporting.Filtering.Parsing uses Core.Exporting.Filtering, so a change to Core.Exporting.Filtering can break Core.Exporting.Filtering.Parsing, while a change to Core.Exporting.Filtering.Parsing can't break Core.Exporting.Filtering.
- Position
- Below the diagonal: Core.Exporting.Filtering.Parsing uses a module listed above it, which is the healthy direction.
23→18 Core.Markdown uses Core.Discord.Data✕
- Connections
- 1 pair of types, where a type in Core.Markdown uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Core.Markdown.EmojiNode→DiscordChatExporter.Core.Discord.Data.Emoji
- Direction
- Core.Markdown uses Core.Discord.Data, so a change to Core.Discord.Data can break Core.Markdown, while a change to Core.Markdown can't break Core.Discord.Data.
- Position
- Below the diagonal: Core.Markdown uses a module listed above it, which is the healthy direction.
23→19 Core.Markdown uses Core.Discord✕
- Connections
- 2 pairs of types, where a type in Core.Markdown uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Core.Markdown.EmojiNode→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Markdown.MentionNode→DiscordChatExporter.Core.Discord.Snowflake
- Direction
- Core.Markdown uses Core.Discord, so a change to Core.Discord can break Core.Markdown, while a change to Core.Markdown can't break Core.Discord.
- Position
- Below the diagonal: Core.Markdown uses a module listed above it, which is the healthy direction.
24→17 Gui.ViewModels.Components uses Gui.Localization✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels.Components uses a type in Gui.Localization.
- The types involved
DiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel→DiscordChatExporter.Gui.Localization.LocalizationManager
- Direction
- Gui.ViewModels.Components uses Gui.Localization, so a change to Gui.Localization can break Gui.ViewModels.Components, while a change to Gui.ViewModels.Components can't break Gui.Localization.
- Position
- Below the diagonal: Gui.ViewModels.Components uses a module listed above it, which is the healthy direction.
24→18 Gui.ViewModels.Components uses Core.Discord.Data✕
- Connections
- 2 pairs of types, where a type in Gui.ViewModels.Components uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel→DiscordChatExporter.Core.Discord.Data.ChannelConnectionDiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel→DiscordChatExporter.Core.Discord.Data.Guild
- Direction
- Gui.ViewModels.Components uses Core.Discord.Data, so a change to Core.Discord.Data can break Gui.ViewModels.Components, while a change to Gui.ViewModels.Components can't break Core.Discord.Data.
- Position
- Below the diagonal: Gui.ViewModels.Components uses a module listed above it, which is the healthy direction.
24→19 Gui.ViewModels.Components uses Core.Discord✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels.Components uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel→DiscordChatExporter.Core.Discord.DiscordClient
- Direction
- Gui.ViewModels.Components uses Core.Discord, so a change to Core.Discord can break Gui.ViewModels.Components, while a change to Gui.ViewModels.Components can't break Core.Discord.
- Position
- Below the diagonal: Gui.ViewModels.Components uses a module listed above it, which is the healthy direction.
24→31 Gui.ViewModels.Components uses Gui.Framework part of a loop✕
- Connections
- 4 pairs of types, where a type in Gui.ViewModels.Components uses a type in Gui.Framework.
- The types involved
DiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel→DiscordChatExporter.Gui.Framework.DialogManagerDiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel→DiscordChatExporter.Gui.Framework.SnackbarManagerDiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel→DiscordChatExporter.Gui.Framework.ViewModelBaseDiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel→DiscordChatExporter.Gui.Framework.ViewModelManager
- Direction
- Gui.ViewModels.Components uses Gui.Framework, so a change to Gui.Framework can break Gui.ViewModels.Components, while a change to Gui.ViewModels.Components can't break Gui.Framework.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
24→32 Gui.ViewModels.Components uses Gui.Services part of a loop✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels.Components uses a type in Gui.Services.
- The types involved
DiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel→DiscordChatExporter.Gui.Services.SettingsService
- Direction
- Gui.ViewModels.Components uses Gui.Services, so a change to Gui.Services can break Gui.ViewModels.Components, while a change to Gui.ViewModels.Components can't break Gui.Services.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
25→23 Core.Markdown.Parsing uses Core.Markdown✕
- Connections
- 15 pairs of types, where a type in Core.Markdown.Parsing uses a type in Core.Markdown.
- The types involved
DiscordChatExporter.Core.Markdown.Parsing.MarkdownParser→DiscordChatExporter.Core.Markdown.EmojiNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownParser→DiscordChatExporter.Core.Markdown.LinkNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownParser→DiscordChatExporter.Core.Markdown.MarkdownNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.EmojiNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.FormattingNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.HeadingNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.InlineCodeBlockNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.LinkNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.ListItemNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.ListNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.MarkdownNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.MentionNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.MultiLineCodeBlockNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.TextNodeDiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor→DiscordChatExporter.Core.Markdown.TimestampNode
- Direction
- Core.Markdown.Parsing uses Core.Markdown, so a change to Core.Markdown can break Core.Markdown.Parsing, while a change to Core.Markdown.Parsing can't break Core.Markdown.
- Position
- Below the diagonal: Core.Markdown.Parsing uses a module listed above it, which is the healthy direction.
26→17 Gui.ViewModels uses Gui.Localization✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels uses a type in Gui.Localization.
- The types involved
DiscordChatExporter.Gui.ViewModels.MainViewModel→DiscordChatExporter.Gui.Localization.LocalizationManager
- Direction
- Gui.ViewModels uses Gui.Localization, so a change to Gui.Localization can break Gui.ViewModels, while a change to Gui.ViewModels can't break Gui.Localization.
- Position
- Below the diagonal: Gui.ViewModels uses a module listed above it, which is the healthy direction.
26→24 Gui.ViewModels uses Gui.ViewModels.Components✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels uses a type in Gui.ViewModels.Components.
- The types involved
DiscordChatExporter.Gui.ViewModels.MainViewModel→DiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel
- Direction
- Gui.ViewModels uses Gui.ViewModels.Components, so a change to Gui.ViewModels.Components can break Gui.ViewModels, while a change to Gui.ViewModels can't break Gui.ViewModels.Components.
- Position
- Below the diagonal: Gui.ViewModels uses a module listed above it, which is the healthy direction.
26→31 Gui.ViewModels uses Gui.Framework part of a loop✕
- Connections
- 4 pairs of types, where a type in Gui.ViewModels uses a type in Gui.Framework.
- The types involved
DiscordChatExporter.Gui.ViewModels.MainViewModel→DiscordChatExporter.Gui.Framework.DialogManagerDiscordChatExporter.Gui.ViewModels.MainViewModel→DiscordChatExporter.Gui.Framework.SnackbarManagerDiscordChatExporter.Gui.ViewModels.MainViewModel→DiscordChatExporter.Gui.Framework.ViewModelBaseDiscordChatExporter.Gui.ViewModels.MainViewModel→DiscordChatExporter.Gui.Framework.ViewModelManager
- Direction
- Gui.ViewModels uses Gui.Framework, so a change to Gui.Framework can break Gui.ViewModels, while a change to Gui.ViewModels can't break Gui.Framework.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
26→32 Gui.ViewModels uses Gui.Services part of a loop✕
- Connections
- 2 pairs of types, where a type in Gui.ViewModels uses a type in Gui.Services.
- The types involved
DiscordChatExporter.Gui.ViewModels.MainViewModel→DiscordChatExporter.Gui.Services.SettingsServiceDiscordChatExporter.Gui.ViewModels.MainViewModel→DiscordChatExporter.Gui.Services.UpdateService
- Direction
- Gui.ViewModels uses Gui.Services, so a change to Gui.Services can break Gui.ViewModels, while a change to Gui.ViewModels can't break Gui.Services.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
27→5 Core.Exporting uses Core.Exporting.Partitioning✕
- Connections
- 1 pair of types, where a type in Core.Exporting uses a type in Core.Exporting.Partitioning.
- The types involved
DiscordChatExporter.Core.Exporting.ExportRequest→DiscordChatExporter.Core.Exporting.Partitioning.PartitionLimit
- Direction
- Core.Exporting uses Core.Exporting.Partitioning, so a change to Core.Exporting.Partitioning can break Core.Exporting, while a change to Core.Exporting can't break Core.Exporting.Partitioning.
- Position
- Below the diagonal: Core.Exporting uses a module listed above it, which is the healthy direction.
27→15 Core.Exporting uses Core.Discord.Data.Embeds✕
- Connections
- 7 pairs of types, where a type in Core.Exporting uses a type in Core.Discord.Data.Embeds.
- The types involved
DiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.Embeds.EmbedDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.Embeds.EmbedAuthorDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.Embeds.EmbedFieldDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.Embeds.EmbedFooterDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.Embeds.EmbedImageDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.Embeds.EmbedVideoDiscordChatExporter.Core.Exporting.PlainTextMessageWriter→DiscordChatExporter.Core.Discord.Data.Embeds.Embed
- Direction
- Core.Exporting uses Core.Discord.Data.Embeds, so a change to Core.Discord.Data.Embeds can break Core.Exporting, while a change to Core.Exporting can't break Core.Discord.Data.Embeds.
- Position
- Below the diagonal: Core.Exporting uses a module listed above it, which is the healthy direction.
27→18 Core.Exporting uses Core.Discord.Data✕
- Connections
- 25 pairs of types, where a type in Core.Exporting uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Core.Exporting.CsvMessageWriter→DiscordChatExporter.Core.Discord.Data.AttachmentDiscordChatExporter.Core.Exporting.CsvMessageWriter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.CsvMessageWriter→DiscordChatExporter.Core.Discord.Data.ReactionDiscordChatExporter.Core.Exporting.ExportContext→DiscordChatExporter.Core.Discord.Data.ChannelDiscordChatExporter.Core.Exporting.ExportContext→DiscordChatExporter.Core.Discord.Data.MemberDiscordChatExporter.Core.Exporting.ExportContext→DiscordChatExporter.Core.Discord.Data.RoleDiscordChatExporter.Core.Exporting.ExportContext→DiscordChatExporter.Core.Discord.Data.UserDiscordChatExporter.Core.Exporting.ExportRequest→DiscordChatExporter.Core.Discord.Data.ChannelDiscordChatExporter.Core.Exporting.ExportRequest→DiscordChatExporter.Core.Discord.Data.GuildDiscordChatExporter.Core.Exporting.HtmlMessageExtensions→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.HtmlMessageWriter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.AttachmentDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.EmojiDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.RoleDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.StickerDiscordChatExporter.Core.Exporting.JsonMessageWriter→DiscordChatExporter.Core.Discord.Data.UserDiscordChatExporter.Core.Exporting.MessageExporter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.MessageWriter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.PlainTextMessageExtensions→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.PlainTextMessageWriter→DiscordChatExporter.Core.Discord.Data.AttachmentDiscordChatExporter.Core.Exporting.PlainTextMessageWriter→DiscordChatExporter.Core.Discord.Data.MessageDiscordChatExporter.Core.Exporting.PlainTextMessageWriter→DiscordChatExporter.Core.Discord.Data.MessageSnapshotDiscordChatExporter.Core.Exporting.PlainTextMessageWriter→DiscordChatExporter.Core.Discord.Data.ReactionDiscordChatExporter.Core.Exporting.PlainTextMessageWriter→DiscordChatExporter.Core.Discord.Data.Sticker
- Direction
- Core.Exporting uses Core.Discord.Data, so a change to Core.Discord.Data can break Core.Exporting, while a change to Core.Exporting can't break Core.Discord.Data.
- Position
- Below the diagonal: Core.Exporting uses a module listed above it, which is the healthy direction.
27→19 Core.Exporting uses Core.Discord✕
- Connections
- 4 pairs of types, where a type in Core.Exporting uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Core.Exporting.ChannelExporter→DiscordChatExporter.Core.Discord.DiscordClientDiscordChatExporter.Core.Exporting.ExportContext→DiscordChatExporter.Core.Discord.DiscordClientDiscordChatExporter.Core.Exporting.ExportContext→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Core.Exporting.ExportRequest→DiscordChatExporter.Core.Discord.Snowflake
- Direction
- Core.Exporting uses Core.Discord, so a change to Core.Discord can break Core.Exporting, while a change to Core.Exporting can't break Core.Discord.
- Position
- Below the diagonal: Core.Exporting uses a module listed above it, which is the healthy direction.
27→20 Core.Exporting uses Core.Exporting.Filtering✕
- Connections
- 1 pair of types, where a type in Core.Exporting uses a type in Core.Exporting.Filtering.
- The types involved
DiscordChatExporter.Core.Exporting.ExportRequest→DiscordChatExporter.Core.Exporting.Filtering.MessageFilter
- Direction
- Core.Exporting uses Core.Exporting.Filtering, so a change to Core.Exporting.Filtering can break Core.Exporting, while a change to Core.Exporting can't break Core.Exporting.Filtering.
- Position
- Below the diagonal: Core.Exporting uses a module listed above it, which is the healthy direction.
27→23 Core.Exporting uses Core.Markdown✕
- Connections
- 15 pairs of types, where a type in Core.Exporting uses a type in Core.Markdown.
- The types involved
DiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.EmojiNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.FormattingNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.HeadingNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.InlineCodeBlockNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.LinkNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.ListItemNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.ListNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.MentionNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.MultiLineCodeBlockNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.TextNodeDiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.TimestampNodeDiscordChatExporter.Core.Exporting.PlainTextMarkdownVisitor→DiscordChatExporter.Core.Markdown.EmojiNodeDiscordChatExporter.Core.Exporting.PlainTextMarkdownVisitor→DiscordChatExporter.Core.Markdown.MentionNodeDiscordChatExporter.Core.Exporting.PlainTextMarkdownVisitor→DiscordChatExporter.Core.Markdown.TextNodeDiscordChatExporter.Core.Exporting.PlainTextMarkdownVisitor→DiscordChatExporter.Core.Markdown.TimestampNode
- Direction
- Core.Exporting uses Core.Markdown, so a change to Core.Markdown can break Core.Exporting, while a change to Core.Exporting can't break Core.Markdown.
- Position
- Below the diagonal: Core.Exporting uses a module listed above it, which is the healthy direction.
27→25 Core.Exporting uses Core.Markdown.Parsing✕
- Connections
- 2 pairs of types, where a type in Core.Exporting uses a type in Core.Markdown.Parsing.
- The types involved
DiscordChatExporter.Core.Exporting.HtmlMarkdownVisitor→DiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitorDiscordChatExporter.Core.Exporting.PlainTextMarkdownVisitor→DiscordChatExporter.Core.Markdown.Parsing.MarkdownVisitor
- Direction
- Core.Exporting uses Core.Markdown.Parsing, so a change to Core.Markdown.Parsing can break Core.Exporting, while a change to Core.Exporting can't break Core.Markdown.Parsing.
- Position
- Below the diagonal: Core.Exporting uses a module listed above it, which is the healthy direction.
28→2 Cli.Commands.Base uses Cli.Commands.Shared✕
- Connections
- 1 pair of types, where a type in Cli.Commands.Base uses a type in Cli.Commands.Shared.
- The types involved
DiscordChatExporter.Cli.Commands.Base.ExportCommandBase→DiscordChatExporter.Cli.Commands.Shared.ThreadInclusionMode
- Direction
- Cli.Commands.Base uses Cli.Commands.Shared, so a change to Cli.Commands.Shared can break Cli.Commands.Base, while a change to Cli.Commands.Base can't break Cli.Commands.Shared.
- Position
- Below the diagonal: Cli.Commands.Base uses a module listed above it, which is the healthy direction.
28→5 Cli.Commands.Base uses Core.Exporting.Partitioning✕
- Connections
- 1 pair of types, where a type in Cli.Commands.Base uses a type in Core.Exporting.Partitioning.
- The types involved
DiscordChatExporter.Cli.Commands.Base.ExportCommandBase→DiscordChatExporter.Core.Exporting.Partitioning.PartitionLimit
- Direction
- Cli.Commands.Base uses Core.Exporting.Partitioning, so a change to Core.Exporting.Partitioning can break Cli.Commands.Base, while a change to Cli.Commands.Base can't break Core.Exporting.Partitioning.
- Position
- Below the diagonal: Cli.Commands.Base uses a module listed above it, which is the healthy direction.
28→18 Cli.Commands.Base uses Core.Discord.Data✕
- Connections
- 1 pair of types, where a type in Cli.Commands.Base uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Cli.Commands.Base.ExportCommandBase→DiscordChatExporter.Core.Discord.Data.Channel
- Direction
- Cli.Commands.Base uses Core.Discord.Data, so a change to Core.Discord.Data can break Cli.Commands.Base, while a change to Cli.Commands.Base can't break Core.Discord.Data.
- Position
- Below the diagonal: Cli.Commands.Base uses a module listed above it, which is the healthy direction.
28→19 Cli.Commands.Base uses Core.Discord✕
- Connections
- 2 pairs of types, where a type in Cli.Commands.Base uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Cli.Commands.Base.DiscordCommandBase→DiscordChatExporter.Core.Discord.DiscordClientDiscordChatExporter.Cli.Commands.Base.ExportCommandBase→DiscordChatExporter.Core.Discord.Snowflake
- Direction
- Cli.Commands.Base uses Core.Discord, so a change to Core.Discord can break Cli.Commands.Base, while a change to Cli.Commands.Base can't break Core.Discord.
- Position
- Below the diagonal: Cli.Commands.Base uses a module listed above it, which is the healthy direction.
28→20 Cli.Commands.Base uses Core.Exporting.Filtering✕
- Connections
- 1 pair of types, where a type in Cli.Commands.Base uses a type in Core.Exporting.Filtering.
- The types involved
DiscordChatExporter.Cli.Commands.Base.ExportCommandBase→DiscordChatExporter.Core.Exporting.Filtering.MessageFilter
- Direction
- Cli.Commands.Base uses Core.Exporting.Filtering, so a change to Core.Exporting.Filtering can break Cli.Commands.Base, while a change to Cli.Commands.Base can't break Core.Exporting.Filtering.
- Position
- Below the diagonal: Cli.Commands.Base uses a module listed above it, which is the healthy direction.
28→27 Cli.Commands.Base uses Core.Exporting✕
- Connections
- 2 pairs of types, where a type in Cli.Commands.Base uses a type in Core.Exporting.
- The types involved
DiscordChatExporter.Cli.Commands.Base.ExportCommandBase→DiscordChatExporter.Core.Exporting.ChannelExporterDiscordChatExporter.Cli.Commands.Base.ExportCommandBase→DiscordChatExporter.Core.Exporting.ExportFormat
- Direction
- Cli.Commands.Base uses Core.Exporting, so a change to Core.Exporting can break Cli.Commands.Base, while a change to Cli.Commands.Base can't break Core.Exporting.
- Position
- Below the diagonal: Cli.Commands.Base uses a module listed above it, which is the healthy direction.
29→5 Gui.ViewModels.Dialogs uses Core.Exporting.Partitioning✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels.Dialogs uses a type in Core.Exporting.Partitioning.
- The types involved
DiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModel→DiscordChatExporter.Core.Exporting.Partitioning.PartitionLimit
- Direction
- Gui.ViewModels.Dialogs uses Core.Exporting.Partitioning, so a change to Core.Exporting.Partitioning can break Gui.ViewModels.Dialogs, while a change to Gui.ViewModels.Dialogs can't break Core.Exporting.Partitioning.
- Position
- Below the diagonal: Gui.ViewModels.Dialogs uses a module listed above it, which is the healthy direction.
29→9 Gui.ViewModels.Dialogs uses Gui.Models✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels.Dialogs uses a type in Gui.Models.
- The types involved
DiscordChatExporter.Gui.ViewModels.Dialogs.SettingsViewModel→DiscordChatExporter.Gui.Models.ThreadInclusionMode
- Direction
- Gui.ViewModels.Dialogs uses Gui.Models, so a change to Gui.Models can break Gui.ViewModels.Dialogs, while a change to Gui.ViewModels.Dialogs can't break Gui.Models.
- Position
- Below the diagonal: Gui.ViewModels.Dialogs uses a module listed above it, which is the healthy direction.
29→17 Gui.ViewModels.Dialogs uses Gui.Localization✕
- Connections
- 3 pairs of types, where a type in Gui.ViewModels.Dialogs uses a type in Gui.Localization.
- The types involved
DiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModel→DiscordChatExporter.Gui.Localization.LocalizationManagerDiscordChatExporter.Gui.ViewModels.Dialogs.SettingsViewModel→DiscordChatExporter.Gui.Localization.LanguageDiscordChatExporter.Gui.ViewModels.Dialogs.SettingsViewModel→DiscordChatExporter.Gui.Localization.LocalizationManager
- Direction
- Gui.ViewModels.Dialogs uses Gui.Localization, so a change to Gui.Localization can break Gui.ViewModels.Dialogs, while a change to Gui.ViewModels.Dialogs can't break Gui.Localization.
- Position
- Below the diagonal: Gui.ViewModels.Dialogs uses a module listed above it, which is the healthy direction.
29→18 Gui.ViewModels.Dialogs uses Core.Discord.Data✕
- Connections
- 2 pairs of types, where a type in Gui.ViewModels.Dialogs uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModel→DiscordChatExporter.Core.Discord.Data.ChannelDiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModel→DiscordChatExporter.Core.Discord.Data.Guild
- Direction
- Gui.ViewModels.Dialogs uses Core.Discord.Data, so a change to Core.Discord.Data can break Gui.ViewModels.Dialogs, while a change to Gui.ViewModels.Dialogs can't break Core.Discord.Data.
- Position
- Below the diagonal: Gui.ViewModels.Dialogs uses a module listed above it, which is the healthy direction.
29→19 Gui.ViewModels.Dialogs uses Core.Discord✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels.Dialogs uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Gui.ViewModels.Dialogs.SettingsViewModel→DiscordChatExporter.Core.Discord.RateLimitPreference
- Direction
- Gui.ViewModels.Dialogs uses Core.Discord, so a change to Core.Discord can break Gui.ViewModels.Dialogs, while a change to Gui.ViewModels.Dialogs can't break Core.Discord.
- Position
- Below the diagonal: Gui.ViewModels.Dialogs uses a module listed above it, which is the healthy direction.
29→20 Gui.ViewModels.Dialogs uses Core.Exporting.Filtering✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels.Dialogs uses a type in Core.Exporting.Filtering.
- The types involved
DiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModel→DiscordChatExporter.Core.Exporting.Filtering.MessageFilter
- Direction
- Gui.ViewModels.Dialogs uses Core.Exporting.Filtering, so a change to Core.Exporting.Filtering can break Gui.ViewModels.Dialogs, while a change to Gui.ViewModels.Dialogs can't break Core.Exporting.Filtering.
- Position
- Below the diagonal: Gui.ViewModels.Dialogs uses a module listed above it, which is the healthy direction.
29→27 Gui.ViewModels.Dialogs uses Core.Exporting✕
- Connections
- 1 pair of types, where a type in Gui.ViewModels.Dialogs uses a type in Core.Exporting.
- The types involved
DiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModel→DiscordChatExporter.Core.Exporting.ExportFormat
- Direction
- Gui.ViewModels.Dialogs uses Core.Exporting, so a change to Core.Exporting can break Gui.ViewModels.Dialogs, while a change to Gui.ViewModels.Dialogs can't break Core.Exporting.
- Position
- Below the diagonal: Gui.ViewModels.Dialogs uses a module listed above it, which is the healthy direction.
29→31 Gui.ViewModels.Dialogs uses Gui.Framework part of a loop✕
- Connections
- 5 pairs of types, where a type in Gui.ViewModels.Dialogs uses a type in Gui.Framework.
- The types involved
DiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModel→DiscordChatExporter.Gui.Framework.DialogManagerDiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModel→DiscordChatExporter.Gui.Framework.DialogViewModelBaseDiscordChatExporter.Gui.ViewModels.Dialogs.MessageBoxViewModel→DiscordChatExporter.Gui.Framework.DialogViewModelBaseDiscordChatExporter.Gui.ViewModels.Dialogs.SettingsViewModel→DiscordChatExporter.Gui.Framework.DialogViewModelBaseDiscordChatExporter.Gui.ViewModels.Dialogs.SettingsViewModel→DiscordChatExporter.Gui.Framework.ThemeVariant
- Direction
- Gui.ViewModels.Dialogs uses Gui.Framework, so a change to Gui.Framework can break Gui.ViewModels.Dialogs, while a change to Gui.ViewModels.Dialogs can't break Gui.Framework.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
29→32 Gui.ViewModels.Dialogs uses Gui.Services part of a loop✕
- Connections
- 2 pairs of types, where a type in Gui.ViewModels.Dialogs uses a type in Gui.Services.
- The types involved
DiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModel→DiscordChatExporter.Gui.Services.SettingsServiceDiscordChatExporter.Gui.ViewModels.Dialogs.SettingsViewModel→DiscordChatExporter.Gui.Services.SettingsService
- Direction
- Gui.ViewModels.Dialogs uses Gui.Services, so a change to Gui.Services can break Gui.ViewModels.Dialogs, while a change to Gui.ViewModels.Dialogs can't break Gui.Services.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
30→2 Cli.Commands uses Cli.Commands.Shared✕
- Connections
- 1 pair of types, where a type in Cli.Commands uses a type in Cli.Commands.Shared.
- The types involved
DiscordChatExporter.Cli.Commands.GetChannelsCommand→DiscordChatExporter.Cli.Commands.Shared.ThreadInclusionMode
- Direction
- Cli.Commands uses Cli.Commands.Shared, so a change to Cli.Commands.Shared can break Cli.Commands, while a change to Cli.Commands can't break Cli.Commands.Shared.
- Position
- Below the diagonal: Cli.Commands uses a module listed above it, which is the healthy direction.
30→19 Cli.Commands uses Core.Discord✕
- Connections
- 3 pairs of types, where a type in Cli.Commands uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Cli.Commands.ExportChannelsCommand→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Cli.Commands.ExportGuildCommand→DiscordChatExporter.Core.Discord.SnowflakeDiscordChatExporter.Cli.Commands.GetChannelsCommand→DiscordChatExporter.Core.Discord.Snowflake
- Direction
- Cli.Commands uses Core.Discord, so a change to Core.Discord can break Cli.Commands, while a change to Cli.Commands can't break Core.Discord.
- Position
- Below the diagonal: Cli.Commands uses a module listed above it, which is the healthy direction.
30→28 Cli.Commands uses Cli.Commands.Base✕
- Connections
- 7 pairs of types, where a type in Cli.Commands uses a type in Cli.Commands.Base.
- The types involved
DiscordChatExporter.Cli.Commands.ExportAllCommand→DiscordChatExporter.Cli.Commands.Base.ExportCommandBaseDiscordChatExporter.Cli.Commands.ExportChannelsCommand→DiscordChatExporter.Cli.Commands.Base.ExportCommandBaseDiscordChatExporter.Cli.Commands.ExportDirectMessagesCommand→DiscordChatExporter.Cli.Commands.Base.ExportCommandBaseDiscordChatExporter.Cli.Commands.ExportGuildCommand→DiscordChatExporter.Cli.Commands.Base.ExportCommandBaseDiscordChatExporter.Cli.Commands.GetChannelsCommand→DiscordChatExporter.Cli.Commands.Base.DiscordCommandBaseDiscordChatExporter.Cli.Commands.GetDirectChannelsCommand→DiscordChatExporter.Cli.Commands.Base.DiscordCommandBaseDiscordChatExporter.Cli.Commands.GetGuildsCommand→DiscordChatExporter.Cli.Commands.Base.DiscordCommandBase
- Direction
- Cli.Commands uses Cli.Commands.Base, so a change to Cli.Commands.Base can break Cli.Commands, while a change to Cli.Commands can't break Cli.Commands.Base.
- Position
- Below the diagonal: Cli.Commands uses a module listed above it, which is the healthy direction.
31→17 Gui.Framework uses Gui.Localization✕
- Connections
- 1 pair of types, where a type in Gui.Framework uses a type in Gui.Localization.
- The types involved
DiscordChatExporter.Gui.Framework.ViewModelManager→DiscordChatExporter.Gui.Localization.LocalizationManager
- Direction
- Gui.Framework uses Gui.Localization, so a change to Gui.Localization can break Gui.Framework, while a change to Gui.Framework can't break Gui.Localization.
- Position
- Below the diagonal: Gui.Framework uses a module listed above it, which is the healthy direction.
31→18 Gui.Framework uses Core.Discord.Data✕
- Connections
- 2 pairs of types, where a type in Gui.Framework uses a type in Core.Discord.Data.
- The types involved
DiscordChatExporter.Gui.Framework.ViewModelManager→DiscordChatExporter.Core.Discord.Data.ChannelDiscordChatExporter.Gui.Framework.ViewModelManager→DiscordChatExporter.Core.Discord.Data.Guild
- Direction
- Gui.Framework uses Core.Discord.Data, so a change to Core.Discord.Data can break Gui.Framework, while a change to Gui.Framework can't break Core.Discord.Data.
- Position
- Below the diagonal: Gui.Framework uses a module listed above it, which is the healthy direction.
31→24 Gui.Framework uses Gui.ViewModels.Components✕
- Connections
- 1 pair of types, where a type in Gui.Framework uses a type in Gui.ViewModels.Components.
- The types involved
DiscordChatExporter.Gui.Framework.ViewModelManager→DiscordChatExporter.Gui.ViewModels.Components.DashboardViewModel
- Direction
- Gui.Framework uses Gui.ViewModels.Components, so a change to Gui.ViewModels.Components can break Gui.Framework, while a change to Gui.Framework can't break Gui.ViewModels.Components.
- Position
- Below the diagonal: Gui.Framework uses a module listed above it, which is the healthy direction.
31→26 Gui.Framework uses Gui.ViewModels✕
- Connections
- 1 pair of types, where a type in Gui.Framework uses a type in Gui.ViewModels.
- The types involved
DiscordChatExporter.Gui.Framework.ViewModelManager→DiscordChatExporter.Gui.ViewModels.MainViewModel
- Direction
- Gui.Framework uses Gui.ViewModels, so a change to Gui.ViewModels can break Gui.Framework, while a change to Gui.Framework can't break Gui.ViewModels.
- Position
- Below the diagonal: Gui.Framework uses a module listed above it, which is the healthy direction.
31→29 Gui.Framework uses Gui.ViewModels.Dialogs✕
- Connections
- 3 pairs of types, where a type in Gui.Framework uses a type in Gui.ViewModels.Dialogs.
- The types involved
DiscordChatExporter.Gui.Framework.ViewModelManager→DiscordChatExporter.Gui.ViewModels.Dialogs.ExportSetupViewModelDiscordChatExporter.Gui.Framework.ViewModelManager→DiscordChatExporter.Gui.ViewModels.Dialogs.MessageBoxViewModelDiscordChatExporter.Gui.Framework.ViewModelManager→DiscordChatExporter.Gui.ViewModels.Dialogs.SettingsViewModel
- Direction
- Gui.Framework uses Gui.ViewModels.Dialogs, so a change to Gui.ViewModels.Dialogs can break Gui.Framework, while a change to Gui.Framework can't break Gui.ViewModels.Dialogs.
- Position
- Below the diagonal: Gui.Framework uses a module listed above it, which is the healthy direction.
32→9 Gui.Services uses Gui.Models✕
- Connections
- 2 pairs of types, where a type in Gui.Services uses a type in Gui.Models.
- The types involved
DiscordChatExporter.Gui.Services.SerializerContext→DiscordChatExporter.Gui.Models.ThreadInclusionModeDiscordChatExporter.Gui.Services.SettingsService→DiscordChatExporter.Gui.Models.ThreadInclusionMode
- Direction
- Gui.Services uses Gui.Models, so a change to Gui.Models can break Gui.Services, while a change to Gui.Services can't break Gui.Models.
- Position
- Below the diagonal: Gui.Services uses a module listed above it, which is the healthy direction.
32→17 Gui.Services uses Gui.Localization✕
- Connections
- 2 pairs of types, where a type in Gui.Services uses a type in Gui.Localization.
- The types involved
DiscordChatExporter.Gui.Services.SerializerContext→DiscordChatExporter.Gui.Localization.LanguageDiscordChatExporter.Gui.Services.SettingsService→DiscordChatExporter.Gui.Localization.Language
- Direction
- Gui.Services uses Gui.Localization, so a change to Gui.Localization can break Gui.Services, while a change to Gui.Services can't break Gui.Localization.
- Position
- Below the diagonal: Gui.Services uses a module listed above it, which is the healthy direction.
32→19 Gui.Services uses Core.Discord✕
- Connections
- 2 pairs of types, where a type in Gui.Services uses a type in Core.Discord.
- The types involved
DiscordChatExporter.Gui.Services.SerializerContext→DiscordChatExporter.Core.Discord.RateLimitPreferenceDiscordChatExporter.Gui.Services.SettingsService→DiscordChatExporter.Core.Discord.RateLimitPreference
- Direction
- Gui.Services uses Core.Discord, so a change to Core.Discord can break Gui.Services, while a change to Gui.Services can't break Core.Discord.
- Position
- Below the diagonal: Gui.Services uses a module listed above it, which is the healthy direction.
32→27 Gui.Services uses Core.Exporting✕
- Connections
- 2 pairs of types, where a type in Gui.Services uses a type in Core.Exporting.
- The types involved
DiscordChatExporter.Gui.Services.SerializerContext→DiscordChatExporter.Core.Exporting.ExportFormatDiscordChatExporter.Gui.Services.SettingsService→DiscordChatExporter.Core.Exporting.ExportFormat
- Direction
- Gui.Services uses Core.Exporting, so a change to Core.Exporting can break Gui.Services, while a change to Gui.Services can't break Core.Exporting.
- Position
- Below the diagonal: Gui.Services uses a module listed above it, which is the healthy direction.
32→31 Gui.Services uses Gui.Framework✕
- Connections
- 2 pairs of types, where a type in Gui.Services uses a type in Gui.Framework.
- The types involved
DiscordChatExporter.Gui.Services.SerializerContext→DiscordChatExporter.Gui.Framework.ThemeVariantDiscordChatExporter.Gui.Services.SettingsService→DiscordChatExporter.Gui.Framework.ThemeVariant
- Direction
- Gui.Services uses Gui.Framework, so a change to Gui.Framework can break Gui.Services, while a change to Gui.Services can't break Gui.Framework.
- Position
- Below the diagonal: Gui.Services uses a module listed above it, which is the healthy direction.
33→31 Gui.Views uses Gui.Framework✕
- Connections
- 1 pair of types, where a type in Gui.Views uses a type in Gui.Framework.
- The types involved
DiscordChatExporter.Gui.Views.MainView→DiscordChatExporter.Gui.Framework.Window
- Direction
- Gui.Views uses Gui.Framework, so a change to Gui.Framework can break Gui.Views, while a change to Gui.Views can't break Gui.Framework.
- Position
- Below the diagonal: Gui.Views uses a module listed above it, which is the healthy direction.
34→31 Gui.Views.Components uses Gui.Framework✕
- Connections
- 1 pair of types, where a type in Gui.Views.Components uses a type in Gui.Framework.
- The types involved
DiscordChatExporter.Gui.Views.Components.DashboardView→DiscordChatExporter.Gui.Framework.UserControl
- Direction
- Gui.Views.Components uses Gui.Framework, so a change to Gui.Framework can break Gui.Views.Components, while a change to Gui.Views.Components can't break Gui.Framework.
- Position
- Below the diagonal: Gui.Views.Components uses a module listed above it, which is the healthy direction.
35→31 Gui.Views.Dialogs uses Gui.Framework✕
- Connections
- 3 pairs of types, where a type in Gui.Views.Dialogs uses a type in Gui.Framework.
- The types involved
DiscordChatExporter.Gui.Views.Dialogs.ExportSetupView→DiscordChatExporter.Gui.Framework.UserControlDiscordChatExporter.Gui.Views.Dialogs.MessageBoxView→DiscordChatExporter.Gui.Framework.UserControlDiscordChatExporter.Gui.Views.Dialogs.SettingsView→DiscordChatExporter.Gui.Framework.UserControl
- Direction
- Gui.Views.Dialogs uses Gui.Framework, so a change to Gui.Framework can break Gui.Views.Dialogs, while a change to Gui.Views.Dialogs can't break Gui.Framework.
- Position
- Below the diagonal: Gui.Views.Dialogs uses a module listed above it, which is the healthy direction.
36→32 Gui uses Gui.Services✕
- Connections
- 1 pair of types, where a type in Gui uses a type in Gui.Services.
- The types involved
DiscordChatExporter.Gui.App→DiscordChatExporter.Gui.Services.SettingsService
- Direction
- Gui uses Gui.Services, so a change to Gui.Services can break Gui, while a change to Gui can't break Gui.Services.
- Position
- Below the diagonal: Gui uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 12 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 6 | Medium |
| A02:2025 — Security Misconfiguration | 2 | Medium |
Roadmap
First, ensure all custom controls are fully keyboard-accessible and anchors have valid hrefs to improve usability. Next, document key architectural decisions in a dedicated folder to preserve design context and resolve quality gaps. Then, implement structured logging across services to enhance system observability. Finally, correct page structure by adding language attributes, titles, and proper landmarks to support accessibility standards.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +2.7 pts | Low | ADR Quality |
| Resolve the 1 Deprecated finding(s) in Dependency Hygiene — start with Directory.Packages.props. | +1.7 pts | Low | Dependency Hygiene |
| Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href. | +3.3 pts | Medium | Keyboard semantics |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +2.9 pts | Medium | Architecture documentation |
| Adopt ILogger (or Serilog) and log at meaningful points across the projects. | +2.4 pts | Medium | Observability |
| Resolve the 1 Documentation finding(s) in Documentation Quality — start with Readme.md. | +1.0 pts | Low | Documentation Quality |
| Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh. | +2.1 pts | Medium | Page structure |
| Enforce accessibility in the test suite you already have: assert the accessibility invariants over the HTML your app renders — parse the rendered output in an existing test, or drive a real browser from one — and gate that test in CI so a regression blocks the merge. | +2.1 pts | Medium | A11y enforcement |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 3.0 | Slop | Static Analysis (SAST): High: REDACTED |
| DiscordChatExporter.Gui/Utils/Extensions/EnvironmentExtensions.cs | 4.9 | Mixed | Explicit Debt: EmptyCatchBlock |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.9 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| DiscordChatExporter.Core/Discord/DiscordClient.cs | 7.1 | Mixed | Cyclomatic Complexity: DiscordClient.GetChannelThreadsAsync (cyclomatic 27) |
| DiscordChatExporter.Core/Exporting/JsonMessageWriter.cs | 7.2 | Mixed | Cognitive Complexity: JsonMessageWriter.WriteMessageAsync (cognitive 19) |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: REDACTED |
| DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs | 7.4 | Mixed | Cyclomatic Complexity: ExportCommandBase.ExportAsync (cyclomatic 18) |
| DiscordChatExporter.Cli/Commands/GetChannelsCommand.cs | 7.4 | Mixed | Code Duplication: Duplicated block (14 lines × 2) |
| DiscordChatExporter.Cli/Commands/ExportAllCommand.cs | 7.8 | Mixed | Cognitive Complexity: ExportAllCommand.ExecuteAsync (cognitive 29) |
| DiscordChatExporter.Cli/Commands/Base/DiscordCommandBase.cs | 8.2 | Near-clean | Explicit Debt: BarePragmaDisable |
| DiscordChatExporter.Cli/Commands/ExportChannelsCommand.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| DiscordChatExporter.Core/Discord/Data/Common/FileSize.cs | 8.2 | Near-clean | Explicit Debt: CoverageExclusion |
| DiscordChatExporter.Core/Discord/Snowflake.cs | 8.2 | Near-clean | Explicit Debt: CoverageExclusion |
| DiscordChatExporter.Core/Exporting/ExportContext.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| DiscordChatExporter.Gui/Views/Components/DashboardView.axaml.cs | 8.2 | Near-clean | Explicit Debt: HackComment |
| DiscordChatExporter.Gui/Converters/MarkdownToInlinesConverter.cs | 8.5 | Near-clean | Cognitive Complexity: MarkdownToInlinesConverter.Convert (cognitive 40) |
| DiscordChatExporter.Core/Exporting/PlainTextMessageWriter.cs | 8.5 | Near-clean | Cognitive Complexity: PlainTextMessageWriter.WriteEmbedsAsync (cognitive 26) |
| DiscordChatExporter.Gui/Localization/LocalizationManager.cs | 8.5 | Near-clean | God Classes: ClassTooLong: LocalizationManager |
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. 79 of 83 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 1.0 — 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 — 83 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, 96 of 131 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: the test suite built and ran, but not one test passed — so the coverage report reflects the failed run, not this code, and it is excluded from the score rather than counted as a near-zero defect. Suites gated on a credential, a network, a database or a container fail this way under an isolated scan. This repository DOES measure coverage where those prerequisites exist — a coverage step in CI (`codecov/codecov-action`) shows it is collected in your own CI — so the gap is our read, not your practice: commit the Cobertura/OpenCover/lcov artifact that run produces (a hosted scan measures a clone of the repository, so a report left on the CI runner never reaches it; the artefact is commonly gitignored, so `git add -f` that one file) and real coverage will be measured.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (66 contributor(s) across 1518 commit(s) sampled, automation and bot accounts excluded). One of them holds 91% of the history; the other 65 hold 0.1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- 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. `DiscordChatExporter.Core/Discord/DiscordClient.cs`, `DiscordChatExporter.Core/Discord/Dump/DataDump.cs`, `DiscordChatExporter.Core/Exceptions/ChannelEmptyException.cs`, `DiscordChatExporter.Core/Exceptions/DiscordChatExporterException.cs`, `DiscordChatExporter.Core/Exporting/ChannelExporter.cs`, … (+30 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.
- D44 Platform End-of-Life — 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 dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
- 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 Dockerfile (REDACTED). docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/bui…; runtime evidence skipped.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- 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.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
3 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was DiscordClient.GetChannelThreadsAsync at 27. A further 1 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being .GetFallbackContent at 17 — they are counted neither in the figure above nor in this dimension's score. 1 file carries no cyclomatic complexity row at all for this reason — every one of its over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: DiscordChatExporter.Core/Exporting/PlainTextMessageExtensions.cs (.GetFallbackContent at 17). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Bring the 3 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with DiscordClient.GetChannelThreadsAsync (cyclomatic 27), DiscordClient.GetMessagesAsync (cyclomatic 23), ExportCommandBase.ExportAsync (cyclomatic 18). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 3 together lifts Cyclomatic Complexity from 9.1 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
8 method(s) exceeded the cognitive complexity threshold of 15; the worst was DiscordClient.GetChannelThreadsAsync at 104.
What to do
- Bring the 1 body over 60 down to 60 or less in Cognitive Complexity — start with DiscordClient.GetChannelThreadsAsync (cognitive 104). — Refactoring it lifts Cognitive Complexity from 7.3 to about 7.9/10.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
4 god class(es) detected.
What to do
- Resolve the 2 ClassTooLong finding(s) in God Classes — start with LocalizationManager.cs, DiscordClient.cs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 MethodTooLong finding(s) in God Classes — start with ExportCommandBase.cs, JsonMessageWriter.cs. — One of this dimension's main actionable groups (2 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
7 duplicated block group(s) detected.
What to do
- Resolve the 1 Duplicated block (19–23 lines × 2) finding(s) in Code Duplication — start with ExportAllCommand.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (21 lines × 2) finding(s) in Code Duplication — start with JsonMessageWriter.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (18 lines × 2) finding(s) in Code Duplication — start with JsonMessageWriter.cs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
4 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 17 classes have LCOM4 above 3.
D9 · Test Distribution
76 test methods: 76 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
1 skipped (1 with a documented reason), 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 76 tests.
D11 · Test Reliability
0 flaky across 1 measured tier(s). unit: measured (0 flaky).
D12 · Dependency Hygiene
13 outdated, 0 vulnerable, 1 deprecated packages.
What to do
- Resolve the 1 Deprecated finding(s) in Dependency Hygiene — start with Directory.Packages.props. — 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 172 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 36 direct `PackageReference`(s), and 136 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph — so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
D15 · Churn × Complexity Hotspots
Top hotspots: DiscordChatExporter.Core/Exporting/PlainTextMessageExtensions.cs (2×17=34)
What to do
- Resolve the 1 Hotspot finding(s) in Churn × Complexity Hotspots — start with PlainTextMessageExtensions.cs. — One of this dimension's main actionable groups (1 warning-level).
D17 · Explicit Debt
8 deducted debt markers + 0 dead symbols across 18458 LoC in the .NET projects (0.2/KLoC) → score 9.6.
What to do
- Resolve the 2 EmptyCatchBlock finding(s) in Explicit Debt — start with EnvironmentExtensions.cs (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 2 TodoComment finding(s) in Explicit Debt — start with ExportChannelsCommand.cs, ExportContext.cs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 CoverageExclusion finding(s) in Explicit Debt — start with FileSize.cs, Snowflake.cs. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
4 projects, 197 source files, 20454 hand-written lines of code (18458 production / 1996 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), 3 inter-project edges.
D19 · Documentation Quality
The repository's root README gives an overview (DiscordChatExporter is an application that exports message history from any Discord channel to a file) plus links to the docs/ directory and a donation link. The .docs/README documents its own directory (installation & usage for GUI and CLI, guides, video tutorial, FAQ), while the Cli.Tests README points at its own tests directory. There is no architecture/design documentation and coverage across all namespaces is zero.
What to do
- Resolve the 1 Documentation finding(s) in Documentation Quality — start with Readme.md. — One of this dimension's main actionable groups (1 recommendation-level).
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 200 sampled symbols.
D24 · Comment Value
53 valuable / 0 redundant across 200 sampled comments.
D26 · Project Cohesion
1 of 4 projects 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).
D27 · Navigability
95 % of calls cross a namespace and 3 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: medium — clean/modular boundaries expected.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
12 finding(s): 0 critical, 7 high, 5 medium, 0 low. semgrep hit a parse error in 35 file(s) — `DiscordChatExporter.Core/Discord/DiscordClient.cs` (lines 21–23, line 24), `DiscordChatExporter.Core/Discord/Dump/DataDump.cs` (line 12), `DiscordChatExporter.Core/Exceptions/ChannelEmptyException.cs` (line 3), `DiscordChatExporter.Core/Exceptions/DiscordChatExporterException.cs` (lines 5–8, lines 8–9, line 9), `DiscordChatExporter.Core/Exporting/ChannelExporter.cs` (line 11), … (+30 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. In 33 of those file(s) — `DiscordChatExporter.Core/Discord/DiscordClient.cs`, `DiscordChatExporter.Core/Discord/Dump/DataDump.cs`, `DiscordChatExporter.Core/Exceptions/ChannelEmptyException.cs`, `DiscordChatExporter.Core/Exceptions/DiscordChatExporterException.cs`, `DiscordChatExporter.Core/Exporting/ChannelExporter.cs`, … (+28 more) — the break is a C# primary constructor, which semgrep's grammar cannot parse and which hides the type from every rule scoped to it; those files were re-scanned from a shadow copy with the constructor's parameter list blanked (line and column preserving), which restores the type to the rules, and 0 additional row(s) came from that pass. Only the header's own parameter list is unread in them. In 4 of those file(s) — `DiscordChatExporter.Core/Exceptions/ChannelEmptyException.cs`, `DiscordChatExporter.Core/Exporting/ExportAssetDownloader.cs`, `DiscordChatExporter.Core/Utils/Extensions/SuperpowerExtensions.cs`, `DiscordChatExporter.Gui/ViewModels/Dialogs/ExportSetupViewModel.cs` — the break is at a TYPE DECLARATION (a C# primary constructor semgrep's grammar cannot parse), so the loss is wider than the named lines: rules scoped to that type see no type to scope to and are blind over its whole body, while rules matching statements keep working there. Absence of a type-scoped finding in those types is not evidence of anything. Separately, one or more rules could not re-parse an embedded snippet in 2 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 5 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (3), REDACTED (2). — One of this dimension's main actionable groups (5 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in any ecosystem this repository declares.
D31 · IaC & Container Security
2 finding(s): 0 critical, 0 high, 2 medium, 0 low.
What to do
- Resolve the 2 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 43 of the 164 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
1/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D39 · IL Efficiency
3 of 396 first-party methods have an oversized IL body.
Frontend & cross-cutting dimensions
AC1 · Text alternatives
- Video with no captions <track> offers no captions. This player's source is set at runtime, so there is no caption file to author here: give the player a way to carry captions — accept a track/captions URL alongside the media and render a <track kind="captions"> when one is supplied — and capture that asset wherever the media enters the product (upload, import or generation). (×4) — REDACTED:378, REDACTED:453, REDACTED:715, …
What to do
- Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
AC2 · Forms & labels
AC3 · Page structure
- An iframe with no title (or an empty one) is announced only as "frame". Add a non-empty title describing its content, or an aria-label. — REDACTED:611
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml:35
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics
- An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action. (×2) — REDACTED:96, REDACTED:108
- A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler. (×2) — REDACTED:258, REDACTED:437
- This <video> binds mouse-enter and mouse-leave and nothing else — no click, no key handler, no focus handler, and no tabindex="0", so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabindex="0"="0" so the element can receive that focus. — REDACTED:730
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC5 · ARIA correctness
AC6 · Visual & motion safety
- `.chatlog__poll-result-winner` sets color: #ffffff on background-color: #23a559 — 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml:43
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 automated accessibility check runs over the HTML your app renders. Assert the accessibility invariants over that HTML in the test suite you already have (parse the output and assert, or drive a browser), and gate that test in CI so a regression blocks the merge. What was searched, so you can tell an absence from a miss: the 3 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the test suite you already have: assert the accessibility invariants over the HTML your app renders — parse the rendered output in an existing test, or drive a real browser from one — and gate that test in CI so a regression blocks the merge.
AX1 · Captive dependencies
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.
AX2 · Stateful singletons
- `SettingsService` is a singleton (one shared instance) but mutates instance state outside any lock (LastToken; e.g. `LastToken` at line 80). — DiscordChatExporter.Gui/Services/SettingsService.cs:12
- `UpdateService` is a singleton (one shared instance) but mutates instance state outside any lock (_updateVersion, _isUpdatePrepared, _isUpdaterLaunched; e.g. `_updateVersion` at line 54). — DiscordChatExporter.Gui/Services/UpdateService.cs:10
What to do
- Keep singletons stateless or back their state with thread-safe types (Concurrent*/Immutable*); otherwise concurrent callers race.
AX3 · Project dependency cycles
- The namespaces DiscordChatExporter.Core.Discord ↔ DiscordChatExporter.Core.Discord.Data ↔ DiscordChatExporter.Core.Discord.Data.Common ↔ DiscordChatExporter.Core.Discord.Data.Embeds ↔ DiscordChatExporter.Core.Discord.Data.Polls depend on each other. The lightest dependency in the cycle is DiscordChatExporter.Core.Discord.Data → DiscordChatExporter.Core.Discord.Data.Polls (DiscordChatExporter.Core.Discord.Data.Message → DiscordChatExporter.Core.Discord.Data.Polls.Poll, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — DiscordChatExporter.Core/Discord/Data/Message.cs:7
- The namespaces DiscordChatExporter.Gui.Framework ↔ DiscordChatExporter.Gui.Localization ↔ DiscordChatExporter.Gui.Services ↔ DiscordChatExporter.Gui.ViewModels ↔ DiscordChatExporter.Gui.ViewModels.Components ↔ DiscordChatExporter.Gui.ViewModels.Dialogs depend on each other. The lightest dependency in the cycle is DiscordChatExporter.Gui.Framework → DiscordChatExporter.Gui.Localization (DiscordChatExporter.Gui.Framework.ViewModelManager → DiscordChatExporter.Gui.Localization.LocalizationManager, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — DiscordChatExporter.Gui/Framework/ViewModelManager.cs:4
What to do
- Break namespace cycles inside a project by moving the shared type to a namespace both sides can use, or by inverting the back edge behind an interface.
AX4 · Dependency direction
AX5 · Architecture & structure
- ~18.5k production LoC (190 types) across 3 project(s) / 38 namespace(s) with no recognised architectural style or layering — at this size, deliberate module boundaries would help. No DDD/clean/vertical-slice/CQRS/transaction-script organisation was detected — code is likely organised ad hoc, which makes change and onboarding harder as it grows.
What to do
- Introduce deliberate module boundaries — by feature (vertical slices) if your team prefers, or by layer (domain/application/infrastructure). Even splitting into a few cohesive projects with a clear dependency direction would help.
AX6 · Interface segregation
AX8 · Test isolation
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- A test is skipped ("Twitch does not allow embeds from inside local HTML files") — coverage that looks present but never runs in any gate. If it's an opt-in suite, document how it runs; otherwise re-enable or delete it. — DiscordChatExporter.Cli.Tests/Specs/HtmlEmbedSpecs.cs:152
What to do
- Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)
- 35 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.
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.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 3 of 4 project(s) that lack one — worth up to 1.5 pts.
- Review the README against recent changes; refresh the parts that drifted.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
P1 · CI/CD gates
P2 · Observability
- No logging call was found in the 175 `.cs` file(s) this check read. Each was searched for the framework names `ILogger`, `Serilog`, `NLog` and `log4net`; for a call on a receiver whose name ends in `Logger`; for a `System.Diagnostics` write; for a level-gated log facade; and for the builder spellings that CONFIGURE logging for everyone else (`AddLogging(`, `ConfigureLogging(`, `UseSerilog(`, `UseNLog(`, `.Logging.Add…(`); and for emission through an `EventSource`, `ActivitySource` or `DiagnosticSource` (`WriteEvent(`, `StartActivity(`, `.Write("event", …)`). That walk sees only `.cs` documents from projects the workspace loaded, so it cannot see logging in source that did not load, in another language, or through a repo-local wrapper whose name does not end in `Logger` — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
What to do
- Adopt ILogger (or Serilog) and log at meaningful points across the projects.
- Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 10033 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY'S PIPELINE FILES. What was read: every file under `.github/workflows/`, `.forgejo/workflows/`, `.gitea/workflows/`, `.azuredevops/` and `.azure-pipelines/`, plus `.gitlab-ci*` and `azure-pipelines*` — with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab's `when: manual`, CircleCI's `type: approval`, an Azure `ManualValidation@` task or an `approvals:` block, a Jenkins `input` step, a `uses:` step naming an approval action, an `environment:` paired with `reviewers` / `required_reviewers` / `protection` / `wait-timer` / `deployment_branch_policy`, a draft-release step, a `workflow_dispatch` promotion, or a release-event gate. ★ What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy — all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release.
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.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
P7 · Outbound HTTP resilience
PF1 · Benchmark discipline
- No benchmark suite was found by the two searches this check runs. FIRST, a BenchmarkDotNet package reference in any project file — every project the workspace loaded, plus a walk of project files on disk that never loaded, because a benchmark suite is exactly the project a partial load drops. SECOND, a script harness: a file whose name contains `benchmark` and ends `.py`, `.sh`, `.ps1`, `.bash`, `.rb`, `.js` or `.mjs`, credited ONLY when this repository's CI text also mentions benchmarks — a harness no pipeline runs is read as a fixture, deliberately. Neither search can see a benchmark suite in another ecosystem's idiom (a Go `testing.B` file, a JMH or criterion project, a pytest-benchmark run), so this is 'no benchmark found by those two searches', not a verdict that the repository has none. Where code is performance-sensitive, a benchmark guards against silent regressions — but it's a bonus here, not a deduction.
What to do
- Add a benchmarking harness for the hot paths and run it in CI to catch regressions (for .NET, a BenchmarkDotNet project with [MemoryDiagnoser] to track allocations).
PF2 · Allocation hygiene
What to do
- Raise allocation-aware density on the hot paths — currently 119 use(s) across 18,527 production line(s) (~6.4/1k). More Span/Memory, pooling (ArrayPool/ObjectPool), stackalloc and ValueTask on the allocation-heavy paths climbs this toward 10.
PF3 · Async & latency hygiene
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 87/111 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
- No CancellationToken parameter — the body observes an ambient token instead (a field or a context object), so the work does stop on cancellation, but a caller cannot cancel this call independently of the owner that created that token. (×9) — DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs:151, DiscordChatExporter.Cli/Commands/ExportAllCommand.cs:35, DiscordChatExporter.Cli/Commands/ExportChannelsCommand.cs:24, …
- No CancellationToken parameter — this work can't be stopped early once started. (×15) — DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs:383, DiscordChatExporter.Core/Exporting/PlainTextMessageWriter.cs:24, DiscordChatExporter.Gui/Framework/DialogManager.cs:18, …
- 3 async method(s) await work their caller's cancellation cannot reach: a CancellationToken they hold (a parameter, or the one a framework-fixed signature carries) is never passed on, or the call is handed CancellationToken.None, default or an already-cancelled token. Forward the caller's token to that call.
- Accepts a CancellationToken and never uses it, while it calls something that takes one — so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible). (×3) — DiscordChatExporter.Core/Exporting/CsvMessageWriter.cs:25, DiscordChatExporter.Core/Exporting/PlainTextMessageWriter.cs:195, DiscordChatExporter.Core/Exporting/PlainTextMessageWriter.cs:290
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
- `HtmlEncode( await context.ResolveAssetUrlAsync(emoji.ImageUrl, cancellationToken) )` is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through a `StringBuilder` building markup with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here — a `javascript:` URL contains nothing it changes; allow only http(s) or a relative path. — DiscordChatExporter.Core/Exporting/HtmlMarkdownVisitor.cs:222
- `await HtmlMarkdownVisitor.FormatAsync(Context, markdown, true, CancellationToken)` is text this program did not author, and it is written into the text of an element through Razor's `Html.Raw` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. (×2) — REDACTED:30, DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml:30
- `await HtmlMarkdownVisitor.FormatAsync(Context, markdown, false, CancellationToken)` is text this program did not author, and it is written into the text of an element through Razor's `Html.Raw` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. — REDACTED:35
What to do
- Each finding names the expression, the attribute it lands in and the line. Confirm the value's origin from the read this analyzer traced, then escape it at the sink or validate it against the shape the attribute accepts before interpolating.
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- 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. (×2) — DiscordChatExporter.Gui/Utils/Extensions/EnvironmentExtensions.cs:26, DiscordChatExporter.Gui/Utils/Extensions/EnvironmentExtensions.cs:39
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X5 · Nullable reference types
- ~0.1 `!` suppressions per 1k syntax nodes — 8 suppression(s) across the 98629 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a `!` can suppress anything in (a `!` under `#nullable disable` is inert and is not counted, and its file's nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC1 · Text alternatives | 1.1.1, 1.2.2, 1.2.5 | Partial signal |
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC4 · Keyboard semantics | 2.1.1, 2.4.3 | Partial signal |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 83% | Strong | Strongest area. |
| Architecture | 59% | Adequate — gated by AX5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 46% | Weak — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 44% | Weak — gated by P2, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 69% | Adequate — gated by D29, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 41% | Weak — gated by AC4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 80% | Strong | Solid. |
Unscored — 2 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- X10 Duplicated predicate — 2 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 1 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
Not included — 34 check(s) not relevant to this codebase
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- 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 — docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/bui…; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C2 Access Controls — No access-control surface detected in the analyzed source — no web/app surface to authorize (no HTTP API or web-UI project) and no authorization code at all (no [Authorize]/policies, no imperative guard methods). Access control is therefore N/A here — this is a library/CLI, which is authorized by its CALLER, not by itself. 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 the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C4 Data Retention — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C5 Data-Subject Rights — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — small single-context codebase (18,458 production LoC in the .NET projects) — bounded contexts are not needed at this size No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D25 ADR Conformance — no ADRs to check
- D32 Data Compliance (PII/GDPR) — 35 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- 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.
- 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.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage not measured — no test passed in the analyzed run
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (33 value object(s))
- 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
- P8 Schema migrations — no EF Core usage detected
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- S1 Web-Security Posture — No web surface detected in the analyzed source — no HTTP API or web-UI project (no controllers/minimal-API endpoints, no Razor/Blazor views) and no web middleware (HTTPS redirection, HSTS, security headers, cookies). Transport security, security headers, secure cookies, CSRF/input-validation and middleware-order controls are therefore N/A here — this is a library/CLI/worker, not a web app. Crypto hygiene was still checked and found nothing to flag. If this codebase becomes web-facing, the dimension reactivates automatically.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's C# was read, and every log call in it goes through a logger that takes one finished message — its own wrapper, log4net, Console or Debug — so an interpolated message there loses nothing the API could have kept. Calls through Microsoft.Extensions.Logging, Serilog, NLog or ZLogger, or any logger with a message-template overload, would be judged.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 15 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Namespace dependency cycle DiscordChatExporter.Core/Discord/Data/Message.cs:7
- Namespace dependency cycle DiscordChatExporter.Gui/Framework/ViewModelManager.cs:4
- EmptyCatchBlock DiscordChatExporter.Gui/Utils/Extensions/EnvironmentExtensions.cs:26
- EmptyCatchBlock DiscordChatExporter.Gui/Utils/Extensions/EnvironmentExtensions.cs:39
- <iframe> without a title REDACTED:611
- Click handler on a non-interactive <span> REDACTED:258
- Click handler on a non-interactive <div> REDACTED:437
- Hover-only interaction on <video> REDACTED:730
- REDACTED
- REDACTED
Serious — 78 finding(s)
- Async method without CancellationToken: ExecuteAsync DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs:383
- Async method without CancellationToken: WriteMessageHeaderAsync DiscordChatExporter.Core/Exporting/PlainTextMessageWriter.cs:24
- Async method without CancellationToken: ShowDialogAsync DiscordChatExporter.Gui/Framework/DialogManager.cs:18
- Async method without CancellationToken: CheckForUpdatesAsync DiscordChatExporter.Gui/Services/UpdateService.cs:32
- Async method without CancellationToken: PrepareUpdateAsync DiscordChatExporter.Gui/Services/UpdateService.cs:44
- Async method without CancellationToken: ShowSettingsAsync DiscordChatExporter.Gui/ViewModels/Components/DashboardViewModel.cs:103
- Async method without CancellationToken: PullGuildsAsync DiscordChatExporter.Gui/ViewModels/Components/DashboardViewModel.cs:109
- Async method without CancellationToken: PullChannelsAsync DiscordChatExporter.Gui/ViewModels/Components/DashboardViewModel.cs:158
- Async method without CancellationToken: ShowOutputPathPromptAsync DiscordChatExporter.Gui/ViewModels/Dialogs/ExportSetupViewModel.cs:133
- Async method without CancellationToken: ShowAssetsDirPathPromptAsync DiscordChatExporter.Gui/ViewModels/Dialogs/ExportSetupViewModel.cs:169
- Async method without CancellationToken: ConfirmAsync DiscordChatExporter.Gui/ViewModels/Dialogs/ExportSetupViewModel.cs:177
- Async method without CancellationToken: ShowUkraineSupportMessageAsync DiscordChatExporter.Gui/ViewModels/MainViewModel.cs:24
- Async method without CancellationToken: ShowDevelopmentBuildMessageAsync DiscordChatExporter.Gui/ViewModels/MainViewModel.cs:44
- Async method without CancellationToken: CheckForUpdatesAsync DiscordChatExporter.Gui/ViewModels/MainViewModel.cs:64
- Async method without CancellationToken: InitializeAsync DiscordChatExporter.Gui/ViewModels/MainViewModel.cs:99
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <video> without a captions track REDACTED:378
- <video> without a captions track REDACTED:453
- <video> without a captions track REDACTED:715
- <video> without a captions track REDACTED:730
- Untrusted text written into markup unescaped DiscordChatExporter.Core/Exporting/HtmlMarkdownVisitor.cs:222
- Untrusted text written into markup unescaped REDACTED:30
- Untrusted text written into markup unescaped REDACTED:35
- Untrusted text written into markup unescaped DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml:30
- Async method drops its CancellationToken: WritePreambleAsync DiscordChatExporter.Core/Exporting/CsvMessageWriter.cs:25
- Async method drops its CancellationToken: WritePreambleAsync DiscordChatExporter.Core/Exporting/PlainTextMessageWriter.cs:195
- Async method drops its CancellationToken: WritePostambleAsync DiscordChatExporter.Core/Exporting/PlainTextMessageWriter.cs:290
- Anchor without href REDACTED:96
- Anchor without href REDACTED:108
- Stateful singleton: SettingsService DiscordChatExporter.Gui/Services/SettingsService.cs:12
- Stateful singleton: UpdateService DiscordChatExporter.Gui/Services/UpdateService.cs:10
- TodoComment DiscordChatExporter.Cli/Commands/ExportChannelsCommand.cs:15
- TodoComment DiscordChatExporter.Core/Exporting/ExportContext.cs:162
- CoverageExclusion DiscordChatExporter.Core/Discord/Data/Common/FileSize.cs:42
- CoverageExclusion DiscordChatExporter.Core/Discord/Snowflake.cs:14
- ClassTooLong: LocalizationManager DiscordChatExporter.Gui/Localization/LocalizationManager.cs
- ClassTooLong: DiscordClient DiscordChatExporter.Core/Discord/DiscordClient.cs
- MethodTooLong: ExportCommandBase.ExportAsync DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs:151
- MethodTooLong: JsonMessageWriter.WriteMessageAsync DiscordChatExporter.Core/Exporting/JsonMessageWriter.cs:432
- REDACTED
- REDACTED
- Swallowed exception (empty catch) DiscordChatExporter.Gui/Utils/Extensions/EnvironmentExtensions.cs:26
- Swallowed exception (empty catch) DiscordChatExporter.Gui/Utils/Extensions/EnvironmentExtensions.cs:39
- Page without a main landmark DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml:35
- Low contrast colour pair in CSS (3.2:1) DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml:43
- Accessibility enforcement below the top rung
- Appears unstructured (no recognised architecture)
- DiscordClient.GetChannelThreadsAsync (cyclomatic 27) DiscordChatExporter.Core/Discord/DiscordClient.cs:424
- DiscordClient.GetMessagesAsync (cyclomatic 23) DiscordChatExporter.Core/Discord/DiscordClient.cs:664
- ExportCommandBase.ExportAsync (cyclomatic 18) DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs:151
- Deprecated: xunit Directory.Packages.props:43
- Hotspot: DiscordChatExporter.Core/Exporting/PlainTextMessageExtensions.cs DiscordChatExporter.Core/Exporting/PlainTextMessageExtensions.cs:12
- BarePragmaDisable DiscordChatExporter.Cli/Commands/Base/DiscordCommandBase.cs:46
- HackComment DiscordChatExporter.Gui/Views/Components/DashboardView.axaml.cs:29
- DiscordClient.GetChannelThreadsAsync (cognitive 104) DiscordChatExporter.Core/Discord/DiscordClient.cs:424
- MarkdownToInlinesConverter.Convert (cognitive 40) DiscordChatExporter.Gui/Converters/MarkdownToInlinesConverter.cs:99
- DiscordClient.GetMessagesAsync (cognitive 39) DiscordChatExporter.Core/Discord/DiscordClient.cs:664
- ExportAllCommand.ExecuteAsync (cognitive 29) DiscordChatExporter.Cli/Commands/ExportAllCommand.cs:35
- PlainTextMessageWriter.WriteEmbedsAsync (cognitive 26) DiscordChatExporter.Core/Exporting/PlainTextMessageWriter.cs:59
- ExportCommandBase.ExportAsync (cognitive 20) DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs:151
- JsonMessageWriter.WriteMessageAsync (cognitive 19) DiscordChatExporter.Core/Exporting/JsonMessageWriter.cs:432
- .TryGetMachineId (cognitive 16) DiscordChatExporter.Gui/Utils/Extensions/EnvironmentExtensions.cs:10
- REDACTED
- REDACTED
- Duplicated block (19–23 lines × 2) DiscordChatExporter.Cli/Commands/ExportAllCommand.cs:61
- Duplicated block (21 lines × 2) DiscordChatExporter.Core/Exporting/JsonMessageWriter.cs:172
- Duplicated block (18 lines × 2) DiscordChatExporter.Core/Exporting/JsonMessageWriter.cs:148
- Duplicated block (14 lines × 2) DiscordChatExporter.Cli/Commands/GetChannelsCommand.cs:63
- Duplicated block (12 lines × 3) DiscordChatExporter.Cli/Commands/GetChannelsCommand.cs:63
- Duplicated block (9 lines × 4) DiscordChatExporter.Cli/Commands/GetChannelsCommand.cs:66
- Duplicated block (6 lines × 2) DiscordChatExporter.Gui/Framework/UserControl.cs:11
- README may be stale
- Coverage collected but not gated
- No structured logging
Minor — 21 finding(s)
- Duplicated predicate DiscordChatExporter.Cli/Commands/ExportAllCommand.cs:69
- Duplicated predicate DiscordChatExporter.Gui/Services/UpdateService.cs:13
- Documentation: no project overview .docs/Readme.md
- No ADRs found
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- IL efficiency: 3 authored method(s) exceed the IL budget DiscordChatExporter.Core/Discord/Data/Message.cs:133
- Disabled test DiscordChatExporter.Cli.Tests/Specs/HtmlEmbedSpecs.cs:152
- No ADRs
- No architecture diagram/doc
- No src/ separation
- No SAST
- No release approval gate
- No changelog
- No performance benchmarks
- Not all async methods take a CancellationToken
- Some async methods drop the CancellationToken they accept
- Null-forgiving operator (`!`) suppressions reduce the NRT score
Minor — 17 finding(s)
- Outdated: AngleSharp
- Outdated: Microsoft.Extensions.Configuration
- Outdated: Microsoft.Extensions.Configuration.EnvironmentVariables
- Outdated: Microsoft.Extensions.Configuration.UserSecrets
- Outdated: Microsoft.NET.Test.Sdk
- Outdated: xunit.runner.visualstudio
- Outdated: Superpower
- Outdated: Avalonia
- Outdated: Avalonia.Desktop
- Outdated: MacBundle
- Outdated: Markdig
- Outdated: Material.Avalonia
- Outdated: Microsoft.Extensions.DependencyInjection
- XML-doc coverage: DiscordChatExporter.Cli DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj
- XML-doc coverage: DiscordChatExporter.Core DiscordChatExporter.Core/DiscordChatExporter.Core.csproj
- XML-doc coverage: DiscordChatExporter.Gui DiscordChatExporter.Gui/DiscordChatExporter.Gui.csproj
- Skipped (documented): I_can_export_a_channel_that_contains_a_message_with_a_Twitch_clip_embed DiscordChatExporter.Cli.Tests/Specs/HtmlEmbedSpecs.cs:152
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-d995c8300bcb4c159a48a97536e8ce38/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-d995c8300bcb4c159a48a97536e8ce38/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 12 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list DiscordChatExporter.slnx package --vulnerable --include-transitive --format json | 0 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 2 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 35 file(s) — `DiscordChatExporter.Core/Discord/DiscordClient.cs`, `DiscordChatExporter.Core/Discord/Dump/DataDump.cs`, `DiscordChatExporter.Core/Exceptions/ChannelEmptyException.cs`, `DiscordChatExporter.Core/Exceptions/DiscordChatExporterException.cs`, `DiscordChatExporter.Core/Exporting/ChannelExporter.cs`, … (+30 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 | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |
Appendix C — Personal-data map
Name — 1 field(s)
- User.FullName DiscordChatExporter.Core/Discord/Data/User.cs:27