start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start [2012/09/26 16:51] – bil | start [2015/01/27 16:54] (current) – bil | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This wiki outlines the design pattern detection research that takes place at York University. It also includes detailed instructions on how to download and install the various design pattern detection tools that we have developed. | ||
+ | Please choose a link from the sidebar (currently only one) to learn more on this research topic. | ||
- | + | For any questions, please email [[bil@yorku.ca]] | |
- | This page shows a guideline for using the MoRe application suite. | + | |
- | + | ||
- | Download and extract the {{MoRe.zip|MoRe application suite}}. Note that the " | + | |
- | + | ||
- | A running example is also provided to test the tools suite. The example is based on the {{tab2ps.zip|TAB2PS}} system. | + | |
- | + | ||
- | | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | + | ||
- | Usage: java -jar finderConverter.jar finder_tab2ps.xml | + | |
- | + | ||
- | An {{tab2ps-finder.zip|example}} can be downloaded to test the converter. The example contains FINDER raw results of the TAB2PS system with corresponding " | + | |
- | + | ||
- | *PINOT Converter | + | |
- | + | ||
- | Usage: | + | |
- | java -jar pinotConverter.jar TAB2PS rawResult.txt outputPath | + | |
- | + | ||
- | An {{tab2ps-pinot.txt|example}} of PINOT raw result can be downloaded to test the converter. | + | |
- | + | ||
- | *SSA Converter | + | |
- | + | ||
- | Usage: | + | |
- | java -jar ssaConverter.jar TAB2PS rawResult.txt outputPath | + | |
- | + | ||
- | An {{tab2ps-ssa.zip|example}} of SSA raw result can be downloaded to test the converter. | + | |
- | + | ||
- | *Presenter | + | |
- | + | ||
- | Usage: java -jar presenter.jar | + | |
- | + | ||
- | Also, we can provide a MoRe instance as a parameter for the presenter at terminal. This loads the presenter with the corresponding MoRe instance together. | + | |
- | + | ||
- | Usage: java -jar presenter.jar aMoReInstance.xml | + | |
- | + | ||
- | You may wish to test the presenter with any MoReInstance file generated by the above three converters. | + | |
- | + | ||
- | *The Comparator | + | |
- | The comparator is able to compute all proposed metrics as well as raw precision and recall between two MoRe instance files. Calculation can be performed based on either roles in the Benchmark or the intersection of Automatic and Benchmark roles. Usage is shown in the following: | + | |
- | + | ||
- | Usage: java -jar comparator.jar Automatic Benchmark [option] | + | |
- | options: | + | |
- | -gap-b | + | |
- | -gar-b | + | |
- | -dap-b | + | |
- | -dar-b | + | |
- | -dapd-b | + | |
- | -dard-b | + | |
- | -gap-i | + | |
- | -gar-i | + | |
- | -dap-i | + | |
- | -dar-i | + | |
- | -dapd-i | + | |
- | -dard-i | + | |
- | -precision Regular precision | + | |
- | -recall | + | |
- | + | ||
- | Combination of two MoRe instances can also be obtained by the comparator in the following way: | + | |
- | Usage: java -jar comparator.jar result1 result2 combinedFile -c | + | |
- | + | ||
- | You may wish to test the comparator with two correspondence MoReInstance files generated by the above converters. | + | |
- | + | ||
- | *Comparing All | + | |
- | The comparator can also compare detection results for all metrics of multiple patterns produced by two tools at one time. In order to do this, a configuration file is needed to specify the software system name, tool name of the automatic result set, tool name of the benchmark result set, comparison type (based on benchmark | + | |
- | roles or intersection of roles), and a list of pairs of MoRe instances to be compared. | + | |
- | A sample {{ssa_finder_compareAll.zip|configuration file}} is shown below. In order to run this example, you may need to edit the paths from working directory to all pairs of MoRe Instances. | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | | + | |
- | < | + | |
- | | + | |
- | < | + | |
- | | + | |
- | < | + | |
- | | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | To perform the comparison, we use a separate jar in the following way: | + | |
- | Usage: java -jar compareAll.jar compareAll.xml | + | |
- | + | ||
- | + |
start.1348678285.txt.gz · Last modified: 2012/09/26 16:51 by bil