File Summary: PluginInfo.java |
|
| current inspection = 2009-09-03 21:56:13 (id #1) | base = 2009-09-03 21:56:13 (id #1) |
Hot Spots -- Methods with deltas or higher-probability messages listed first |
All_Methods |
| Method | High Prob. | Medium Prob. | Low Prob. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |||||
| loadClass | 11 | 11 | 9 | 9 | |||||||||
| com.dmdirc. |
6 | 6 | 1 | 1 | |||||||||
| unloadPlugin | 4 | 4 | 1 | 1 | |||||||||
| updateProvides | 2 | 2 | 2 | 2 | |||||||||
| checkRequirements | 2 | 2 | 1 | 1 | |||||||||
| checkServices | 1 | 1 | 4 | 4 | |||||||||
| loadPlugin | 1 | 1 | 4 | 4 | |||||||||
| loadRequired | 1 | 1 | 4 | 4 | |||||||||
| getMaxVersion | 1 | 1 | 3 | 3 | |||||||||
| getMinVersion | 1 | 1 | 1 | 1 | |||||||||
| getConfigFile | 1 | 1 | |||||||||||
| getMigratedConfigFile | 1 | 1 | |||||||||||
| getPersistentClasses | 1 | 1 | |||||||||||
| isUnloadable | 1 | 1 | |||||||||||
| loadAll | 1 | 1 | |||||||||||
| pluginUpdated | 1 | 1 | |||||||||||
| checkOS | 8 | 8 | |||||||||||
| checkFiles | 4 | 4 | |||||||||||
| checkPlugins | 4 | 4 | |||||||||||
| updateExports | 3 | 3 | |||||||||||
| compareTo | 1 | 1 | |||||||||||
| updateMetaData | 1 | 1 | |||||||||||
| Total | 0 | 36 | 36 | 51 | 51 | ||||||||
|
|||||||||||||
Method: bool checkFiles(String) |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | 2 | 2 | |||||
| dead code |   |   | 1 | 1 | |||||
| test always goes same way |   |   | 1 | 1 | |||||
| Total | 0 | 0 | 4 | 4 | |||||
Method: bool checkOS(String, String, String, String) |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | 4 | 4 | |||||
| dead code |   |   | 2 | 2 | |||||
| test always goes same way |   |   | 2 | 2 | |||||
| Total | 0 | 0 | 8 | 8 | |||||
Method: bool checkPlugins(String) |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | 2 | 2 | |||||
| dead code |   |   | 1 | 1 | |||||
| test always goes same way |   |   | 1 | 1 | |||||
| Total | 0 | 0 | 4 | 4 | |||||
Method: bool checkRequirements(bool) |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| precondition failure |   | 2 | 2 |   | |||||
| test always goes same way |   |   | 1 | 1 | |||||
| Total | 0 | 2 | 2 | 1 | 1 | ||||
Method: bool checkServices(List) |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | 3 | 3 | |||||
| null dereference |   | 1 | 1 |   | |||||
| unused assignment |   |   | 1 | 1 | |||||
| Total | 0 | 1 | 1 | 4 | 4 | ||||
Method: void com.dmdirc.plugins.PluginInfo(URL, bool) |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| null dereference |   | 5 | 5 |   | |||||
| conditional throw |   | 1 | 1 | 1 | 1 | ||||
| Total | 0 | 6 | 6 | 1 | 1 | ||||
Method: int compareTo(PluginInfo) |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| unused assignment in callee |   |   | 1 | 1 | |||||
| Total | 0 | 0 | 1 | 1 | |||||
Method: ConfigFile getConfigFile() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| null dereference |   | 1 | 1 |   | |||||
| Total | 0 | 1 | 1 | 0 | |||||
Method: String getMaxVersion() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | 1 | 1 | |||||
| null dereference |   | 1 | 1 |   | |||||
| dead code |   |   | 1 | 1 | |||||
| test always goes same way |   |   | 1 | 1 | |||||
| Total | 0 | 1 | 1 | 3 | 3 | ||||
Method: ConfigFile getMigratedConfigFile() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| null dereference |   | 1 | 1 |   | |||||
| Total | 0 | 1 | 1 | 0 | |||||
Method: String getMinVersion() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | 1 | 1 | |||||
| null dereference |   | 1 | 1 |   | |||||
| Total | 0 | 1 | 1 | 1 | 1 | ||||
Method: List getPersistentClasses() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| null dereference |   | 1 | 1 |   | |||||
| Total | 0 | 1 | 1 | 0 | |||||
Method: bool isUnloadable() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| null dereference |   | 1 | 1 |   | |||||
| Total | 0 | 1 | 1 | 0 | |||||
Method: bool loadAll() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| null dereference |   | 1 | 1 |   | |||||
| Total | 0 | 1 | 1 | 0 | |||||
Method: void loadClass(String) |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| precondition failure |   | 9 | 9 | 9 | 9 | ||||
| null dereference |   | 2 | 2 |   | |||||
| Total | 0 | 11 | 11 | 9 | 9 | ||||
Method: void loadPlugin() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| precondition failure |   | 1 | 1 | 1 | 1 | ||||
| dead code |   |   | 1 | 1 | |||||
| test always goes same way |   |   | 2 | 2 | |||||
| Total | 0 | 1 | 1 | 4 | 4 | ||||
Method: void loadRequired() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | 2 | 2 | |||||
| null dereference |   | 1 | 1 |   | |||||
| dead code |   |   | 1 | 1 | |||||
| test always goes same way |   |   | 1 | 1 | |||||
| Total | 0 | 1 | 1 | 4 | 4 | ||||
Method: void pluginUpdated() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| null dereference |   | 1 | 1 |   | |||||
| Total | 0 | 1 | 1 | 0 | |||||
Method: void unloadPlugin(bool) |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| precondition failure |   | 1 | 1 | 1 | 1 | ||||
| null dereference |   | 3 | 3 |   | |||||
| Total | 0 | 4 | 4 | 1 | 1 | ||||
Method: void updateExports() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | 1 | 1 | |||||
| dead code |   |   | 1 | 1 | |||||
| test always goes same way |   |   | 1 | 1 | |||||
| Total | 0 | 0 | 3 | 3 | |||||
Method: bool updateMetaData() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| unused assignment |   |   | 1 | 1 | |||||
| Total | 0 | 0 | 1 | 1 | |||||
Method: void updateProvides() |
top |
| Category | High Prob. | Medium Prob. | Low Prob. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| base | deltas | now | base | deltas | now | base | deltas | now | |
| use of default init |   |   | 2 | 2 | |||||
| null dereference |   | 2 | 2 |   | |||||
| Total | 0 | 2 | 2 | 2 | 2 | ||||
All Methods |
top |
| PluginInfo.java | 2009-Jun-25 01:54:24 |
| PluginInfo.class | 2009-Sep-02 17:04:13 |
| PluginInfo$1.class | 2009-Sep-02 17:04:13 |