parse_gof_patterns: Parse GoF Patterns

parse_gof_patternsR Documentation

Parse GoF Patterns

Description

Parses GoF patterns generated by write_gof_patterns 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)).

Usage

parse_gof_patterns(output_filepath = "/tmp/gof.xml")

Arguments

output_filepath

Optional path to read the XML generated by write_gof_patterns. If not specified, it will be assumed saved to the temporary folder path '/tmp/gof.xml'.

Value

A data.table containing the parsed gof patterns per class.

References

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.


sailuh/kaiaulu documentation built on Dec. 10, 2024, 3:14 a.m.