Last Msg First Msg
























method org.apache.roller.weblogger.util.IPBanList$Modifie dFile__static_init










method org.apache.roller.weblogger.util.IPBanList__ static_init
presumptionorg.apache.commons.logging.LogFactory:getLog(... )@41 != null
postinstance == &new IPBanList(IPBanList__static_ init#1)
post(soft) log != null
postnew HashSet(IPBanList#1) num objects == 1
postnew IPBanList(IPBanList__static_init#1) num objects == 1
postnew HashSet(loadBannedIps#1) num objects <= 1
postnew IPBanList$ModifiedFile(IPBanList#2) num objects <= 1
postinit'ed(new IPBanList$ModifiedFile(IPBanList#2). myLastModified)
postinstance.bannedIps == One-of{&new HashSet(IPBanList#1), &new HashSet(loadBannedI ps#1)}
postinstance.bannedIps in Addr_Set{&new HashSet(IPBanList#1),&new HashSet(loadBannedIp s#1)}
postinit'ed(instance.bannedIpsFile)
unanalyzedcall on org.apache.roller.weblogger.util. IPBanList$ModifiedFile:lastModified
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.logging.Log:error
unanalyzedcall on java.util.HashSet
unanalyzedcall on java.io.FileReader
unanalyzedcall on java.io.BufferedReader
unanalyzedcall on java.io.BufferedReader:readLine
unanalyzedcall on java.util.HashSet:add
unanalyzedcall on java.io.BufferedReader:close
unanalyzedcall on java.util.Set:size
unanalyzedcall on org.apache.commons.logging.Log:info
unanalyzedcall on org.apache.roller.weblogger.config. WebloggerConfig:getProperty
unanalyzedcall on java.io.File
unanalyzedcall on org.apache.roller.weblogger.util. IPBanList$ModifiedFile:exists
unanalyzedcall on org.apache.roller.weblogger.util. IPBanList$ModifiedFile:canRead









  infomethod not available-- call on Log org.apache.commons.logging. LogFactory:getLog(Class)











method void org.apache.roller.weblogger.util.IPBanList()
prelog != null
postthis.bannedIps in Addr_Set{&new HashSet(IPBanList#1),&new HashSet(loadBannedIp s#1)}
postinit'ed(this.bannedIpsFile)
postnew HashSet(IPBanList#1) num objects == 1
postnew HashSet(loadBannedIps#1) num objects <= 1
postnew IPBanList$ModifiedFile(IPBanList#2) num objects <= 1
postinit'ed(new IPBanList$ModifiedFile(IPBanList#2). myLastModified)
unanalyzedcall on org.apache.roller.weblogger.util. IPBanList$ModifiedFile:lastModified
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.logging.Log:error
unanalyzedcall on java.util.HashSet
unanalyzedcall on java.io.FileReader
unanalyzedcall on java.io.BufferedReader
unanalyzedcall on java.io.BufferedReader:readLine
unanalyzedcall on java.util.HashSet:add
unanalyzedcall on java.io.BufferedReader:close
unanalyzedcall on java.util.Set:size
unanalyzedcall on org.apache.commons.logging.Log:info
unanalyzedcall on java.io.File
test_vectororg.apache.roller.weblogger.config.WebloggerConfig: getProperty(...)@64: Addr_Set{null}, Inverse{null}
test_vectororg.apache.roller.weblogger.util.IPBanList_ ModifiedFile:canRead(...)@68: {0}, {1}
test_vectororg.apache.roller.weblogger.util.IPBanList_ ModifiedFile:exists(...)@68: {0}, {1}









  infomethod not available-- call on void org.apache.commons.logging. Log:debug(Object)










  infomethod not available-- call on String org.apache.roller.weblogger. config.WebloggerConfig:getProperty(String)










  infomethod not available-- call on bool org.apache.roller.weblogger.util. IPBanList$ModifiedFile:exists()
  infomethod not available-- call on bool org.apache.roller.weblogger.util. IPBanList$ModifiedFile:canRead()











method IPBanList getInstance()
preinit'ed(instance)
postreturn_value == instance
postinit'ed(return_value)










method bool isBanned(String)
preinit'ed(this.bannedIpsFile)
pre(soft) log != null
pre(soft) init'ed(this.bannedIps)
pre(soft) init'ed(this.bannedIpsFile.myLastModified)
postinit'ed(return_value)
postthis.bannedIps == One-of{old this.bannedIps, &new HashSet(loadBannedIps#1)}
post(soft) init'ed(this.bannedIps)
postinit'ed(this.bannedIpsFile.myLastModified)
postnew HashSet(loadBannedIps#1) num objects <= 1
unanalyzedcall on org.apache.roller.weblogger.util. IPBanList$ModifiedFile:lastModified
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.logging.Log:error
unanalyzedcall on loadBannedIps
unanalyzedcall on java.util.HashSet
unanalyzedcall on java.io.FileReader
unanalyzedcall on java.io.BufferedReader
unanalyzedcall on java.io.BufferedReader:readLine
unanalyzedcall on java.util.HashSet:add
unanalyzedcall on java.io.BufferedReader:close
unanalyzedcall on java.util.Set:size
unanalyzedcall on org.apache.commons.logging.Log:info
test_vectorip: Addr_Set{null}, Inverse{null}









Prev Msg Next Msg
+
medium
null dereferencecheck might fail: requires this.bannedIps != null
Prev Msg Next Msg











method void addBannedIp(String)
pre(soft) log != null
pre(soft) init'ed(this.bannedIps)
pre(soft) init'ed(this.bannedIpsFile.myLastModified)
pre(soft) init'ed(this.bannedIpsFile)
postthis.bannedIps == One-of{old this.bannedIps, &new HashSet(loadBannedIps#1)}
post(soft) init'ed(this.bannedIps)
post(soft) init'ed(this.bannedIpsFile.myLastModified)
postnew HashSet(loadBannedIps#1) num objects <= 1
unanalyzedcall on org.apache.roller.weblogger.util. IPBanList$ModifiedFile:lastModified
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.logging.Log:error
unanalyzedcall on loadBannedIps
unanalyzedcall on java.util.HashSet
unanalyzedcall on java.io.FileReader
unanalyzedcall on java.io.BufferedReader
unanalyzedcall on java.io.BufferedReader:readLine
unanalyzedcall on java.util.HashSet:add
unanalyzedcall on java.io.BufferedReader:close
unanalyzedcall on java.util.Set:size
unanalyzedcall on org.apache.commons.logging.Log:info
test_vectorip: Inverse{null}, Addr_Set{null}
test_vectorthis.bannedIpsFile: Addr_Set{null}, Inverse{null}
test_vectorjava.util.Set:contains(...)@104: {1}, {0}
test_vectororg.apache.roller.weblogger.util.IPBanList_ ModifiedFile:canWrite(...)@104: {0}, {1}









Prev Msg Next Msg
+
medium
null dereferencecheck might fail: requires this.bannedIps != null
  infomethod not available-- call on bool org.apache.roller.weblogger.util. IPBanList$ModifiedFile:canWrite()
Prev Msg Next Msg










  infomethod not available-- call on void org.apache.commons.logging. Log:debug(Object)










  infomethod not available-- call on void org.apache.commons.logging. Log:error(Object, Throwable)











method void loadBannedIpsIfNeeded(bool)
preinit'ed(this.bannedIpsFile)
pre(soft) log != null
pre(soft) init'ed(this.bannedIpsFile.myLastModified)
postthis.bannedIps == One-of{old this.bannedIps, &new HashSet(loadBannedIps#1)}
post(soft) init'ed(this.bannedIpsFile.myLastModified)
postnew HashSet(loadBannedIps#1) num objects <= 1
unanalyzedcall on org.apache.roller.weblogger.util. IPBanList$ModifiedFile:lastModified
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.logging.Log:error
unanalyzedcall on java.util.HashSet
unanalyzedcall on java.io.FileReader
unanalyzedcall on java.io.BufferedReader
unanalyzedcall on java.io.BufferedReader:readLine
unanalyzedcall on java.util.HashSet:add
unanalyzedcall on java.io.BufferedReader:close
unanalyzedcall on java.util.Set:size
unanalyzedcall on org.apache.commons.logging.Log:info
test_vectorforceLoad: {0}, {1}
test_vectorthis.bannedIpsFile: Addr_Set{null}, Inverse{null}










method void loadBannedIps()
preinit'ed(this.bannedIpsFile)
pre(soft) log != null
postthis.bannedIps == One-of{old this.bannedIps, &new HashSet(loadBannedIps#1)}
postpossibly_updated(this.bannedIpsFile. myLastModified)
postnew HashSet(loadBannedIps#1) num objects <= 1
unanalyzedcall on org.apache.roller.weblogger.util. IPBanList$ModifiedFile:lastModified
test_vectorthis.bannedIpsFile: Addr_Set{null}, Inverse{null}
test_vectorjava.io.BufferedReader:readLine(...)@156: Addr_Set{null}, Inverse{null}









  infomethod not available-- call on void org.apache.commons.logging. Log:info(Object)










  infomethod not available-- call on void org.apache.commons.logging. Log:error(Object, Throwable)











method void org.apache.roller.weblogger.util. IPBanList$ModifiedFile(IPBanList, String)
postinit'ed(this.myLastModified)









  infomethod not available-- call on long org.apache.roller.weblogger.util. IPBanList$ModifiedFile:lastModified()











method bool hasChanged()
preinit'ed(this.myLastModified)
postinit'ed(return_value)









  infomethod not available-- call on long org.apache.roller.weblogger.util. IPBanList$ModifiedFile:lastModified()











method void clearChanged()
postinit'ed(this.myLastModified)









  infomethod not available-- call on long org.apache.roller.weblogger.util. IPBanList$ModifiedFile:lastModified()