| path | File or directory to run lizard on | no | ./ |
| cli_output_file | Specify the name of the file in which to save the cli output results.
| no | lizard_cli_output.txt |
| timeout | The time until the lizard process timeout. Reduces the risk of consuming time without terminating when a command is invalid. In general, there is no need to change from the default time, but for very large projects, it should be set appropriately.
| no | 600 |
| language | Multiple languages are accepted by separating them by a space.(ex."python cpp java") List the programming languages you want to analyze. if left empty, it'll search for all languages it knows. `lizard -l cpp -l java`searches for C++ and Java code. The available languages are: cpp, java, csharp, javascript, python, objectivec, ttcn, ruby, php, swift, scala, GDScript, go, lua, rust, typescript
| no | "" |
| verbose | Output in verbose mode (long function name) | no | false |
| CCN | Threshold for cyclomatic complexity number warning. The default value is 15. Functions with CCN bigger than it will generate warning
| no | 15 |
| input_file | get a list of filenames from the given file If None, this flag is not given to lizard. The default is set to None.
| no | "" |
| output_file | Output file. The output format is inferred from the file extension (e.g. .html), unless it is explicitly specified (e.g. using --xml). If None, this flag is not given to lizard. The default is set to None.
| no | "" |
| length | Threshold for maximum function length warning. The default value is 1000. Functions length bigger than it will generate warning
| no | 1000 |
| arguments | Limit for number of parameters
| no | 100 |
| warnings_only | Show warnings only, using clang/gcc's warning format for printing warnings. http://clang.llvm.org/docs/UsersManual.html#cmdoption- fdiagnostics-format
| no | false |
| warning_msvs | Show warnings only, using Visual Studio's warning format for printing warnings. https://msdn.microsoft.com/en-us/library/yxkt8b26.aspx
| no | false |
| ignore_warnings | If the number of warnings is equal or less than the number, the tool will exit normally; otherwise, it will generate error. If the number is negative, the tool exits normally regardless of the number of warnings. Useful in makefile for legacy code. If None, this flag is not given to lizard. The default is set to None.
| no | 0 |
| exclude | Exclude files that match the pattern. * matches everything, ? matches any single character, "./folder/*" exclude everything in the folder recursively. Multiple patterns can be specified. Don't forget to add "" around the pattern. If None, this flag is not given to lizard. The default is set to None.
| no | "" |
| working_threads | number of working threads. The default lizard value is 1. Using a bigger number can fully utilize the CPU and often faster.
| no | 4 |
| xml | Generate XML in cppncss style instead of the tabular output. Useful to generate report in Jenkins server
| no | false |
| html | Output HTML report | no | false |
| modified | alculate modified cyclomatic complexity number , which count a switch/case with multiple cases as one CCN.
| no | false |
| extension | User the extensions. The available extensions are: -Ecpre: it will ignore code in the #else branch. -Ewordcount: count word frequencies and generate tag cloud. -Eoutside: include the global code as one function. -EIgnoreAssert: to ignore all code in assert. -ENS: count nested control structures. If None, this flag is not given to lizard. The default is set to None.
| no | "" |
| sort | Sort the warning with field. The field can be nloc, cyclomatic_complexity, token_count, parameter_count, etc. Or an customized field. If None, this flag is not given to lizard. The default is set to None.
| no | "" |
| Threshold | Set the limit for a field. The field can be nloc, cyclomatic_complexity, token_count, parameter_count, etc. Or an customized file. Lizard will report warning if a function exceed the limit If None, this flag is not given to lizard. The default is set to None.
| no | nloc=1000000 |
| whitelist | The path and file name to the whitelist file. It's './whitelizard.txt' by default. Find more information in README.
| no | ./whitelizard.txt |
| optional_args | optional_args unconditionally appends the given string to the end of the command. This option is not recommended. It is intended for limited use only when the given input variables alone do not accomplish the intended purpose. (e.g., "--something_flag input")
| no | "" |