Executive summary
bot4s/telegram scores 47 out of 100 and is rated Weak, while five of its six lenses score higher still: Performance at 100, rated Exemplary, and Architecture at 87, Code Health at 76, Security and Compliance at 58 and Maturity at 55, all rated Adequate.
The score is lower than those five because the weakest lens counts most, and here that is Production Readiness, which scores 28 and is rated Weak. Its REDACTED Scanning dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 2 Leaked secret finding(s) in REDACTED Scanning and to resolve the 1 No ADRs found finding(s) in ADR Quality, and if Production Readiness rose to 70, the score would rise from 47 to about 62.
14 findings are critical: ten in Static Analysis (SAST), two in REDACTED Scanning and two in Secrets (history).
Watchdog couldn't measure 14 dimensions in this code, among them Coupling, Code Coverage and Test Reliability, so they are left out of the score. The product code is 12,603 lines, which would take an estimated 0.1 person-years, around €12,000, to rebuild.
If Production Readiness rose from 28 to 70, the lowest score rated Strong, the score would rise from 47 to about 62.
New since the last survey: 3 findings
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
Fixed since the last survey: 1 finding
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €12,000 · Estimate
| Cost to rebuild | €3,900 to €20,000, for 66 to 208 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 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: 12,603 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 CommandsBot | 2 PerChatRequests | 3 com.bot4s.telegram | 4 com.bot4s.telegram.Implicits | 5 com.bot4s.telegram.models.CountryCode | 6 com.bot4s.telegram.util | 7 examples.resources.play_2048.js | 8 CallbacksBot | 9 RandomBot | 10 com.bot4s.telegram.methods | 11 com.bot4s.telegram.models.Currency | 12 com.bot4s.telegram.models | 13 com.bot4s.telegram.cats | 14 com.bot4s.telegram.marshalling | 15 com.bot4s.telegram.models.ChatId | 16 com.bot4s.telegram.models.InputFile | 17 com.bot4s.telegram.models.ParsedUpdate | 18 com.bot4s.telegram.models.PekkoInputFile | 19 com.bot4s.telegram.models.UpdateType | 20 com.bot4s.telegram.api | 21 com.bot4s.telegram.api.declarative | 22 com.bot4s.telegram.clients | 23 com.bot4s.telegram.future | 24 (global) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 CommandsBot | ||||||||||||||||||||||||
| 2 PerChatRequests | ||||||||||||||||||||||||
| 3 com.bot4s.telegram | ||||||||||||||||||||||||
| 4 com.bot4s.telegram.Implicits | ||||||||||||||||||||||||
| 5 com.bot4s.telegram.models.CountryCode | ||||||||||||||||||||||||
| 6 com.bot4s.telegram.util | ||||||||||||||||||||||||
| 7 examples.resources.play_2048.js | ||||||||||||||||||||||||
| 8 CallbacksBot | 1 | |||||||||||||||||||||||
| 9 RandomBot | 1 | |||||||||||||||||||||||
| 10 com.bot4s.telegram.methods | 50 | 141 | ||||||||||||||||||||||
| 11 com.bot4s.telegram.models.Currency | 1 | |||||||||||||||||||||||
| 12 com.bot4s.telegram.models | 40 | 1 | 20 | 1 | ||||||||||||||||||||
| 13 com.bot4s.telegram.cats | 1 | 1 | 1 | |||||||||||||||||||||
| 14 com.bot4s.telegram.marshalling | 1 | 1 | 6 | |||||||||||||||||||||
| 15 com.bot4s.telegram.models.ChatId | 2 | |||||||||||||||||||||||
| 16 com.bot4s.telegram.models.InputFile | 3 | |||||||||||||||||||||||
| 17 com.bot4s.telegram.models.ParsedUpdate | 3 | |||||||||||||||||||||||
| 18 com.bot4s.telegram.models.PekkoInputFile | 1 | |||||||||||||||||||||||
| 19 com.bot4s.telegram.models.UpdateType | 1 | |||||||||||||||||||||||
| 20 com.bot4s.telegram.api | 3 | 4 | 1 | 18 | 1 | |||||||||||||||||||
| 21 com.bot4s.telegram.api.declarative | 3 | 1 | 17 | 7 | ||||||||||||||||||||
| 22 com.bot4s.telegram.clients | 4 | 1 | 4 | |||||||||||||||||||||
| 23 com.bot4s.telegram.future | 1 | 1 | 1 | |||||||||||||||||||||
| 24 (global) | 6 | 1 | 17 | 4 | 41 | 36 |
8→1 CallbacksBot uses CommandsBot✕
- Connections
- 1 pair of types, where a type in CallbacksBot uses a type in CommandsBot.
- The types involved
CallbacksBot.Int→CommandsBot.Int
- Direction
- CallbacksBot uses CommandsBot, so a change to CommandsBot can break CallbacksBot, while a change to CallbacksBot can't break CommandsBot.
- Position
- Below the diagonal: CallbacksBot uses a module listed above it, which is the healthy direction.
9→1 RandomBot uses CommandsBot✕
- Connections
- 1 pair of types, where a type in RandomBot uses a type in CommandsBot.
- The types involved
RandomBot.Int→CommandsBot.Int
- Direction
- RandomBot uses CommandsBot, so a change to CommandsBot can break RandomBot, while a change to RandomBot can't break CommandsBot.
- Position
- Below the diagonal: RandomBot uses a module listed above it, which is the healthy direction.
10→1 com.bot4s.telegram.methods uses CommandsBot✕
- Connections
- 50 pairs of types, where a type in com.bot4s.telegram.methods uses a type in CommandsBot. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
com.bot4s.telegram.methods.AnswerCallbackQuery→CommandsBot.Intcom.bot4s.telegram.methods.AnswerInlineQuery→CommandsBot.Intcom.bot4s.telegram.methods.BanChatMember→CommandsBot.Intcom.bot4s.telegram.methods.CloseForumTopic→CommandsBot.Intcom.bot4s.telegram.methods.CopyMessage→CommandsBot.Intcom.bot4s.telegram.methods.CreateChatInviteLink→CommandsBot.Intcom.bot4s.telegram.methods.CreateForumTopic→CommandsBot.Intcom.bot4s.telegram.methods.CreateInvoiceLink→CommandsBot.Intcom.bot4s.telegram.methods.DeleteForumTopic→CommandsBot.Intcom.bot4s.telegram.methods.DeleteMessage→CommandsBot.Intcom.bot4s.telegram.methods.EditChatInviteLink→CommandsBot.Intcom.bot4s.telegram.methods.EditForumTopic→CommandsBot.Intcom.bot4s.telegram.methods.EditMessageCaption→CommandsBot.Intcom.bot4s.telegram.methods.EditMessageLiveLocation→CommandsBot.Intcom.bot4s.telegram.methods.EditMessageMedia→CommandsBot.Intcom.bot4s.telegram.methods.EditMessageReplyMarkup→CommandsBot.Intcom.bot4s.telegram.methods.EditMessageText→CommandsBot.Intcom.bot4s.telegram.methods.ForwardMessage→CommandsBot.Intcom.bot4s.telegram.methods.GetGameHighScores→CommandsBot.Intcom.bot4s.telegram.methods.GetUpdates→CommandsBot.Intcom.bot4s.telegram.methods.GetUserProfilePhotos→CommandsBot.Intcom.bot4s.telegram.methods.KickChatMember→CommandsBot.Intcom.bot4s.telegram.methods.PinChatMessage→CommandsBot.Intcom.bot4s.telegram.methods.ReopenForumTopic→CommandsBot.Intcom.bot4s.telegram.methods.Response→CommandsBot.Int
- Direction
- com.bot4s.telegram.methods uses CommandsBot, so a change to CommandsBot can break com.bot4s.telegram.methods, while a change to com.bot4s.telegram.methods can't break CommandsBot.
- Position
- Below the diagonal: com.bot4s.telegram.methods uses a module listed above it, which is the healthy direction.
10→12 com.bot4s.telegram.methods uses com.bot4s.telegram.models part of a loop✕
- Connections
- 141 pairs of types, where a type in com.bot4s.telegram.methods uses a type in com.bot4s.telegram.models. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
com.bot4s.telegram.methods.AddStickerToSet→com.bot4s.telegram.models.InputStickercom.bot4s.telegram.methods.AnswerInlineQuery→com.bot4s.telegram.models.InlineQueryResultcom.bot4s.telegram.methods.AnswerInlineQuery→com.bot4s.telegram.models.InlineQueryResultsButtoncom.bot4s.telegram.methods.AnswerShippingQuery→com.bot4s.telegram.models.ShippingOptioncom.bot4s.telegram.methods.AnswerWebAppQuery→com.bot4s.telegram.models.InlineQueryResultcom.bot4s.telegram.methods.ApproveChatJoinRequest→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.BanChatMember→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.BanChatSenderChat→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.CloseForumTopic→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.CloseGeneralForumTopic→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.CopyMessage→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.CopyMessage→com.bot4s.telegram.models.MessageEntitycom.bot4s.telegram.methods.CopyMessage→com.bot4s.telegram.models.ReplyMarkupcom.bot4s.telegram.methods.CreateChatInviteLink→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.CreateForumTopic→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.CreateInvoiceLink→com.bot4s.telegram.models.LabeledPricecom.bot4s.telegram.methods.CreateNewStickerSet→com.bot4s.telegram.models.InputStickercom.bot4s.telegram.methods.CreateNewStickerSet→com.bot4s.telegram.models.StickerFormatcom.bot4s.telegram.methods.CreateNewStickerSet→com.bot4s.telegram.models.StickerTypecom.bot4s.telegram.methods.DeclineChatJoinRequest→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.DeleteChatPhoto→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.DeleteChatStickerSet→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.DeleteForumTopic→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.DeleteMessage→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.methods.DeleteMyCommands→com.bot4s.telegram.models.BotCommandScope
- Direction
- com.bot4s.telegram.methods uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.methods, while a change to com.bot4s.telegram.methods can't break com.bot4s.telegram.models.
- 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.
11→1 com.bot4s.telegram.models.Currency uses CommandsBot✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.models.Currency uses a type in CommandsBot.
- The types involved
com.bot4s.telegram.models.Currency.TelegramCurrency→CommandsBot.Int
- Direction
- com.bot4s.telegram.models.Currency uses CommandsBot, so a change to CommandsBot can break com.bot4s.telegram.models.Currency, while a change to com.bot4s.telegram.models.Currency can't break CommandsBot.
- Position
- Below the diagonal: com.bot4s.telegram.models.Currency uses a module listed above it, which is the healthy direction.
12→1 com.bot4s.telegram.models uses CommandsBot✕
- Connections
- 40 pairs of types, where a type in com.bot4s.telegram.models uses a type in CommandsBot. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
com.bot4s.telegram.models.Audio→CommandsBot.Intcom.bot4s.telegram.models.Chat→CommandsBot.Intcom.bot4s.telegram.models.ChatInviteLink→CommandsBot.Intcom.bot4s.telegram.models.ChatJoinRequest→CommandsBot.Intcom.bot4s.telegram.models.ChatMember→CommandsBot.Intcom.bot4s.telegram.models.ChatMemberUpdated→CommandsBot.Intcom.bot4s.telegram.models.ChatShared→CommandsBot.Intcom.bot4s.telegram.models.ForumTopic→CommandsBot.Intcom.bot4s.telegram.models.ForumTopicCreated→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultArticle→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultAudio→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultContact→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultDocument→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultGif→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultLocation→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultMpeg4Gif→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultPhoto→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultVenue→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultVideo→CommandsBot.Intcom.bot4s.telegram.models.InlineQueryResultVoice→CommandsBot.Intcom.bot4s.telegram.models.InputMediaAnimation→CommandsBot.Intcom.bot4s.telegram.models.InputMediaAudio→CommandsBot.Intcom.bot4s.telegram.models.InputMediaVideo→CommandsBot.Intcom.bot4s.telegram.models.KeyboardButtonRequestChat→CommandsBot.Intcom.bot4s.telegram.models.KeyboardButtonRequestUser→CommandsBot.Int
- Direction
- com.bot4s.telegram.models uses CommandsBot, so a change to CommandsBot can break com.bot4s.telegram.models, while a change to com.bot4s.telegram.models can't break CommandsBot.
- Position
- Below the diagonal: com.bot4s.telegram.models uses a module listed above it, which is the healthy direction.
12→5 com.bot4s.telegram.models uses com.bot4s.telegram.models.CountryCode✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.models uses a type in com.bot4s.telegram.models.CountryCode.
- The types involved
com.bot4s.telegram.models.CountryCode→com.bot4s.telegram.models.CountryCode.Country
- Direction
- com.bot4s.telegram.models uses com.bot4s.telegram.models.CountryCode, so a change to com.bot4s.telegram.models.CountryCode can break com.bot4s.telegram.models, while a change to com.bot4s.telegram.models can't break com.bot4s.telegram.models.CountryCode.
- Position
- Below the diagonal: com.bot4s.telegram.models uses a module listed above it, which is the healthy direction.
12→10 com.bot4s.telegram.models uses com.bot4s.telegram.methods✕
- Connections
- 20 pairs of types, where a type in com.bot4s.telegram.models uses a type in com.bot4s.telegram.methods.
- The types involved
com.bot4s.telegram.models.InlineQueryResultAudio→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultCachedAudio→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultCachedDocument→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultCachedGif→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultCachedMpeg4Gif→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultCachedPhoto→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultCachedVideo→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultCachedVoice→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultDocument→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultGif→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultMpeg4Gif→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultPhoto→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultVideo→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InlineQueryResultVoice→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InputMediaAnimation→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InputMediaAudio→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InputMediaDocument→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InputMediaPhoto→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InputMediaVideo→com.bot4s.telegram.methods.ParseModecom.bot4s.telegram.models.InputTextMessageContent→com.bot4s.telegram.methods.ParseMode
- Direction
- com.bot4s.telegram.models uses com.bot4s.telegram.methods, so a change to com.bot4s.telegram.methods can break com.bot4s.telegram.models, while a change to com.bot4s.telegram.models can't break com.bot4s.telegram.methods.
- Position
- Below the diagonal: com.bot4s.telegram.models uses a module listed above it, which is the healthy direction.
12→11 com.bot4s.telegram.models uses com.bot4s.telegram.models.Currency✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.models uses a type in com.bot4s.telegram.models.Currency.
- The types involved
com.bot4s.telegram.models.Currency→com.bot4s.telegram.models.Currency.TelegramCurrency
- Direction
- com.bot4s.telegram.models uses com.bot4s.telegram.models.Currency, so a change to com.bot4s.telegram.models.Currency can break com.bot4s.telegram.models, while a change to com.bot4s.telegram.models can't break com.bot4s.telegram.models.Currency.
- Position
- Below the diagonal: com.bot4s.telegram.models uses a module listed above it, which is the healthy direction.
13→6 com.bot4s.telegram.cats uses com.bot4s.telegram.util✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.cats uses a type in com.bot4s.telegram.util.
- The types involved
com.bot4s.telegram.cats.Polling→com.bot4s.telegram.util.StrictLogging
- Direction
- com.bot4s.telegram.cats uses com.bot4s.telegram.util, so a change to com.bot4s.telegram.util can break com.bot4s.telegram.cats, while a change to com.bot4s.telegram.cats can't break com.bot4s.telegram.util.
- Position
- Below the diagonal: com.bot4s.telegram.cats uses a module listed above it, which is the healthy direction.
13→12 com.bot4s.telegram.cats uses com.bot4s.telegram.models✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.cats uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.cats.PollingState→com.bot4s.telegram.models.User
- Direction
- com.bot4s.telegram.cats uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.cats, while a change to com.bot4s.telegram.cats can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.cats uses a module listed above it, which is the healthy direction.
13→20 com.bot4s.telegram.cats uses com.bot4s.telegram.api part of a loop✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.cats uses a type in com.bot4s.telegram.api.
- The types involved
com.bot4s.telegram.cats.TelegramBot→com.bot4s.telegram.api.BotBase
- Direction
- com.bot4s.telegram.cats uses com.bot4s.telegram.api, so a change to com.bot4s.telegram.api can break com.bot4s.telegram.cats, while a change to com.bot4s.telegram.cats can't break com.bot4s.telegram.api.
- 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.
14→6 com.bot4s.telegram.marshalling uses com.bot4s.telegram.util✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.marshalling uses a type in com.bot4s.telegram.util.
- The types involved
com.bot4s.telegram.marshalling.CirceDecoders→com.bot4s.telegram.util.StrictLogging
- Direction
- com.bot4s.telegram.marshalling uses com.bot4s.telegram.util, so a change to com.bot4s.telegram.util can break com.bot4s.telegram.marshalling, while a change to com.bot4s.telegram.marshalling can't break com.bot4s.telegram.util.
- Position
- Below the diagonal: com.bot4s.telegram.marshalling uses a module listed above it, which is the healthy direction.
14→10 com.bot4s.telegram.marshalling uses com.bot4s.telegram.methods✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.marshalling uses a type in com.bot4s.telegram.methods.
- The types involved
com.bot4s.telegram.marshalling.CirceDecoders→com.bot4s.telegram.methods.Response
- Direction
- com.bot4s.telegram.marshalling uses com.bot4s.telegram.methods, so a change to com.bot4s.telegram.methods can break com.bot4s.telegram.marshalling, while a change to com.bot4s.telegram.marshalling can't break com.bot4s.telegram.methods.
- Position
- Below the diagonal: com.bot4s.telegram.marshalling uses a module listed above it, which is the healthy direction.
14→12 com.bot4s.telegram.marshalling uses com.bot4s.telegram.models✕
- Connections
- 6 pairs of types, where a type in com.bot4s.telegram.marshalling uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.marshalling.CirceDecoders→com.bot4s.telegram.models.BotCommandcom.bot4s.telegram.marshalling.CirceDecoders→com.bot4s.telegram.models.ChatMembercom.bot4s.telegram.marshalling.CirceDecoders→com.bot4s.telegram.models.GameHighScorecom.bot4s.telegram.marshalling.CirceDecoders→com.bot4s.telegram.models.Messagecom.bot4s.telegram.marshalling.CirceDecoders→com.bot4s.telegram.models.ParsedUpdatecom.bot4s.telegram.marshalling.CirceDecoders→com.bot4s.telegram.models.Sticker
- Direction
- com.bot4s.telegram.marshalling uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.marshalling, while a change to com.bot4s.telegram.marshalling can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.marshalling uses a module listed above it, which is the healthy direction.
15→12 com.bot4s.telegram.models.ChatId uses com.bot4s.telegram.models✕
- Connections
- 2 pairs of types, where a type in com.bot4s.telegram.models.ChatId uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.models.ChatId.Channel→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.models.ChatId.Chat→com.bot4s.telegram.models.ChatId
- Direction
- com.bot4s.telegram.models.ChatId uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.models.ChatId, while a change to com.bot4s.telegram.models.ChatId can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.models.ChatId uses a module listed above it, which is the healthy direction.
16→12 com.bot4s.telegram.models.InputFile uses com.bot4s.telegram.models✕
- Connections
- 3 pairs of types, where a type in com.bot4s.telegram.models.InputFile uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.models.InputFile.Contents→com.bot4s.telegram.models.InputFilecom.bot4s.telegram.models.InputFile.FileId→com.bot4s.telegram.models.InputFilecom.bot4s.telegram.models.InputFile.Path→com.bot4s.telegram.models.InputFile
- Direction
- com.bot4s.telegram.models.InputFile uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.models.InputFile, while a change to com.bot4s.telegram.models.InputFile can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.models.InputFile uses a module listed above it, which is the healthy direction.
17→12 com.bot4s.telegram.models.ParsedUpdate uses com.bot4s.telegram.models✕
- Connections
- 3 pairs of types, where a type in com.bot4s.telegram.models.ParsedUpdate uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.models.ParsedUpdate.Failure→com.bot4s.telegram.models.ParsedUpdatecom.bot4s.telegram.models.ParsedUpdate.Success→com.bot4s.telegram.models.ParsedUpdatecom.bot4s.telegram.models.ParsedUpdate.Success→com.bot4s.telegram.models.Update
- Direction
- com.bot4s.telegram.models.ParsedUpdate uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.models.ParsedUpdate, while a change to com.bot4s.telegram.models.ParsedUpdate can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.models.ParsedUpdate uses a module listed above it, which is the healthy direction.
18→12 com.bot4s.telegram.models.PekkoInputFile uses com.bot4s.telegram.models✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.models.PekkoInputFile uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.models.PekkoInputFile.ByteString→com.bot4s.telegram.models.PekkoInputFile
- Direction
- com.bot4s.telegram.models.PekkoInputFile uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.models.PekkoInputFile, while a change to com.bot4s.telegram.models.PekkoInputFile can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.models.PekkoInputFile uses a module listed above it, which is the healthy direction.
19→12 com.bot4s.telegram.models.UpdateType uses com.bot4s.telegram.models✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.models.UpdateType uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.models.UpdateType.Filters→com.bot4s.telegram.models.UpdateType
- Direction
- com.bot4s.telegram.models.UpdateType uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.models.UpdateType, while a change to com.bot4s.telegram.models.UpdateType can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.models.UpdateType uses a module listed above it, which is the healthy direction.
20→1 com.bot4s.telegram.api uses CommandsBot✕
- Connections
- 3 pairs of types, where a type in com.bot4s.telegram.api uses a type in CommandsBot.
- The types involved
com.bot4s.telegram.api.Payload→CommandsBot.Intcom.bot4s.telegram.api.TelegramApiException→CommandsBot.Intcom.bot4s.telegram.api.WebRoutes→CommandsBot.Int
- Direction
- com.bot4s.telegram.api uses CommandsBot, so a change to CommandsBot can break com.bot4s.telegram.api, while a change to com.bot4s.telegram.api can't break CommandsBot.
- Position
- Below the diagonal: com.bot4s.telegram.api uses a module listed above it, which is the healthy direction.
20→6 com.bot4s.telegram.api uses com.bot4s.telegram.util✕
- Connections
- 4 pairs of types, where a type in com.bot4s.telegram.api uses a type in com.bot4s.telegram.util.
- The types involved
com.bot4s.telegram.api.Polling→com.bot4s.telegram.util.StrictLoggingcom.bot4s.telegram.api.RequestHandler→com.bot4s.telegram.util.StrictLoggingcom.bot4s.telegram.api.WebRoutes→com.bot4s.telegram.util.StrictLoggingcom.bot4s.telegram.api.Webhook→com.bot4s.telegram.util.StrictLogging
- Direction
- com.bot4s.telegram.api uses com.bot4s.telegram.util, so a change to com.bot4s.telegram.util can break com.bot4s.telegram.api, while a change to com.bot4s.telegram.api can't break com.bot4s.telegram.util.
- Position
- Below the diagonal: com.bot4s.telegram.api uses a module listed above it, which is the healthy direction.
20→10 com.bot4s.telegram.api uses com.bot4s.telegram.methods✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.api uses a type in com.bot4s.telegram.methods.
- The types involved
com.bot4s.telegram.api.RequestHandler→com.bot4s.telegram.methods.Response
- Direction
- com.bot4s.telegram.api uses com.bot4s.telegram.methods, so a change to com.bot4s.telegram.methods can break com.bot4s.telegram.api, while a change to com.bot4s.telegram.api can't break com.bot4s.telegram.methods.
- Position
- Below the diagonal: com.bot4s.telegram.api uses a module listed above it, which is the healthy direction.
20→12 com.bot4s.telegram.api uses com.bot4s.telegram.models✕
- Connections
- 18 pairs of types, where a type in com.bot4s.telegram.api uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.api.ActorBroker→com.bot4s.telegram.models.Updatecom.bot4s.telegram.api.ActorBroker→com.bot4s.telegram.models.Usercom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.CallbackQuerycom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.ChatJoinRequestcom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.ChosenInlineResultcom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.InlineQuerycom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.Messagecom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.PreCheckoutQuerycom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.ShippingQuerycom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.Updatecom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.UpdateTypecom.bot4s.telegram.api.BotBase→com.bot4s.telegram.models.Usercom.bot4s.telegram.api.ChatActions→com.bot4s.telegram.models.Messagecom.bot4s.telegram.api.Payload→com.bot4s.telegram.models.ChatIdcom.bot4s.telegram.api.Payload→com.bot4s.telegram.models.Usercom.bot4s.telegram.api.Polling→com.bot4s.telegram.models.ParsedUpdatecom.bot4s.telegram.api.TelegramApiException→com.bot4s.telegram.models.ResponseParameterscom.bot4s.telegram.api.Webhook→com.bot4s.telegram.models.InputFile
- Direction
- com.bot4s.telegram.api uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.api, while a change to com.bot4s.telegram.api can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.api uses a module listed above it, which is the healthy direction.
20→13 com.bot4s.telegram.api uses com.bot4s.telegram.cats✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.api uses a type in com.bot4s.telegram.cats.
- The types involved
com.bot4s.telegram.api.PekkoTelegramBot→com.bot4s.telegram.cats.TelegramBot
- Direction
- com.bot4s.telegram.api uses com.bot4s.telegram.cats, so a change to com.bot4s.telegram.cats can break com.bot4s.telegram.api, while a change to com.bot4s.telegram.api can't break com.bot4s.telegram.cats.
- Position
- Below the diagonal: com.bot4s.telegram.api uses a module listed above it, which is the healthy direction.
21→1 com.bot4s.telegram.api.declarative uses CommandsBot✕
- Connections
- 3 pairs of types, where a type in com.bot4s.telegram.api.declarative uses a type in CommandsBot.
- The types involved
com.bot4s.telegram.api.declarative.Callbacks→CommandsBot.Intcom.bot4s.telegram.api.declarative.InlineQueries→CommandsBot.Intcom.bot4s.telegram.api.declarative.Messages→CommandsBot.Int
- Direction
- com.bot4s.telegram.api.declarative uses CommandsBot, so a change to CommandsBot can break com.bot4s.telegram.api.declarative, while a change to com.bot4s.telegram.api.declarative can't break CommandsBot.
- Position
- Below the diagonal: com.bot4s.telegram.api.declarative uses a module listed above it, which is the healthy direction.
21→10 com.bot4s.telegram.api.declarative uses com.bot4s.telegram.methods✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.api.declarative uses a type in com.bot4s.telegram.methods.
- The types involved
com.bot4s.telegram.api.declarative.Messages→com.bot4s.telegram.methods.ParseMode
- Direction
- com.bot4s.telegram.api.declarative uses com.bot4s.telegram.methods, so a change to com.bot4s.telegram.methods can break com.bot4s.telegram.api.declarative, while a change to com.bot4s.telegram.api.declarative can't break com.bot4s.telegram.methods.
- Position
- Below the diagonal: com.bot4s.telegram.api.declarative uses a module listed above it, which is the healthy direction.
21→12 com.bot4s.telegram.api.declarative uses com.bot4s.telegram.models✕
- Connections
- 17 pairs of types, where a type in com.bot4s.telegram.api.declarative uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.api.declarative.Callbacks→com.bot4s.telegram.models.CallbackQuerycom.bot4s.telegram.api.declarative.ChannelPosts→com.bot4s.telegram.models.Messagecom.bot4s.telegram.api.declarative.Commands→com.bot4s.telegram.models.Messagecom.bot4s.telegram.api.declarative.InlineQueries→com.bot4s.telegram.models.ChosenInlineResultcom.bot4s.telegram.api.declarative.InlineQueries→com.bot4s.telegram.models.InlineQuerycom.bot4s.telegram.api.declarative.InlineQueries→com.bot4s.telegram.models.InlineQueryResultcom.bot4s.telegram.api.declarative.InlineQueries→com.bot4s.telegram.models.InlineQueryResultsButtoncom.bot4s.telegram.api.declarative.JoinRequests→com.bot4s.telegram.models.ChatJoinRequestcom.bot4s.telegram.api.declarative.Messages→com.bot4s.telegram.models.Messagecom.bot4s.telegram.api.declarative.Messages→com.bot4s.telegram.models.MessageEntitycom.bot4s.telegram.api.declarative.Messages→com.bot4s.telegram.models.ReplyMarkupcom.bot4s.telegram.api.declarative.Payments→com.bot4s.telegram.models.PreCheckoutQuerycom.bot4s.telegram.api.declarative.Payments→com.bot4s.telegram.models.ShippingQuerycom.bot4s.telegram.api.declarative.RegexCommands→com.bot4s.telegram.models.InlineQuerycom.bot4s.telegram.api.declarative.RegexCommands→com.bot4s.telegram.models.Messagecom.bot4s.telegram.api.declarative.Updates→com.bot4s.telegram.models.Updatecom.bot4s.telegram.api.declarative.Updates→com.bot4s.telegram.models.User
- Direction
- com.bot4s.telegram.api.declarative uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.api.declarative, while a change to com.bot4s.telegram.api.declarative can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.api.declarative uses a module listed above it, which is the healthy direction.
21→20 com.bot4s.telegram.api.declarative uses com.bot4s.telegram.api✕
- Connections
- 7 pairs of types, where a type in com.bot4s.telegram.api.declarative uses a type in com.bot4s.telegram.api.
- The types involved
com.bot4s.telegram.api.declarative.Callbacks→com.bot4s.telegram.api.BotBasecom.bot4s.telegram.api.declarative.ChannelPosts→com.bot4s.telegram.api.BotBasecom.bot4s.telegram.api.declarative.InlineQueries→com.bot4s.telegram.api.BotBasecom.bot4s.telegram.api.declarative.JoinRequests→com.bot4s.telegram.api.BotBasecom.bot4s.telegram.api.declarative.Messages→com.bot4s.telegram.api.BotBasecom.bot4s.telegram.api.declarative.Payments→com.bot4s.telegram.api.BotBasecom.bot4s.telegram.api.declarative.Updates→com.bot4s.telegram.api.BotBase
- Direction
- com.bot4s.telegram.api.declarative uses com.bot4s.telegram.api, so a change to com.bot4s.telegram.api can break com.bot4s.telegram.api.declarative, while a change to com.bot4s.telegram.api.declarative can't break com.bot4s.telegram.api.
- Position
- Below the diagonal: com.bot4s.telegram.api.declarative uses a module listed above it, which is the healthy direction.
22→10 com.bot4s.telegram.clients uses com.bot4s.telegram.methods✕
- Connections
- 4 pairs of types, where a type in com.bot4s.telegram.clients uses a type in com.bot4s.telegram.methods.
- The types involved
com.bot4s.telegram.clients.PekkoHttpClient→com.bot4s.telegram.methods.Responsecom.bot4s.telegram.clients.ScalajHttpClient→com.bot4s.telegram.methods.Responsecom.bot4s.telegram.clients.SttpClient→com.bot4s.telegram.methods.Responsecom.bot4s.telegram.clients.YetAnotherPekkoClient→com.bot4s.telegram.methods.Response
- Direction
- com.bot4s.telegram.clients uses com.bot4s.telegram.methods, so a change to com.bot4s.telegram.methods can break com.bot4s.telegram.clients, while a change to com.bot4s.telegram.clients can't break com.bot4s.telegram.methods.
- Position
- Below the diagonal: com.bot4s.telegram.clients uses a module listed above it, which is the healthy direction.
22→12 com.bot4s.telegram.clients uses com.bot4s.telegram.models✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.clients uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.clients.SttpInputFile→com.bot4s.telegram.models.InputFile
- Direction
- com.bot4s.telegram.clients uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.clients, while a change to com.bot4s.telegram.clients can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.clients uses a module listed above it, which is the healthy direction.
22→20 com.bot4s.telegram.clients uses com.bot4s.telegram.api✕
- Connections
- 4 pairs of types, where a type in com.bot4s.telegram.clients uses a type in com.bot4s.telegram.api.
- The types involved
com.bot4s.telegram.clients.PekkoHttpClient→com.bot4s.telegram.api.RequestHandlercom.bot4s.telegram.clients.ScalajHttpClient→com.bot4s.telegram.api.RequestHandlercom.bot4s.telegram.clients.SttpClient→com.bot4s.telegram.api.RequestHandlercom.bot4s.telegram.clients.YetAnotherPekkoClient→com.bot4s.telegram.api.RequestHandler
- Direction
- com.bot4s.telegram.clients uses com.bot4s.telegram.api, so a change to com.bot4s.telegram.api can break com.bot4s.telegram.clients, while a change to com.bot4s.telegram.clients can't break com.bot4s.telegram.api.
- Position
- Below the diagonal: com.bot4s.telegram.clients uses a module listed above it, which is the healthy direction.
23→6 com.bot4s.telegram.future uses com.bot4s.telegram.util✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.future uses a type in com.bot4s.telegram.util.
- The types involved
com.bot4s.telegram.future.Polling→com.bot4s.telegram.util.StrictLogging
- Direction
- com.bot4s.telegram.future uses com.bot4s.telegram.util, so a change to com.bot4s.telegram.util can break com.bot4s.telegram.future, while a change to com.bot4s.telegram.future can't break com.bot4s.telegram.util.
- Position
- Below the diagonal: com.bot4s.telegram.future uses a module listed above it, which is the healthy direction.
23→12 com.bot4s.telegram.future uses com.bot4s.telegram.models✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.future uses a type in com.bot4s.telegram.models.
- The types involved
com.bot4s.telegram.future.Polling→com.bot4s.telegram.models.User
- Direction
- com.bot4s.telegram.future uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break com.bot4s.telegram.future, while a change to com.bot4s.telegram.future can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: com.bot4s.telegram.future uses a module listed above it, which is the healthy direction.
23→20 com.bot4s.telegram.future uses com.bot4s.telegram.api✕
- Connections
- 1 pair of types, where a type in com.bot4s.telegram.future uses a type in com.bot4s.telegram.api.
- The types involved
com.bot4s.telegram.future.TelegramBot→com.bot4s.telegram.api.BotBase
- Direction
- com.bot4s.telegram.future uses com.bot4s.telegram.api, so a change to com.bot4s.telegram.api can break com.bot4s.telegram.future, while a change to com.bot4s.telegram.future can't break com.bot4s.telegram.api.
- Position
- Below the diagonal: com.bot4s.telegram.future uses a module listed above it, which is the healthy direction.
24→1 (global) uses CommandsBot✕
- Connections
- 6 pairs of types, where a type in (global) uses a type in CommandsBot.
- The types involved
CallbacksBot→CommandsBot.IntGitHubHosted2048Bot→CommandsBot.IntPokerBot→CommandsBot.IntPollingWithWebRoutes→CommandsBot.IntSelfDestructBot→CommandsBot.IntSelfHosted2048Bot→CommandsBot.Int
- Direction
- (global) uses CommandsBot, so a change to CommandsBot can break (global), while a change to (global) can't break CommandsBot.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
24→10 (global) uses com.bot4s.telegram.methods✕
- Connections
- 1 pair of types, where a type in (global) uses a type in com.bot4s.telegram.methods.
- The types involved
PollBot→com.bot4s.telegram.methods.SendPoll
- Direction
- (global) uses com.bot4s.telegram.methods, so a change to com.bot4s.telegram.methods can break (global), while a change to (global) can't break com.bot4s.telegram.methods.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
24→12 (global) uses com.bot4s.telegram.models✕
- Connections
- 17 pairs of types, where a type in (global) uses a type in com.bot4s.telegram.models.
- The types involved
Api66Bot→com.bot4s.telegram.models.MessageApi67Bot→com.bot4s.telegram.models.MessageCommandsBot→com.bot4s.telegram.models.MessageEchoBot→com.bot4s.telegram.models.MessageLmgtfyBot→com.bot4s.telegram.models.InlineKeyboardMarkupPerChatState→com.bot4s.telegram.models.MessagePokerBot→com.bot4s.telegram.models.MessagePokerBot→com.bot4s.telegram.models.ReplyMarkupSelfDestructBot→com.bot4s.telegram.models.InlineQueryResultShareChatBot→com.bot4s.telegram.models.MessageSillyAuthentication→com.bot4s.telegram.models.MessageSillyAuthentication→com.bot4s.telegram.models.UserSpotifyBot→com.bot4s.telegram.models.InlineQueryTextToSpeechBot→com.bot4s.telegram.models.InlineQueryWebhookBot→com.bot4s.telegram.models.MessageWebhookSSLBot→com.bot4s.telegram.models.InputFileWebhookSSLBot→com.bot4s.telegram.models.Message
- Direction
- (global) uses com.bot4s.telegram.models, so a change to com.bot4s.telegram.models can break (global), while a change to (global) can't break com.bot4s.telegram.models.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
24→13 (global) uses com.bot4s.telegram.cats✕
- Connections
- 4 pairs of types, where a type in (global) uses a type in com.bot4s.telegram.cats.
- The types involved
CommandsBot→com.bot4s.telegram.cats.TelegramBotCommandsWebhookBot→com.bot4s.telegram.cats.TelegramBotEchoBot→com.bot4s.telegram.cats.TelegramBotExampleBot→com.bot4s.telegram.cats.TelegramBot
- Direction
- (global) uses com.bot4s.telegram.cats, so a change to com.bot4s.telegram.cats can break (global), while a change to (global) can't break com.bot4s.telegram.cats.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
24→20 (global) uses com.bot4s.telegram.api✕
- Connections
- 41 pairs of types, where a type in (global) uses a type in com.bot4s.telegram.api. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
Api66Bot→com.bot4s.telegram.api.PollingApi67Bot→com.bot4s.telegram.api.PollingAuthenticationBot→com.bot4s.telegram.api.PollingCallbacksBot→com.bot4s.telegram.api.PollingCommandsBot→com.bot4s.telegram.api.PollingCovfefeBot→com.bot4s.telegram.api.PollingDogeBot→com.bot4s.telegram.api.ChatActionsDogeBot→com.bot4s.telegram.api.PollingEchoBot→com.bot4s.telegram.api.PollingExampleBot→com.bot4s.telegram.api.RequestHandlerExceptionBot→com.bot4s.telegram.api.PollingGitHubHosted2048Bot→com.bot4s.telegram.api.GameManagerGitHubHosted2048Bot→com.bot4s.telegram.api.PollingLmgtfyBot→com.bot4s.telegram.api.PollingMarkdownBot→com.bot4s.telegram.api.PollingPekkoExampleBot→com.bot4s.telegram.api.PekkoTelegramBotPerChatRequests→com.bot4s.telegram.api.ActorBrokerPerChatRequests→com.bot4s.telegram.api.PekkoDefaultsPerChatRequestsBot→com.bot4s.telegram.api.PollingPokerBot→com.bot4s.telegram.api.PollingPollBot→com.bot4s.telegram.api.PollingPollingWithWebRoutes→com.bot4s.telegram.api.PollingPollingWithWebRoutes→com.bot4s.telegram.api.WebRoutesProcessBot→com.bot4s.telegram.api.PollingProxyBot→com.bot4s.telegram.api.Polling
- Direction
- (global) uses com.bot4s.telegram.api, so a change to com.bot4s.telegram.api can break (global), while a change to (global) can't break com.bot4s.telegram.api.
- Position
- Below the diagonal: (global) uses a module listed above it, which is the healthy direction.
24→21 (global) uses com.bot4s.telegram.api.declarative✕
- Connections
- 36 pairs of types, where a type in (global) uses a type in com.bot4s.telegram.api.declarative. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
- The types involved
AuthenticationBot→com.bot4s.telegram.api.declarative.CommandsCallbacksBot→com.bot4s.telegram.api.declarative.CallbacksCallbacksBot→com.bot4s.telegram.api.declarative.CommandsCommandsBot→com.bot4s.telegram.api.declarative.CommandsCommandsBot→com.bot4s.telegram.api.declarative.RegexCommandsCommandsWebhookBot→com.bot4s.telegram.api.declarative.CommandsCommandsWebhookBot→com.bot4s.telegram.api.declarative.RegexCommandsCovfefeBot→com.bot4s.telegram.api.declarative.CommandsDogeBot→com.bot4s.telegram.api.declarative.CommandsExceptionBot→com.bot4s.telegram.api.declarative.CommandsGitHubHosted2048Bot→com.bot4s.telegram.api.declarative.CallbacksGitHubHosted2048Bot→com.bot4s.telegram.api.declarative.CommandsJoinRequestBot→com.bot4s.telegram.api.declarative.CommandsJoinRequestBot→com.bot4s.telegram.api.declarative.JoinRequestsLmgtfyBot→com.bot4s.telegram.api.declarative.CommandsLmgtfyBot→com.bot4s.telegram.api.declarative.InlineQueriesMarkdownBot→com.bot4s.telegram.api.declarative.CommandsPerChatRequestsBot→com.bot4s.telegram.api.declarative.CommandsPokerBot→com.bot4s.telegram.api.declarative.CallbacksPokerBot→com.bot4s.telegram.api.declarative.CommandsPollBot→com.bot4s.telegram.api.declarative.CallbacksPollBot→com.bot4s.telegram.api.declarative.CommandsPollingWithWebRoutes→com.bot4s.telegram.api.declarative.CommandsProcessBot→com.bot4s.telegram.api.declarative.CommandsProxyBot→com.bot4s.telegram.api.declarative.Commands
- Direction
- (global) uses com.bot4s.telegram.api.declarative, so a change to com.bot4s.telegram.api.declarative can break (global), while a change to (global) can't break com.bot4s.telegram.api.declarative.
- Position
- Below the diagonal: (global) 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 — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 11 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 6 | Medium |
| A07:2025 — Authentication Failures | 5 | High / Critical |
Roadmap
Immediately resolve the two leaked secrets in REDACTED and integrate a SAST step into CI to prevent security regressions from reaching production. Automate the release process in CI to ensure deployments are repeatable and reversible, while simultaneously establishing a structured ADR folder to document significant design decisions and their consequences.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 2 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2). | +17.3 pts | Low | REDACTED Scanning |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +4.2 pts | Low | ADR Quality |
| Add a SAST step to CI running what this repository's stack ships: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. | +6.7 pts | Medium | Security & performance tooling |
| Automate the release in CI — a deploy stage for a service (Helm/Kubernetes manifests or an equivalent rollout), or a tag-triggered publish job for an artifact — so releases are repeatable and reversible. | +4.6 pts | Medium | Deployment & Rollback |
| 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. | +3.9 pts | Medium | Architecture documentation |
| Resolve the 3 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. | +1.8 pts | Low | Supply-chain Provenance & Signing |
| Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. | +1.3 pts | Low | Documentation Quality |
| Set security response headers on what the server sends — keep Play's `SecurityHeadersFilter` enabled, wrap akka/pekko-http routes in `respondWithHeaders(RawHeader("X-Content-Type-Options", "nosniff"), …)`, or add an http4s middleware that sets `Content-Security-Policy`, `X-Content-Type-Options` and a frame policy on every response. | +2.4 pts | Medium | Web-Security Posture |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.5 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.0 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| core/src/com/bot4s/telegram/methods/SendMediaGroup.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (6 lines × 2) |
| examples/src-jvm-2/WebhookBot.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (9 lines × 2) |
| examples/src-cats/CommandsBot.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (24 lines × 2) |
| README.md | 9.5 | Near-clean | Documentation Quality: Documentation: no architecture or design documentation |
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. 53 of 57 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 57 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, 26 of 42 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D5 Coupling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- 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: test source is present (.scala) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) 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. You can widen what we reach: optional: produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) 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 — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.scala) but the built-in reliability runner does not support this repository's ecosystem, so flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. No dependency manifest this pass reads for hygiene (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)) was found in this repository, so no package was assessed. Zero packages read is NOT a clean dependency tree, so this is NOT SCORED — a gap in the analyzer, not a verdict about this repository. This row is about dependency HYGIENE — outdated, deprecated or unmaintained direct dependencies; known CVEs in the same dependency graph are a separate question, reported under D30 wherever the manifest is OSV-readable.
- D14 License Compliance — 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. Not scored — no dependency manifest this pass reads for licence data (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)) was found in this repository, so it declares no third-party dependency closure to grade. A gap in the analyzer, NOT a finding that this repository's licences are compliant: a manifest in an ecosystem outside that list, or third-party code copied into the tree, is not read — so this dimension asserts nothing about this repository's licensing in either direction.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- 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.
- AX2 Stateful singletons — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Those languages run requests on shared-memory threads, so a shared instance mutated without a lock is the same defect this card counts in C#, Java, Kotlin, Python, Go, Swift, Scala, Ruby and F#, but their singleton shapes are not read yet. That is a gap in this analyzer's language reach — not a finding that the code is free of it.
- AX3 Project dependency cycles — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over which project references which. That is a language-neutral question, but the project-reference graph is collected from MSBuild .csproj/.fsproj/.vbproj, Gradle, Maven, Cargo, npm/pnpm/yarn, Go module (and dep/glide/godep), Python pyproject.toml/setup.cfg/setup.py, SwiftPM, sbt, Mill, RubyGems, Composer, Mix/rebar3, pub, Unity assembly-definition, Deno/JSR, Tuist, CMake, Bazel, Xcode and XcodeGen builds and uni-app uni_modules plugins, or — when none declares a module — from the imports between a JavaScript/TypeScript, Python or Ruby tree's top-level directories, or as one module when all of a tree's source is one directory, and this repository offers none of them — so there was no graph to read, and re-running the same commit reads the same nothing. No module manifest of any ecosystem this engine recognises was found either, and the source's own imports could not stand in: they are read for JavaScript/TypeScript, Python and Ruby only, and only when those languages are the product — in any other language a tree is read only when its whole source is one directory, which this one's is not. The collector owed is an import reader for this repository's languages. That is a COLLECTOR gap in this analyzer — no change to the scan image closes it — and not a finding that the repository is free of what this check looks for.
- AX4 Dependency direction — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the direction each project reference points. That is a language-neutral question, but the project-reference graph is collected from MSBuild .csproj/.fsproj/.vbproj, Gradle, Maven, Cargo, npm/pnpm/yarn, Go module (and dep/glide/godep), Python pyproject.toml/setup.cfg/setup.py, SwiftPM, sbt, Mill, RubyGems, Composer, Mix/rebar3, pub, Unity assembly-definition, Deno/JSR, Tuist, CMake, Bazel, Xcode and XcodeGen builds and uni-app uni_modules plugins, or — when none declares a module — from the imports between a JavaScript/TypeScript, Python or Ruby tree's top-level directories, or as one module when all of a tree's source is one directory, and this repository offers none of them — so there was no graph to read, and re-running the same commit reads the same nothing. No module manifest of any ecosystem this engine recognises was found either, and the source's own imports could not stand in: they are read for JavaScript/TypeScript, Python and Ruby only, and only when those languages are the product — in any other language a tree is read only when its whole source is one directory, which this one's is not. The collector owed is an import reader for this repository's languages. That is a COLLECTOR gap in this analyzer — no change to the scan image closes it — and not a finding that the repository is free of what this check looks for.
- AX8 Test isolation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over which projects are test projects, and what they reference. That is a language-neutral question, but the project-reference graph is collected from MSBuild .csproj/.fsproj/.vbproj, Gradle, Maven, Cargo, npm/pnpm/yarn, Go module (and dep/glide/godep), Python pyproject.toml/setup.cfg/setup.py, SwiftPM, sbt, Mill, RubyGems, Composer, Mix/rebar3, pub, Unity assembly-definition, Deno/JSR, Tuist, CMake, Bazel, Xcode and XcodeGen builds and uni-app uni_modules plugins, or — when none declares a module — from the imports between a JavaScript/TypeScript, Python or Ruby tree's top-level directories, or as one module when all of a tree's source is one directory, and this repository offers none of them — so there was no graph to read, and re-running the same commit reads the same nothing. No module manifest of any ecosystem this engine recognises was found either, and the source's own imports could not stand in: they are read for JavaScript/TypeScript, Python and Ruby only, and only when those languages are the product — in any other language a tree is read only when its whole source is one directory, which this one's is not. The collector owed is an import reader for this repository's languages. That is a COLLECTOR gap in this analyzer — no change to the scan image closes it — and not a finding that the repository is free of what this check looks for.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — 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. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- P5 DR & Backup — 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. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found. Whether there is anything here to recover could NOT be determined: persistence is detected from deployment/container manifests and from dependency manifests, and neither was readable by this pass, so a data store this code opens directly — a file, an embedded database — would not be visible to it. The blindness is this analyzer's, not a finding that the repository holds no data. You can widen what we reach: keep the deployment/container manifest or a dependency manifest in this repository — or a link to the ops repo that holds the DR evidence — so the persistence probe has something to read.
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.
- 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.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- 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.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- 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.
- 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
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
3 duplicated block group(s) detected. 2 of the 3 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
What to do
- Resolve the 1 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with SendMediaGroup.scala. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with WebhookBot.scala. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (24 lines × 2) finding(s) in Code Duplication — start with CommandsBot.scala. — 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.
D6 · Cohesion (LCOM4)
0 of 4 classes have LCOM4 above 3.
D9 · Test Distribution
55 test methods: 55 unit, 0 integration, 0 BDD, 0 e2e. The Scala suite contributes 55 test case(s) across 7 file(s) in a test source set declaring at least one — every `test("…")`, `it("…")`, `property("…")` and `"…" in {…}` registration and every JUnit `@Test`, which is how munit, ScalaTest, utest, ZIO Test and specs2 declare a case; a case registered under a computed name is not counted, so this is a floor. Its tier split is INFERRED from paths and file names, except sbt's src/it source set, which the build declares.
D13 · REDACTED Scanning
2 secret(s) detected.
What to do
- Resolve the 2 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Enforce REDACTED Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
1 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is core/src/com/bot4s/telegram/models/Message.scala. Counted over 47 of the 249 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
0 deducted task-comment markers across 12603 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README is clear and complete for a project that wraps the Telegram Bot API. It opens with an image and a one-line description of what it does (idiomatic Scala wrapper), links to the official Telegram Bot API docs, Maven Central, and a license badge, then lists a table of contents covering Installation, Quickstart with scala-cli, Examples, Leaking bot tokens, Webhooks vs Polling, Payments, Games, Deployment, Running the examples, A note on implicits, Versioning, Authors, and License. The companion architecture/Docs markdown file docs/index.md is also present and complete (Bot object; Handling messages; Handling inline queries).
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 0 sampled symbols.
D26 · Project Cohesion
1 of 1 build units (checkout) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
2 finding(s): 0 critical, 2 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 2 REDACTED finding(s) in Secrets (history) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
11 finding(s): 0 critical, 10 high, 1 medium, 0 low. 8 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens.
What to do
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- No action in Static Analysis (SAST) — all 8 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (8 issue-level, 0 of them charged here).
D34 · Knowledge Freshness
3 of 47 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is core/src/com/bot4s/telegram/models/CountryCode.scala. Counted over 47 of the 249 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 3 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 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).
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX2 · Stateful singletons
AX6 · Interface segregation
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- 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
M4 · Documentation accuracy
- README advertises Docker containerisation, but no Dockerfile/compose file exists — searched for: `dockerfile`, `docker-compose`, `compose.yaml`, `compose.yml`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:297
What to do
- Reconcile the README with reality: README advertises Docker containerisation, but no Dockerfile/compose file exists.
P1 · CI/CD gates
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics (opentelemetry-java or Micrometer) and a health-check endpoint (Spring Boot Actuator's /actuator/health, or a /health route) for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add scalafix or scapegoat (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 2609 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: scalafix or scapegoat — 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
- No release automation was found in CI — neither a deploy stage (Helm/Kubernetes/compose manifests, an orchestrated rollout) nor a publish job that ships the built artifact. Releases appear to be run by hand, which is slower, less repeatable and harder to reverse.
What to do
- Automate the release in CI — a deploy stage for a service (Helm/Kubernetes manifests or an equivalent rollout), or a tag-triggered publish job for an artifact — so releases are repeatable and reversible.
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.
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is set on a response this repository's Scala server sends — defense in depth, even when a proxy could set them. (−2.0 on this card.) The server: pekko/src/com/bot4s/telegram/api/WebRoutes.scala:30 — `newServerAt`.
- No handler of this repository's Scala server answers 400, 413 or 422 (`BadRequest`, `StatusCodes.BadRequest`, `Status.BadRequest`, `UnprocessableEntity`), and nothing declares validation — no Play `Form(mapping(…))` or `validate[T]`, no tapir `Validator`, no akka/pekko-http `validate(…)` or `withSizeLimit`, no validation library (refined, iron, accord, cats `Validated`, Jakarta Bean Validation) — nothing shows inbound requests being checked, and refused, before a handler acts on them. A check that answers its failure with 200 and an error body is not seen. (−2.0 on this card.) The server: pekko/src/com/bot4s/telegram/api/WebRoutes.scala:30 — `newServerAt`.
What to do
- Set security response headers on what the server sends — keep Play's `SecurityHeadersFilter` enabled, wrap akka/pekko-http routes in `respondWithHeaders(RawHeader("X-Content-Type-Options", "nosniff"), …)`, or add an http4s middleware that sets `Content-Security-Policy`, `X-Content-Type-Options` and a frame policy on every response.
- Validate what the server reads from a request — path, query, headers, body size and shape — and answer what fails with 400 (413 for an oversized body) before a handler acts on it: a Play form or `validate[T]` answered with `BadRequest`, tapir `Validator`s on the endpoint's inputs, or akka/pekko-http's `validate(…)` and `withSizeLimit` directives.
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
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- No build over this repository's 249 Scala product file(s) passes `-Yexplicit-nulls`, enables WartRemover's `Null` wart or runs Scalafix's `DisableSyntax.noNulls`, so every reference type admits null and nothing reports a `null` written into the code or returned from a Java API — the first one to reach a method call is a `NullPointerException`. `Option` by convention is a habit no tool here holds the code to.
What to do
- On Scala 3, add `-Yexplicit-nulls` to `scalacOptions` so `String` and `String | Null` mean different things, and type each Java API's result as nullable where it can return null; on Scala 2 (or as a first step), enable WartRemover's `Null` wart (`wartremoverErrors += Wart.Null`) or Scalafix's `DisableSyntax.noNulls = true` so the code holds absence in `Option`. Then pay the assertions down rather than adding to them: each `.nn` is a null the compiler could not rule out — wrap the Java value in `Option(…)` at the boundary, pattern-match on `null` once there, or change the API so the null cannot arrive; an `unsafeNulls` import switches the checking off for everything after it.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 76% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 87% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 55% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 28% | Weak — gated by D13, P3, P4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 58% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
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 — 60 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: this repository's JavaScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; this repository's Scala imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX3 Project dependency cycles — not assessed — project cycles and dependency direction are computed over a project-reference graph that was not loaded for this repository, because the repository commits no project file of a kind this check models. This is a gap in the analyzer, not a finding about this repository
- AX4 Dependency direction — not assessed — project cycles and dependency direction are computed over a project-reference graph that was not loaded for this repository, because the repository commits no project file of a kind this check models. This is a gap in the analyzer, not a finding about this repository
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — not assessed — test isolation is computed from a project graph (which projects are test projects, and what they reference) that was not loaded for this repository, because the repository commits no project file of a kind this check models. This is a gap in the analyzer, not a finding about this repository
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named column (email, first_name, date_of_birth, phone_number, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, a MongoDB or Cassandra driver, JDBC) imported either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~548 lines of test source are present (.scala) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — no .scala test runner
- D12 Dependency Hygiene — Dependency hygiene not measured — no supported dependency manifest was read
- D14 License Compliance — No dependency manifest found — no declared dependency closure to grade for licences
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.scala), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D30 Dependency Vulnerabilities — 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).
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- 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
- D5 Coupling — D5 reads a .NET project-reference graph only — this repository's production source is .scala, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM1 Domain Modelling — applicable but not scored (1 of 2 signals for this style — below the bar we score at): 160 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
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for `@Benchmark` in a Java, Kotlin or Scala file importing JMH or kotlinx-benchmark, Jetpack Benchmark's `measureRepeated` in a file importing androidx.benchmark, or JMH/kotlinx-benchmark/androidx.benchmark in a pom.xml, Gradle or sbt build, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Scala code has 11,728 production line(s), 1 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — no C# was loaded; this repository's Scala was read, and no request in it can be cancelled by a caller — a Scala request takes no token: a Future cannot be cancelled, and cats-effect, ZIO and Monix interrupt the fiber that made the request from outside the call, not through a parameter
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — 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 Scala was read, and it logs through none that an interpolated message defeats: scala-logging takes an `s"…"` message apart into SLF4J's pattern and arguments at compile time, and log4s, grizzled-slf4j, Play's Logger, Akka's LoggingAdapter, sbt's Logger and Spark's Logging take one finished message (as log4net does in C#). Calls made straight through SLF4J (`org.slf4j.Logger`) 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 — 14 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 9 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (6 lines × 2) core/src/com/bot4s/telegram/methods/SendMediaGroup.scala:35
- Duplicated block (9 lines × 2) examples/src-jvm-2/WebhookBot.scala:24
- Duplicated block (24 lines × 2) examples/src-cats/CommandsBot.scala:31
- No deployment automation
Minor — 19 finding(s)
- Orphaned file core/src/com/bot4s/telegram/models/CountryCode.scala:1
- Orphaned file core/src/com/bot4s/telegram/api/declarative/Callbacks.scala:1
- Orphaned file pekko/src/com/bot4s/telegram/marshalling/PekkoHttpMarshalling.scala:1
- Off-boarding risk: anonymized user #1
- Documentation: no architecture or design documentation README.md
- No ADRs found
- Projects may be oversized for their cohesion
- REDACTED
- Orphaned files with no living knowledge
- REDACTED
- REDACTED
- No ADRs
- No architecture diagram/doc
- README/code drift README.md:297
- No SAST
- No changelog
- No security response headers detected
- No inbound request validation detected
- Scala's null is not held to the type system everywhere
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-1d6276e985034711a5d35fac9772d018/history.json --exit-code 0 --source . | 1 | 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-1d6276e985034711a5d35fac9772d018/tree.json --exit-code 0 --source . | 1 | 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 . | 11 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | 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 | — |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | 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 | — |