SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


DPJF: DPD for Researchers

If you are interested in reports on the speed of a DPD run (and on the precision and recall of runs on projects for which previously validated results are available) you can

  1. Set the directory in which pattern detection results should be stored by running in the Prolog Console the query setOutputFolder(Path).
    • Details
    • Example
    • Attention! If you do not set the output folder explicitly, the results will be stored into the folder resultFolder that resides within the directory of your project.
  2. Run the desired detectors, as explained in the DPD for Software Engineers section.
  3. Go to the results folder set in step 1. It contains subfolders named projectName-results-date-time.
    • Example
  4. Each subfolder contains the following files:
    • The “dpjf-candidates.pl” file contains DP candidates generated by DPJF for a given repository.
    • Each “statistics-patterngroup.csv” file ( Example)

contains the response time needed to detect patterns within the respective similarity group.

  • The “dpjf-evaluation-accuracies.txt” file contains the accuracies for each individual pattern.
  • Details
  • Example

DPJF computes accuracies only for projects for which we have control sets. Currently, these are our benchmark projects1).

Note that DPJF can nevertheless detect patterns in arbitrary Java projects (without computing accuracies).

1)
We are working on interfacing DPJF to DBP, to take advantage of the control sets stored there
research/dpd/dpjf/researchers.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2023