static-analysis
PMD report more than X violations
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[详细]
2023-02-21 18:49 分类:问答Python code checker for comparing a function as an attribute
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[详细]
2023-02-20 13:44 分类:问答C# Code Contracts: Are postconditions on members accessible from other threads useless?
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[详细]
2023-02-20 04:52 分类:问答C++ static code analysis that can be run in a TFS 2010 build?
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[详细]
2023-02-20 02:52 分类:问答Looking for a parser for QML-format files [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-02-20 02:09 分类:问答Additional/extended code analysis rules
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.[详细]
2023-02-19 19:17 分类:问答How to Generate a calling graph for C++ code
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[详细]
2023-02-18 11:48 分类:问答Checking whether a cross-cast could possibly work?
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:[详细]
2023-02-16 22:21 分类:问答What levels should static analyzers analyze?
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.[详细]
2023-02-14 22:15 分类:问答Java translator for println usages to convenient logger
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[详细]
2023-02-12 18:25 分类:问答