LinuxInstaller.java


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


Filter Options
Annotation Kind:
pre
presumption
post
unanalyzed
test_vector


  • com.dmdirc.installer.LinuxInstaller$1__static_init

  • Kind Annotation Text
    presumptioncom.dmdirc.installer.Installer$ShortcutType. DESKTOP != null
    presumptioncom.dmdirc.installer.Installer$ShortcutType.MENU != null
    presumptioncom.dmdirc.installer.Installer$ShortcutType. PROTOCOL != null
    presumptioncom.dmdirc.installer.Installer$ShortcutType. QUICKLAUNCH != null
    presumptioncom.dmdirc.installer.Installer$ShortcutType. UNINSTALLER != null
    presumptioncom.dmdirc.installer.Installer$ShortcutType:values( ...).length@75 >= 1
    presumptioncom.dmdirc.installer.Installer_ShortcutType:ordinal (...)@75 < com.dmdirc.installer.Installer$ShortcutT ype:values(...).length@75
    presumptioncom.dmdirc.installer.Installer_ShortcutType:ordinal (...)@75 >= 0
    presumptioncom.dmdirc.installer.Installer_ShortcutType:values( ...)@75 != null
    postnew int[](LinuxInstaller$1__static_init#1) num objects == 1

  • void com.dmdirc.installer.LinuxInstaller()

  • Kind Annotation Text

  • com.dmdirc.installer.LinuxInstaller__static_init

  • Kind Annotation Text

  • String defaultInstallLocation()

  • Kind Annotation Text
    preinit'ed(com/dmdirc/installer/cliparser/CLIParser. me)
    presumptiongetCLIParser(...).params != null
    postcom/dmdirc/installer/cliparser/CLIParser.me != null
    postinit'ed(java.lang.String:valueOf(...)._tainted)
    postinit'ed(java.lang.StringBuilder:toString(...)._ tainted)
    postinit'ed(new CLIParser(getCLIParser#1).helpParam)
    postinit'ed(new CLIParser(getCLIParser#1).paramList)
    postinit'ed(new CLIParser(getCLIParser#1).params)
    postinit'ed(new CLIParser(getCLIParser#1).redundant)
    postinit'ed(return_value)
    postjava.lang.StringBuilder:toString(...)._tainted == 0
    postnew ArrayList(CLIParser#2) num objects <= 1
    postnew ArrayList(CLIParser#2) num objects == 0
    postnew ArrayList(CLIParser#3) num objects == 0
    postnew ArrayList(CLIParser#3) num objects == new ArrayList(CLIParser#2) num objects
    postnew CLIParser(getCLIParser#1) num objects == 0
    postnew CLIParser(getCLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    postnew CLIParser(getCLIParser#1).helpParam == null
    postnew CLIParser(getCLIParser#1).paramList == &amp;new ArrayList(CLIParser#2)
    postnew CLIParser(getCLIParser#1).params == &amp;new Hashtable(CLIParser#1)
    postnew CLIParser(getCLIParser#1).redundant == &amp;new ArrayList(CLIParser#3)
    postnew Hashtable(CLIParser#1) num objects == 0
    postnew Hashtable(CLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    unanalyzedcall on java.lang.String:valueOf
    unanalyzedcall on java.util.ArrayList
    unanalyzedcall on java.util.Hashtable
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get
    test_vectorjava.lang.String:isEmpty(...)@62: {0}, {1}

  • bool isRoot()

  • Kind Annotation Text
    preinit'ed(com/dmdirc/installer/cliparser/CLIParser. me)
    presumptiongetCLIParser(...).params != null
    postcom/dmdirc/installer/cliparser/CLIParser.me != null
    postcom/dmdirc/installer/cliparser/CLIParser.me == One-of{old com/dmdirc/installer/cliparser/CLIParse r.me, &amp;new CLIParser(getCLIParser#1)}
    postinit'ed(return_value)
    postnew ArrayList(CLIParser#2) num objects <= 1
    postnew ArrayList(CLIParser#3) num objects == new ArrayList(CLIParser#2) num objects
    postnew CLIParser(getCLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    postnew CLIParser(getCLIParser#1).helpParam == null
    postnew CLIParser(getCLIParser#1).paramList == &amp;new ArrayList(CLIParser#2)
    postnew CLIParser(getCLIParser#1).params == &amp;new Hashtable(CLIParser#1)
    postnew CLIParser(getCLIParser#1).redundant == &amp;new ArrayList(CLIParser#3)
    postnew Hashtable(CLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    unanalyzedcall on java.util.ArrayList
    unanalyzedcall on java.util.Hashtable
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get

  • void postInstall(String)

  • Kind Annotation Text
    preinit'ed(com/dmdirc/installer/cliparser/CLIParser. me)
    postcom/dmdirc/installer/cliparser/CLIParser.me != null
    postcom/dmdirc/installer/cliparser/CLIParser.me == One-of{old com/dmdirc/installer/cliparser/CLIParse r.me, &amp;new CLIParser(getCLIParser#1)}
    postnew ArrayList(CLIParser#2) num objects <= 1
    postnew ArrayList(CLIParser#3) num objects == new ArrayList(CLIParser#2) num objects
    postnew CLIParser(getCLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    postnew CLIParser(getCLIParser#1).helpParam == null
    postnew CLIParser(getCLIParser#1).paramList == &amp;new ArrayList(CLIParser#2)
    postnew CLIParser(getCLIParser#1).params == &amp;new Hashtable(CLIParser#1)
    postnew CLIParser(getCLIParser#1).redundant == &amp;new ArrayList(CLIParser#3)
    postnew Hashtable(CLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    unanalyzedcall on java.util.ArrayList
    unanalyzedcall on java.util.Hashtable
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get

  • void setupShortcut(String, Installer$ShortcutType)

  • Kind Annotation Text
    pre(soft) init'ed(com.dmdirc.installer. LinuxInstaller$1__static_init.new int[](LinuxInstal ler$1__static_init#1)[...])
    pre(soft) init'ed(com/dmdirc/installer/cliparser/CLIPa rser.me)
    pre(soft) shortcutType != null
    pre(soft) this.step != null
    presumptioncom.dmdirc.installer.Installer$ShortcutType:values( ...).length - com.dmdirc.installer.Installer_Shortc utType:ordinal(...)@106 in range
    presumptioncom.dmdirc.installer.Installer$ShortcutType:values( ...).length >= 1
    presumptioncom.dmdirc.installer.Installer_ShortcutType:ordinal (...)@106 < com.dmdirc.installer.Installer$Shortcut Type:values(...).length
    presumptioncom.dmdirc.installer.Installer_ShortcutType:ordinal (...)@106 >= 0
    presumptionjava.io.File:getParentFile(...)@187 != null
    presumptionjava.io.File:getParentFile(...)@188 != null
    presumptionjava.lang.Runtime:exec(...)@168 != null
    presumptionjava.lang.Runtime:getRuntime(...)@168 != null
    postcom/dmdirc/installer/cliparser/CLIParser.me == One-of{old com/dmdirc/installer/cliparser/CLIParse r.me, &amp;new CLIParser(getCLIParser#1)}
    postinit'ed(new CLIParser(getCLIParser#1).helpParam)
    postinit'ed(new CLIParser(getCLIParser#1).paramList)
    postinit'ed(new CLIParser(getCLIParser#1).params)
    postinit'ed(new CLIParser(getCLIParser#1).redundant)
    postnew ArrayList(CLIParser#2) num objects <= 1
    postnew ArrayList(CLIParser#3) num objects <= 1
    postnew ArrayList(CLIParser#3) num objects == new ArrayList(CLIParser#2) num objects
    postnew CLIParser(getCLIParser#1) num objects <= 1
    postnew CLIParser(getCLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    postnew Hashtable(CLIParser#1) num objects <= 1
    postnew Hashtable(CLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    postpossibly_updated(new ArrayList(CLIParser#2) num objects)
    postpossibly_updated(new ArrayList(CLIParser#3) num objects)
    postpossibly_updated(new CLIParser(getCLIParser#1) num objects)
    postpossibly_updated(new CLIParser(getCLIParser#1). helpParam)
    postpossibly_updated(new CLIParser(getCLIParser#1). paramList)
    postpossibly_updated(new CLIParser(getCLIParser#1). params)
    postpossibly_updated(new CLIParser(getCLIParser#1). redundant)
    postpossibly_updated(new Hashtable(CLIParser#1) num objects)
    unanalyzedcall on com.dmdirc.installer.Installer$ShortcutType :ordinal
    unanalyzedcall on isRoot
    unanalyzedcall on java.io.PrintWriter:println
    unanalyzedcall on java.lang.Thread
    unanalyzedcall on java.util.ArrayList
    unanalyzedcall on java.util.Hashtable
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get
    unanalyzedcall on javax.swing.SwingUtilities:invokeLater
    test_vectorcom.dmdirc.installer.LinuxInstaller$1__static_init. new int[](LinuxInstaller$1__static_init#1)[...]: {2}, {3}, {4}, {5}, {-231..1, 6..232-1}
    test_vectorjava.io.File:exists(...)@187: {1}, {0}

  • bool supportsShortcut(Installer$ShortcutType)

  • Kind Annotation Text
    pre(soft) init'ed(com.dmdirc.installer. LinuxInstaller$1__static_init.new int[](LinuxInstal ler$1__static_init#1)[...])
    pre(soft) init'ed(com/dmdirc/installer/cliparser/CLIPa rser.me)
    preshortcutType != null
    presumptioncom.dmdirc.installer.Installer$ShortcutType:values( ...).length - com.dmdirc.installer.Installer_Shortc utType:ordinal(...)@75 in range
    presumptioncom.dmdirc.installer.Installer$ShortcutType:values( ...).length >= 1
    presumptioncom.dmdirc.installer.Installer_ShortcutType:ordinal (...)@75 < com.dmdirc.installer.Installer$ShortcutT ype:values(...).length
    presumptioncom.dmdirc.installer.Installer_ShortcutType:ordinal (...)@75 >= 0
    postcom/dmdirc/installer/cliparser/CLIParser.me == One-of{old com/dmdirc/installer/cliparser/CLIParse r.me, &amp;new CLIParser(getCLIParser#1)}
    postinit'ed(com/dmdirc/installer/cliparser/CLIParser. me)
    postinit'ed(new CLIParser(getCLIParser#1).helpParam)
    postinit'ed(new CLIParser(getCLIParser#1).paramList)
    postinit'ed(new CLIParser(getCLIParser#1).params)
    postinit'ed(new CLIParser(getCLIParser#1).redundant)
    postinit'ed(return_value)
    postnew ArrayList(CLIParser#2) num objects <= 1
    postnew ArrayList(CLIParser#3) num objects <= 1
    postnew CLIParser(getCLIParser#1) num objects <= 1
    postnew Hashtable(CLIParser#1) num objects <= 1
    unanalyzedcall on java.util.ArrayList
    unanalyzedcall on java.util.Hashtable
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get
    test_vectorcom.dmdirc.installer.LinuxInstaller$1__static_init. new int[](LinuxInstaller$1__static_init#1)[...]: {1}, {2}, {3..5}, {-231.. 0, 6..232-1}

  • bool validFile(String)

  • Kind Annotation Text
    prefilename != null
    postinit'ed(return_value)

  • void writeFile(PrintWriter, String)

  • Kind Annotation Text
    preinit'ed(com/dmdirc/installer/cliparser/CLIParser. me)
    prewriter != null
    postcom/dmdirc/installer/cliparser/CLIParser.me != null
    postcom/dmdirc/installer/cliparser/CLIParser.me == One-of{old com/dmdirc/installer/cliparser/CLIParse r.me, &amp;new CLIParser(getCLIParser#1)}
    postnew ArrayList(CLIParser#2) num objects <= 1
    postnew ArrayList(CLIParser#3) num objects == new ArrayList(CLIParser#2) num objects
    postnew CLIParser(getCLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    postnew CLIParser(getCLIParser#1).helpParam == null
    postnew CLIParser(getCLIParser#1).paramList == &amp;new ArrayList(CLIParser#2)
    postnew CLIParser(getCLIParser#1).params == &amp;new Hashtable(CLIParser#1)
    postnew CLIParser(getCLIParser#1).redundant == &amp;new ArrayList(CLIParser#3)
    postnew Hashtable(CLIParser#1) num objects == new ArrayList(CLIParser#2) num objects
    unanalyzedcall on java.util.ArrayList
    unanalyzedcall on java.util.Hashtable
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get