Caio Barbosa
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Caio Barbosa has a total of 27 co-authors. Here are the top co-authors by number of shared publications:
- Alessandro Garcia
PUC-Rio
3 shared publications - Daniel Coutinho
Pontifical Catholic University of Rio de Janeiro, Rio de Janeiro, Brazil
3 shared publications - João Correia
Departamento de Informática, Pontifical Catholic University of Rio de Janeiro (PUC-Rio), Rio de Janeiro, Brazil
3 shared publications - Baldoino Fonseca
Federal University of Alagoas, Maceió, Alagoas, Brazil
2 shared publications - Davy Baia
Federal University of Alagoas, Maceió, Alagoas, Brazil
2 shared publications - Durval Pereira Cesar
Universidade Federal de Alagoas
2 shared publications
Latest Publications
- Open Access
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 1134-1146
A Comparison of Conversational Models and Humans in Answering Technical Questions: the Firefox Case
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 1134-1146
Open AccessA Comparison of Conversational Models and Humans in Answering Technical Questions: the Firefox Case
- Open Access
- 11 February 2025
- Published by Sociedade Brasileira de Computação in Journal of Software Engineering Research and Development
- Vol. 13 (1) , 13:207-13:217
Exploring Transfer Learning for Multilingual Software Quality: Code Smells, Bugs, and Harmful Code
Code smells are indicators of poor design implementation and decision-making that can potentially harm the quality of software. Therefore, detecting these smells is crucial to prevent such issues. Some studies aim to comprehend the impact of code smells on software quality, while others propose rules or machine learning-based approaches to identify code smells. Previous research has focused on labeling and analyzing code snippets that significantly impair software quality using machine learning techniques. These snippets are classified as Clean, Smelly, Buggy, and Harmful Code. Harmful Code refers to smelly code segments that have one or more reported bugs, whether fixed or not. Consequently, the presence of a Harmful Code increases the risk of introducing new defects and/or design issues during the remediation process. We perform our study as an extension of the previous study, with the scope of 5 smell types. The total number of commits across all four tables (Java, C++, C#, and Python projects) is 641,736, versions of 91 open-source projects, 17,022 bugs, and 24,737 code smells. The findings revealed promising transferability of knowledge between Java and C# in the presence of various code smell types, while C++ and Python exhibited more challenging transferability. Also, our study discovered that a sample size of 32 demonstrated favorable outcomes for most harmful codes, underscoring the efficiency of transfer learning even with limited data. Moreover, the exploration of transfer learning between bugs and code smells represents a not-very-ineffective avenue within the realm of software engineering.
- 11 February 2025
- Published by Sociedade Brasileira de Computação in Journal of Software Engineering Research and Development
- Vol. 13 (1) , 13:207-13:217
Open AccessExploring Transfer Learning for Multilingual Software Quality: Code Smells, Bugs, and Harmful Code
Code smells are indicators of poor design implementation and decision-making that can potentially harm the quality of software. Therefore, detecting these smells is crucial to prevent such issues. Some studies aim to comprehend the impact of code smells on software quality, while others propose rules or machine learning-based approaches to identify code smells. Previous research has focused on labeling and analyzing code snippets that significantly impair software quality using machine learning techniques. These snippets are classified as Clean, Smelly, Buggy, and Harmful Code. Harmful Code refers to smelly code segments that have one or more reported bugs, whether fixed or not. Consequently, the presence of a Harmful Code increases the risk of introducing new defects and/or design issues during the remediation process. We perform our study as an extension of the previous study, with the scope of 5 smell types. The total number of commits across all four tables (Java, C++, C#, and Python projects) is 641,736, versions of 91 open-source projects, 17,022 bugs, and 24,737 code smells. The findings revealed promising transferability of knowledge between Java and C# in the presence of various code smell types, while C++ and Python exhibited more challenging transferability. Also, our study discovered that a sample size of 32 demonstrated favorable outcomes for most harmful codes, underscoring the efficiency of transfer learning even with limited data. Moreover, the exploration of transfer learning between bugs and code smells represents a not-very-ineffective avenue within the realm of software engineering.
- Open Access
- 12 July 2024
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 1 (FSE) , 517-538
Understanding Developers’ Discussions and Perceptions on Non-functional Requirements: The Case of the Spring Ecosystem
Non-Functional Requirements (NFRs) should be defined in the early stages of the software development process, driving developers to make important design decisions. Neglecting NFRs may lead developers to create systems that are difficult to maintain and do not meet users expectations. Despite their importance, the discussion of NFRs is often ad-hoc and scattered through multiple sources, limiting developers’ awareness of NFRs. In that scenario, Pull Request (PR) discussions provide a centralized platform for comprehensive NFR discussions. However, existing studies do not explore this important source of information in open-source software development, which developers widely use to discuss software requirements. In this study, we report an investigation of NFR discussions in PRs of repositories of the Spring ecosystem. We collected, manually curated, and analyzed PR discussions addressing four categories of NFRs: maintainability, security, performance, and robustness. We observed that discussions surrounding these PRs tend to address the introduction of a code change or explain some anomaly regarding a particular NFR. Also, we found that more than 77 % of the discussions related to NFRs are triggered in the PR title and/or description, indicating that developers are often provided with information regarding NFRs straightway. To gain additional knowledge from these NFR discussions, our study also analyzed the characteristics and activities of developers who actually discuss and fix NFR issues. In particular, we performed an in-depth analysis of 63 developers that stood out in collaborating with the mapped PRs. To complement this analysis, we conducted a survey with 44 developers to gather their perceptions on NFR discussions. By observing how developers approach NFRs and participate in discussions, we documented the best practices and strategies newcomers can adopt to address NFRs effectively. We also provided a curated dataset of 1,533 PR discussions classified with NFR presence.
- 12 July 2024
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 1 (FSE) , 517-538
Open AccessUnderstanding Developers’ Discussions and Perceptions on Non-functional Requirements: The Case of the Spring Ecosystem
Non-Functional Requirements (NFRs) should be defined in the early stages of the software development process, driving developers to make important design decisions. Neglecting NFRs may lead developers to create systems that are difficult to maintain and do not meet users expectations. Despite their importance, the discussion of NFRs is often ad-hoc and scattered through multiple sources, limiting developers’ awareness of NFRs. In that scenario, Pull Request (PR) discussions provide a centralized platform for comprehensive NFR discussions. However, existing studies do not explore this important source of information in open-source software development, which developers widely use to discuss software requirements. In this study, we report an investigation of NFR discussions in PRs of repositories of the Spring ecosystem. We collected, manually curated, and analyzed PR discussions addressing four categories of NFRs: maintainability, security, performance, and robustness. We observed that discussions surrounding these PRs tend to address the introduction of a code change or explain some anomaly regarding a particular NFR. Also, we found that more than 77 % of the discussions related to NFRs are triggered in the PR title and/or description, indicating that developers are often provided with information regarding NFRs straightway. To gain additional knowledge from these NFR discussions, our study also analyzed the characteristics and activities of developers who actually discuss and fix NFR issues. In particular, we performed an in-depth analysis of 63 developers that stood out in collaborating with the mapped PRs. To complement this analysis, we conducted a survey with 44 developers to gather their perceptions on NFR discussions. By observing how developers approach NFRs and participate in discussions, we documented the best practices and strategies newcomers can adopt to address NFRs effectively. We also provided a curated dataset of 1,533 PR discussions classified with NFR presence.
- Open Access
- 10 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 10-18
Unveiling the Potential of a Conversational Agent in Developer Support: Insights from Mozilla’s PDF.js Project
Large language models and other foundation models (FMs) boost productivity by automating code generation, supporting bug fixes, and generating documentation. We propose that FMs can further support Open Source Software (OSS) projects by assisting developers and guiding the community. Currently, core developers and maintainers answer queries about processes, architecture, and source code, but their time is limited, often leading to delays. To address this, we introduce DevMentorAI, a tool that enhances developer-project interactions by leveraging source code and technical documentation. DevMentorAI uses the Retrieval Augmented Generation (RAG) architecture to identify and retrieve relevant content for queries. We evaluated DevMentorAI with a case study on PDF.js project, using real questions from a development chat room and comparing the answers provided by DevMentorAI to those from humans. A Mozilla expert rated the answers, finding DevMentorAI's responses more satisfactory in 8/14 of cases, equally satisfactory in 3/14, and less satisfactory in 3/14. These results demonstrate the potential of using foundation models and the RAG approach to support developers and reduce the burden on core developers.
- 10 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 10-18
Open AccessUnveiling the Potential of a Conversational Agent in Developer Support: Insights from Mozilla’s PDF.js Project
Large language models and other foundation models (FMs) boost productivity by automating code generation, supporting bug fixes, and generating documentation. We propose that FMs can further support Open Source Software (OSS) projects by assisting developers and guiding the community. Currently, core developers and maintainers answer queries about processes, architecture, and source code, but their time is limited, often leading to delays. To address this, we introduce DevMentorAI, a tool that enhances developer-project interactions by leveraging source code and technical documentation. DevMentorAI uses the Retrieval Augmented Generation (RAG) architecture to identify and retrieve relevant content for queries. We evaluated DevMentorAI with a case study on PDF.js project, using real questions from a development chat room and comparing the answers provided by DevMentorAI to those from humans. A Mozilla expert rated the answers, finding DevMentorAI's responses more satisfactory in 8/14 of cases, equally satisfactory in 3/14, and less satisfactory in 3/14. These results demonstrate the potential of using foundation models and the RAG approach to support developers and reduce the burden on core developers.
- Open Access
- 7 November 2023
- Published by Association for Computing Machinery (ACM)
- p. 42-51
Is your code harmful too? Understanding harmful code through transfer learning
Code smells are indicators of poor design implementation and decision-making that can potentially harm the quality of software. Therefore, detecting these smells is crucial to prevent such issues. Some studies aim to comprehend the impact of code smells on software quality, while others propose rules or machine learning-based approaches to identify code smells. Previous research has focused on labeling and analyzing code snippets that significantly impair software quality using machine learning techniques. These snippets are classified as Clean, Smelly, Buggy, and Harmful Code. Harmful Code refers to Smelly code segments that have one or more reported bugs, whether fixed or not. Consequently, the presence of a Harmful Code increases the risk of introducing new defects and/or design issues during the remediation process. While generating useful results for harmful code detection, none of the prior work has considered, through the use of transfer learning, train a model to identify harmful snippets in one programming language and being able to identify similar harmfulness in another programming language. We perform our study on this scope with 5 smell types, 258,035 versions of 23 open-source projects, 8,181 bugs and 11,506 code smells. The findings revealed promising transferability of knowledge between Java and C# in the presence of various code smells types, while C++ exhibited more challenging transferability. Also, our study discovered that a sample size of 32 demonstrated favorable outcomes for most harmful codes, underscoring the efficiency of transfer learning even with limited data.
- 7 November 2023
- Published by Association for Computing Machinery (ACM)
- p. 42-51
Open AccessIs your code harmful too? Understanding harmful code through transfer learning
Code smells are indicators of poor design implementation and decision-making that can potentially harm the quality of software. Therefore, detecting these smells is crucial to prevent such issues. Some studies aim to comprehend the impact of code smells on software quality, while others propose rules or machine learning-based approaches to identify code smells. Previous research has focused on labeling and analyzing code snippets that significantly impair software quality using machine learning techniques. These snippets are classified as Clean, Smelly, Buggy, and Harmful Code. Harmful Code refers to Smelly code segments that have one or more reported bugs, whether fixed or not. Consequently, the presence of a Harmful Code increases the risk of introducing new defects and/or design issues during the remediation process. While generating useful results for harmful code detection, none of the prior work has considered, through the use of transfer learning, train a model to identify harmful snippets in one programming language and being able to identify similar harmfulness in another programming language. We perform our study on this scope with 5 smell types, 258,035 versions of 23 open-source projects, 8,181 bugs and 11,506 code smells. The findings revealed promising transferability of knowledge between Java and C# in the presence of various code smells types, while C++ exhibited more challenging transferability. Also, our study discovered that a sample size of 32 demonstrated favorable outcomes for most harmful codes, underscoring the efficiency of transfer learning even with limited data.
- Open Access
- 1 January 2020
- Published by FapUNIFESP (SciELO) in Pesquisa Brasileira em Odontopediatria e Clínica Integrada
- Vol. 20
Development of a Mobile Application for Acquiring Clinical and Laboratorial Skills and Abilities in Pediatric Dentistry and Orthodontics
Objective: To develop an educational mobile application as a dynamic platform provided free of charge, including several clinical and laboratory protocols for a wider range of skills and greater knowledge on the strategic axes of child dental care: Pediatric Dentistry and Orthodontics. Material and Methods: The prototype tool was structured as follows: development of clinical and laboratory contents to be addressed, software selection, layout format, inclusion of features, applicability and acceptability tests of the operational system, and indexation on the Play Store® application store (free of charge). Results: The mobile application has shown to be a tool capable of storing and providing data through various audiovisual media formats on clinical and laboratory contents of child dental care. Media resources were developed for the following themes: restorative dentistry in pediatric dentistry, radiographic techniques with pediatric patients, pulp therapy in deciduous teeth, traumatic injuries in the primary dentition, and preventive and interceptive orthodontics. The short-duration multimedia content, with different audiovisual formats, proved to be coherent with the peculiarities of each procedure, enabling to better visualize and understand the techniques. Moreover, the rewind, fast forward, and pause features were included in the mobile application, as well as the possibility of saving print screens, as well as highlighting and searching for contents of interest. Conclusion: The OdontoPed-Helpbox® demonstrated to be able to reach new strategies for the dynamic teaching-learning process, through operational efficiency. It proved to be a useful and instant tool for providing information to support clinical decision making in Dentistry.
- 1 January 2020
- Published by FapUNIFESP (SciELO) in Pesquisa Brasileira em Odontopediatria e Clínica Integrada
- Vol. 20
Open AccessDevelopment of a Mobile Application for Acquiring Clinical and Laboratorial Skills and Abilities in Pediatric Dentistry and Orthodontics
Objective: To develop an educational mobile application as a dynamic platform provided free of charge, including several clinical and laboratory protocols for a wider range of skills and greater knowledge on the strategic axes of child dental care: Pediatric Dentistry and Orthodontics. Material and Methods: The prototype tool was structured as follows: development of clinical and laboratory contents to be addressed, software selection, layout format, inclusion of features, applicability and acceptability tests of the operational system, and indexation on the Play Store® application store (free of charge). Results: The mobile application has shown to be a tool capable of storing and providing data through various audiovisual media formats on clinical and laboratory contents of child dental care. Media resources were developed for the following themes: restorative dentistry in pediatric dentistry, radiographic techniques with pediatric patients, pulp therapy in deciduous teeth, traumatic injuries in the primary dentition, and preventive and interceptive orthodontics. The short-duration multimedia content, with different audiovisual formats, proved to be coherent with the peculiarities of each procedure, enabling to better visualize and understand the techniques. Moreover, the rewind, fast forward, and pause features were included in the mobile application, as well as the possibility of saving print screens, as well as highlighting and searching for contents of interest. Conclusion: The OdontoPed-Helpbox® demonstrated to be able to reach new strategies for the dynamic teaching-learning process, through operational efficiency. It proved to be a useful and instant tool for providing information to support clinical decision making in Dentistry.