URLProtocolValidator.java


current inspection = 2009-09-03 21:56:13 (id #1)


Filter Options
Annotation Kind:
pre
presumption
post
unanalyzed
test_vector


  • void com.dmdirc.config.prefs.validator.URLProtocolValidator()

  • Kind Annotation Text

  • com.dmdirc.config.prefs.validator.URLProtocolValidator__static_init

  • Kind Annotation Text

  • ValidationResponse validate(Object)

  • Kind Annotation Text
    pre(soft) init'ed(com.dmdirc.config.ConfigManager$1__ static_init.new int[](ConfigManager$1__static_init# 1)[...])
    pre(soft) init'ed(com/dmdirc/config/IdentityManager. globalconfig)
    postcom/dmdirc/config/IdentityManager.globalconfig == One-of{old com/dmdirc/config/IdentityManager. globalconfig, &new ConfigManager(getGlobalConfi g#1)}
    postinit'ed(com/dmdirc/config/IdentityManager. globalconfig)
    postinit'ed(new ConfigManager(getGlobalConfig#1). channel)
    postinit'ed(new ConfigManager(getGlobalConfig#1).file)
    postinit'ed(new ConfigManager(getGlobalConfig#1).ircd)
    postinit'ed(new ConfigManager(getGlobalConfig#1). listeners)
    postinit'ed(new ConfigManager(getGlobalConfig#1). network)
    postinit'ed(new ConfigManager(getGlobalConfig#1). server)
    postinit'ed(new ConfigManager(getGlobalConfig#1). sources)
    postjava.lang.StringBuilder:toString(...)._tainted == 0
    postnew ArrayList(getSources#1) num objects <= 1
    postnew ConfigManager(getGlobalConfig#1) num objects == new ArrayList(getSources#1) num objects
    postnew MapList(ConfigManager#1) num objects == new ArrayList(getSources#1) num objects
    postnew ValidationResponse(validate#1*) num objects <= 1
    postnew ValidationResponse(validate#1*).failure == &amp;"Cannot be empty"
    postnew ValidationResponse(validate#2*) num objects <= 1
    postnew ValidationResponse(validate#2*).failure == &amp;"Cannot already exist"
    postnew ValidationResponse(validate#3*) num objects <= 1
    postnew ValidationResponse(validate#3*).failure == null
    postreturn_value == One-of{&amp;new ValidationResponse( validate#1*), &amp;new ValidationResponse(validate# 2*), &amp;new ValidationResponse(validate#3*)}
    postreturn_value in Addr_Set{&amp;new ValidationRespons e(validate#1*),&amp;new ValidationResponse(validate #2*),&amp;new ValidationResponse(validate#3*)}
    unanalyzedcall on addConfigManager
    unanalyzedcall on addListener
    unanalyzedcall on com.dmdirc.config.ConfigSource
    unanalyzedcall on com.dmdirc.config.ConfigTarget$TYPE:ordinal
    unanalyzedcall on com.dmdirc.logger.Logger:assertTrue
    unanalyzedcall on com.dmdirc.util.ConfigFile:getKeyDomain
    unanalyzedcall on com.dmdirc.util.ConfigFile:isKeyDomain
    unanalyzedcall on com.dmdirc.util.MapList
    unanalyzedcall on getOption
    unanalyzedcall on getSources
    unanalyzedcall on getTarget
    unanalyzedcall on hasOption
    unanalyzedcall on java.lang.IllegalArgumentException
    unanalyzedcall on java.lang.Integer:intValue
    unanalyzedcall on java.lang.Integer:valueOf
    unanalyzedcall on java.lang.String:equalsIgnoreCase
    unanalyzedcall on java.lang.String:isEmpty
    unanalyzedcall on java.lang.Throwable:__curr_excep_obj
    unanalyzedcall on java.util.ArrayList
    unanalyzedcall on java.util.Collections:sort
    unanalyzedcall on java.util.List:add
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get
    unanalyzedcall on java.util.Map:put

  • ValidationResponse validate(String)

  • Kind Annotation Text
    pre(soft) init'ed(com.dmdirc.config.ConfigManager$1__ static_init.new int[](ConfigManager$1__static_init# 1)[...])
    pre(soft) init'ed(com/dmdirc/config/IdentityManager. globalconfig)
    postcom/dmdirc/config/IdentityManager.globalconfig == One-of{old com/dmdirc/config/IdentityManager. globalconfig, &amp;new ConfigManager(getGlobalConfi g#1)}
    postinit'ed(com/dmdirc/config/IdentityManager. globalconfig)
    postinit'ed(new ConfigManager(getGlobalConfig#1). channel)
    postinit'ed(new ConfigManager(getGlobalConfig#1).file)
    postinit'ed(new ConfigManager(getGlobalConfig#1).ircd)
    postinit'ed(new ConfigManager(getGlobalConfig#1). listeners)
    postinit'ed(new ConfigManager(getGlobalConfig#1). network)
    postinit'ed(new ConfigManager(getGlobalConfig#1). server)
    postinit'ed(new ConfigManager(getGlobalConfig#1). sources)
    postjava.lang.StringBuilder:toString(...)._tainted == 0
    postnew ArrayList(getSources#1) num objects <= 1
    postnew ConfigManager(getGlobalConfig#1) num objects <= 1
    postnew MapList(ConfigManager#1) num objects <= 1
    postnew ValidationResponse(validate#1) num objects <= 1
    postnew ValidationResponse(validate#1).failure == &amp;"Cannot be empty"
    postnew ValidationResponse(validate#2) num objects <= 1
    postnew ValidationResponse(validate#2).failure == &amp;"Cannot already exist"
    postnew ValidationResponse(validate#3) num objects <= 1
    postnew ValidationResponse(validate#3).failure == null
    postreturn_value in Addr_Set{&amp;new ValidationRespons e(validate#3),&amp;new ValidationResponse(validate# 2),&amp;new ValidationResponse(validate#1)}
    unanalyzedcall on addConfigManager
    unanalyzedcall on addListener
    unanalyzedcall on com.dmdirc.config.ConfigSource
    unanalyzedcall on com.dmdirc.config.ConfigTarget$TYPE:ordinal
    unanalyzedcall on com.dmdirc.logger.Logger:assertTrue
    unanalyzedcall on com.dmdirc.util.ConfigFile:getKeyDomain
    unanalyzedcall on com.dmdirc.util.ConfigFile:isKeyDomain
    unanalyzedcall on com.dmdirc.util.MapList
    unanalyzedcall on getOption
    unanalyzedcall on getSources
    unanalyzedcall on getTarget
    unanalyzedcall on hasOption
    unanalyzedcall on java.lang.IllegalArgumentException
    unanalyzedcall on java.lang.Integer:intValue
    unanalyzedcall on java.lang.Integer:valueOf
    unanalyzedcall on java.lang.String:equalsIgnoreCase
    unanalyzedcall on java.lang.String:isEmpty
    unanalyzedcall on java.lang.Throwable:__curr_excep_obj
    unanalyzedcall on java.util.ArrayList
    unanalyzedcall on java.util.Collections:sort
    unanalyzedcall on java.util.List:add
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get
    unanalyzedcall on java.util.Map:put
    test_vectorjava.lang.String:isEmpty(...)@35: {0}, {1}
    test_vectorobject: Addr_Set{null}, Inverse{null}