Last Msg First Msg
























method org.apache.roller.weblogger.util.Blacklist__ static_init
presumptionblacklist.blacklistRegex init'ed
presumptionblacklist.blacklistStr init'ed
presumptionorg.apache.commons.logging.LogFactory:getLog(... )@66 != null
postblacklist == &new Blacklist(Blacklist__static_ init#1)
postblacklistURL == null
post(soft) mLogger != null
postnew Blacklist(Blacklist__static_init#1) num objects == 1
postnew LinkedList(Blacklist#1) num objects == 1
postnew LinkedList(Blacklist#2) num objects == 1
postblacklist.blacklistRegex == &new LinkedList(Blacklist#2)
postblacklist.blacklistStr == &new LinkedList(Black list#1)
postinit'ed(blacklist.lastModified)
postnew Date(loadBlacklistFromFile#3) num objects <= 1
unanalyzedcall on org.apache.commons.logging.Log:info
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.lang.StringUtils:isEmpty
unanalyzedcall on java.util.List:size
unanalyzedcall on org.apache.roller.weblogger.config. WebloggerConfig:getProperty
unanalyzedcall on java.io.File
unanalyzedcall on java.util.Date:getTime
unanalyzedcall on java.io.File:lastModified
unanalyzedcall on java.util.Date
unanalyzedcall on java.io.FileInputStream
unanalyzedcall on java.lang.Object:getClass
unanalyzedcall on java.lang.Class:getResourceAsStream
unanalyzedcall on org.apache.commons.logging.Log:warn
unanalyzedcall on readFromStream
unanalyzedcall on org.apache.commons.logging.Log:error
unanalyzedcall on java.lang.String:trim
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.util.regex.Pattern:compile
unanalyzedcall on java.util.List:add
unanalyzedcall on org.apache.commons.lang.StringUtils:isNotEm pty
unanalyzedcall on java.lang.String:length
unanalyzedcall on java.text.SimpleDateFormat
unanalyzedcall on org.apache.roller.util.DateUtil:parse
unanalyzedcall on java.io.InputStreamReader
unanalyzedcall on java.io.BufferedReader
unanalyzedcall on java.io.BufferedReader:readLine
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.io.BufferedReader:close
unanalyzedcall on java.util.LinkedList









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










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











method void org.apache.roller.weblogger.util.Blacklist()
postthis.blacklistRegex == &new LinkedList(Blacklis t#2)
postthis.blacklistStr == &new LinkedList(Blacklist# 1)
postthis.lastModified == null
postnew LinkedList(Blacklist#1) num objects == 1
postnew LinkedList(Blacklist#2) num objects == 1










method Blacklist getBlacklist()
preinit'ed(blacklist)
postreturn_value == blacklist
postinit'ed(return_value)










method void checkForUpdate()
preblacklist != null
postpossibly_updated(blacklist.lastModified)
postnew Date(loadBlacklistFromFile#3) num objects == 0
unanalyzedcall on org.apache.commons.logging.Log:info
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.lang.StringUtils:isEmpty
unanalyzedcall on java.util.List:size
unanalyzedcall on org.apache.roller.weblogger.config. WebloggerConfig:getProperty
unanalyzedcall on java.io.File
unanalyzedcall on java.util.Date:getTime
unanalyzedcall on java.io.File:lastModified
unanalyzedcall on java.util.Date
unanalyzedcall on java.io.FileInputStream
unanalyzedcall on java.lang.Object:getClass
unanalyzedcall on java.lang.Class:getResourceAsStream
unanalyzedcall on org.apache.commons.logging.Log:warn
unanalyzedcall on readFromStream
unanalyzedcall on org.apache.commons.logging.Log:error
unanalyzedcall on java.net.URL
unanalyzedcall on java.net.URL:openConnection
unanalyzedcall on java.net.HttpURLConnection:setRequestProper ty
unanalyzedcall on org.apache.roller.util.DateUtil:formatRfc82 2
unanalyzedcall on java.net.HttpURLConnection:getResponseCode
unanalyzedcall on java.net.HttpURLConnection:getHeaderFieldDa te
unanalyzedcall on java.net.HttpURLConnection:getInputStream
unanalyzedcall on java.io.FileOutputStream
unanalyzedcall on java.io.InputStream:read
unanalyzedcall on java.io.FileOutputStream:write
unanalyzedcall on java.io.FileOutputStream:close
unanalyzedcall on java.io.InputStream:close
unanalyzedcall on java.lang.String:trim
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.util.regex.Pattern:compile
unanalyzedcall on java.util.List:add
unanalyzedcall on org.apache.commons.lang.StringUtils:isNotEm pty
unanalyzedcall on java.lang.String:length
unanalyzedcall on java.text.SimpleDateFormat
unanalyzedcall on org.apache.roller.util.DateUtil:parse
unanalyzedcall on java.io.InputStreamReader
unanalyzedcall on java.io.BufferedReader
unanalyzedcall on java.io.BufferedReader:readLine
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.io.BufferedReader:close










method void update()
postpossibly_updated(this.lastModified)
postnew Date(loadBlacklistFromFile#3) num objects == 0
unanalyzedcall on org.apache.commons.logging.Log:info
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.lang.StringUtils:isEmpty
unanalyzedcall on java.util.List:size
unanalyzedcall on org.apache.roller.weblogger.config. WebloggerConfig:getProperty
unanalyzedcall on java.io.File
unanalyzedcall on java.util.Date:getTime
unanalyzedcall on java.io.File:lastModified
unanalyzedcall on java.util.Date
unanalyzedcall on java.io.FileInputStream
unanalyzedcall on java.lang.Object:getClass
unanalyzedcall on java.lang.Class:getResourceAsStream
unanalyzedcall on org.apache.commons.logging.Log:warn
unanalyzedcall on readFromStream
unanalyzedcall on org.apache.commons.logging.Log:error
unanalyzedcall on java.net.URL
unanalyzedcall on java.net.URL:openConnection
unanalyzedcall on java.net.HttpURLConnection:setRequestProper ty
unanalyzedcall on org.apache.roller.util.DateUtil:formatRfc82 2
unanalyzedcall on java.net.HttpURLConnection:getResponseCode
unanalyzedcall on java.net.HttpURLConnection:getHeaderFieldDa te
unanalyzedcall on java.net.HttpURLConnection:getInputStream
unanalyzedcall on java.io.FileOutputStream
unanalyzedcall on java.io.InputStream:read
unanalyzedcall on java.io.FileOutputStream:write
unanalyzedcall on java.io.FileOutputStream:close
unanalyzedcall on java.io.InputStream:close
unanalyzedcall on java.lang.String:trim
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.util.regex.Pattern:compile
unanalyzedcall on java.util.List:add
unanalyzedcall on org.apache.commons.lang.StringUtils:isNotEm pty
unanalyzedcall on java.lang.String:length
unanalyzedcall on java.text.SimpleDateFormat
unanalyzedcall on org.apache.roller.util.DateUtil:parse
unanalyzedcall on java.io.InputStreamReader
unanalyzedcall on java.io.BufferedReader
unanalyzedcall on java.io.BufferedReader:readLine
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.io.BufferedReader:close









Prev Msg Next Msg
+
warning
test always goes same waytest predetermined because blacklistURL == null
Prev Msg Next Msg










Prev Msg Next Msg
+
warning
dead codedead code here because blacklistURL == null
Prev Msg Next Msg










  infodead code continuesdead code continues











method bool downloadBlacklist()
premLogger != null
pre(soft) init'ed(this.lastModified)
presumptioninit'ed(java.io.File.separator)
presumptionjava.net.HttpURLConnection:getInputStream(...)@154 != null
presumptionjava.net.URL:openConnection(...)@118 != null
postinit'ed(return_value)
test_vectorthis.lastModified: Addr_Set{null}, Inverse{null}
test_vectorjava.io.InputStream:read(...)@165: {-231. .0}, {1..232-1}
test_vectorjava.net.HttpURLConnection:getResponseCode(... )@131: {-231..199, 201..303, 305..232-1}, {304}, {200}









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










  infomethod not available-- call on String org.apache.roller.util. DateUtil:formatRfc822(Date)










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










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










Prev Msg Next Msg
+
medium
null dereferencecheck might fail: requires this.lastModified != null
  infomethod not available-- call on void org.apache.commons.logging. Log:debug(Object)
Prev Msg Next Msg










  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 void org.apache.commons.logging. Log:debug(Object)










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










  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 loadBlacklistFromFile(String)
premLogger != null
pre(soft) init'ed(this.lastModified)
pre(soft) this.blacklistRegex != null
pre(soft) this.blacklistStr != null
presumptioninit'ed(java.io.File.separator)
presumptionjava.lang.Object:getClass(...)@216 != null
post(soft) init'ed(this.lastModified)
postnew Date(loadBlacklistFromFile#3) num objects <= 1
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.lang.StringUtils:isEmpty
unanalyzedcall on org.apache.commons.logging.Log:error
unanalyzedcall on java.lang.String:trim
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.util.regex.Pattern:compile
unanalyzedcall on java.util.List:add
unanalyzedcall on org.apache.commons.lang.StringUtils:isNotEm pty
unanalyzedcall on java.lang.String:length
unanalyzedcall on java.text.SimpleDateFormat
unanalyzedcall on org.apache.roller.util.DateUtil:parse
unanalyzedcall on java.io.InputStreamReader
unanalyzedcall on java.io.BufferedReader
unanalyzedcall on java.io.BufferedReader:readLine
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.io.BufferedReader:close
test_vectorblacklistFilePath: Inverse{null}, Addr_Set{null}
test_vectorthis.lastModified: Addr_Set{null}, Inverse{null}









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










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










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










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










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










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










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











method String readFromStream(InputStream, bool)
pre(soft) mLogger != null
pre(soft) this.blacklistRegex != null
pre(soft) this.blacklistStr != null
postinit'ed(java.lang.StringBuffer:toString(...)._ tainted)
postreturn_value == &java.lang.StringBuffer:toStrin g(...)
postpossibly_updated(this.lastModified)
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on org.apache.commons.lang.StringUtils:isEmpty
unanalyzedcall on java.lang.String:trim
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.util.regex.Pattern:compile
unanalyzedcall on java.util.List:add
unanalyzedcall on org.apache.commons.lang.StringUtils:isNotEm pty
unanalyzedcall on java.lang.String:length
unanalyzedcall on java.text.SimpleDateFormat
unanalyzedcall on org.apache.roller.util.DateUtil:parse
test_vectorsaveStream: {0}, {1}
test_vectorjava.lang.String:startsWith(...)@243: {0}, {1}









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










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











method void readRule(String)
pre(soft) str != null
pre(soft) this.blacklistRegex != null
pre(soft) this.blacklistStr != null
presumptionjava.lang.String:indexOf(...)@270 >= -231+1
test_vectorjava.lang.String:indexOf(...)@268: {-231. .0}, {1..232-1}
test_vectorjava.lang.String:indexOf(...)@274: {-231. .-1}, {0..232-1}
test_vectororg.apache.commons.lang.StringUtils:isEmpty(... )@264: {0}, {1}
test_vectororg.apache.commons.lang.StringUtils:isNotEmpty(... )@278: {0}, {1}









  infomethod not available-- call on bool org.apache.commons.lang. StringUtils:isEmpty(String)










  infomethod not available-- call on bool org.apache.commons.lang. StringUtils:isNotEmpty(String)











method void readComment(String)
prestr != null
pre(soft) mLogger != null
presumptionjava.lang.String:indexOf(...)@285 + java.lang.String:length(...)@287 in -231..232-1
postpossibly_updated(this.lastModified)
test_vectorjava.lang.String:indexOf(...)@285: {-231. .-1}, {0..232-1}









  infomethod not available-- call on Date org.apache.roller.util. DateUtil:parse(String, SimpleDateFormat)










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











method bool isBlacklisted(String)
pre(soft) mLogger != null
pre(soft) this.blacklistRegex != null
pre(soft) this.blacklistStr != null
postinit'ed(return_value)
unanalyzedcall on java.util.List:iterator
unanalyzedcall on org.apache.commons.logging.Log:isDebugEnabl ed
unanalyzedcall on java.util.regex.Pattern:matcher
unanalyzedcall on java.util.regex.Matcher:find
unanalyzedcall on java.util.regex.Matcher:group
unanalyzedcall on java.util.regex.Pattern:pattern
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.util.regex.Pattern:compile
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on java.lang.String:contains
unanalyzedcall on org.apache.commons.lang.StringUtils:isEmpty
unanalyzedcall on java.util.List:size
unanalyzedcall on java.util.ArrayList
unanalyzedcall on java.util.List:addAll










method bool isBlacklisted(String, List, List)
pre(soft) mLogger != null
pre(soft) this.blacklistRegex != null
pre(soft) this.blacklistStr != null
postinit'ed(return_value)
unanalyzedcall on java.util.List:iterator
unanalyzedcall on org.apache.commons.logging.Log:isDebugEnabl ed
unanalyzedcall on java.util.regex.Pattern:matcher
unanalyzedcall on java.util.regex.Matcher:find
unanalyzedcall on java.util.regex.Matcher:group
unanalyzedcall on java.util.regex.Pattern:pattern
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.util.regex.Pattern:compile
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on java.lang.String:contains
test_vectormoreRegexRules: Addr_Set{null}, Inverse{null}
test_vectormoreStringRules: Addr_Set{null}, Inverse{null}
test_vectorstr: Addr_Set{null}, Inverse{null}
test_vectorjava.util.List:size(...)@322: {-231..0}, {1..232-1}
test_vectorjava.util.List:size(...)@331: {-231..0}, {1..232-1}
test_vectororg.apache.commons.lang.StringUtils:isEmpty(... )@314: {0}, {1}









  infomethod not available-- call on bool org.apache.commons.lang. StringUtils:isEmpty(String)











method bool matchesRulesOnly(String, List, List)
prestringRules != null
pre(soft) mLogger != null
pre(soft) regexRules != null
pre(soft) str != null
postinit'ed(return_value)
unanalyzedcall on java.util.List:iterator
unanalyzedcall on org.apache.commons.logging.Log:isDebugEnabl ed
unanalyzedcall on java.util.regex.Pattern:matcher
unanalyzedcall on java.util.regex.Matcher:find
unanalyzedcall on java.util.regex.Matcher:group
unanalyzedcall on java.util.regex.Pattern:pattern
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.util.regex.Pattern:compile
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on java.lang.String:contains










method bool testRegExRules(String, List)
preregexRules != null
pre(soft) mLogger != null
presumptionjava.util.Iterator:next(...)@357 != null
presumptionjava.util.regex.Pattern:matcher(...)@361 != null
presumptionjava.util.regex.Pattern:matcher(...)@368 != null
postinit'ed(return_value)
test_vectorjava.util.Iterator:hasNext(...)@356: {0}, {1}
test_vectorjava.util.regex.Matcher:find(...)@362: {0}, {1}
test_vectorjava.util.regex.Matcher:find(...)@368: {0}, {1}
test_vectororg.apache.commons.logging.Log:isDebugEnabled(... )@360: {0}, {1}









  infomethod not available-- call on bool org.apache.commons.logging. Log:isDebugEnabled()










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











method bool testStringRules(String, List)
prerules != null
pre(soft) mLogger != null
pre(soft) source != null
presumptionjava.util.regex.Pattern:compile(...)@402 != null
presumptionjava.util.regex.Pattern:matcher(...)@406 != null
postinit'ed(return_value)
test_vectorjava.util.Iterator:hasNext(...)@390: {0}, {1}









Prev Msg Next Msg
+
warning
unused assignmentunused assignment into e
Prev Msg Next Msg










  infomethod not available-- call on bool org.apache.commons.logging. Log:isDebugEnabled()










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











method void populateSpamRules(String, List, List, String)
pre(soft) regexRules != null
pre(soft) stringRules != null
test_vectorjava.lang.String:startsWith(...)@441: {0}, {1}
test_vectorjava.lang.String:startsWith(...)@442: {0}, {1}
test_vectorjava.util.StringTokenizer:hasMoreTokens(...)@439: {0}, {1}










method String toString()
preinit'ed(this.blacklistRegex)
preinit'ed(this.blacklistStr)
postjava.lang.StringBuffer:toString(...)._tainted == 0
postreturn_value == &java.lang.StringBuffer:toStrin g(...)