Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 14 submissions in the queue.

Submission Preview

Link to Story

Code analyzer turned out to be smarter than a creator

Accepted submission by Andrey_Karpov http://www.viva64.com at 2017-10-20 12:08:33
Code

I am really astonished by the capabilities of static code analysis even though I am one of the developers of PVS-Studio analyzer myself. The tool surprised me the other day as it turned out to be smarter and more attentive than I am. You must be careful when working with static analysis tools. Code reported by the analyzer often looks fine and you are tempted to discard the warning as a false positive and move on. Even I, one of the PVS-Studio developers, fall into this trap and fail to spot bugs every now and then [viva64.com].

So, appreciate and use static code analyzers [wikipedia.org]! They will help save your time and nerve cells.


Original Submission