'Handles the Analyze part.'

def _analyze(self, widg):

    (request, postbody) = self.originalReq.get_both_texts_raw()
    try:
        fg = helpers.coreWrap(fuzzygen.FuzzyGenerator, request, postbody)
    except fuzzygen.FuzzyError:
        return
    self.analyzefb.set_text(('%d    requests' % fg.calculate_quantity()))
    self.analyzefb.set_sensitive(True)
    if self.preview.get_active():
        PreviewWindow(self.w3af, self, fg)
