release 5.0.0 #48
release 5.0.0 #48
10 new issues (0 max.) of at least severity.
Annotations
codacy-production / Codacy Static Code Analysis
annotations-addon/src/main/java/fr/traqueur/commands/annotations/AnnotationCommandProcessor.java#L40
The method 'processHandler(Object)' has an NPath complexity of 576, current threshold is 200
codacy-production / Codacy Static Code Analysis
annotations-addon/src/main/java/fr/traqueur/commands/annotations/AnnotationCommandProcessor.java#L154
You should not modify visibility of constructors, methods or fields using setAccessible()
codacy-production / Codacy Static Code Analysis
annotations-addon/src/main/java/fr/traqueur/commands/annotations/AnnotationCommandProcessor.java#L276
Avoid throwing raw exception types.
codacy-production / Codacy Static Code Analysis
annotations-addon/src/main/java/fr/traqueur/commands/annotations/AnnotationCommandProcessor.java#L317
Avoid throwing raw exception types.
Check notice on line 401 in core/src/main/java/fr/traqueur/commands/api/models/Command.java
codacy-production / Codacy Static Code Analysis
core/src/main/java/fr/traqueur/commands/api/models/Command.java#L401
These nested if statements could be combined
Check failure on line 96 in core/src/main/java/fr/traqueur/commands/api/updater/Updater.java
codacy-production / Codacy Static Code Analysis
core/src/main/java/fr/traqueur/commands/api/updater/Updater.java#L96
DOCTYPE declarations are enabled for this DocumentBuilderFactory.
Check failure on line 96 in core/src/main/java/fr/traqueur/commands/api/updater/Updater.java
codacy-production / Codacy Static Code Analysis
core/src/main/java/fr/traqueur/commands/api/updater/Updater.java#L96
DOCTYPE declarations are enabled for this DocumentBuilderFactory.
Check warning on line 27 in core/src/test/java/fr/traqueur/commands/api/CommandManagerTest.java
codacy-production / Codacy Static Code Analysis
core/src/test/java/fr/traqueur/commands/api/CommandManagerTest.java#L27
Perhaps 'logger' could be replaced by a local variable.
Check warning on line 23 in core/src/test/java/fr/traqueur/commands/test/mocks/MockPlatform.java
codacy-production / Codacy Static Code Analysis
core/src/test/java/fr/traqueur/commands/test/mocks/MockPlatform.java#L23
Perhaps 'commandManager' could be replaced by a local variable.
Check warning on line 125 in jda/src/main/java/fr/traqueur/commands/jda/JDAExecutor.java
codacy-production / Codacy Static Code Analysis
jda/src/main/java/fr/traqueur/commands/jda/JDAExecutor.java#L125
The method 'onCommandAutoCompleteInteraction(CommandAutoCompleteInteractionEvent)' has an NPath complexity of 768, current threshold is 200