Ban.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.channel.Ban()

  • 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.channel.Ban__static_init

  • Kind Annotation Text

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

  • Kind Annotation Text
    pre(soft) args.line != null
    pre(soft) channel != null
    pre(soft) init'ed(com/dmdirc/commandparser/CommandMana ger.commandChar)
    pre(soft) server != null
    preargs != null
    preinit'ed(args.words)
    presumptioncom.dmdirc.Channel:getChannelInfo(...)@62 != null
    presumptioncom.dmdirc.Server:getParser(...)@68 != null
    presumptioncom.dmdirc.parser.irc.ChannelClientInfo:getClient(. ..)@63 != null
    presumptioncom.dmdirc.parser.irc.ChannelClientInfo:getClient(. ..)@65 != null
    presumptioncom.dmdirc.parser.irc.ClientInfo:getHost(...)@63 != null
    presumptiongetArguments(...).length@61 >= 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
    test_vectorcom.dmdirc.parser.irc.ChannelInfo:getUser(...)@62: Addr_Set{null}, Inverse{null}
    test_vectorgetArguments(...).length@56: {1..+Inf}, {0}
    test_vectorjava.lang.String:isEmpty(...)@63: {1}, {0}

  • String getHelp()

  • Kind Annotation Text
    postreturn_value == &amp;"ban <user|host> - bans the specified user or host from the channel."

  • String getName()

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

  • AdditionalTabTargets getSuggestions(int, List)

  • Kind Annotation Text
    presumptioncom.dmdirc.ui.input.AdditionalTabTargets:excludeAll (...)@92 != null
    presumptioninit'ed(com.dmdirc.ui.input.TabCompletionType. CHANNEL_NICK)
    postreturn_value != null
    test_vectorarg: {-231..-1, 1..232-1}, {0}

  • bool showInHelp()

  • Kind Annotation Text
    postreturn_value == 1