danmar/cppcheck — comment on commit 0d3bf5340d338f2a1795c81dfa2e0722a6f4e9d5
File:  line 0
By kimmov:

> There are much better tools for C# and java than cppcheck so there is no good reason for it.

>It's Dan's project and it's Dan's decision to support it.

Dan's argument has been that there might be errors Cppcheck finds (due to different approach) than those other tools. I don't remember any such errors been shown to found in practice. Personally I'm very pessimistic there even could be such errors. Where Cppcheck has to mostly guess the types, C# and Java tools can use the real type information they get using the reflection. I doubt Cppcheck has anything to give in here.

Only thing there could be is that Cppcheck has its own way to handle the syntax. It might find some syntax-related bugs those more type-oriented tools can't find. But the thing is C# and Java only have some commonalities in syntax, syntax is not identical and only some very basic things are really equal in syntax. Think about tables for example. Think about doing a real table checking for those three languages.