Static code analysis@RuneSundling | Rune.Sundling@gmail.com | rune-sundling.blogspot.com
Thank you!
Integrate in dev. processStatic code analysisTools
Overall, testing is far more valuable than static analysis - Bill Pugh
Static analysis, at best, might catch5-10% of your software quality problems - Bill Pugh
Obstacles?
Obstacles?Marketing budget
Obstacles?Will fix everything
Obstacles?
Obstacles?
Obstacles?
Obstacles?
Obstacles?Return on investment
Used effectively, static analysis is cheaper than other techniques for catching the same bugs - Bill Pugh
If you are not using them [static Analysis tools], then basically you are negligent, and you should prepare to be sued by the army of lawyers that have already hit the beach- Gary McGraw
Combining inspections, static analysis, and testing is cheaper than testing by itself and leads to much better defect removal efficiency levels.- Capers Jones
At my company, sometimes I feel less like Chief Architect, and more like Chief Debugger or Chief Code Reader. Sometimes I get to caught up in trying to read code in order to understand the big picture. This is my own failing, as I often try to use a microscope when I need a telescope.- Scott Hanselman
Once I realized the depth and breadth of the information I was looking at it, I was like a kid in a candy shop- Scott Hanselman
An average of 17% cost savings wouldhave been possible if the static analysis tool was used- Dejan Baca, BengtCarlsson, Lars Lundberg“Evaluating the Cost Reduction of Static Code Analysis for Software Security” (2008)
Types of bugsCode quality
Bad practice
Input validation
Maintainability
Correctness
Security
Multithreaded correctness
Performance
Internationalization
Interoperability
Specific for tools“Smaller”“Enterprise”GeneralFxCop (free)
NDepend
Mono.Gendarme (free)
Smokey (free)
ReSharper
CodeRushDuplication detectionSimianSecurityCAT (Microsoft Code Analysis Tool .NET) (free)Code styleStyleCop (free)

Static code analysis