作者: Luca Ardito , Luca Barbato , Marco Castelluccio , Riccardo Coppola , Calixte Denizet
DOI: 10.1016/J.SOFTX.2020.100635
关键词:
摘要: Abstract The literature proposes many software metrics for evaluating the source code non-functional properties, such as its complexity and maintainability. also several tools to compute those properties on codes developed with different languages. However, Rust language emergence has not been paired by community’s effort in developing parsers able code. Also, often fall short providing immediate means of comparing maintainability between algorithms or coding We hence introduce rust-code-analysis, a library that allows extraction set eleven ten languages, including Rust. through Syntax Tree (AST) file, inspection structure, analyzing at levels granularity, finding syntax errors before compiling time. tool offers command-line interface exporting results formats. possibility written programming languages enables simple systematic comparisons produced from empirical large-scale analysis sources.