Back to search

University of Birmingham

Static analysis learning of annotations in microservices

Abstract

dc:description.abstract

In microservices, an architectural style for building large-scale software applications, annotations play a crucial role in adding essential features for structuring and maintaining system settings. However, incorrect configurations and missing annotations impact the performance, quality and system complexity, posing significant concerns to developers. Moreover, the wrong usage of annotations generates potential bugs, and their detection may take days or even weeks due to the analysis of multiple logs and source code files. To mitigate this, we advocate an approach to make suggestions for adding and keeping annotations according to similarities between microservice operations. The approach learns semantic relations between annotations and operations based on a database of code fragments with annotated operations. The learning process pursues converting operations into numerical vectors to find similar operations. Additionally, we extend the learning approach for creating clusters and identifying their granularity. Then, our approach predicts to which cluster an annotated operation belongs to identify its range of granularity values. This thesis contributes to (i) a comprehensive systematic review of annotations in microservice construction, complemented by an empirical study that highlights the relevance of annotations in microservice software development; (ii) a semantics-driven learning approach that captures the relation between code fragments and annotations; and (iii) an extension of our learning approach that mines the granularity limits of new annotated operations.

Degree

thesis:*
Name dc:type.qualificationname
d_ph
Level dc:type.qualificationlevel
d_ph
Grantor dc:publisher.institution
University of Birmingham
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ramirez Mendez, Francisco Miguel

Subjects

dc:subject × 1

Rights

Language dc:language.dcterms_iso639_2
eng

Chain of custody

source
Harvested from
University of Birmingham
Base URL
etheses.bham.ac.uk/cgi/oai2
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Ramirez Mendez, Francisco Miguel. Static analysis learning of annotations in microservices. d_ph thesis, University of Birmingham, 2024.