static-code-analysis
Get classes in a directory with PHP
Is there a way to obtain a list of all classe开发者_高级运维s that implement a certain Interface inside a directory?In the directory:[详细]
2023-04-11 00:32 分类:问答FxCop, compose list of callers from dependent assembly
I\'m building a couple of customs FxCop rules and one of the rules needs to enforce that a constructor is called in specific methods. For that, I need to create a list of callers, to that specific con[详细]
2023-04-08 09:21 分类:问答Compilation errors invisible when Code Analysis set on TFS2010
I am getting my hands on TFS 2010, and I am starting with trying to set a continuous integration build up. For this purpose I am using the default build template (DefaultTemplate.xml) configured with[详细]
2023-04-04 18:22 分类:问答How to do static analysis for C++ code with Eclipse cdt?
I need to get the static information of C++ program with CDT. No need to build the project, just to get the basic information(namespace, class, extends relation, method, call, field) and save them to[详细]
2023-04-02 17:13 分类:问答Pychecker --keepgoing (import) problem
i encountered the following problem when i use PyCh开发者_如何转开发ecker on modules with an import that is not existing. I called PyChecker with the --keepgoing and --only flags:[详细]
2023-03-29 01:45 分类:问答Is Code Contracts failing to spot obvious relationship between Nullable<T>.HasValue and null?
I am experimenting with applying Code Contracts to my code and I\'ve hit a perplexing problem. This code is failing to meet the contract but unless I\'m being really thick I would expect it to be able[详细]
2023-03-23 12:59 分类:问答Lint-like program for Perl?
I\'m looking for a lint for Perl, something that would catch dead code a开发者_运维百科nd other potential problems.Any suggestions?[详细]
2023-03-23 06:26 分类:问答Using cccc with pure C?
Has anyone used cccc with pure C code? I tried it and it seems to handle all the files as one module, which 开发者_如何学JAVAmeans that most of the counters are useless (e.g. there is no fan-in or fa[详细]
2023-03-19 13:24 分类:问答How can I generate a reverse call tree for a Delphi project?
Is there a way to quickly search for the complete list of code paths to one particular function in my project, in order to find out whether some certain upper-lever function calls it, either directly[详细]
2023-03-16 20:21 分类:问答How do I find all the unit tests that may directly or indirectly call a given method? (.net)
How do I find all the unit tests that may dir开发者_运维技巧ectly or indirectly call a given method?[详细]
2023-02-19 22:37 分类:问答