LRLincoln Rocha

Lincoln Rocha

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

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Lincoln Rocha has a total of 64 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Supporting Upstream Vulnerability Triage in Fork-Based Development: A Brazilian Government Experience

    by José Renan F. Damasceno, Lincoln Rocha, Paulo Rego

    Open-source software reuse accelerates the development of complex systems, but it also introduces software supply chain risks when downstream projects evolve independently from their upstream codebases. This challenge is particularly relevant in fork-based development, where security fixes disclosed upstream must be assessed, prioritized, and adapted under project-specific constraints. This paper reports a Brazilian government experience in monitoring upstream vulnerabilities for a secure mobile communication app derived from Matrix/Element open-source clients. We present an automated workflow that combines CPE-based queries to the National Vulnerability Database with advisory mining from the GitHub Advisory Database, enriches vulnerability records with CWE information, and extracts metadata from upstream vulnerability-fixing commits. Rather than replacing human assessment, the workflow provides structured evidence for AppSec-mediated decision-making among development, security testing, and DevSecOps teams. The experience shows how upstream vulnerability monitoring can support downstream triage, remediation planning, patch inspection, and documented downstream security assessment. Our findings highlight that vulnerability management in fork-based projects is not only a technical detection problem, but also an organizational coordination challenge involving evidence-driven, contextual analysis, and security governance.

  • Open Access

    Developers’ perceptions of automated code review using a generative AI agent: The case of Gandalf

    by Adriano Lima Cândido, Fernando Antonio Mota Trinta, Lincoln Souza Rocha, Iury Lima Nogueira

  • Open Access

    Designing for all? Accessibility of native android interfaces from large language models

    by Daniel Mesquita Feijó Rabelo, Júlia Holanda Muniz, Kiev Gama, Lincoln Rocha, Windson Viana

    The emergence of large language models (LLMs) has significantly impacted the automation of software development tasks, including the generation of mobile application code. This research investigates how LLMs, such as ChatGPT, can support the creation of accessible native Android applications. Specifically, it evaluates whether the generated code aligns with established accessibility guidelines, considering variations in screen layouts, prompt styles, and interface design methods. Four empirical studies were carried out to assess accessibility in seven different types of mobile UI. The first study assessed screens built with various layout techniques, while the second focused on Jetpack Compose and compared outputs from multiple LLMs (e.g., Sabiá, GPT). The third experiment explored the influence of English-language prompts on accessibility outcomes, and the fourth involved an evaluation of Github Copilot. In all studies, 702 accessibility-related issues were identified. Jetpack Compose consistently led to more accessible interfaces compared to other layout options, and prompts in English resulted in fewer errors. Surprisingly, prompts that explicitly asked for accessibility often introduced more problems, suggesting that current models struggle to accurately interpret and implement accessibility directives. These findings underscore the need for improved prompt engineering and more robust LLM-generated code to improve accessibility in AI-assisted mobile development.

  • Open Access

    Web xKaliBurr: An Online Platform for Information Gathering in Pentest for Internet Applications

    by Daniel R. Barros, Lucas Cabral, João V. A. Oliveira, Felipe M. Castro, Lucas L. Soares, José M. Monteiro, Joaquim Bento, Lincoln S. Rocha

    The Information Gathering stage in web Pentests is crucial as it lays the foundation for all subsequent activities. However, comprehensive information gathering requires the manual use of various tools that demand advanced technical knowledge. In this context, we propose Web xKaliBurr, an open-source web tool that automates the information gathering stage of web Pentest. With a simple and user-friendly interface, the proposed tool performs extensive scans from the site's URL, providing a wide range of information and recommendations, allowing users without advanced knowledge to assess their site's security and detect potential flaws or vulnerabilities. To evaluate Web xKaliBurr, we applied the System Usability Scale (SUS) questionnaire to measure aspects of usability in accordance with the user's subjective assessment and the Net Promoter Score (NPS) method to measure user satisfaction and willingness to recommend it to others. This study involved 10 respondents. The SUS method had a score of 80, which indicates a good to excellent product, and the results of using NPS reached a value of 70%, reflecting a very good level of user satisfaction. Besides, we performed an evaluation with 3 experts in web Pentests.


  • Open Access

    Designing for All? Accessibility of Native Android Interfaces from Large Language Models

    by Daniel Mesquita Feijó Rabelo, Júlia Holanda Muniz, Kiev Gama, Lincoln Rocha, Windson Viana

    The emergence of large language models (LLMs) has significantly impacted the automation of software development tasks, including the generation of mobile application code. This research investigates how LLMs, such as ChatGPT, can support the creation of accessible native Android applications. Specifically, it evaluates whether the generated code aligns with established accessibility guidelines, considering variations in screen layouts, prompt styles, and interface design methods. Four empirical studies were carried out to assess accessibility in seven different types of mobile UI. The first study assessed screens built with various layout techniques, while the second focused on Jetpack Compose and compared outputs from multiple LLMs (e.g., Sabiá, GPT). The third experiment explored the influence of English-language prompts on accessibility outcomes, and the fourth involved an evaluation of Github Copilot. In all studies, 702 accessibility-related issues were identified. Jetpack Compose consistently led to more accessible interfaces compared to other layout options, and prompts in English resulted in fewer errors. Surprisingly, prompts that explicitly asked for accessibility often introduced more problems, suggesting that current models struggle to accurately interpret and implement accessibility directives. These findings underscore the need for improved prompt engineering and more robust LLM-generated code to improve accessibility in AI-assisted mobile development.

  • Open Access

    Automatic Identification of Machine Learning-Specific Code Smells

    by Peter Hamfelt, Ricardo Britto, Lincoln Rocha, Camilo Almendra

    Machine learning (ML) has rapidly grown in popularity, becoming vital to many industries. Currently, the research on code smells in ML applications lacks tools and studies that address the identification and validity of ML-specific code smells. This work investigates suitable methods and tools to design and develop a static code analysis tool (MLpylint) based on code smell criteria. This research employed the Design Science Methodology. In the problem identification phase, a literature review was conducted to identify ML-specific code smells. In solution design, a secondary literature review and consultations with experts were performed to select methods and tools for implementing the tool.We evaluated the tool on data from 160 open-source ML applications sourced from GitHub. We also conducted a static validation through an expert survey involving 15 ML professionals. The results indicate the effectiveness and usefulness of the MLpylint. We aim to extend our current approach by investigating ways to introduce MLpylint seamlessly into development workflows, fostering a more productive and innovative developer environment.


  • Open Access

    Evolving Practices in Distributed R&D&I Projects: Bridging Academia and Industry Through Lightweight Collaboration

    by Lincoln Rocha, Paulo Antônio Rêgo, Fernando Trinta, Emanuele Santos, César Mattos, Karla Souza, Camilo Almendra, Maria Alice Macedo, Isabela Carvalho, Julia Nobrega, et al.

    This presentation reports the best practices and methods adopted by the Alan Turing Lab (ATLab) research group in the past years, running distributed research, development, and innovation (R&D&I) projects with a global industry partner. This work highlights the software engineering processes thatwere iteratively refined through years of collaboration.We also share insights in two domains where our researchers stand out: Visualization and Artificial Intelligence. This report may be useful for research groups and organizations beginning to engage in innovation partnerships.

  • Open Access

    404: Civility Not Found? Evaluating the Effectiveness of Small Language Models in Detecting Incivility in GitHub Conversations

    by Mário Patrício, Silas Eufrásio, Anderson Uchôa, Lincoln S. Rocha, Daniel Coutinho, Juliana Alves Pereira, Matheus Paixão, Alessandro Garcia

    Context: Incivility in open-source software (OSS) platforms like GitHub can harm collaboration, discourage contributor participation, and impact code quality. Although current moderation tools based on Machine Learning (ML) and Natural Language Processing (NLP) offer some support, they often struggle to detect nuanced or implicit types of incivility. Goal: This study aims to assess the effectiveness of Small Language Models (SLMs) in detecting both coarse-grained (civil vs. uncivil) and fine-grained (specific types) incivility in GitHub conversations (issues and pull requests), and to understand how different prompting strategies influence detection performance. Method: We evaluate ten SLMs (3B-14B parameters) across five prompt strategies, on a labeled dataset with more than 6k GitHub conversations. We also compare the best-performing SLMs with five traditional ML models using two text-encoding techniques. Results: Our results reveal that SLMs perform well in detecting civil comments, but their effectiveness in detecting uncivil comments depends on model size. Models with 9B+ parameters (e.g., deepseek-r1, gpt-4o-mini) show improved performance on uncivil comments. For the fine-grained granularity, prompting strategy plays a critical role, with role-based prompting achieving the best results, particularly for implicit incivility types (e.g., Irony and Mocking), even when SLMs struggle with these types of incivility. Traditional ML models still perform well in explicit cases like Threat and Insulting. Conclusion: Our findings highlight the effectiveness of SLMs and prompt strategies in enhancing the detection of incivility within collaborative software development settings.


  • Open Access

    Automatic Identification of Machine Learning-Specific Code Smells

    by Peter Hamfelt, Ricardo Britto, Lincoln Rocha, Camilo Almendra

    Machine learning (ML) has rapidly grown in popularity, becoming vital to many industries. Currently, the research on code smells in ML applications lacks tools and studies that address the identification and validity of ML-specific code smells. This work investigates suitable methods and tools to design and develop a static code analysis tool (MLpylint) based on code smell criteria. This research employed the Design Science Methodology. In the problem identification phase, a literature review was conducted to identify ML-specific code smells. In solution design, a secondary literature review and consultations with experts were performed to select methods and tools for implementing the tool. We evaluated the tool on data from 160 open-source ML applications sourced from GitHub. We also conducted a static validation through an expert survey involving 15 ML professionals. The results indicate the effectiveness and usefulness of the MLpylint. We aim to extend our current approach by investigating ways to introduce MLpylint seamlessly into development workflows, fostering a more productive and innovative developer environment.