PyCheckerPython代码分析工具
PyChecker是一个python脚本分析工具,它可以发现python脚本中的bugs,它支持python2.0 – 2.7。PyChecker可以发现的问题包括:
- No global found (e.g., using a module without importing it)
- Passing the wrong number of parameters to functions/methods/constructors
- Passing the wrong number of parameters to builtin functions & methods
- Using format strings that don't match arguments
- Using class methods and attributes that don't exist
- Changing signature when overriding a method
- Redefining a function/class/method in the same scope
- Using a variable before setting it
- self is not the first parameter defined for a method
- Unused globals and locals (module or variable)
- Unused function/method arguments (can ignore self)
- No doc strings in modules, classes, functions, and methods
评论
CodeNarcGroovy代码分析工具
CodeNarc是一个对Groovy代码进行静态分析的工具和框架。CodeNarc通过扫描Groovy源代码来寻找那些违反预定或自定义的相关规则,包括检测编码标准、寻找未使用的代码、可预见的bug或者
CodeNarcGroovy代码分析工具
0
CodemodFacebook 代码分析工具
Codemod是一个工具/库,它可以帮你处理那些只有部分自动化功能,部分场合还需人工干预的大规模代码库。示例代码:-m Have regex work over multiple lines (e.
CodemodFacebook 代码分析工具
0