Back to search

Athens University Economics and Business (AUEB)

Program analysis for code maintenance in dynamic programming languages

Abstract

dc:description

Over the recent years, dynamic programming languages expanded their reach on server-side applications, with an example being JavaScript and the Node.js runtime. Since ECMAScript 2015 (ES6) supports syntactic constructs for designing modular applications, developers are motivated to migrate their legacy applications towards using language features that are standardized in the newer language version. However, JavaScript is embedded in complex application environments that specify different interfaces, such as browsers and the server, thus introducing challenges in software refactoring and testing automation. In addition, the dynamic nature of JavaScript -for example dynamic code generation and execution- introduces significant challenges in both static and dynamic analysis. In the first section of this dissertation, we propose a static analysis method for automating the migration of a legacy JavaScript application towards using ECMAScript 2015 (ES6) modules. We investigate the patterns used by developers and researchers to circumvent the lack of language features enhancing modularity and encapsulation. Finally, we implement a prototype based on the proposed method and we evaluate it with an empirical study on a set of publicly available projects through assessing software coupling metrics. In the second section of this dissertation, we propose a method combining static and dynamic analysis for test augmentation in Node.js applications, based on the test suite’s integration tests. We evaluate the prototype with an empirical study on a set of opensource projects. The mutation score of the generated unit tests, along with software maintainability and difficulty, support the efficiency of the proposed approach.

Degree

thesis:*
Grantor dc:publisher
Athens University Economics and Business (AUEB)
Year dc:date
2026

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Paltoglou, Aikaterini
  • Παλτόγλου, Αικατερίνη

Subjects

dc:subject × 14

Rights

Language dc:language
eng

Identifiers

dc:identifier.*
Identifier
10.12681/eadd/62356

Chain of custody

source
Harvested from
Greek National Archive of PhD Theses
Base URL
phdtheses.ekt.gr/eadd_oai/request
Last updated
2026-11-18
Source record
OAI-PMH GetRecord
citation

Paltoglou, Aikaterini; Παλτόγλου, Αικατερίνη. Program analysis for code maintenance in dynamic programming languages. Athens University Economics and Business (AUEB), 2026. http://hdl.handle.net/10442/hedi/62356