Although software developers are usually reluctant to use static analysis to detect issues in their source code, our automatic just-in-time static analysis assistant was integrated into an Integrated Development Environment, and was evaluated positively by its users. We conducted interviews to understand the impact of the tool on experienced developers, and how it performs in comparison with other static analyzers.
We learned that the availability of our tool as a default IDE feature and its automatic execution are the main reasons for its adoption. Moreover, the fact that immediate feedback is provided directly in the related development context is essential to keeping developers satisfied, although in certain cases feedback delivered later was deemed more useful. We also discovered that static analyzers can play an educational role, especially in combination with domain- specific rules.
Right Money Management App For Your Financial Goals
JIT Feedback — what Experienced Developers like about Static Analysis (icpc2018)
1. JIT Feedback — what Experienced
Developers like about Static Analysis
Yuriy Tymchuk
Swisscom, Switzerland
Mohammad Ghafari
UniBern, Switzerland
Oscar Nierstrasz
UniBern, Switzerland
3
2. How do Developers use Static Analysis
When They use Static Analysis
Mohammad Ghafari
UniBern, Switzerland
Oscar Nierstrasz
UniBern, Switzerland
*WITH A TWIST
4
@yuriy_tymchuk
Swisscom, Switzerland
11. 12
Static Analysis Camps
We have new
useful analyzers!
Analyzing the State of Static
Analysis: A Large-Scale Evaluation
in Open Source Software.
Beller, Bholanath, McIntosh,
Zaidman.
SANER 2016.
Why Don’t Software Developers Use
Static Analysis Tools to Find Bugs?
Johnson, Song, Murphy-Hill,
Bowdidge.
ICSE 2013
40. 42
“Sometimes not clear what is the problem”
“Uncommented class? Meh…”
The Bad Side of QA
“There is this ‘missing yourself’ rule with many
false positives”
41. 43
“Sometimes not clear what is the problem”
“Takes too much of the editor space”
“Uncommented class? Meh…”
The Bad Side of QA
“There is this ‘missing yourself’ rule with many
false positives”