View by Classes

Findings - Overview

info Method creates array using constants (Findbugs)

Further info on the wiki.

This method creates an array initialized by constants. Each time this method is called this array will be recreated. It would be more performant to define the array as a static field of the class instead.

2org.jcoderz.phoenix.report.JcSummaryReportAntTask
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createLocChart(Map, Map, String) creates array using constants [621],
Method org.jcoderz.phoenix.report.JcSummaryReportAntTask.createQualityChart(Map, Map, String) creates array using constants [575]
2org.jcoderz.commons.util.SerializableIteratorTest
Method org.jcoderz.commons.util.SerializableIteratorTest.testContentsAndBoundaries() creates array using constants (test code) [82],
Method org.jcoderz.commons.util.SerializableIteratorTest.testSerialization() creates array using constants (test code) [64]
2org.jcoderz.commons.util.HexUtilTest
Method org.jcoderz.commons.util.HexUtilTest.testInvalidStrings() creates array using constants (test code) [156],
Method org.jcoderz.commons.util.HexUtilTest.testValidStrings() creates array using constants (test code) [141]
1org.jcoderz.commons.taskdefs.XsltBasedTask
Method org.jcoderz.commons.taskdefs.XsltBasedTask.getEntityResolver() creates array using constants [524]
1org.jcoderz.phoenix.report.StatisticCollector
Method org.jcoderz.phoenix.report.StatisticCollector.createLocChart(Map, Map, String) creates array using constants [391]