'Reimplement analyze method'

def analyze(self, filename):

    if (self.dockwidget and (not self.ismaximized)):
        self.dockwidget.setVisible(True)
        self.dockwidget.setFocus()
        self.dockwidget.raise_()
    pythonpath = self.main.get_spyder_pythonpath()
    runconf = get_run_configuration(filename)
    (wdir, args) = (None, [])
    if (runconf is not None):
        if runconf.wdir_enabled:
            wdir = runconf.wdir
        if runconf.args_enabled:
            args = runconf.args
    self.profiler.analyze(filename, wdir=wdir, args=args, pythonpath=pythonpath)
