Context
During the migration from ktlint to detekt, many code quality issues were temporarily suppressed to allow the migration to proceed without blocking all development.
Update (2026-03-21)
A new issue #108 has been created specifically for the InvalidPackageDeclaration problem. The issue #107 now focuses only on the architecture violations that were suppressed.
Technical Debt - Refactoring Required
The following suppressions were added with // TODO: Refactor... (issue: #detekt-suppress) comments:
1. TooManyFunctions - GuildLavaPlayerService.kt
- Current: 39 functions in class
- Threshold: 20
2. LongParameterList - PaginatedEmbedUtils.kt
3. LongParameterList - CommandHandlerServiceImpl
- Current: 16 constructor parameters
4. LongMethod + CyclomaticComplexMethod + NestedBlockDepth - AudioPlayerManagerProvider.kt
5. CyclomaticComplexMethod - CommandHandlerServiceImpl.onExecute
6. LongMethod - ConfigSetCommand.onExecute
7. LongMethod - PlayerCommons.kt
8. ThrowsCount - GuildQueueService.getOrCreateLavaPlayerService
9. SpreadOperator - BotException.kt
- Uses vararg which triggers warning when forwarding
Related Issues
Context
During the migration from ktlint to detekt, many code quality issues were temporarily suppressed to allow the migration to proceed without blocking all development.
Update (2026-03-21)
A new issue #108 has been created specifically for the InvalidPackageDeclaration problem. The issue #107 now focuses only on the architecture violations that were suppressed.
Technical Debt - Refactoring Required
The following suppressions were added with
// TODO: Refactor... (issue: #detekt-suppress)comments:1. TooManyFunctions -
GuildLavaPlayerService.kt2. LongParameterList -
PaginatedEmbedUtils.kt3. LongParameterList -
CommandHandlerServiceImpl4. LongMethod + CyclomaticComplexMethod + NestedBlockDepth -
AudioPlayerManagerProvider.kt5. CyclomaticComplexMethod -
CommandHandlerServiceImpl.onExecute6. LongMethod -
ConfigSetCommand.onExecute7. LongMethod -
PlayerCommons.kt8. ThrowsCount -
GuildQueueService.getOrCreateLavaPlayerService9. SpreadOperator -
BotException.ktRelated Issues