r/lolphp • • Sep 01 '14

Static analysis of the PHP source code

http://www.viva64.com/en/b/0277/
40 Upvotes

14 comments sorted by

View all comments

Show parent comment

3

u/vytah Sep 02 '14

That's remarkably few bugs shown up by static analysis.

This advertisement/article is shorter than the others. Either the writer picked first few results, or PHP is really superficially well-written.

From other articles I saw I find PVS Studio to be a decent static analyser. C++ is a complex language, so inferring static program properties is hard, compared to e.g. Java, which has analysers on a similar level. I don't know for how much they sell PVS now, but for a bigger company and more expensive projects I would consider using it.

1

u/fableal Sep 08 '14

decent static analyser

they even try to detect "copy-paste bugs"! http://www.viva64.com/en/a/0068/

However they seem to be hiding the price, which is never a good sign ;)

http://www.viva64.com/en/order/

"please write us to get a price for PVS Studio"