TraceLab Components for Reproducing Source Code Summarization Experiments
Breno Dantas Cruz, Paul "Will" McBurney, Collin McMillan
ND TFIDF Component Modified
The ND TFIDF Component Modified will receive as input a String from the ND XMLFile Parser Component and will print to the log in tracelab the results of the TFIDF method and will also print the results to a file. The user input is the control value, path to print the log, invocation value and signature value.
Observe the following items for an explanation about the ND TFIDF Component Modified component:
- When clicking the 'i' button of the component the following box will appear. This box contains all the details of this component.
- The following image shows the information regarding the input of the component. "xmlfile" is the name of the variable that will receive the value for the contents of the srcml file. The value of "xmlfile" will be provided by the ND XML File Parser.
- The following image shows variable "ControlValue", this variable is a type float and it will receive the control flow value for the calculation of the TFIDF method. This information should be filled by the user.
- The following image shows variable "DirPath", this variable is a type String and it will receive the absolute path to the folder were the user wants to save the log file from this component. This information should be filled by the user.
- The following image shows variable "InvValue", this variable is a type float and it will receive the method invocation value for the calculation of the TFIDF method. This information should be filled by the user.
- The following image shows variable "SignatureValue", this variable is a type float and it will receive the method signature value for the calculation of the TFIDF method. This information should be filled by the user.
- The following image shows the information regarding label of the component.
- The following information shows the output of the component printed to the TraceLab's log space.
Table of Contents
Downloads