Last Msg First Msg
























method org.apache.roller.weblogger.business. FileManagerImpl$1__static_init

method org.apache.roller.weblogger.business. FileManagerImpl$WeblogResourceFile$1__static_init

method org.apache.roller.weblogger.business. FileManagerImpl$WeblogResourceFile__static_init










method org.apache.roller.weblogger.business. FileManagerImpl__static_init
postinit'ed(log)









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











method void org.apache.roller.weblogger.business. FileManagerImpl()
preorg/apache/roller/weblogger/config/WebloggerConfig. config != null
preorg/apache/roller/weblogger/config/WebloggerConfig. log != null
presumptioninit'ed(java.io.File.separator)
presumptioninit'ed(java.io.File.separatorChar)
postthis.upload_dir != null
unanalyzedcall on java.lang.String:trim
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.util.Properties:getProperty
test_vectorjava.lang.String:endsWith(...)@62: {1}, {0}
test_vectorjava.lang.String:length(...)@59: {1.. 232-1}, {0}










method ThemeResource getFile(Weblog, String)
preinit'ed(this.upload_dir)
preweblog != null
presumptionjava.io.File:isDirectory(...)@79 == 0
postreturn_value == &new FileManagerImpl$WeblogReso urceFile(getFile#3)
postnew File(getRealFile#6) num objects == 1
postnew FileManagerImpl$WeblogResourceFile(getFile#3) num objects == 1
postnew FileManagerImpl$WeblogResourceFile(getFile#3). relativePath == path
postinit'ed(new FileManagerImpl$WeblogResourceFile(getF ile#3).relativePath)
postnew FileManagerImpl$WeblogResourceFile(getFile#3). resourceFile == &new File(getRealFile#6)
postnew FileManagerImpl$WeblogResourceFile(getFile#3). weblog == weblog
postnew FileManagerImpl$WeblogResourceFile(getFile#3). weblog != null
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj










method ThemeResource[] getFiles(Weblog, String)
preinit'ed(this.upload_dir)
preweblog != null
presumptionjava.io.File:isDirectory(...)@99 == 1
postinit'ed(return_value)
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj









  infomethod not available-- call on ThemeResource[] org.apache.roller. weblogger.pojos.ThemeResource:getChildren()











method ThemeResource[] getDirectories(Weblog)
preinit'ed(this.upload_dir)
preweblog != null
presumptiondirFiles.length@121 <= 232-1
presumptionjava.io.File:listFiles(...)@121 != null
postreturn_value == &new ThemeResource[](getDirecto ries#2)
post(soft) new FileManagerImpl$WeblogResourceFile(getDi rectories#3) num objects <= 232-1
postinit'ed(new FileManagerImpl$WeblogResourceFile(getD irectories#3).relativePath)
postnew FileManagerImpl$WeblogResourceFile(getDirectori es#3).resourceFile == null
postnew FileManagerImpl$WeblogResourceFile(getDirectori es#3).weblog == weblog
postnew FileManagerImpl$WeblogResourceFile(getDirectori es#3).weblog != null
postnew ThemeResource[](getDirectories#2) num objects == 1
post(soft) return_value.length <= 232-1
postpossibly_updated(return_value[...])
post(soft) new FileManagerImpl$WeblogResourceFile(getDi rectories#3) num objects == dirFiles.length@121
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj










method void org.apache.roller.weblogger.business. FileManagerImpl$1(FileManagerImpl)










method bool accept(File)
postinit'ed(return_value)









Prev Msg Next Msg
+
medium
null dereferencecheck might fail: requires not_init'ed(dirFiles[i])
Prev Msg Next Msg











method void saveFile(Weblog, String, String, long, InputStream)
preis != null
prelog != null
prepath != null
preinit'ed(this.upload_dir)
preweblog != null
pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider != null
pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider.webloggerInstance != null
pre(soft) org/apache/roller/weblogger/config/Weblogger RuntimeConfig.log != null
unanalyzedcall on java.lang.String:endsWith
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on java.io.File:isDirectory
unanalyzedcall on java.io.File:listFiles
unanalyzedcall on java.io.File:length
unanalyzedcall on getDirSize
unanalyzedcall on java.lang.String:equals
unanalyzedcall on java.lang.String:split
unanalyzedcall on java.lang.String:toLowerCase
unanalyzedcall on getBooleanProperty
unanalyzedcall on org.apache.roller.weblogger.util. RollerMessages:addError
unanalyzedcall on getProperty
unanalyzedcall on java.math.BigDecimal
unanalyzedcall on java.math.BigDecimal:doubleValue
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.math.BigDecimal:toString
unanalyzedcall on org.apache.commons.lang.StringUtils:deleteW hitespace
unanalyzedcall on org.apache.commons.lang.StringUtils:split
unanalyzedcall on java.lang.RuntimeException
unanalyzedcall on java.io.File:mkdir
unanalyzedcall on org.apache.roller.weblogger.util. RollerMessages
unanalyzedcall on org.apache.roller.weblogger.util. RollerMessages:toString
unanalyzedcall on java.io.FileOutputStream
unanalyzedcall on java.io.InputStream:read
unanalyzedcall on java.io.OutputStream:write
unanalyzedcall on java.io.OutputStream:flush
unanalyzedcall on java.io.OutputStream:close
unanalyzedcall on getWeblogger
unanalyzedcall on getPropertiesManager
unanalyzedcall on java.lang.ThreadLocal:get
unanalyzedcall on javax.persistence.EntityManagerFactory:crea teEntityManager
unanalyzedcall on java.lang.ThreadLocal:set
unanalyzedcall on javax.persistence.EntityManager:getTransact ion
unanalyzedcall on javax.persistence.EntityTransaction:isActiv e
unanalyzedcall on javax.persistence.EntityTransaction:begin
unanalyzedcall on javax.persistence.EntityManager:find
unanalyzedcall on org.apache.roller.weblogger.pojos. RuntimeConfigProperty:getValue
unanalyzedcall on org.apache.commons.logging.Log:warn
unanalyzedcall on java.lang.Boolean
unanalyzedcall on java.lang.Boolean:booleanValue










method void saveFile(Weblog, String, String, long, InputStream, bool)
preis != null
prelog != null
prepath != null
preinit'ed(this.upload_dir)
preweblog != null
pre(soft) contentType init'ed
pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider != null
pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider.webloggerInstance != null
pre(soft) org/apache/roller/weblogger/config/Weblogger RuntimeConfig.log != null
presumption(int) (java.math.BigDecimal:doubleValue(... )@366*1024000) in range
presumption(int) (java.math.BigDecimal:doubleValue(... )@366*1024000) - size in range
presumptionsize <= (int) (java.math.BigDecimal:doubleValue(... )@366*1024000) | canSave(...) == 0
presumption(size + canSave(...)) - (int) (java.math. BigDecimal:doubleValue(...)@377*1024000) in range
presumptiontrue
presumptioninit'ed(java.io.File.separator)
presumptionjava.lang.String:indexOf(...)@456 in range
presumption(int) (java.math.BigDecimal:doubleValue(... )@366*1024000) < size | canSave(...) == 0 | size + canSave(...) <= (int) (java.math.BigDecimal:double Value(...)@377*1024000)
presumption(int) (java.math.BigDecimal:doubleValue(... )@366*1024000) < size | canSave(...) == 0 | (int) (java.math.BigDecimal:doubleValue(... )@377*1024000) < size + canSave(...) | checkFileType(...) == 0 | java.lang. String:indexOf(...)@402 == -1 | java.lang....
presumption(int) (java.math.BigDecimal:doubleValue(... )@366*1024000) < size | canSave(...) == 0 | (int) (java.math.BigDecimal:doubleValue(... )@377*1024000) < size + canSave(...) | checkFileType(...) != 0
unanalyzedcall on java.lang.String:endsWith
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on java.io.File:isDirectory
unanalyzedcall on java.io.File:listFiles
unanalyzedcall on java.io.File:length
unanalyzedcall on getDirSize
unanalyzedcall on java.lang.String:equals
unanalyzedcall on java.lang.String:split
unanalyzedcall on java.lang.String:toLowerCase
unanalyzedcall on getBooleanProperty
unanalyzedcall on org.apache.roller.weblogger.util. RollerMessages:addError
unanalyzedcall on getProperty
unanalyzedcall on java.math.BigDecimal
unanalyzedcall on java.math.BigDecimal:doubleValue
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.math.BigDecimal:toString
unanalyzedcall on org.apache.commons.lang.StringUtils:deleteW hitespace
unanalyzedcall on org.apache.commons.lang.StringUtils:split
unanalyzedcall on java.lang.RuntimeException
unanalyzedcall on getWeblogger
unanalyzedcall on getPropertiesManager
unanalyzedcall on java.lang.ThreadLocal:get
unanalyzedcall on javax.persistence.EntityManagerFactory:crea teEntityManager
unanalyzedcall on java.lang.ThreadLocal:set
unanalyzedcall on javax.persistence.EntityManager:getTransact ion
unanalyzedcall on javax.persistence.EntityTransaction:isActiv e
unanalyzedcall on javax.persistence.EntityTransaction:begin
unanalyzedcall on javax.persistence.EntityManager:find
unanalyzedcall on org.apache.roller.weblogger.pojos. RuntimeConfigProperty:getValue
unanalyzedcall on org.apache.commons.logging.Log:warn
unanalyzedcall on java.lang.Boolean
unanalyzedcall on java.lang.Boolean:booleanValue
test_vectorcheckCanSave: {0}, {1}
test_vectorjava.io.File:exists(...)@180: {1}, {0}
test_vectorjava.io.InputStream:read(...)@195: {-1}, {-231..-2, 0..232-1}
test_vectorjava.lang.String:indexOf(...)@177: {-1}, {-231..-2, 0..232-1}
test_vectorjava.lang.String:startsWith(...)@163: {0}, {1}









  infomethod not available-- call on void org.apache.roller.weblogger.util. RollerMessages()










Prev Msg Next Msg
+
medium
conditional throwcheck might fail: requires canSave(...) != 0
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:debug(Object)











method void createDirectory(Weblog, String)
prepath != null
preinit'ed(this.upload_dir)
preweblog != null
presumptioninit'ed(java.io.File.separator)
presumptionjava.io.File:getCanonicalPath(...)@243 != null
presumptionjava.io.File:mkdir(...)@253 == 1
presumptionjava.lang.String:indexOf(...)@227 == -1
presumptionjava.lang.String:startsWith(...)@243 == 1
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
test_vectorjava.io.File:canRead(...)@236: {0}, {1}
test_vectorjava.io.File:exists(...)@236: {0}, {1}
test_vectorjava.io.File:isDirectory(...)@236: {0}, {1}
test_vectorjava.lang.String:startsWith(...)@223: {0}, {1}









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











method void deleteFile(Weblog, String)
preinit'ed(this.upload_dir)
preweblog != null
presumptionjava.io.File:delete(...)@270 == 1
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj










method void deleteAllFiles(Weblog)
pre(soft) init'ed(this.upload_dir)
pre(soft) weblog != null
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on java.io.File:isDirectory
unanalyzedcall on java.io.File:listFiles
unanalyzedcall on deleteAllFiles
unanalyzedcall on java.io.File:delete










method void deleteAllFiles(File)
predir != null
presumptiondirFiles.length@302 <= 232-1
unanalyzedcall on java.io.File:isDirectory
unanalyzedcall on java.io.File:listFiles
unanalyzedcall on deleteAllFiles
unanalyzedcall on java.io.File:delete
test_vectordirFiles.length@302: {0}, {1..232-1}
test_vectorjava.io.File:isDirectory(...)@305: {0}, {1}
test_vectorjava.io.File:listFiles(...)@302: Addr_Set{null}, Inverse{null}









Prev Msg Next Msg
+
high
null dereferencecheck fails here: requires file != null
Prev Msg Next Msg











method bool overQuota(Weblog)
preorg/apache/roller/weblogger/config/WebloggerRuntime Config.log != null
preinit'ed(this.upload_dir)
preweblog != null
pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider != null
pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider.webloggerInstance != null
presumption(int) (java.math.BigDecimal:doubleValue(... )@329*1024000) in -263.. 264-1
postinit'ed(return_value)
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on java.io.File:isDirectory
unanalyzedcall on java.io.File:listFiles
unanalyzedcall on java.io.File:length
unanalyzedcall on getDirSize
unanalyzedcall on getWeblogger
unanalyzedcall on getPropertiesManager
unanalyzedcall on getProperty
unanalyzedcall on java.lang.ThreadLocal:get
unanalyzedcall on javax.persistence.EntityManagerFactory:crea teEntityManager
unanalyzedcall on java.lang.ThreadLocal:set
unanalyzedcall on javax.persistence.EntityManager:getTransact ion
unanalyzedcall on javax.persistence.EntityTransaction:isActiv e
unanalyzedcall on javax.persistence.EntityTransaction:begin
unanalyzedcall on javax.persistence.EntityManager:find
unanalyzedcall on org.apache.roller.weblogger.pojos. RuntimeConfigProperty:getValue
unanalyzedcall on org.apache.commons.logging.Log:warn
unanalyzedcall on org.apache.commons.logging.Log:debug









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











method void release()










method bool canSave(Weblog, String, String, long, RollerMessages)
preorg/apache/roller/weblogger/config/WebloggerRuntime Config.log != null
pre(soft) log != null
pre(soft) messages != null
pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider != null
pre(soft) org/apache/roller/weblogger/business/Weblogg erFactory.webloggerProvider.webloggerInstance != null
pre(soft) path != null
pre(soft) init'ed(this.upload_dir)
pre(soft) weblog != null
presumption(int) (java.math.BigDecimal:doubleValue(... )@366*1024000) in -231..232-1
presumption(int) (java.math.BigDecimal:doubleValue(... )@377*1024000) in -263.. 264-1
presumptionallowFiles.length@394 <= 232-1
presumptionforbidFiles.length@395 <= 232-1
postinit'ed(return_value)
unanalyzedcall on java.lang.String:endsWith
unanalyzedcall on java.lang.String:replace
unanalyzedcall on org.apache.roller.weblogger.pojos. Weblog:getHandle
unanalyzedcall on java.io.File
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:mkdirs
unanalyzedcall on java.lang.String:startsWith
unanalyzedcall on java.lang.String:substring
unanalyzedcall on java.lang.String:lastIndexOf
unanalyzedcall on java.lang.String:indexOf
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
unanalyzedcall on java.io.File:getAbsolutePath
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:getCanonicalPath
unanalyzedcall on java.lang.Throwable:__curr_excep_obj
unanalyzedcall on java.io.File:isDirectory
unanalyzedcall on java.io.File:listFiles
unanalyzedcall on java.io.File:length
unanalyzedcall on getDirSize
unanalyzedcall on java.lang.String:equals
unanalyzedcall on java.lang.String:split
unanalyzedcall on java.lang.String:toLowerCase
unanalyzedcall on getWeblogger
unanalyzedcall on getPropertiesManager
unanalyzedcall on getProperty
unanalyzedcall on java.lang.ThreadLocal:get
unanalyzedcall on javax.persistence.EntityManagerFactory:crea teEntityManager
unanalyzedcall on java.lang.ThreadLocal:set
unanalyzedcall on javax.persistence.EntityManager:getTransact ion
unanalyzedcall on javax.persistence.EntityTransaction:isActiv e
unanalyzedcall on javax.persistence.EntityTransaction:begin
unanalyzedcall on javax.persistence.EntityManager:find
unanalyzedcall on org.apache.roller.weblogger.pojos. RuntimeConfigProperty:getValue
unanalyzedcall on org.apache.commons.logging.Log:warn
unanalyzedcall on org.apache.commons.logging.Log:debug
unanalyzedcall on java.lang.Boolean
unanalyzedcall on java.lang.Boolean:booleanValue
test_vectorjava.lang.String:indexOf(...)@402: {-1}, {-231..-2, 0..232-1}









  infomethod not available-- call on void org.apache.roller.weblogger.util. RollerMessages:addError(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.roller.weblogger.util. RollerMessages:addError(String, String)










  infomethod not available-- call on void org.apache.roller.weblogger.util. RollerMessages:addError(String, String)










  infomethod not available-- call on String org.apache.commons.lang. StringUtils:deleteWhitespace(String)
  infomethod not available-- call on String[] org.apache.commons.lang. StringUtils:split(String, String)










  infomethod not available-- call on String org.apache.commons.lang. StringUtils:deleteWhitespace(String)
  infomethod not available-- call on String[] org.apache.commons.lang. StringUtils:split(String, String)










  infomethod not available-- call on void org.apache.roller.weblogger.util. RollerMessages:addError(String, String)










  infomethod not available-- call on void org.apache.roller.weblogger.util. RollerMessages:addError(String)











method long getDirSize(File, bool)
predir != null
presumptionfiles.length@424 <= 232-1
presumptionjava.io.File:listFiles(...)@424 != null
postinit'ed(return_value)
unanalyzedcall on java.io.File:exists
unanalyzedcall on java.io.File:canRead
unanalyzedcall on java.io.File:isDirectory
unanalyzedcall on java.io.File:listFiles
unanalyzedcall on java.io.File:length
unanalyzedcall on getDirSize
test_vectorrecurse: {0}, {1}
test_vectorjava.io.File:canRead(...)@423: {0}, {1}
test_vectorjava.io.File:exists(...)@423: {0}, {1}
test_vectorjava.io.File:isDirectory(...)@423: {0}, {1}
test_vectorjava.io.File:isDirectory(...)@427: {1}, {0}









Prev Msg Next Msg
+
high
null dereferencecheck fails here: requires files[i] != null
Prev Msg Next Msg











method bool checkFileType(String[], String[], String, String)
pre(soft) allowFiles.length <= 232-1
pre(soft) allowFiles[...] != null
pre(soft) fileName != null
pre(soft) forbidFiles.length <= 232-1
pre(soft) forbidFiles[...] != null
postinit'ed(return_value)
unanalyzedcall on java.lang.String:equals
unanalyzedcall on java.lang.String:split
test_vectorallowFiles: Inverse{null}, Addr_Set{null}
test_vectorallowFiles.length: {1..232-1}, {0}
test_vectorcontentType: Addr_Set{null}, Inverse{null}
test_vectorforbidFiles: Addr_Set{null}, Inverse{null}
test_vectorforbidFiles.length: {0}, {1..232-1}
test_vectorjava.lang.String:endsWith(...)@476: {0}, {1}
test_vectorjava.lang.String:endsWith(...)@503: {0}, {1}
test_vectorjava.lang.String:indexOf(...)@456: {-231. .-2, 0..232-1}, {-1}










method bool matchContentType(String, String)
prerangeRule != null
pre(soft) contentType != null
postinit'ed(return_value)
test_vectorjava.lang.String:equals(...)@532: {0}, {1}
test_vectorjava.lang.String:equals(...)@533: {0}, {1}
test_vectorjava.lang.String:equals(...)@536: {0}, {1}









Prev Msg Next Msg
+
high
array index out of boundscheck fails here: requires ruleParts.length >= 2
+
medium
null dereferencecheck might fail: requires not_init'ed(ruleParts[0] )
+
medium
null dereferencecheck might fail: requires not_init'ed(ruleParts[1] )
+
low
use of default initcheck might fail: requires init'ed(ruleParts. length)
+
low
use of default initcheck might fail: requires init'ed(typeParts. length)
Prev Msg Next Msg











method File getRealFile(Weblog, String)
preinit'ed(this.upload_dir)
preweblog != null
presumptioninit'ed(java.io.File.separator)
presumptioninit'ed(java.io.File.separatorChar)
presumptionjava.io.File:canRead(...)@584 == 1
presumptionjava.io.File:exists(...)@581 == 1
presumptionjava.io.File:getCanonicalPath(...)@591 != null
presumptionjava.lang.String:indexOf(...)@563 - java.lang.String:lastIndexOf(...)@563 in 0..6_442_450_943
presumptionjava.lang.String:startsWith(...)@591 == 1
postreturn_value == &new File(getRealFile#6)
postnew File(getRealFile#6) num objects == 1
unanalyzedcall on org.apache.roller.weblogger. WebloggerException
unanalyzedcall on org.apache.roller.RollerException
test_vectorpath: Addr_Set{null}, Inverse{null}
test_vectorjava.io.File:exists(...)@551: {1}, {0}
test_vectorjava.lang.String:startsWith(...)@557: {0}, {1}









  infomethod not available-- call on String org.apache.roller.weblogger. pojos.Weblog:getHandle()











method void org.apache.roller.weblogger.business. FileManagerImpl$WeblogResourceFile(FileManagerImpl, Weblog, String, File)
postthis.relativePath == path
postinit'ed(this.relativePath)
postthis.resourceFile == file
postinit'ed(this.resourceFile)
postthis.weblog == weblog
postinit'ed(this.weblog)










method Weblog getWeblog()
preinit'ed(this.weblog)
postreturn_value == this.weblog
postinit'ed(return_value)










method ThemeResource[] getChildren()
prethis.resourceFile != null
pre(soft) init'ed(this.relativePath)
pre(soft) init'ed(this.weblog)
presumptiondirFiles.length@643 <= 232-1
presumptionjava.io.File:listFiles(...)@643 != null
postinit'ed(java.lang.StringBuilder:toString(...)._ tainted)
postreturn_value in Addr_Set{null,&new ThemeResource[](getChildren#2)}
postnew FileManagerImpl$WeblogResourceFile(getChildren# 4) num objects <= 232-1
postpossibly_updated(new FileManagerImpl$WeblogResource File(getChildren#4).relativePath)
postnew FileManagerImpl$WeblogResourceFile(getChildren# 4).resourceFile == null
postnew FileManagerImpl$WeblogResourceFile(getChildren# 4).weblog == this.weblog
post(soft) init'ed(new FileManagerImpl$WeblogResourceFi le(getChildren#4).weblog)
postnew ThemeResource[](getChildren#2) num objects <= 1
post(soft) new ThemeResource[](getChildren#2).length <= 232-1
postpossibly_updated(new ThemeResource[](getChildren#2) [...])
test_vectorthis.relativePath: Addr_Set{null}, Inverse{null}
test_vectorjava.io.File:isDirectory(...)@638: {1}, {0}
test_vectorjava.lang.String:equals(...)@653: {1}, {0}










method void org.apache.roller.weblogger.business. FileManagerImpl$WeblogResourceFile$1(FileManagerImp l$WeblogResourceFile)










method bool accept(File)
postinit'ed(return_value)









Prev Msg Next Msg
+
medium
null dereferencecheck might fail: requires not_init'ed(dirFiles[i])
Prev Msg Next Msg











method String getName()
prethis.resourceFile != null
postinit'ed(return_value)










method String getPath()
preinit'ed(this.relativePath)
postreturn_value == this.relativePath
postinit'ed(return_value)










method long getLastModified()
prethis.resourceFile != null
postinit'ed(return_value)










method long getLength()
prethis.resourceFile != null
postinit'ed(return_value)










method bool isDirectory()
prethis.resourceFile != null
postinit'ed(return_value)










method bool isFile()
prethis.resourceFile != null
postinit'ed(return_value)










method InputStream getInputStream()
preinit'ed(this.resourceFile)
postreturn_value == &new FileInputStream(getInputSt ream#1)
postnew FileInputStream(getInputStream#1) num objects == 1