This project has retired. For details please refer to its Attic page.
Chukwa - FindBugs Bug Detector Report

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
485 21 0 0

org.apache.hadoop.chukwa.ChukwaArchiveKey$Comparator

Bug Category Details Line Priority
Dead store to l1 in org.apache.hadoop.chukwa.ChukwaArchiveKey$Comparator.compareRaw(byte[], int, int, byte[], int, int) STYLE DLS_DEAD_LOCAL_STORE 359 Medium
Dead store to l2 in org.apache.hadoop.chukwa.ChukwaArchiveKey$Comparator.compareRaw(byte[], int, int, byte[], int, int) STYLE DLS_DEAD_LOCAL_STORE 360 Medium
Dead store to s2 in org.apache.hadoop.chukwa.ChukwaArchiveKey$Comparator.compareRaw(byte[], int, int, byte[], int, int) STYLE DLS_DEAD_LOCAL_STORE 358 Medium
Dead store to l in org.apache.hadoop.chukwa.ChukwaArchiveKey$Comparator.slurpRaw(byte[], int, int) STYLE DLS_DEAD_LOCAL_STORE 286 Medium
org.apache.hadoop.chukwa.ChukwaArchiveKey$Comparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 258-370 Medium

org.apache.hadoop.chukwa.analysis.salsa.fsm.FSMBuilder

Bug Category Details Line Priority
Dead store to res in org.apache.hadoop.chukwa.analysis.salsa.fsm.FSMBuilder.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 451 Medium

org.apache.hadoop.chukwa.datacollection.collector.servlet.LogDisplayServlet

Bug Category Details Line Priority
The field org.apache.hadoop.chukwa.datacollection.collector.servlet.LogDisplayServlet.chunksBySID is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium

org.apache.hadoop.chukwa.datastore.ChukwaHBaseStore

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.hadoop.chukwa.datastore.ChukwaHBaseStore.getData(ArrayList, long, long): new String(byte[]) I18N DM_DEFAULT_ENCODING 729 High

org.apache.hadoop.chukwa.extraction.archive.ChukwaArchiveBuilder

Bug Category Details Line Priority
Dead store to res in org.apache.hadoop.chukwa.extraction.archive.ChukwaArchiveBuilder.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 143 Medium

org.apache.hadoop.chukwa.extraction.demux.Demux

Bug Category Details Line Priority
Dead store to res in org.apache.hadoop.chukwa.extraction.demux.Demux.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 263 Medium
org.apache.hadoop.chukwa.extraction.demux.Demux.jobConf isn't final and can't be protected from malicious code MALICIOUS_CODE MS_CANNOT_BE_FINAL 64 Medium

org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordJT

Bug Category Details Line Priority
Class org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordJT defines non-transient non-serializable instance field mapFields BAD_PRACTICE SE_BAD_FIELD Not available High

org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordJT$Comparator

Bug Category Details Line Priority
org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordJT$Comparator is Serializable but its superclass doesn't define an accessible void constructor BAD_PRACTICE SE_NO_SUITABLE_CONSTRUCTOR 267-376 High

org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordKey$Comparator

Bug Category Details Line Priority
Dead store to l2 in org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordKey$Comparator.compareRaw(byte[], int, int, byte[], int, int) STYLE DLS_DEAD_LOCAL_STORE 260 High
Dead store to l in org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordKey$Comparator.slurpRaw(byte[], int, int) STYLE DLS_DEAD_LOCAL_STORE 221 High
Dead store to l1 in org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordKey$Comparator.compareRaw(byte[], int, int, byte[], int, int) STYLE DLS_DEAD_LOCAL_STORE 269 Medium
Dead store to s2 in org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordKey$Comparator.compareRaw(byte[], int, int, byte[], int, int) STYLE DLS_DEAD_LOCAL_STORE 267 Medium
org.apache.hadoop.chukwa.extraction.engine.ChukwaRecordKey$Comparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 205-279 Medium

org.apache.hadoop.chukwa.hicc.rest.PieChartController

Bug Category Details Line Priority
Unread field: org.apache.hadoop.chukwa.hicc.rest.PieChartController.sdf PERFORMANCE URF_UNREAD_FIELD 51 Medium

org.apache.hadoop.chukwa.hicc.rest.TileController

Bug Category Details Line Priority
Unread field: org.apache.hadoop.chukwa.hicc.rest.TileController.sdf PERFORMANCE URF_UNREAD_FIELD 50 Medium

org.apache.hadoop.chukwa.util.ConstRateValidator

Bug Category Details Line Priority
Dead store to res in org.apache.hadoop.chukwa.util.ConstRateValidator.main(String[]) STYLE DLS_DEAD_LOCAL_STORE 278 Medium