谷歌Chrome浏览器插件
订阅小程序
在清言上使用

Deriving modernity signatures of codebases with static analysis

Chris Admiraal, Wouter van den Brink,Marcus Gerhold,Vadim Zaytsev, Cristian Zubcu

JOURNAL OF SYSTEMS AND SOFTWARE(2024)

引用 0|浏览5
暂无评分
摘要
This paper addresses the problem of determining the modernity of software systems by analysing the use of new language features and their adoption over time. We propose the concept of modernity signatures to estimate the age of a codebase, naturally adjusted for maintenance practices, such that the modernity of a regularly updated system would be above that of a more recently created one which neglects current features and best practices. This can provide insights into coding practices, codebase health and the evolution of software languages. We present case studies on PHP and Python code, demonstrating the effectiveness of modernity signatures in determining the age of a codebase without executing the code or performing extensive human inspection. The paper describes the technical implementation details of generating the modernity signature for both of these languages, including the use of existing tools like the PHP parser and Vermin. The findings suggest that modernity signatures can aid developers in many ways from choosing whether to use a system or how to approach its maintenance, to assessing usefulness of a language feature, thus providing a valuable tool for source code analysis and manipulation.
更多
查看译文
关键词
Coupled evolution,Software evolution,Programming language adoption
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要