write_gof_patterns | R Documentation |
Write GoF patterns generated by 'pattern4.jar' into a a table. https://www.srcml.org/documentation.html. Pattern4.jar is available on [Tsantalis' homepage](https://users.encs.concordia.ca/~nikolaos/pattern_detection.html)).
write_gof_patterns(
pattern4_path,
class_folder_path,
output_filepath = "/tmp/gof.xml"
)
pattern4_path |
The path to Tsantalis' pattern4 jar |
class_folder_path |
The path to a folder one level above subdirectories that contain the class files. |
output_filepath |
Optional path to store the XML generated by pattern4. If not specified, it will be saved to '/tmp/gof.xml'. |
A data.table containing the parsed gof patterns per class.
N. Tsantalis, A. Chatzigeorgiou, G. Stephanides, S. T. Halkidis, "Design Pattern Detection Using Similarity Scoring", IEEE Transactions on Software Engineering, vol. 32, no. 11, pp. 896-909, November, 2006.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.