mlsanityData to 24 Nov 2026

How Far Can LLMs Go in Generating Android Lint Checks from Natural Language?

arXiv 2611.28159 ↗Submitted 19 Nov 2026Announced 24 Nov 2026cs.SE cs.AI cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

Static analysis tools such as Android Lint, PMD, and CodeQL let developers add custom checks for project-specific rules. However, authoring a check is a demanding programming task: a rule can be stated in a few sentences, yet turning it into a working, tested check requires detailed knowledge of the analysis framework and its issue-detection logic. Recent work generates such checks with large language models (LLMs), but each system needs more than the natural language description a developer always has: a bug-fix patch, a CVE record, or a developer-written test suite to repair against. No prior work measures whether an LLM can turn a description into a working check, or what external knowledge it needs to do so. We introduce LintBench, a human-validated benchmark of 113 real-world Android Lint checks, each paired with a natural language description and its original test suite as a held-out oracle. We evaluate four LLMs, including proprietary and open-weight models. We compare prompting strategies, then evaluate execution-guided repair with and without retrieved API knowledge. Prompting alone reaches 30%-65% (pass@5) across models. Execution-guided repair and retrieval reach 57%-85% test-passing rates within five calls. Our results show that execution feedback raises the pass rate, while retrieved framework knowledge raises the compile rate, which reaches up to 99%. The framework knowledge helps the low-performing models the most, providing the knowledge they need to fix compilation errors. Of the generated checks that compile but fail their tests, 87% have false negatives, missing an issue the generated check should report. Based on our findings, getting the issue-detection logic right remains an open challenge. We release LintBench and the evaluation harness to support future work on generating Android Lint checks.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 34 of its 64 references that are in the map. Submitted 19 Nov 2026, announced 24 Nov 2026.

Builds on

34 of 64 references.

References · 34

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,242
  5. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,337
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,241
  7. 2023Teaching Large Language Models to Self-Debugcited by 1,049
  8. 2023StarCoder: may the source be with you!cited by 851
  9. 2022Quantifying Memorization Across Neural Language Modelscited by 810
  10. 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 472
  11. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 423
  12. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 343
22 more
  1. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 222
  2. 2024Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Modelscited by 214
  3. 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 192
  4. 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 119
  5. 2024Quantifying Contamination in Evaluating Code Generation Capabilities of Language Modelscited by 72
  6. 2024Large Language Model for Vulnerability Detection: Emerging Results and Future Directionscited by 48
  7. 2025KNighter: Transforming Static Analysis with LLM-Synthesized Checkerscited by 26
  8. 2025When LLMs Meet API Documentation: Can Retrieval Augmentation Aid Code Generation Just as It Helps Developers?cited by 15
  9. 2024Compositional API Recommendation for Library-Oriented Code Generationcited by 11
  10. 2025QLCoder: A Query Synthesizer For Static Analysis of Security Vulnerabilitiescited by 10
  11. 2025Large Language Models Versus Static Code Analysis Tools: A Systematic Benchmark for Vulnerability Detectioncited by 9
  12. 2025SolEval: Benchmarking Large Language Models for Repository-level Solidity Code Generationcited by 6
  13. 2024Code Vulnerability Detection: A Comparative Analysis of Emerging Large Language Modelscited by 4
  14. 2024Codellm-Devkit: A Framework for Contextualizing Code LLMs with Program Analysis Insightscited by 3
  15. 2024Write Your Own CodeChecker: An Automated Test-Driven Checker Development Approach with LLMscited by 3
  16. 2025Do Code LLMs Do Static Analysis?cited by 3
  17. 2025Enhancing LLM-based Specification Generation via Program Slicing and Logical Deletioncited by 3
  18. 2025Understanding and Detecting Platform-Specific Violations in Android Auto Appscited by 2
  19. 2020An Empirical Investigation on the Challenges of Creating Custom Static Analysis Rules for Defect Localizationcited by 1
  20. 2026Beyond Strict Rules: Assessing the Effectiveness of Large Language Models for Code Smell Detectioncited by 1
  21. 2026Still Manual? Automated Linter Configuration via DSL-Based LLM Compilation of Coding Standardscited by 1
  22. 2026MobileDev-Bench: A Benchmark for Issue Resolution in Mobile Application Developmentcited by 1

Built on by

Not cited yet.