# From 400 bugs to 0 in 2 weeks - What we found below the "Static Analysis hood" ...

- Speaker: [Yonatan Maman](/wiki/speakers/yonatan-maman.md)
- Event: [Reversim Summit 2016](/wiki/years/2016.md)
- Video: https://www.youtube.com/watch?v=lsM346P9-K8
- Transcript: [/transcripts/2016/55-lsM346P9-K8.md](/transcripts/2016/55-lsM346P9-K8.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [Debugging](/wiki/topics/debugging.md), [DevOps](/wiki/topics/devops.md), [Software Engineering](/wiki/topics/software-engineering.md), [Technical Debt](/wiki/topics/technical-debt.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

This talk describes how a development team successfully resolved 400 bugs in just two weeks using static code analysis. The speaker explains how they integrated the tool into their CI pipeline and established team ownership to drive the bug count down to zero. Through practical code examples, the audience learns about common and hidden programming pitfalls that compilers and standard IDEs miss. Ultimately, the talk demonstrates the high value of automated static analysis in improving overall software quality.

## Key points

- [0:08](https://www.youtube.com/watch?v=lsM346P9-K8&t=8s) The speaker introduces static code analysis as a missing link in their automated quality assurance ecosystem.
- [1:09](https://www.youtube.com/watch?v=lsM346P9-K8&t=69s) Team ownership and continuous integration monitoring were established to track progress and eliminate 400 bugs.
- [2:18](https://www.youtube.com/watch?v=lsM346P9-K8&t=138s) The speaker presents a series of code examples showcasing real bugs detected by the static analysis tool.
- [3:23](https://www.youtube.com/watch?v=lsM346P9-K8&t=203s) Common mistakes include copy-paste errors and the misuse of legacy APIs that IDEs often fail to catch.
- [4:26](https://www.youtube.com/watch?v=lsM346P9-K8&t=266s) Thread-safety issues with utilities like SimpleDateFormat are highlighted as critical production hazards.

## Takeaways

- Integrate static code analysis tools into your CI pipeline to catch hidden patterns and bugs early.
- Assign clear ownership across teams to systematically tackle and resolve technical debt.
- Be cautious with legacy APIs and thread-unsafe utilities like SimpleDateFormat in concurrent code.

## Questions this talk answers

- How can static code analysis complement existing unit and integration tests?
- What strategy can be used to quickly resolve hundreds of legacy bugs in a large codebase?
- What are some common programming pitfalls that static analyzers detect better than standard IDEs?

## Technologies

FindBugs, IntelliJ IDEA, Java

## Tags

bug fixing, ci/cd, code quality, java, static analysis
