Android Lint
Android Lint is a static analysis tool (which despite the name is notlimited to Android, and within Google for example is used to analyzeJava and Kotlin server side code as well as Android and even desktopsoftware like IDEs.)
Lint's focus is on finding bugs (whether they are related tocorrectness, performance, security, internationalization, usability andso on); it's not a source code style checker.
Available documentation:
- Lint Features
- Recent Changes
- Documents for users of lint, in the
usage folder: - Documents for authors of additional lint checks, in the
api-guide folder: - Documents for lint internals, intended for developers of lint itself, in the
internal folder:
Documentation History:
- June 2022: Added documentation forcrafting error messages
- May 2022: Noticed that the document rendering was broken, such that many chapters were missing from the api-guide: “Adding Quickfixes”, “Partial Analysis”, “Data Flow Analyzer”, “Annotations”, and “Options”. These are now included.
- November 2021: Added documentation foroption handling
- September 2021: Added documentation forannotation handling
- July 2021: Added documentation fortest modes
- June 2021: Added documentation for thedataflow analyzer,Lint Gradle DSL andcommand line flags.
- May 2021: Added documentation for individual lint issues
- March 2021: Initial version