Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Draw conclusions from the clues obtained during the scanning phase.

@param clues: Unprocessed clues obtained during the scanning stage.
@type clues: C{list}

@return: Coherent list of clues identifying real web servers.
@rtype: C{list}

        def analyze(clues):
    """Draw conclusions from the clues obtained during the scanning phase.

    @param clues: Unprocessed clues obtained during the scanning stage.
    @type clues: C{list}

    @return: Coherent list of clues identifying real web servers.
    @rtype: C{list}
    """
    results = []

    clues = uniq(clues)

    clues = filter_proxies(clues)

    cluesbydigest = classify(clues, get_digest)

    for key in cluesbydigest.keys():
        for cluster in clusters(cluesbydigest[key]):
            results.append(merge(cluster))

    return results
        


src/h/a/halberd-0.2.4/Halberd/shell.py   halberd(Download)
            return
 
        self.task.analyzed = analysis.analyze(self.task.clues)
        self.task.analyzed = analysis.reanalyze(self.task.clues,
                                self.task.analyzed, self.task.ratio_threshold)

src/h/a/halberd-HEAD/Halberd/shell.py   halberd(Download)
            return
 
        self.task.analyzed = analysis.analyze(self.task.clues)
        self.task.analyzed = analysis.reanalyze(self.task.clues,
                                self.task.analyzed, self.task.ratio_threshold)

src/h/a/halberd-HEAD/tests/test_clues_analysis.py   halberd(Download)
    def analyze(self, filename, expected_raw, expected_analyzed):
        clues = self._getClues(filename)
        self.failUnless(len(clues) >= expected_raw)
 
        analyzed = analysis.analyze(clues)

src/h/a/halberd-0.2.4/tests/test_clues_analysis.py   halberd(Download)
    def analyze(self, filename, expected_raw, expected_analyzed):
        clues = self._getClues(filename)
        self.failUnless(len(clues) >= expected_raw)
 
        analyzed = analysis.analyze(clues)