{"id":13414185,"url":"https://github.com/terryyin/lizard","last_synced_at":"2026-06-02T08:00:29.311Z","repository":{"id":3669276,"uuid":"4738329","full_name":"terryyin/lizard","owner":"terryyin","description":"A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.","archived":false,"fork":false,"pushed_at":"2026-05-26T06:49:20.000Z","size":3057,"stargazers_count":2376,"open_issues_count":53,"forks_count":297,"subscribers_count":51,"default_branch":"master","last_synced_at":"2026-05-26T08:32:09.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"manuelkiessling/nodebeginner.org","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terryyin.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-06-21T11:31:46.000Z","updated_at":"2026-05-26T06:49:25.000Z","dependencies_parsed_at":"2026-01-13T11:01:33.374Z","dependency_job_id":null,"html_url":"https://github.com/terryyin/lizard","commit_stats":{"total_commits":864,"total_committers":55,"mean_commits":"15.709090909090909","dds":0.5416666666666667,"last_synced_commit":"3f4c17fdfd625d7c6860379a77af56813e901026"},"previous_names":[],"tags_count":73,"template":false,"template_full_name":null,"purl":"pkg:github/terryyin/lizard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terryyin%2Flizard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terryyin%2Flizard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terryyin%2Flizard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terryyin%2Flizard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terryyin","download_url":"https://codeload.github.com/terryyin/lizard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terryyin%2Flizard/sbom","scorecard":{"id":874838,"data":{"date":"2025-08-11","repo":{"name":"github.com/terryyin/lizard","commit":"f4c93acb75391b2797782373c95889434ac9b2ab"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"19 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/python-app.yml:17","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-app.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/terryyin/lizard/python-app.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-app.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/terryyin/lizard/python-app.yml/master?enable=pin","Warn: pipCommand not pinned by hash: build.sh:10","Warn: pipCommand not pinned by hash: build.sh:13","Warn: npmCommand not pinned by hash: website/static/bower/bootstrap/test-infra/uncached-npm-install.sh:3","Warn: pipCommand not pinned by hash: .github/workflows/python-app.yml:38","Warn: pipCommand not pinned by hash: .github/workflows/python-app.yml:39","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}}]},"last_synced_at":"2025-08-24T05:35:20.616Z","repository_id":3669276,"created_at":"2025-08-24T05:35:20.616Z","updated_at":"2025-08-24T05:35:20.616Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33812204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T21:00:16.198Z","updated_at":"2026-06-02T08:00:29.303Z","avatar_url":"https://github.com/terryyin.png","language":"Python","funding_links":[],"categories":["Python","Multiple languages","Code"],"sub_categories":["Code Complexity"],"readme":"|Web Site| Lizard\n=================\n\n.. image:: https://travis-ci.org/terryyin/lizard.png?branch=master\n    :target: https://travis-ci.org/terryyin/lizard\n.. image:: https://badge.fury.io/py/lizard.svg\n    :target: https://badge.fury.io/py/lizard\n.. |Web Site| image:: http://www.lizard.ws/website/static/img/logo-small.png\n    :target: http://www.lizard.ws\n\n|\n\nLizard is an extensible Cyclomatic Complexity Analyzer for many programming languages\nincluding C/C++ (doesn't require all the header files or Java imports). It also does\ncopy-paste detection (code clone detection/code duplicate detection) and many other forms of static\ncode analysis.\n\nA list of supported languages:\n\n-  C# (C Sharp)\n-  C/C++ (works with C++14)\n-  Erlang\n-  Fortran\n-  GDScript\n-  Golang\n-  Java\n-  JavaScript (With ES6 and JSX)\n-  Kotlin\n-  Lua\n-  Objective-C\n-  Perl\n-  PHP\n-  PL/SQL\n-  Python\n-  R\n-  Ruby\n-  Rust\n-  Scala\n-  Solidity\n-  Structured Text (St)\n-  Swift\n-  TTCN-3\n-  TypeScript (With TSX)\n-  VueJS\n-  Zig\n\nBy default lizard will search for any source code that it knows and mix\nall the results together. This might not be what you want. You can use\nthe \"-l\" option to select language(s).\n\nIt counts\n\n-  the nloc (lines of code without comments),\n-  CCN (cyclomatic complexity number),\n-  token count of functions.\n-  parameter count of functions.\n\nYou can set limitation for CCN (-C), the number of parameters (-a).\nFunctions that exceed these limitations will generate warnings. The exit\ncode of lizard will be none-Zero if there are warnings.\n\nThis tool actually calculates how complex the code 'looks' rather than\nhow complex the code really 'is'. People will need this tool because it's\noften very hard to get all the included folders and files right when\nthey are complicated. But we don't really need that kind of accuracy for\ncyclomatic complexity.\n\nIt requires python3.8 or above (early versions are not verified).\n\nInstallation\n------------\n\nlizard.py can be used as a stand alone Python script, most\nfunctionalities are there. You can always use it without any\ninstallation. To acquire all the functionalities of lizard, you will\nneed a proper install.\n\n::\n\n   python lizard.py\n\nIf you want a proper install:\n\n::\n\n   [sudo] pip install lizard\n\nOr if you've got the source:\n\n::\n\n   [sudo] python setup.py install --prefix=/path/to/installation/directory/\n\nUsage\n-----\n\n::\n\n   lizard [options] [PATH or FILE] [PATH] ...\n\nRun for the code under current folder (recursively):\n\n::\n\n   lizard\n\nExclude anything in the tests folder:\n\n::\n\n    lizard mySource/ -x\"./tests/*\"\n\nUse .gitignore file:\n\n::\n\n    lizard mySource/\n\nIf there is a .gitignore file in the given path, lizard will automatically use it as an additional filter to exclude files that match the gitignore patterns. This is useful when you want to analyze only the tracked files in your git repository.\n\nOptions\n~~~~~~~\n\n::\n\n  -h, --help            show this help message and exit\n  --version             show program's version number and exit\n  -l LANGUAGES, --languages LANGUAGES\n                        List the programming languages you want to analyze. if left empty, it'll\n                        search for all languages it knows. `lizard -l cpp -l java`searches for\n                        C++ and Java code. The available languages are: cpp, java, csharp,\n                        javascript, python, objectivec, ttcn, ruby, php, swift, scala, GDScript,\n                        go, lua, rust, typescript, plsql\n  -V, --verbose         Output in verbose mode (long function name)\n  -C CCN, --CCN CCN     Threshold for cyclomatic complexity number warning. The default value is\n                        15. Functions with CCN bigger than it will generate warning\n  -f INPUT_FILE, --input_file INPUT_FILE\n                        get a list of filenames from the given file\n  -o OUTPUT_FILE, --output_file OUTPUT_FILE\n                        Output file. The output format is inferred from the file extension (e.g.\n                        .html), unless it is explicitly specified (e.g. using --xml).\n  -L LENGTH, --length LENGTH\n                        Threshold for maximum function length warning. The default value is 1000.\n                        Functions length bigger than it will generate warning\n  -a ARGUMENTS, --arguments ARGUMENTS\n                        Limit for number of parameters\n  -w, --warnings_only   Show warnings only, using clang/gcc's warning format for printing\n                        warnings. http://clang.llvm.org/docs/UsersManual.html#cmdoption-\n                        fdiagnostics-format\n  --warning-msvs        Show warnings only, using Visual Studio's warning format for printing\n                        warnings. https://msdn.microsoft.com/en-us/library/yxkt8b26.aspx\n  -i NUMBER, --ignore_warnings NUMBER\n                        If the number of warnings is equal or less than the number, the tool will\n                        exit normally; otherwise, it will generate error. If the number is\n                        negative, the tool exits normally regardless of the number of warnings.\n                        Useful in makefile for legacy code.\n  -x EXCLUDE, --exclude EXCLUDE\n                        Exclude files that match the pattern. * matches everything, ? matches any\n                        single character, \"./folder/*\" exclude everything in the folder\n                        recursively. Multiple patterns can be specified. Don't forget to add \"\"\n                        around the pattern.\n  -t WORKING_THREADS, --working_threads WORKING_THREADS\n                        number of working threads. The default value is 1. Using a bigger number\n                        can fully utilize the CPU and often faster.\n  -X, --xml             Generate XML in cppncss style instead of the tabular output. Useful to\n                        generate report in Jenkins server\n  --csv                 Generate CSV output as a transform of the default output\n  -H, --html            Output HTML report with interactive DataTables (sortable, searchable, filterable)\n  --checkstyle          Generate Checkstyle XML output for integration with Jenkins and other tools\n  -m, --modified        Calculate modified cyclomatic complexity number , which count a\n                        switch/case with multiple cases as one CCN.\n  -E EXTENSIONS, --extension EXTENSIONS\n                        User the extensions. The available extensions are: -Ecpre: it will ignore\n                        code in the #else branch. -Ewordcount: count word frequencies and\n                        generate tag cloud. -Eoutside: include the global code as one function.\n                        -EIgnoreAssert: to ignore all code in assert. -ENS: count nested control\n                        structures.\n  -s SORTING, --sort SORTING\n                        Sort the warning with field. The field can be nloc,\n                        cyclomatic_complexity, token_count, parameter_count, etc. Or an customized field.\n  -T THRESHOLDS, --Threshold THRESHOLDS\n                        Set the limit for a field. The field can be nloc, cyclomatic_complexity,\n                        token_count, parameter_count, etc. Or an customized file. Lizard will\n                        report warning if a function exceed the limit\n  -W WHITELIST, --whitelist WHITELIST\n                        The path and file name to the whitelist file. It's './whitelizard.txt' by\n                        default. Find more information in README.\n\n\nExample use\n-----------\n\nAnalyze a folder recursively: lizard mahjong\\_game/src\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n   ==============================================================\n     NLOC    CCN  token  param    function@line@file\n   --------------------------------------------------------------\n       10      2     29      2    start_new_player@26@./html_game.c\n      ...\n        6      1      3      0    set_shutdown_flag@449@./httpd.c\n       24      3     61      1    server_main@454@./httpd.c\n   --------------------------------------------------------------\n   2 file analyzed.\n   ==============================================================\n   LOC    Avg.NLOC AvgCCN Avg.ttoken  function_cnt    file\n   --------------------------------------------------------------\n       191     15      3        51        12     ./html_game.c\n       363     24      4        86        15     ./httpd.c\n\n   ======================================\n   !!!! Warnings (CCN \u003e 15) !!!!\n   ======================================\n       66     19    247      1    accept_request@64@./httpd.c\n   =================================================================================\n   Total NLOC  Avg.NLOC  Avg CCN  Avg token  Fun Cnt  Warning cnt   Fun Rt   NLOC Rt\n   --------------------------------------------------------------------------------\n          554        20     4.07      71.15       27            1      0.04    0.12\n\nWarnings only (in clang/gcc formation):lizard -w mahjong\\_game\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n   ./src/html_ui/httpd.c:64: warning: accept_request has 19 CCN and 1 params (66 NLOC, 247 tokens)\n   ./src/mahjong_game/mj_table.c:109: warning: mj_table_update_state has 20 CCN and 1 params (72 NLOC, 255 tokens)\n\n\nSet warning threshold for any field:lizard -T nloc=25\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe option `-Tcyclomatic_complexity=10` is equal to `-C10`.\nThe option `-Tlength=10` is equal to `-L10`.\nThe option `-Tparameter_count=10` is equal to `-a10`.\n\nYou can also do `-Tnloc=10` to set the limit of the NLOC. Any function that\nhas NLOC greater than 10 will generate a warning.\n\nGenerated code\n-----------------------------\n\nLizard has a simple solution with generated code. Any code in a source file that is following\na comment containing \"GENERATED CODE\" will be ignored completely. The ignored code will not\ngenerate any data, except the file counting.\n\n\nCode Duplicate Detector\n-----------------------------\n\n::\n\n   lizard -Eduplicate \u003cpath to your code\u003e\n\n\nGenerate A Tag Cloud For Your Code\n----------------------------------\n\nYou can generate a \"Tag cloud\" of your code by the following command. It counts the identifiers in your code (ignoring the comments).\n\n::\n\n   lizard -EWordCount \u003cpath to your code\u003e\n\n\nUsing lizard as Python module\n-----------------------------\n\nYou can also use lizard as a Python module in your code:\n\n.. code:: python\n\n    \u003e\u003e\u003e import lizard\n    \u003e\u003e\u003e i = lizard.analyze_file(\"../cpputest/tests/AllTests.cpp\")\n    \u003e\u003e\u003e print i.__dict__\n    {'nloc': 9, 'function_list': [\u003clizard.FunctionInfo object at 0x10bf7af10\u003e], 'filename': '../cpputest/tests/AllTests.cpp'}\n    \u003e\u003e\u003e print i.function_list[0].__dict__\n    {'cyclomatic_complexity': 1, 'token_count': 22, 'name': 'main', 'parameter_count': 2, 'nloc': 3, 'long_name': 'main( int ac , const char ** av )', 'start_line': 30}\n\nYou can also use source code string instead of file. But you need to\nprovide a file name (to identify the language).\n\n.. code:: python\n\n    \u003e\u003e\u003e i = lizard.analyze_file.analyze_source_code(\"AllTests.cpp\", \"int foo(){}\")\n\nWhitelist\n---------\n\nIf for some reason you would like to ignore the warnings, you can use\nthe whitelist. Add 'whitelizard.txt' to the current folder (or use -W to point to the whitelist file), then the\nfunctions defined in the file will be ignored. Please notice that if you assign the file pathname, it needs to\nbe exactly the same relative path as Lizard to find the file. An easy way to get the file pathname is to copy it from\nthe Lizard warning output.\nThis is an example whitelist:\n\n::\n\n   #whitelizard.txt\n   #The file name can only be whitelizard.txt and put it in the current folder.\n   #You may have commented lines begin with #.\n   function_name1, function_name2 # list function names in multiple lines or split with comma.\n   file/path/name:function1, function2  # you can also specify the filename\n\nOptions in Comments\n-------------------\n\nYou can use options in the comments of the source code to change the\nbehavior of lizard. There are two types of forgiveness comments:\n\n1. Function forgiveness: Put \"#lizard forgives\" inside a function or before a function to suppress warnings for that function.\n\n::\n\n   int foo() {\n       // #lizard forgives\n       ...\n   }\n\n   Selective forgiveness: Use \"#lizard forgives(metric1, metric2)\" to forgive only specific metrics (e.g. length, cyclomatic_complexity, parameter_count, nloc, token_count).\n\n::\n\n   int foo() {\n       // #lizard forgives(length)  // Forgive only length violations\n       ...\n   }\n\n2. Global code forgiveness: Put \"#lizard forgive global\" before global code to suppress warnings for all code outside of functions.\n\n::\n\n   // #lizard forgive global\n   int global_var = 0;\n   if (condition) {  // This complexity won't be counted\n       ...\n   }\n\n   int foo() {  // Functions are still counted normally\n       ...\n   }\n\n\nLimitations\n-----------\n\nLizard requires syntactically correct code.\nUpon processing input with incorrect or unknown syntax:\n\n- Lizard guarantees to terminate eventually (i.e., no forever loops, hangs)\n  without hard failures (e.g., exit, crash, exceptions).\n\n- There is a chance of a combination of the following soft failures:\n\n    - omission\n    - misinterpretation\n    - improper analysis / tally\n    - success (the code under consideration is not relevant, e.g., global macros in C)\n\nThis approach makes the Lizard implementation\nsimpler and more focused with partial parsers for various languages.\nDevelopers of Lizard attempt to minimize the possibility of soft failures.\nHard failures are bugs in Lizard code,\nwhile soft failures are trade-offs or potential bugs.\n\nIn addition to asserting the correct code,\nLizard may choose not to deal with some advanced or complicated language features:\n\n- C/C++ digraphs and trigraphs are not recognized.\n- C/C++ preprocessing or macro expansion is not performed.\n  For example, using macro instead of parentheses (or partial statements in macros)\n  can confuse Lizard's bracket stacks.\n- Some C++ complicated templates may cause confusion with matching angle brackets\n  and processing less-than ``\u003c`` or more-than ``\u003e`` operators\n  inside of template arguments.\n\n\nLiteratures Referring to Lizard\n-------------------------------\n\nLizard is often used in software related researches. If you used it to support your work, you may contact the lizard author to add your work in the following list.\n\n- Software Quality in the ATLAS experiment at CERN, which refers to Lizard as one of the tools, has been published in the Journal of Physics: http://iopscience.iop.org/article/10.1088/1742-6596/898/7/072011\n\n    - S Martin-Haugh et al 2017 J. Phys.: Conf. Ser. 898 072011\n\nLizard is also used as a plugin for fastlane to help check code complexity and submit xml report to sonar.\n\n- `fastlane-plugin-lizard \u003chttps://github.com/liaogz82/fastlane-plugin-lizard\u003e`_\n- `sonar \u003chttps://github.com/Backelite/sonar-swift/blob/develop/docs/sonarqube-fastlane.md\u003e`_\n- `European research project FASTEN (Fine-grained Analysis of SofTware Ecosystems as Networks, \u003chttp://fasten-project.eu/)\u003e`_\n  - `for a quality analyzer \u003chttps://github.com/fasten-project/quality-analyzer\u003e`_\n\nHow To Contribute\n-----------------\n\nContributions are welcome. Please refer to the rules and development workflow in:\n\n- https://github.com/terryyin/lizard/tree/master/.cursor/rules\n\nThese guidelines are usable by both AI assistants and human contributors — what works for AI works for \"I\" as well — to keep changes cohesive, simple, and well-tested.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterryyin%2Flizard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterryyin%2Flizard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterryyin%2Flizard/lists"}