LagDisplayPlugin.java


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


Filter Options
Annotation Kind:
pre
presumption
post
unanalyzed
test_vector


  • void com.dmdirc.addons.lagdisplay.LagDisplayPlugin()

  • Kind Annotation Text
    postnew HashMap(LagDisplayPlugin#3) num objects == 1
    postnew LagDisplayPanel(LagDisplayPlugin#1) num objects == 1
    postnew WeakHashMap(LagDisplayPlugin#2) num objects == 1
    postthis.history == &new HashMap(LagDisplayPlugin#3 )
    postthis.historySize == 100
    postthis.panel == &new LagDisplayPanel(LagDisplayPl ugin#1)
    postthis.panel.plugin != null
    postthis.panel.plugin == this
    postthis.pings == &new WeakHashMap(LagDisplayPlugin #2)
    postthis.showGraph == 1
    postthis.showLabels == 1
    unanalyzedcall on com.dmdirc.addons.ui_swing.components. statusbar.StatusbarPopupPanel

  • com.dmdirc.addons.lagdisplay.LagDisplayPlugin__static_init

  • Kind Annotation Text

  • void configChanged(String, String)

  • Kind Annotation Text
    postinit'ed(this.historySize)
    postinit'ed(this.showGraph)
    postinit'ed(this.showLabels)
    unanalyzedcall on com.dmdirc.addons.lagdisplay. LagDisplayPlugin:getDomain
    unanalyzedcall on com.dmdirc.config.ConfigManager:getOptionBo ol
    unanalyzedcall on com.dmdirc.config.ConfigManager:getOptionIn t
    unanalyzedcall on com.dmdirc.config.IdentityManager:getGlobal Config

  • String formatTime(Object)

  • Kind Annotation Text
    preobject != null
    postinit'ed(java.lang.StringBuilder:toString(...)._ tainted)
    postjava.lang.StringBuilder:toString(...)._tainted == 0
    postreturn_value in Addr_Set{&java.lang. StringBuilder:toString(...),&java.lang. StringBuilder:toString(...)}
    test_vectorjava.lang.Long:longValue(...)@252: {-9_223_372_036_ 854_775_808..9_999}, {10_000..18_446_744_073_709_55 1_615}

  • RollingList getHistory(Server)

  • Kind Annotation Text
    pre(soft) init'ed(this.historySize)
    prethis.history != null
    postinit'ed(return_value)
    test_vectorjava.util.Map:containsKey(...)@111: {1}, {0}

  • String getTime(Server)

  • Kind Annotation Text
    prethis.pings != null
    postinit'ed(return_value)

  • void onLoad()

  • Kind Annotation Text
    precom/dmdirc/Main.controller != null
    presumptioncom.dmdirc.config.IdentityManager:getGlobalConfig(. ..)@83 != null
    presumptioncom.dmdirc.ui.interfaces.UIController:getStatusBar( ...)@82 != null
    postinit'ed(this.historySize)
    postinit'ed(this.showGraph)
    postinit'ed(this.showLabels)
    unanalyzedcall on com.dmdirc.addons.lagdisplay. LagDisplayPlugin:getDomain
    unanalyzedcall on com.dmdirc.config.ConfigManager:getOptionBo ol
    unanalyzedcall on com.dmdirc.config.ConfigManager:getOptionIn t
    unanalyzedcall on com.dmdirc.config.IdentityManager:getGlobal Config
    unanalyzedcall on com.dmdirc.util.MapList:add

  • void onUnload()

  • Kind Annotation Text
    precom/dmdirc/Main.controller != null
    presumptioncom.dmdirc.config.IdentityManager:getConfigIdentity (...)@142 != null
    presumptioncom.dmdirc.ui.interfaces.UIController:getStatusBar( ...)@141 != null
    unanalyzedcall on com.dmdirc.util.MapList:removeFromAll

  • void processEvent(ActionType, StringBuffer, Object[])

  • Kind Annotation Text
    pre(soft) arguments.length in {3..232-1}
    pre(soft) arguments[0] != null
    pre(soft) arguments[0].channels != null
    pre(soft) arguments[0].parser != null
    pre(soft) arguments[0].queries != null
    pre(soft) arguments[1] != null
    pre(soft) arguments[2] != null
    pre(soft) arguments[2].length >= 4
    pre(soft) arguments[2][3] != null
    pre(soft) com/dmdirc/Main.controller != null
    pre(soft) init'ed(arguments[0].raw)
    pre(soft) init'ed(arguments[0].window)
    pre(soft) init'ed(arguments[...])
    pre(soft) init'ed(this.historySize)
    pre(soft) this.history != null
    pre(soft) this.panel != null
    pre(soft) this.pings != null
    prearguments != null
    pretype != null
    presumptiongetServer(...).myState@198 != null
    presumptiongetServer(...)@198 != null
    presumptionjava.lang.Long:valueOf(...)@212 != null
    presumptionjava.util.Date:getTime(...)@212 - java.lang. Long:parseLong(...)@211 in {-9_223_372_036_854_775_ 808..264-1}
    presumptionjava.util.Map:get(...)@115 != null
    unanalyzedcall on com.dmdirc.util.RollingList
    unanalyzedcall on getFrame
    unanalyzedcall on java.lang.Long:longValue
    unanalyzedcall on java.lang.Math:round
    unanalyzedcall on java.lang.Object:equals
    unanalyzedcall on java.util.Collection:iterator
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get
    unanalyzedcall on java.util.Map:put
    unanalyzedcall on java.util.Map:values
    unanalyzedcall on ownsFrame
    test_vectorarguments[...].config: Addr_Set{null}, Inverse{null}
    test_vectorformat: Addr_Set{null}, Inverse{null}
    test_vectorgetServer(...).myState.state@198: Addr_ Set{&com.dmdirc.ServerState__static_init.new ServerState(ServerState__static_init#3)}, Inverse{&com.dmdirc.ServerState__static_init. new ServerState(ServerState__static_init#3)}
    test_vectorgetServer(...)@196: Inverse{null}, Addr_Set{null}
    test_vectorjava.lang.Integer:intValue(...)@207: {-231..420, 422..232-1}, {421}
    test_vectorjava.lang.Object:equals(...)@162: {0}, {1}
    test_vectorjava.lang.Object:equals(...)@174: {0}, {1}
    test_vectorjava.lang.Object:equals(...)@185: {0}, {1}
    test_vectorjava.lang.Object:equals(...)@194: {0}, {1}
    test_vectorjava.lang.Object:equals(...)@205: {0}, {1}
    test_vectorjava.lang.Object:equals(...)@207: {0}, {1}
    test_vectorjava.lang.String:startsWith(...)@207: {0}, {1}

  • void readConfig()

  • Kind Annotation Text
    presumptioncom.dmdirc.config.IdentityManager:getGlobalConfig(. ..)@97 != null
    postinit'ed(this.historySize)
    postinit'ed(this.showGraph)
    postinit'ed(this.showLabels)

  • bool shouldShowGraph()

  • Kind Annotation Text
    preinit'ed(this.showGraph)
    postinit'ed(return_value)
    postreturn_value == this.showGraph

  • bool shouldShowLabels()

  • Kind Annotation Text
    preinit'ed(this.showLabels)
    postinit'ed(return_value)
    postreturn_value == this.showLabels

  • void showConfig(PreferencesManager)

  • Kind Annotation Text
    premanager != null
    presumptioncom.dmdirc.config.prefs.PreferencesManager:getCateg ory(...)@277 != null
    presumptioninit'ed(com.dmdirc.config.prefs.PreferencesType. BOOLEAN)
    presumptioninit'ed(com.dmdirc.config.prefs.PreferencesType. INTEGER)