CBCaio Barbosa

Caio Barbosa

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Caio Barbosa has a total of 27 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    A Comparison of Conversational Models and Humans in Answering Technical Questions: the Firefox Case

    by João Correia, Daniel Coutinho, Marco Castelluccio, Caio Barbosa, Rafael de Mello, Anita Sarma, Alessandro Garcia, Marco Gerosa, Igor Steinmacher


  • Open Access

    Exploring Transfer Learning for Multilingual Software Quality: Code Smells, Bugs, and Harmful Code

    by Rodrigo Lima, Durval Pereira, Caio Barbosa, Leonardo Leite, Davy Baia, Baldoino Fonseca, Leopoldo Teixeira, Jairo Souza

    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

    Understanding Developers’ Discussions and Perceptions on Non-functional Requirements: The Case of the Spring Ecosystem

    by Anderson Oliveira, João Correia, Wesley K. G. Assunção, Juliana Alves Pereira, Rafael de Mello, Daniel Coutinho, Caio Barbosa, Paulo Libório, Alessandro Garcia

    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

    Unveiling the Potential of a Conversational Agent in Developer Support: Insights from Mozilla’s PDF.js Project

    by João Correia, Morgan C. Nicholson, Daniel Coutinho, Caio Barbosa, Marco Castelluccio, Marco Gerosa, Alessandro Garcia, Igor Steinmacher

    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

    Is your code harmful too? Understanding harmful code through transfer learning

    by Durval Pereira Cesar, Caio Barbosa Vieira da Silva, Leonardo Pedrosa Leite, Baldoino Fonseca, Davy De Medeiros Baia

    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

    Development of a Mobile Application for Acquiring Clinical and Laboratorial Skills and Abilities in Pediatric Dentistry and Orthodontics

    by Renata Matos Lamenha Lins, Gabriela Freire Alves, José Claudio Santos Costa, Matheus Santos Mafra Barbosa, Caio Barbosa Vieira da Silva, Jovenildo Wanderley Santos, Daniela Maria Carvalho Pugliesi, Valdeci Elias Santos Junior

    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.