The ONLY and MOST comprehensive and up to date talk on Android Lint!

Android Lint was introduced in ADT 16 as a tool to scan for potential bugs. However, Lint itself has been around since the Unix V7 in 1979 as a static analysis tool and adopted by every major programming language over the past 40 years.

Well utilized Lint not only prevents common errors such as use of deprecated elements or API calls, but also improves code quality and enforce tailored rules.

At the end of this session, audience will walk out with knowledge that reveals the full potential behind Android Lint from the built-in checks and configuration, most updated APIs, PSI Library. I will also share customized checks used by the production Groupon app, and step by step examples on how to implement your own rules. This talk will also cover the difference between Android Lint and other static code analysis tools such as PMD and Findbugs to help you make better decisions on which fits a certain purpose best.

Now are you ready to join us and become a Lint Expert?

 
3 favorite thumb_down thumb_up 0 comments visibility_off  Remove from Watchlist visibility  Add to Watchlist
 

Outline/structure of the Session

Intro of Static Code Analysis

Intro of Static Code Analysis Tools in Android (with examples and usages)

  • Lint
  • PMD
  • FindBugs
  • CheckStyles

Components for a Lint Rule

  • Registry
  • Issue
  • Implementation
  • Detector

Step by Step Coding Example: RetrofitApiEndpointDetector.java

(With AST and Intellij PSI APIs´╝îand unit testing in the end)

Learning Outcome

Comprehensive understanding of static code analysis, ability to utilize different Android static code analysis tools to fit for different use cases. And of course, customize your own Lint rules!

Target Audience

Android developers

Prerequisite

Basic knowledge for Java, Android, and static code analysis tools

schedule Submitted 2 months ago

Comments Subscribe to Comments

comment Comment on this Proposal