File Summary: Utilities.java |
|
| current inspection = 2009-09-04 18:33:31 (id #2) | base = 2009-09-04 18:33:31 (id #1) |
Hot Spots -- Methods with deltas or higher-probability messages listed first |
All_Methods |
| Method | high | medium | low | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |||||
| stringToIntArray | +1 | 1 | +1 | 1 | |||||||||
| stringToStringArray | +1 | 1 | +1 | 1 | |||||||||
| stringArrayToString | +1 | 1 | |||||||||||
| stripInvalidTagCharacters | +4 | 4 | |||||||||||
| encodePassword | +3 | 3 | |||||||||||
| removeNonAlphanumeric | +2 | 2 | |||||||||||
| replaceNonAlphanumeric | +2 | 2 | |||||||||||
| truncateText | +2 | 2 | |||||||||||
| decodeString | +1 | 1 | |||||||||||
| encodeString | +1 | 1 | |||||||||||
| toBase64 | +1 | 1 | |||||||||||
| truncate | +1 | 1 | |||||||||||
| Total | 0 | +3 | 3 | +19 | 19 | ||||||||
|
|||||||||||||
Method: String decodeString(String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| unused assignment |   |   | +1 | 1 | |||||
| Total | 0 | 0 | +1 | 1 | |||||
Method: String encodePassword(String, String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | +2 | 2 | |||||
| test always goes same way |   |   | +1 | 1 | |||||
| Total | 0 | 0 | +3 | 3 | |||||
Method: String encodeString(String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| unused assignment |   |   | +1 | 1 | |||||
| Total | 0 | 0 | +1 | 1 | |||||
Method: String removeNonAlphanumeric(String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | +2 | 2 | |||||
| Total | 0 | 0 | +2 | 2 | |||||
Method: String replaceNonAlphanumeric(String, char) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | +2 | 2 | |||||
| Total | 0 | 0 | +2 | 2 | |||||
Method: String stringArrayToString(String[], String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| null dereference |   | +1 | 1 |   | |||||
| Total | 0 | +1 | 1 | 0 | |||||
Method: int[] stringToIntArray(String, String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| array index out of bounds |   | +1 | 1 |   | |||||
| overflow |   |   | +1 | 1 | |||||
| Total | 0 | +1 | 1 | +1 | 1 | ||||
Method: String[] stringToStringArray(String, String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| array index out of bounds |   | +1 | 1 |   | |||||
| overflow |   |   | +1 | 1 | |||||
| Total | 0 | +1 | 1 | +1 | 1 | ||||
Method: String stripInvalidTagCharacters(String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | +4 | 4 | |||||
| Total | 0 | 0 | +4 | 4 | |||||
Method: String toBase64(byte[]) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| unused assignment |   |   | +1 | 1 | |||||
| Total | 0 | 0 | +1 | 1 | |||||
Method: String truncate(String, int, int, String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| unused assignment |   |   | +1 | 1 | |||||
| Total | 0 | 0 | +1 | 1 | |||||
Method: String truncateText(String, int, int, String) |
top |
| Category | high | medium | low | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| unused assignment |   |   | +2 | 2 | |||||
| Total | 0 | 0 | +2 | 2 | |||||
All Methods |
top |
| Utilities.java | 2009-Jan-02 14:25:28 |
| Utilities.class | 2009-Sep-04 03:12:32 |