## pluginlocator.java

current inspection = 2010-07-22 15:04:21 (id #4) | base = 2010-07-16 16:14:15 (id #1)

Filter Options
History:
+ | added
- | dropped
U | unchanged
| Annotation Kind:
pre
presumption
post
unanalyzed
test

- + int compare(Object, Object)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | Param_1 != null | 2010-07-22 12:56:56
+ | pre | Param_2 != null | 2010-07-22 12:56:56
+ | pre | Param_2.weight - Param_1.weight in -232+1.. 231 | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | post | return_value == -(Param_2.weight - Param_1.weight) | 2010-07-22 12:56:56

- + int compare(Object, Object)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | (soft) Param_2.weight - Param_1.weight in -232+1..231 | 2010-07-22 12:56:56
+ | pre | Param_0.val$installedPlugins != null | 2010-07-22 12:56:56
+ | pre | Param_1 != null | 2010-07-22 12:56:56
+ | pre | Param_2 != null | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.List:indexOf | 2010-07-22 12:56:56

- + int compare(Plugin, Plugin)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | (soft) plugin2.weight - plugin1.weight in -232+1..231 | 2010-07-22 12:56:56
+ | pre | plugin1 != null | 2010-07-22 12:56:56
+ | pre | plugin2 != null | 2010-07-22 12:56:56
+ | pre | this.val$installedPlugins != null | 2010-07-22 12:56:56
+ | presumption | java.util.List:indexOf(...)@113 - java.util. List:indexOf(...)@112 in {-6_442_450_943.. 231, 232..6_442_450_943} | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | test_vector | java.util.List:indexOf(...)@112: {-231.. -1}, {0..232-1} | 2010-07-22 12:56:56
+ | test_vector | java.util.List:indexOf(...)@113 - java.util. List:indexOf(...)@112: {1..231-1}, {-6_442_450_943..-1} | 2010-07-22 12:56:56
+ | test_vector | java.util.List:indexOf(...)@113: {-231.. -1}, {0..232-1} | 2010-07-22 12:56:56

- + int compare(Plugin, Plugin)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | o1 != null | 2010-07-22 12:56:56
+ | pre | o2 != null | 2010-07-22 12:56:56
+ | pre | o2.weight - o1.weight in -232+1.. 231 | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | post | return_value == -(o2.weight - o1.weight) | 2010-07-22 12:56:56

- AvailablePlugins getAvailablePluginsSortedForBlog(Blog)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | blog != null | 2010-07-22 12:56:56
+ | pre | init'ed(availablePlugins) | 2010-07-22 12:56:56
+ | presumption | locateAvailablePlugins(...).plugins != null | 2010-07-22 12:56:56
+ | post | availablePlugins != null | 2010-07-22 12:56:56
+ | post | availablePlugins == One-of{old availablePlugins, &new AvailablePlugins(locateAvailablePlugins#3 )} | 2010-07-22 12:56:56
+ | post | new AvailablePlugins(getAvailablePluginsSortedForBl og#1) num objects == 1 | 2010-07-22 12:56:56
+ | post | new AvailablePlugins(locateAvailablePlugins#3) num objects <= 1 | 2010-07-22 12:56:56
+ | post | new AvailablePlugins(locateAvailablePlugins#3). plugins == &new HashMap(locateAvailablePlugins# 1) | 2010-07-22 12:56:56
+ | post | new HashMap(copyMap#1) num objects == 1 | 2010-07-22 12:56:56
+ | post | new HashMap(locateAvailablePlugins#1) num objects == new AvailablePlugins(locateAvailablePlugins#3) num objects | 2010-07-22 12:56:56
+ | post | return_value == &new AvailablePlugins(getAvaila blePluginsSortedForBlog#1) | 2010-07-22 12:56:56
+ | post | return_value.plugins == &new HashMap(copyMap#1) | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Boolean:parseBoolean | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Class:getClassLoader | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.ClassLoader:getResources | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.ClassLoader:loadClass | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Integer:parseInt | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Iterable:iterator | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Thread:currentThread | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Thread:getContextClassLoader | 2010-07-22 12:56:56
+ | unanalyzed | call on java.net.URL:openStream | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.ArrayList | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Collection:add | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Collection:iterator | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Collections:sort | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Enumeration:hasMoreElements | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Enumeration:nextElement | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.HashMap | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.List:add | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Map$Entry:getKey | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Map$Entry:getValue | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Map:entrySet | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Map:get | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Map:put | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Map:values | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Properties | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Properties:setProperty | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Set:iterator | 2010-07-22 12:56:56
+ | unanalyzed | call on org.apache.commons.logging.Log:debug | 2010-07-22 12:56:56
+ | unanalyzed | call on org.apache.commons.logging.Log:error | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Document:getRootElement | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getAttributeValue | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getChild | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getChildren | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getName | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getText | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.input.SAXBuilder | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.input.SAXBuilder:build | 2010-07-22 12:56:56

- void installPlugins(Map, URL)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | (soft) plugins != null | 2010-07-22 12:56:56
+ | pre | (soft) resource != null | 2010-07-22 12:56:56
+ | presumption | java.lang.Iterable:iterator(...)@142 != null | 2010-07-22 12:56:56
+ | presumption | java.lang.Thread:currentThread(...)@165 != null | 2010-07-22 12:56:56
+ | presumption | java.lang.Thread:getContextClassLoader(...)@165 != null | 2010-07-22 12:56:56
+ | presumption | java.util.Iterator:next(...)@142 != null | 2010-07-22 12:56:56
+ | presumption | org.apache.commons.logging.LogFactory:getLog(... )@52 != null | 2010-07-22 12:56:56
+ | presumption | org.jdom.Document:getRootElement(...)@141 != null | 2010-07-22 12:56:56
+ | presumption | org.jdom.Element:getChildren(...)@142 != null | 2010-07-22 12:56:56
+ | presumption | org.jdom.input.SAXBuilder:build(...)@140 != null | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Boolean:parseBoolean | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Iterable:iterator | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.ArrayList | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Collection:add | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Map:get | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Properties | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Properties:setProperty | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getAttributeValue | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getChildren | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getName | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getText | 2010-07-22 12:56:56
+ | test_vector | java.util.Map:get(...)@168: Inverse{null}, Addr_Set{null} | 2010-07-22 12:56:56
+ | test_vector | org.jdom.Element:getAttributeValue(...)@153: Addr_Set{null}, Inverse{null} | 2010-07-22 12:56:56
+ | test_vector | org.jdom.Element:getChild(...)@146: Addr_Set{null}, Inverse{null} | 2010-07-22 12:56:56

- AvailablePlugins locateAvailablePlugins()

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | init'ed(availablePlugins) | 2010-07-22 12:56:56
+ | presumption | java.lang.Class:getClassLoader(...)@73 != null | 2010-07-22 12:56:56
+ | presumption | java.lang.ClassLoader:getResources(...)@73 != null | 2010-07-22 12:56:56
+ | presumption | java.util.Enumeration:nextElement(...)@75 != null | 2010-07-22 12:56:56
+ | presumption | java.util.Map:values(...)@82 != null | 2010-07-22 12:56:56
+ | presumption | org.apache.commons.logging.LogFactory:getLog(... )@52 != null | 2010-07-22 12:56:56
+ | post | availablePlugins != null | 2010-07-22 12:56:56
+ | post | availablePlugins == One-of{old availablePlugins, &new AvailablePlugins(locateAvailablePlugins#3 )} | 2010-07-22 12:56:56
+ | post | new AvailablePlugins(locateAvailablePlugins#3) num objects <= 1 | 2010-07-22 12:56:56
+ | post | new AvailablePlugins(locateAvailablePlugins#3). plugins == &new HashMap(locateAvailablePlugins# 1) | 2010-07-22 12:56:56
+ | post | new HashMap(locateAvailablePlugins#1) num objects <= 1 | 2010-07-22 12:56:56
+ | post | return_value == availablePlugins | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Boolean:parseBoolean | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.ClassLoader:loadClass | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Integer:parseInt | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Iterable:iterator | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Thread:currentThread | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Thread:getContextClassLoader | 2010-07-22 12:56:56
+ | unanalyzed | call on java.net.URL:openStream | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.ArrayList | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Collection:add | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.List:add | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Map:get | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Map:put | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Properties | 2010-07-22 12:56:56
+ | unanalyzed | call on java.util.Properties:setProperty | 2010-07-22 12:56:56
+ | unanalyzed | call on org.apache.commons.logging.Log:debug | 2010-07-22 12:56:56
+ | unanalyzed | call on org.apache.commons.logging.Log:error | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Document:getRootElement | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getAttributeValue | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getChild | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getChildren | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getName | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.Element:getText | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.input.SAXBuilder | 2010-07-22 12:56:56
+ | unanalyzed | call on org.jdom.input.SAXBuilder:build | 2010-07-22 12:56:56
+ | test_vector | availablePlugins: Inverse{null}, Addr_Set{null} | 2010-07-22 12:56:56
+ | test_vector | java.util.Iterator:hasNext(...)@82: {1}, {0} | 2010-07-22 12:56:56

- + void net.sourceforge.pebble.plugins.PluginLocator$1()

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---

- + net.sourceforge.pebble.plugins.PluginLocator$1__static_init

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---

- + void net.sourceforge.pebble.plugins.PluginLocator$2(List)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | post | init'ed(this.val$installedPlugins) | 2010-07-22 12:56:56
+ | post | this.val$installedPlugins == Param_1 | 2010-07-22 12:56:56

- + net.sourceforge.pebble.plugins.PluginLocator$2__static_init

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---

- void net.sourceforge.pebble.plugins.PluginLocator()

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---

- net.sourceforge.pebble.plugins.PluginLocator__static_init

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | post | PLUGIN_CONFIG_TYPES == &new HashMap(PluginLocat or__static_init#1) | 2010-07-22 12:56:56
+ | post | init'ed(log) | 2010-07-22 12:56:56
+ | post | new HashMap(PluginLocator__static_init#1) num objects == 1 | 2010-07-22 12:56:56

- - Collection parsePluginConfig(Element)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---

- + Collection parsePluginConfig(Element)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | element != null | 2010-07-22 12:56:56
+ | presumption | java.lang.Iterable:iterator(...)@191 != null | 2010-07-22 12:56:56
+ | presumption | java.lang.Iterable:iterator(...)@208 != null | 2010-07-22 12:56:56
+ | presumption | java.util.Iterator:next(...)@191 != null | 2010-07-22 12:56:56
+ | presumption | java.util.Iterator:next(...)@208 != null | 2010-07-22 12:56:56
+ | presumption | org.jdom.Element:getChildren(...)@191 != null | 2010-07-22 12:56:56
+ | presumption | org.jdom.Element:getChildren(...)@208 != null | 2010-07-22 12:56:56
+ | post | new ArrayList(parsePluginConfig#1) num objects == 1 | 2010-07-22 12:56:56
+ | post | return_value == &new ArrayList(parsePluginConfi g#1) | 2010-07-22 12:56:56
+ | test_vector | java.util.Iterator:hasNext(...)@191: {1}, {0} | 2010-07-22 12:56:56
+ | test_vector | java.util.Iterator:hasNext(...)@208: {1}, {0} | 2010-07-22 12:56:56
+ | test_vector | org.jdom.Element:getAttributeValue(...)@196: Inverse{null}, Addr_Set{null} | 2010-07-22 12:56:56

- List sortPlugins(List, List)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | post | return_value == One-of{null, plugins} | 2010-07-22 12:56:56
+ | test_vector | plugins: Inverse{null}, Addr_Set{null} | 2010-07-22 12:56:56