erwinvaneyk/crawljax-functional-testing-suite — pull request #9 by erwinvaneyk (2014-05-20 09:47:30+00:00)
Title: Duplicate detection analysis tool

Description:
------------------------
An analysis-tool for the testing-suite. It compares the results of two crawls on various aspects (e.g. comparing the states), using various metrics. The results of the metrics generate a (weighted) score, which is stored with the analysis. After the analysis the tool will generate an overview/report.

Basic workflow Analysis:
--------------------------
1. The factory.getAnalysis is called and provided with the ids of some precrawled websiteResults (called benchmark-websiteResults).
2. The websites will be crawled again with the current/new crawlconfiguration
3. An Analysis-object will be created based on the benchmark results.
4. The metrics will be run over the benchmark/old results and the newly crawled results.
5. If neccesary Processor-classes can be used to manipulate the Analysis-object into some output.

Included Metrics:
-----------------------
- StateAnalysisMetric: Compares the states of the two results. It will identify missed states (states in benchmark results, not in new results) and duplicate states (states not in benchmark results, in new results).
- SpeedMetric: Compares the duration of the two crawls.

Included processors:
-------------------------
- AnalysisProcessorFile: generates a simple text-file-based report of the Analysis.
- AnalysisProcessorCmd: outputs the results of the Analysis to the console.