Checkstyle: Practical Tips
summary
An introduction to Checkstyle for Java: how its analysis works internally, its strengths and weaknesses compared with other static analyzers, and what kinds of issues it cannot solve. Practical examples show how to write custom checks using Checkstyle’s built-in APIs and share a rollout methodology for integrating Checkstyle into an existing project to make adoption easier and more useful, illustrated by real Stack Overflow/GitHub cases and the presenter’s experience.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:59Checkstyle code analysis
- 8:22Lombok issues
- 9:05Regex in Checkstyle
- 13:43XPath for AST
- 18:40Viewing AST in Checkstyle
- 23:59XPath examples
- 26:50Third-party Checkstyle projects
- 30:44Integrating Checkstyle
- 43:34Conclusion
related talks
19mEase Software structural quality on Android (en)
47mHow Code Analyzers Find Bugs and Security Defects
46mGetting the most out of code review
36mThe art of static code analysis
40mAssuring top-notch code quality in the Java Universe
19mCode quality tools
51mLearning by writing code and test cases
46mCode Smells - Hall of Fame
