Filter by:
File Violation Severity
tools/src/io/anuke/mindustry/SquareMarcher.java NcssCount   (kritika/PMD Java)
The method 'render(Pixmap, FileHandle)' has a NCSS line count of 82.
Warning
tools/src/io/anuke/mindustry/ImagePacker.java NcssCount   (kritika/PMD Java)
The method 'main(String)' has a NCSS line count of 44.
Warning
tools/src/io/anuke/mindustry/Generators.java NcssCount   (kritika/PMD Java)
The method 'generate()' has a NCSS line count of 184.
Warning
tools/src/io/anuke/mindustry/BundleLauncher.java NcssCount   (kritika/PMD Java)
The method 'main(String)' has a NCSS line count of 40.
Warning
tests/src/test/java/power/PowerTests.java NcssCount   (kritika/PMD Java)
The method 'directConsumptionStopsWithNoPower()' has a NCSS line count of 16.
Warning
tests/src/test/java/power/PowerTests.java NcssCount   (kritika/PMD Java)
The method 'simulateDirectConsumptionWithBattery(float, float, float, float, float, String)' has a NCSS line count of 18.
Warning
tests/src/test/java/power/ItemLiquidGeneratorTests.java NcssCount   (kritika/PMD Java)
The method 'testItemDuration(InputType)' has a NCSS line count of 12.
Warning
tests/src/test/java/power/ItemLiquidGeneratorTests.java NcssCount   (kritika/PMD Java)
The method 'simulateItemConsumption(InputType, Item, int, String)' has a NCSS line count of 13.
Warning
tests/src/test/java/power/ItemLiquidGeneratorTests.java NcssCount   (kritika/PMD Java)
The method 'generatorWorksProperlyWithItemInput()' has a NCSS line count of 14.
Warning
tests/src/test/java/power/ItemLiquidGeneratorTests.java NcssCount   (kritika/PMD Java)
The method 'simulateLiquidConsumption(InputType, Liquid, float, String)' has a NCSS line count of 12.
Warning
tests/src/test/java/power/ItemLiquidGeneratorTests.java NcssCount   (kritika/PMD Java)
The method 'generatorWorksProperlyWithLiquidInput()' has a NCSS line count of 12.
Warning
tests/src/test/java/power/ItemLiquidGeneratorTests.java NcssCount   (kritika/PMD Java)
The method 'createGenerator(InputType)' has a NCSS line count of 12.
Warning
tests/src/test/java/power/DirectConsumerTests.java NcssCount   (kritika/PMD Java)
The method 'testUnitFactory(int, int, float, float, float)' has a NCSS line count of 17.
Warning
tests/src/test/java/ZoneTests.java NcssCount   (kritika/PMD Java)
The method 'testZoneValidity()' has a NCSS line count of 34.
Warning
tests/src/test/java/ApplicationTests.java NcssCount   (kritika/PMD Java)
The method 'depositTest(Block, Item)' has a NCSS line count of 13.
Warning
tests/src/test/java/ApplicationTests.java NcssCount   (kritika/PMD Java)
The method 'allBlockTest()' has a NCSS line count of 23.
Warning
tests/src/test/java/ApplicationTests.java NcssCount   (kritika/PMD Java)
The method 'buildingDestruction()' has a NCSS line count of 19.
Warning
tests/src/test/java/ApplicationTests.java NcssCount   (kritika/PMD Java)
The method 'launchApplication()' has a NCSS line count of 27.
Warning
server/src/io/anuke/mindustry/server/ServerControl.java NcssCount   (kritika/PMD Java)
The method 'toggleSocket(boolean)' has a NCSS line count of 27.
Warning
tools/src/io/anuke/mindustry/Upscaler.java NcssCount   (kritika/PMD Java)
The method 'scale()' has a NCSS line count of 18.
Warning