Evaluation of Web Application Evolution Using Lehman’s Laws: A Comparative Study of Python, Perl, and PHP Frameworks
Keywords:
Lehman’s Laws , Software Evolution , Web Applications , Programming Languages , Software MetricesAbstract
Web applications are always evolving in accordance with new requirements from users and technological innovations. It is necessary to evaluate this evolution since uncontrolled changes can add complexity to the system, decrease its quality and, finally, affect its sustainability. This study explores the evolution of chosen web applications by employing Lehman’s Laws of Software Evolution as the core theoretical concept for the analysis. The attention will be paid to three popular open-source web applications: Django for Python, Catalyst for Perl, and WordPress for PHP. The versions of each application have been analyzed via several software metrics, such as time between releases, number of lines of code, cyclomatic complexity, number of comments, rate of modifications, common ratio, and growth of source lines of code. The metrics have been correlated with Lehman’s eight laws of software evolution. These findings show that the tendencies which have been revealed confirm quite a few of Lehman’s Laws mainly those connected with change. On the other hand, the laws which describe decreasing quality and feedback systems have not been confirmed for all the chosen projects. The general conclusion from these findings is that Lehman’s Laws can be used as an effective way to analyze the process of evolution of web applications, however, their applicability may vary depending on a particular project, metrics, and development techniques used. Thus, this research contributes to software evolution studies by providing a comparative and metrics-based analysis of web projects created in PHP, Python and Perl.