PlanetCache.java


current inspection = 2009-09-04 18:33:31 (id #2) base = 2009-09-04 18:33:31 (id #1)

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


  • + void clear()

  • -/+ Kind Annotation Text Date
    +pre(soft) log != null2009-09-04 18:33:31
    +pre(soft) this.contentCache != null2009-09-04 18:33:31
    +preinit'ed(this.cacheEnabled)2009-09-04 18:33:31
    +postthis.lastUpdateTime == One-of{old this. lastUpdateTime, null}2009-09-04 18:33:31
    +test_vectorthis.cacheEnabled: {1}, {0}2009-09-04 18:33:31

  • + String generateKey(PlanetRequest)

  • -/+ Kind Annotation Text Date
    +pre(soft) init'ed(planetRequest.authenticUser)2009-09-04 18:33:31
    +pre(soft) init'ed(planetRequest.excerpts)2009-09-04 18:33:31
    +preinit'ed(planetRequest.context)2009-09-04 18:33:31
    +preinit'ed(planetRequest.flavor)2009-09-04 18:33:31
    +preinit'ed(planetRequest.group)2009-09-04 18:33:31
    +preinit'ed(planetRequest.language)2009-09-04 18:33:31
    +preinit'ed(planetRequest.type)2009-09-04 18:33:31
    +preplanetRequest != null2009-09-04 18:33:31
    +postinit'ed(java.lang.StringBuffer:toString(...)._ tainted)2009-09-04 18:33:31
    +postreturn_value == &java.lang.StringBuffer:toStrin g(...)2009-09-04 18:33:31
    +test_vectorplanetRequest.authenticUser: Addr_Set{null}, Inverse{null}2009-09-04 18:33:31
    +test_vectorplanetRequest.excerpts: {0}, {1}2009-09-04 18:33:31
    +test_vectorplanetRequest.flavor: Addr_Set{null}, Inverse{null}2009-09-04 18:33:31
    +test_vectorplanetRequest.group: Addr_Set{null}, Inverse{null}2009-09-04 18:33:31

  • + Object get(String)

  • -/+ Kind Annotation Text Date
    +pre(soft) log != null2009-09-04 18:33:31
    +pre(soft) this.contentCache != null2009-09-04 18:33:31
    +preinit'ed(this.cacheEnabled)2009-09-04 18:33:31
    +postinit'ed(return_value)2009-09-04 18:33:31
    +test_vectororg.apache.roller.weblogger.util.cache.Cache:get(.. .)@109: Inverse{null}, Addr_Set{null}2009-09-04 18:33:31
    +test_vectorthis.cacheEnabled: {1}, {0}2009-09-04 18:33:31

  • + PlanetCache getInstance()

  • -/+ Kind Annotation Text Date
    +preinit'ed(singletonInstance)2009-09-04 18:33:31
    +postinit'ed(return_value)2009-09-04 18:33:31
    +postreturn_value == singletonInstance2009-09-04 18:33:31

  • + Date getLastModified()

  • -/+ Kind Annotation Text Date
    +pre(soft) init'ed(this.timeout)2009-09-04 18:33:31
    +pre(soft) log != null2009-09-04 18:33:31
    +preinit'ed(this.lastUpdateTime)2009-09-04 18:33:31
    +postnew Date(getLastModified#1) num objects <= 12009-09-04 18:33:31
    +postnew ExpiringCacheEntry(getLastModified#2) num objects <= 12009-09-04 18:33:31
    +postreturn_value != null2009-09-04 18:33:31
    +postthis.lastUpdateTime != null2009-09-04 18:33:31
    +postthis.lastUpdateTime == One-of{old this. lastUpdateTime, &new ExpiringCacheEntry(getLast Modified#2)}2009-09-04 18:33:31
    +test_vectorthis.lastUpdateTime: Addr_Set{null}, Inverse{null}2009-09-04 18:33:31

  • + void org.apache.roller.weblogger.ui.rendering.util.cache.PlanetCache()

  • -/+ Kind Annotation Text Date
    +prelog != null2009-09-04 18:33:31
    +presumptionjava.lang.Long:parseLong(...)@91 in -9_223_372_036_854_775..18_446_744_073_709_5512009-09-04 18:33:31
    +presumptionjava.lang.String:length(...)@75 <= 232-22009-09-04 18:33:31
    +presumptionjava.util.Enumeration:nextElement(...)@71 != null2009-09-04 18:33:31
    +presumptionorg.apache.roller.weblogger.config.WebloggerConfig: keys(...)@68 != null2009-09-04 18:33:31
    +postinit'ed(this.cacheEnabled)2009-09-04 18:33:31
    +postinit'ed(this.contentCache)2009-09-04 18:33:31
    +postthis.lastUpdateTime == null2009-09-04 18:33:31
    +postthis.timeout in -9_223_372_036_854_775_000.. 18_446_744_073_709_551_0002009-09-04 18:33:31
    +test_vectorjava.lang.String:startsWith(...)@74: {0}, {1}2009-09-04 18:33:31
    +test_vectorjava.util.Enumeration:hasMoreElements(...)@70: {0}, {1}2009-09-04 18:33:31
    +test_vectororg.apache.roller.weblogger.config.WebloggerConfig: getBooleanProperty(...)@64: {0}, {1}2009-09-04 18:33:31

  • + org.apache.roller.weblogger.ui.rendering.util.cache.PlanetCache__static_init

  • -/+ Kind Annotation Text Date
    +presumptionorg.apache.commons.logging.LogFactory:getLog(... )@44 != null2009-09-04 18:33:31
    +post(soft) log != null2009-09-04 18:33:31
    +postinit'ed(singletonInstance.cacheEnabled)2009-09-04 18:33:31
    +postinit'ed(singletonInstance.contentCache)2009-09-04 18:33:31
    +postnew PlanetCache(PlanetCache__static_init#1) num objects == 12009-09-04 18:33:31
    +postsingletonInstance == &new PlanetCache(PlanetCac he__static_init#1)2009-09-04 18:33:31
    +postsingletonInstance.lastUpdateTime == null2009-09-04 18:33:31
    +postsingletonInstance.timeout in -9_223_372_036_854_775 _000..18_446_744_073_709_551_0002009-09-04 18:33:31
    +unanalyzedcall on java.lang.Long:parseLong2009-09-04 18:33:31
    +unanalyzedcall on java.lang.String:length2009-09-04 18:33:31
    +unanalyzedcall on java.lang.String:startsWith2009-09-04 18:33:31
    +unanalyzedcall on java.lang.String:substring2009-09-04 18:33:31
    +unanalyzedcall on java.lang.Throwable:__curr_excep_obj2009-09-04 18:33:31
    +unanalyzedcall on java.util.Enumeration:hasMoreElements2009-09-04 18:33:31
    +unanalyzedcall on java.util.Enumeration:nextElement2009-09-04 18:33:31
    +unanalyzedcall on java.util.HashMap2009-09-04 18:33:31
    +unanalyzedcall on java.util.Map:put2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:info2009-09-04 18:33:31
    +unanalyzedcall on org.apache.commons.logging.Log:warn2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.config. WebloggerConfig:getBooleanProperty2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.config. WebloggerConfig:getProperty2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.config. WebloggerConfig:keys2009-09-04 18:33:31
    +unanalyzedcall on org.apache.roller.weblogger.util.cache. CacheManager:constructCache2009-09-04 18:33:31

  • + void put(String, Object)

  • -/+ Kind Annotation Text Date
    +pre(soft) log != null2009-09-04 18:33:31
    +pre(soft) this.contentCache != null2009-09-04 18:33:31
    +preinit'ed(this.cacheEnabled)2009-09-04 18:33:31
    +test_vectorthis.cacheEnabled: {1}, {0}2009-09-04 18:33:31

  • + void remove(String)

  • -/+ Kind Annotation Text Date
    +pre(soft) log != null2009-09-04 18:33:31
    +pre(soft) this.contentCache != null2009-09-04 18:33:31
    +preinit'ed(this.cacheEnabled)2009-09-04 18:33:31
    +test_vectorthis.cacheEnabled: {1}, {0}2009-09-04 18:33:31