TraceLab Components for Reproducing Source Code Summarization Experiments

Breno Dantas Cruz, Paul "Will" McBurney, Collin McMillan

Summary Generator Experiment

This page contains the Summary Generator experiment with the ND components.

  1. This picture contains the ND Summary Generator experiment for TraceLab. All components present in this experiment were developed by the ND TraceLab.
  2. img10
  3. The first component "ND Call Graph Generator" is selected in this picture. It requires as input the path to the folder of a srcml file. The output of this component will be placed in the TraceLab's workspace. For more details on the "ND Call Graph Generator" click here.
  4. img11
  5. The "ND PageRank Calculator" is selected in this picture. It will received from the workspace the a HashMap called "callgraph" that was processed by the ND Call Graph Generator. The ND PageRank Canlculator will place a HashMap named pageranks in the TraceLab's workspace. For more details on the "ND PageRank Calculator" click here.
  6. img12
  7. The "ND Call Graph Formatter" is selected in this picture. It will received from the workspace the contents of a HashMap named "callgraph". The output of this component is placed in "/tmp/ND_CallGraphFormatter.txt". For more details on the "ND Call Graph Formatter" click here.
  8. img13
  9. The "ND Page Rank Formatter" is selected in this picture. It will received from the workspace the contents of a HashMap named "pageranks" and it will format it so ND XML Sum Gen can use it. The output of this component is placed in "/tmp/ND_PageRanksFormatter.txt". For more details on the "ND Page Rank Formatter" click here.
  10. img13
  11. The "ND XML Sum Gen" is selected in this picture. It will receive the two temp files generated by ND Call Graph Formatter and ND Page Rank Component, it will also receive the path to the src files "DirFilePath" and the path to the swum files "SwumPath". The output of this component is placed in "/tmp/ND_XMLSumGen.txt". For more details on the "ND XML Sum Gen" click here.
  12. img13
  13. The "ND Sumslice" is selected in this picture. It will received from the user a lexicon file and a path to an output file. This component will generate the summaries. For more details on the "ND Sumslice" click here.
  14. img14

Table of Contents

Downloads