Filter by:
File Violation Severity
server/src/io/anuke/mindustry/server/ServerControl.java SystemPrintln   (kritika/PMD Java)
System.out.print is used
Critical
server/src/io/anuke/mindustry/server/ServerControl.java SystemPrintln   (kritika/PMD Java)
System.out.println is used
Critical
tools/src/io/anuke/mindustry/BundleLauncher.java AvoidFileStream   (kritika/PMD Java)
Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter
Critical
tests/src/test/java/power/ItemLiquidGeneratorTests.java MethodNamingConventions   (kritika/PMD Java)
The JUnit 4 test method name 'efficiencyRemainsConstantWithinItemDuration_ItemsOnly' doesn't match '[a-z][a-zA-Z0-9]+'
Critical
server/src/io/anuke/mindustry/server/ServerControl.java GuardLogStatement   (kritika/PMD Java)
There is log block not surrounded by if
Critical
tests/src/test/java/power/PowerTestFixture.java ClassNamingConventions   (kritika/PMD Java)
The utility class name 'PowerTestFixture' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper)'
Critical
tools/src/io/anuke/mindustry/Image.java AvoidThrowingRawExceptionTypes   (kritika/PMD Java)
Avoid throwing raw exception types.
Critical
tools/src/io/anuke/mindustry/BundleLauncher.java AvoidThrowingRawExceptionTypes   (kritika/PMD Java)
Avoid throwing raw exception types.
Critical
tests/src/test/java/power/PowerTestFixture.java AvoidThrowingRawExceptionTypes   (kritika/PMD Java)
Avoid throwing raw exception types.
Critical
tests/src/test/java/power/ItemLiquidGeneratorTests.java MethodNamingConventions   (kritika/PMD Java)
The JUnit 4 test method name 'efficiencyRemainsConstantWithinItemDuration_ItemsAndLiquids' doesn't match '[a-z][a-zA-Z0-9]+'
Critical
server/src/io/anuke/mindustry/server/ServerControl.java GuardLogStatement   (kritika/PMD Java)
There is log block not surrounded by if
Critical
server/src/io/anuke/mindustry/server/ServerControl.java DoNotCallGarbageCollectionExplicitly   (kritika/PMD Java)
Do not explicitly trigger a garbage collection.
Critical
server/src/io/anuke/mindustry/server/ServerControl.java GuardLogStatement   (kritika/PMD Java)
There is log block not surrounded by if
Critical
server/src/io/anuke/mindustry/server/ServerControl.java SystemPrintln   (kritika/PMD Java)
System.out.print is used
Critical
tools/src/io/anuke/mindustry/Upscaler.java ClassNamingConventions   (kritika/PMD Java)
The utility class name 'Upscaler' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper)'
Critical
tools/src/io/anuke/mindustry/ImagePacker.java ClassNamingConventions   (kritika/PMD Java)
The utility class name 'ImagePacker' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper)'
Critical
tools/src/io/anuke/mindustry/Generators.java AvoidThrowingRawExceptionTypes   (kritika/PMD Java)
Avoid throwing raw exception types.
Critical
tools/src/io/anuke/mindustry/Generators.java ClassNamingConventions   (kritika/PMD Java)
The utility class name 'Generators' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper)'
Critical
server/src/io/anuke/mindustry/server/ServerControl.java VariableNamingConventions   (kritika/PMD Java)
Variables that are final and static should be all capitals, 'maxLogLength' is not all capitals.
Critical
server/src/io/anuke/mindustry/server/ServerControl.java VariableNamingConventions   (kritika/PMD Java)
Variables that are final and static should be all capitals, 'commandSocketPort' is not all capitals.
Critical