Repository navigation
feat(paper): shared command roots and migration-ready arguments - #13
6 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 1
- Added 6
Complexity increasing per file
==============================
- nexus-paper/src/main/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandScanner.kt 9
- nexus-paper/src/main/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandRegistry.kt 31
- nexus-paper/src/main/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandPlanner.kt 10
- nexus-paper/src/test/kotlin/fixtures/invalid/InvalidGreedyFixture.kt 1
- nexus-paper/src/test/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandCompositionTest.kt 12
See the complete overview on Codacy
Annotations
codacy-production / Codacy Static Code Analysis
nexus-paper/src/main/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandPlanner.kt#L21
Method plan has 22 lines of code (limit is 20)
codacy-production / Codacy Static Code Analysis
nexus-paper/src/main/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandRegistry.kt#L139
Method (anonymous) has 30 lines of code (limit is 20)
codacy-production / Codacy Static Code Analysis
nexus-paper/src/main/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandRegistry.kt#L139
Method (anonymous) has a cyclomatic complexity of 8 (limit is 5)
codacy-production / Codacy Static Code Analysis
nexus-paper/src/main/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandRegistry.kt#L174
Method argumentValues has 21 lines of code (limit is 20)
codacy-production / Codacy Static Code Analysis
nexus-paper/src/main/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandRegistry.kt#L200
Method contextValue has a cyclomatic complexity of 6 (limit is 5)
codacy-production / Codacy Static Code Analysis
nexus-paper/src/main/kotlin/net/badgersmc/nexus/paper/commands/PaperCommandRegistry.kt#L226
Method parseDefault has a cyclomatic complexity of 7 (limit is 5)