{"id":{"repo_id":"greece","oai_identifier":"oai:10442/62356"},"canonical_url":"https://search.ndltd.org/etd/greece/oai:10442/62356","repository":{"repo_id":"greece","name":"Greek National Archive of PhD Theses","base_url":"https://phdtheses.ekt.gr/eadd_oai/request"},"display":{"title":"Program analysis for code maintenance in dynamic programming languages","abstract":"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.","abstract_html":"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.","abstract_has_math":false,"creators":["Paltoglou, Aikaterini","Παλτόγλου, Αικατερίνη"],"institution":"Athens University Economics and Business (AUEB)","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-18T22:28:17Z","subjects":["Ανάλυση προγράμματος","Δυναμικές γλώσσες προγραμματισμού","Αναδόμηση","Επαύξηση ελέγχων","Program analysis","Dynamic programming languages","Refactoring","Test augmentation","Επιστήμη Ηλεκτρονικών Υπολογιστών και Πληροφορική","Φυσικές Επιστήμες","Λογισμικό (software)","Computer and Information Sciences","Natural Sciences","Software"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["10.12681/eadd/62356"],"render_values":[{"text":"10.12681/eadd/62356","href":"https://doi.org/10.12681/eadd/62356","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/10442/hedi/62356","outbound_label":"Handle","outbound_source":"dc:identifier","record_url":"http://hdl.handle.net/10442/hedi/62356","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://phdtheses.ekt.gr/eadd_oai/request?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3A10442%2F62356","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Paltoglou, Aikaterini","Παλτόγλου, Αικατερίνη"]},{"key":"dc:creator.fathername","label":"Dc Creator Fathername","values":["Michail"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026"]},{"key":"dc:publisher","label":"Institution","values":["Athens University Economics and Business (AUEB)","Οικονομικό Πανεπιστήμιο Αθηνών"]},{"key":"dc:type","label":"Dc Type","values":["PhD Thesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Ανάλυση προγράμματος","Δυναμικές γλώσσες προγραμματισμού","Αναδόμηση","Επαύξηση ελέγχων","Program analysis","Dynamic programming languages","Refactoring","Test augmentation","Επιστήμη Ηλεκτρονικών Υπολογιστών και Πληροφορική","Φυσικές Επιστήμες","Λογισμικό (software)","Computer and Information Sciences","Natural Sciences","Software"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["10.12681/eadd/62356","http://hdl.handle.net/10442/hedi/62356"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["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.","Σήμερα οι δυναμικές γλώσσες προγραμματισμού έχουν διευρύνει το πεδίο εφαρμογής τους στις εφαρμογές εξυπηρετητή, με παράδειγμα τη JavaScript και τη πλατφόρμα ανάπτυξης Node.js. Η υποστήριξη χαρακτηριστικών που διευκολύνουν την ανάπτυξη τμηματοποιημένων εφαρμογών (modularized applications) στην ECMAScript 2015 (ES6) παρέχει στους μηχανικούς λογισμικού τη δυνατότητα της αναδόμησης των εφαρμογών τους στην κατεύθυνση της αξιοποίησης χαρακτηριστικών που εντάσσονται σε νέες εκδόσεις της γλώσσας. Ωστόσο, η JavaScript έχει πεδίο εφαρμογής σε περίπλοκα περιβάλλοντα εφαρμογών τα οποία διέπονται από διαφορετικά χαρακτηριστικά, όπως ο φυλλομετρητής ιστού (browser) και ο εξυπηρετητής (server). Το παραπάνω εισάγει σημαντικές προκλήσεις στην αυτοματοποίηση της αναδόμησης και του ελέγχου. Επιπλέον, τα δυναμικά χαρακτηριστικά της γλώσσας -για παράδειγμα η δυναμική παραγωγή και εκτέλεση κώδικα- εισάγει σημαντικές προκλήσεις στην εφαρμογή μεθόδων στατικής και δυναμικής ανάλυσης προγράμματος. Στο πρώτο μέρος της διατριβής, προτείνεται μια μέθοδος στατικής ανάλυσης προγράμματος (static program analysis) για την αυτοματοποίηση της αναδόμησης μιας JavaScript εφαρμογής στην κατεύθυνση της αξιοποίησης των ECMAScript 2015 (ES6) modules. Διερευνώνται οι λύσεις που είχαν υιοθετηθεί -τόσο στην επιστημονική κοινότητα όσο και στη βιομηχανία ανάπτυξης λογισμικού- για την αντιμετώπιση της έλλειψης χαρακτηριστικών της γλώσσας που υποστηρίζουν την τμηματοποίηση (modularity) και την ενθυλάκωση (encapsulation). Η προτεινόμενη μέθοδος αξιολογείται σε ένα σύνολο από εφαρμογές που είναι διαθέσιμες σε δημόσια ψηφιακά αποθετήρια μέσω της αποτίμησης ποιοτικών μετρικών λογισμικού, συγκεκριμένα της σύζευξης (coupling). Στο δεύτερο μέρος της διατριβής, προτείνεται μια μέθοδος στατικής και δυναμικής ανάλυσης προγράμματος (static/dynamic program analysis) για την αυτοματοποίηση της επαύξησης ελέγχων της σουίτας ελέγχων μιας JavaScript εφαρμογής εξυπηρετητή, με αξιοποίηση των ελέγχων ενσωμάτωσης (integration tests) της σουίτας ελέγχων. Η προτεινόμενη μέθοδος αξιολογείται σε ένα σύνολο εφαρμογών που είναι διαθέσιμες σε δημόσια ψηφιακά αποθετήρια. Ο βαθμός μεταλλάξεων (mutation score) καθώς και μετρικές ποιότητας λογισμικού των παραγόμενων ελέγχων, όπως ο δείκτης συντηρησιμότητας (maintainability index), αναδεικνύουν την αποδοτικότητα (efficiency) της προτεινόμενης μεθόδου."]},{"key":"dc:title","label":"Title","values":["Program analysis for code maintenance in dynamic programming languages","Ανάλυση προγράμματος για τη συντήρηση πηγαίου κώδικα δυναμικών γλωσσών προγραμματισμού"]}]}],"canonical_facts":{"dc:creator":["Paltoglou, Aikaterini","Παλτόγλου, Αικατερίνη"],"dc:creator.fathername":["Michail"],"dc:date":["2026"],"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.","Σήμερα οι δυναμικές γλώσσες προγραμματισμού έχουν διευρύνει το πεδίο εφαρμογής τους στις εφαρμογές εξυπηρετητή, με παράδειγμα τη JavaScript και τη πλατφόρμα ανάπτυξης Node.js. Η υποστήριξη χαρακτηριστικών που διευκολύνουν την ανάπτυξη τμηματοποιημένων εφαρμογών (modularized applications) στην ECMAScript 2015 (ES6) παρέχει στους μηχανικούς λογισμικού τη δυνατότητα της αναδόμησης των εφαρμογών τους στην κατεύθυνση της αξιοποίησης χαρακτηριστικών που εντάσσονται σε νέες εκδόσεις της γλώσσας. Ωστόσο, η JavaScript έχει πεδίο εφαρμογής σε περίπλοκα περιβάλλοντα εφαρμογών τα οποία διέπονται από διαφορετικά χαρακτηριστικά, όπως ο φυλλομετρητής ιστού (browser) και ο εξυπηρετητής (server). Το παραπάνω εισάγει σημαντικές προκλήσεις στην αυτοματοποίηση της αναδόμησης και του ελέγχου. Επιπλέον, τα δυναμικά χαρακτηριστικά της γλώσσας -για παράδειγμα η δυναμική παραγωγή και εκτέλεση κώδικα- εισάγει σημαντικές προκλήσεις στην εφαρμογή μεθόδων στατικής και δυναμικής ανάλυσης προγράμματος. Στο πρώτο μέρος της διατριβής, προτείνεται μια μέθοδος στατικής ανάλυσης προγράμματος (static program analysis) για την αυτοματοποίηση της αναδόμησης μιας JavaScript εφαρμογής στην κατεύθυνση της αξιοποίησης των ECMAScript 2015 (ES6) modules. Διερευνώνται οι λύσεις που είχαν υιοθετηθεί -τόσο στην επιστημονική κοινότητα όσο και στη βιομηχανία ανάπτυξης λογισμικού- για την αντιμετώπιση της έλλειψης χαρακτηριστικών της γλώσσας που υποστηρίζουν την τμηματοποίηση (modularity) και την ενθυλάκωση (encapsulation). Η προτεινόμενη μέθοδος αξιολογείται σε ένα σύνολο από εφαρμογές που είναι διαθέσιμες σε δημόσια ψηφιακά αποθετήρια μέσω της αποτίμησης ποιοτικών μετρικών λογισμικού, συγκεκριμένα της σύζευξης (coupling). Στο δεύτερο μέρος της διατριβής, προτείνεται μια μέθοδος στατικής και δυναμικής ανάλυσης προγράμματος (static/dynamic program analysis) για την αυτοματοποίηση της επαύξησης ελέγχων της σουίτας ελέγχων μιας JavaScript εφαρμογής εξυπηρετητή, με αξιοποίηση των ελέγχων ενσωμάτωσης (integration tests) της σουίτας ελέγχων. Η προτεινόμενη μέθοδος αξιολογείται σε ένα σύνολο εφαρμογών που είναι διαθέσιμες σε δημόσια ψηφιακά αποθετήρια. Ο βαθμός μεταλλάξεων (mutation score) καθώς και μετρικές ποιότητας λογισμικού των παραγόμενων ελέγχων, όπως ο δείκτης συντηρησιμότητας (maintainability index), αναδεικνύουν την αποδοτικότητα (efficiency) της προτεινόμενης μεθόδου."],"dc:identifier":["10.12681/eadd/62356","http://hdl.handle.net/10442/hedi/62356"],"dc:language":["eng"],"dc:publisher":["Athens University Economics and Business (AUEB)","Οικονομικό Πανεπιστήμιο Αθηνών"],"dc:subject":["Ανάλυση προγράμματος","Δυναμικές γλώσσες προγραμματισμού","Αναδόμηση","Επαύξηση ελέγχων","Program analysis","Dynamic programming languages","Refactoring","Test augmentation","Επιστήμη Ηλεκτρονικών Υπολογιστών και Πληροφορική","Φυσικές Επιστήμες","Λογισμικό (software)","Computer and Information Sciences","Natural Sciences","Software"],"dc:title":["Program analysis for code maintenance in dynamic programming languages","Ανάλυση προγράμματος για τη συντήρηση πηγαίου κώδικα δυναμικών γλωσσών προγραμματισμού"],"dc:type":["PhD Thesis"]},"updated_at":"2026-11-18T22:28:17Z"}