rust-code-analysis: A Rust library to analyze and extract maintainability information from source codes

作者: 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.

参考文章(23)
Nicholas D. Matsakis, Felix S. Klock, The rust language Proceedings of the 2014 ACM SIGAda annual conference on High integrity language technology - HILT '14. ,vol. 34, pp. 103- 104 ,(2014) , 10.1145/2663171.2663188
Arvinder Kaur, Kamaldeep Kaur, Kaushal Pathak, A proposed new model for maintainability index of open source software Proceedings of 3rd International Conference on Reliability, Infocom Technologies and Optimization. pp. 1- 6 ,(2014) , 10.1109/ICRITO.2014.7014758
Arvinder Kaur, Kamaldeep Kaur, Kaushal Pathak, Software maintainability prediction by data mining of software code metrics international conference on data mining. pp. 1- 6 ,(2014) , 10.1109/ICDMIC.2014.6954262
Rüdiger Lincke, Jonas Lundberg, Welf Löwe, Comparing software metrics tools Proceedings of the 2008 international symposium on Software testing and analysis - ISSTA '08. pp. 131- 142 ,(2008) , 10.1145/1390630.1390648
Reinhold Plosch, Klaus Lochmann, Lars Heinemann, Andreas Goeb, Michael Klas, Jonathan Streit, Stefan Wagner, Adam Trendowicz, Andreas Seidi, The quamoco product quality modelling and assessment approach international conference on software engineering. pp. 1133- 1142 ,(2012) , 10.5555/2337223.2337372
Istvan Kadar, Peter Hegedus, Rudolf Ferenc, Tibor Gyimothy, A Code Refactoring Dataset and Its Assessment Regarding Software Maintainability ieee international conference on software analysis evolution and reengineering. ,vol. 1, pp. 599- 603 ,(2016) , 10.1109/SANER.2016.42
Muhammad Imran Sarwar, Wasif Tanveer, Imran Sarwar, Waqar Mahmood, A comparative study of MI tools: Defining the Roadmap to MI tools standardization ieee international multitopic conference. pp. 379- 385 ,(2008) , 10.1109/INMIC.2008.4777767
Christof Ebert, James Cain, Giuliano Antoniol, Steve Counsell, Phillip Laplante, None, Cyclomatic Complexity IEEE Software. ,vol. 33, pp. 27- 29 ,(2016) , 10.1109/MS.2016.147
Tsubasa Matsushita, Isao Sasano, Detecting code clones with gaps by function applications partial evaluation and semantic-based program manipulation. pp. 12- 22 ,(2017) , 10.1145/3018882.3018892