Is there a way to have pmd report failure if I exceed 3000 violations of a specific rule. I want CyclomaticComplexity to be unde开发者_运维知识库r 1000 violations and ExcessivePublicCount to be under
I occasionally spend a considerable amount of time tracking down brainfarts in my code... while I normally run pylint against it, there are some things that slip past pylint.The easiest开发者_如何学Py
after some thinking I have concluded that postconditions in methods are useful only when imposed on the return value, ref and out parameters, but not on fields, neither static nor on any instance. The
I\'m looking for a native C++开发者_运维问答 static analysis tool that I can use both from within Visual Studio and as part of a TFS 2010 build.It must also work for 64-bit compilation.Does anyone kno
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I recently set up the static analysis in VS2010 for one of my hobby projects (and annotated all headers), and some of the suggestions it made helped track down a few annoying little bugs.
I\'m trying to generate calling graph with which to find out all the possible execution paths that ar开发者_StackOverflow社区e hitting a particular function (so that I don\'t have to figure out all th
I know that it\'s legal to use dynamic_cast to do a \"cross-cast\" across a class hierarchy.For example, if I have classes that look like this:
I\'ve noticed that some static analyzers operate on source code, while others operate on bytecode (e.g., FindBugs). I\'m sure there are even some that work on object code.
I often see (and reuse) 3rd party source code that doesn\'t have appropriate output. Is there any tool (code translator) that convert println output to suitable log framework code