Repository logo
 
Publication

Enhancing Software Code’s Quality and Performance for Optimal Results

datacite.subject.fosDepartamento de Informáticapt_PT
dc.contributor.advisorLourenço, Carlos Eduardo Ramos dos Santos
dc.contributor.authorSantos, Núria Carmélia Jalali Pinto dos
dc.date.accessioned2025-04-07T16:41:15Z
dc.date.available2025-04-07T16:41:15Z
dc.date.issued2025
dc.date.submitted2025
dc.descriptionTrabalho de projeto de mestrado, Informática, 2025, Universidade de Lisboa, Faculdade de Ciênciaspt_PT
dc.description.abstractThis thesis explores the implementation of clean code best practices in Golang, a language designed for performance and efficiency. Emvenci is transitioning its codebase to a new architecture, adhering to modern software design principles. The primary objective is to refactor and optimize all e-learning service endpoints under this new architecture, with a focus on enhancing performance through parallelization and concurrency. A secondary objective is to propose additional guidelines, as needed. During the implementation, a systematic routine was established to streamline the process, documenting key steps and highlighting improvements to aid testers who lack direct access to the code. Performance optimization techniques were carefully applied to maintain a balance between complexity and efficiency. These techniques included parallelizing independent database accesses, consolidating repeated queries, and eliminating redundant code and unnecessary processing. Testing was conducted in two phases: clean code analysis and performance evaluation. Clean code metrics, such as maintainability index, cyclomatic complexity, and cognitive complexity, were assessed. In the performance phase, load tests measured processing time, CPU, and memory usage across endpoints. The results demonstrated significant improvements in system performance, though clean code metrics showed a decline due to the increased volume and complexity of the refactored functions. While the new architecture initially risked degrading performance, the applied optimizations ensured improvements in most endpoints. This suggests that similar techniques may yield benefits when refactoring other parts of the code. Additionally, the newly established documentation for both the clean architecture and performance testing will provide a foundation for future work at the company, setting expectations for quality and consistency.pt_PT
dc.identifier.urihttp://hdl.handle.net/10400.5/100045
dc.language.isoengpt_PT
dc.subjectCódigo limpopt_PT
dc.subjectOtimizaçãopt_PT
dc.subjectGoLangpt_PT
dc.subjectMelhores práticaspt_PT
dc.subjectDesenvolvimento de Softwarept_PT
dc.subjectTeses de mestrado - 2025pt_PT
dc.titleEnhancing Software Code’s Quality and Performance for Optimal Resultspt_PT
dc.typemaster thesis
dspace.entity.typePublication
rcaap.rightsclosedAccesspt_PT
rcaap.typemasterThesispt_PT
thesis.degree.nameTrabalho de projeto de mestrado em Informáticapt_PT

Files

Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
TM_Núria_Santos.pdf
Size:
581.39 KB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.2 KB
Format:
Item-specific license agreed upon to submission
Description: