Notice.java


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


Filter Options
Annotation Kind:
pre
presumption
post
unanalyzed
test_vector


  • void com.dmdirc.commandparser.commands.server.Notice()

  • Kind Annotation Text
    preinit'ed(com/dmdirc/commandparser/CommandManager. commandChar)
    unanalyzedcall on com.dmdirc.Channel:getTabCompleter
    unanalyzedcall on com.dmdirc.Query:getTabCompleter
    unanalyzedcall on com.dmdirc.Server:getChannel
    unanalyzedcall on com.dmdirc.Server:getChannels
    unanalyzedcall on com.dmdirc.Server:getQueries
    unanalyzedcall on com.dmdirc.Server:getTabCompleter
    unanalyzedcall on com.dmdirc.ServerManager:getServerManager
    unanalyzedcall on com.dmdirc.ServerManager:getServers
    unanalyzedcall on com.dmdirc.commandparser.commands.Command
    unanalyzedcall on com.dmdirc.ui.input.TabCompleter:addEntry
    unanalyzedcall on com.dmdirc.ui.input.TabCompleter:removeEntr y
    unanalyzedcall on com.dmdirc.util.MapList:containsKey
    unanalyzedcall on com.dmdirc.util.MapList:get
    unanalyzedcall on getName
    unanalyzedcall on getType
    unanalyzedcall on java.lang.String:toLowerCase
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on java.util.Map:put
    unanalyzedcall on java.util.Map:remove

  • com.dmdirc.commandparser.commands.server.Notice__static_init

  • Kind Annotation Text

  • void execute(InputWindow, Server, bool, CommandArguments)

  • Kind Annotation Text
    pre(soft) args.line != null
    pre(soft) init'ed(com/dmdirc/commandparser/CommandMana ger.commandChar)
    pre(soft) server != null
    preargs != null
    preinit'ed(args.words)
    presumptioncom.dmdirc.Server:getParser(...)@61 != null
    presumptiongetArguments(...).length@61 >= 1
    presumptiongetArguments(...).length@63 >= 1
    presumptionjava.util.Arrays:copyOfRange(...)@99 != null
    postargs.words != null
    postinit'ed(java.lang.String:split(...)._tainted)
    postinit'ed(java.lang.String:split(...).length)
    postjava.lang.String:split(...)._tainted == 0
    unanalyzedcall on com.dmdirc.ui.interfaces.InputWindow:addLin e
    unanalyzedcall on getCommandChar
    unanalyzedcall on java.lang.Character:valueOf
    unanalyzedcall on java.lang.String:split
    unanalyzedcall on java.util.Arrays:copyOfRange
    unanalyzedcall on java.util.regex.Matcher:group
    unanalyzedcall on java.util.regex.Matcher:matches
    unanalyzedcall on java.util.regex.Pattern:compile
    unanalyzedcall on java.util.regex.Pattern:matcher
    test_vectorgetArguments(...).length@58: {2..+Inf}, {0,1}

  • String getHelp()

  • Kind Annotation Text
    postreturn_value == &amp;"notice <target> <message> - sends a notice"

  • String getName()

  • Kind Annotation Text
    postreturn_value == &amp;"notice"

  • AdditionalTabTargets getSuggestions(int, List)

  • Kind Annotation Text
    presumptioninit'ed(com.dmdirc.ui.input.TabCompletionType. COMMAND)
    postnew AdditionalTabTargets(getSuggestions#1) num objects == 1
    postreturn_value == &amp;new AdditionalTabTargets(getSu ggestions#1)
    test_vectorarg: {-231..-1, 1..232-1}, {0}

  • bool showInHelp()

  • Kind Annotation Text
    postreturn_value == 1