Library to analyze and collect metrics on source code
Перейти к файлу
Luni-4 ff1c5fb2b1
Clarify all licenses present in the code (#544)
* Add LICENSE files for mozjs and mozcpp

* Clarify all project licenses in README
2021-03-11 21:21:43 +01:00
.github dependabot: Look for updates for local grammars (#521) 2021-03-09 15:46:47 +01:00
data Init repo 2019-07-16 16:07:02 +02:00
enums Bump tree-sitter-mozcpp to v0.17 (#540) 2021-03-11 14:05:38 +01:00
generate-grammars Clean grammar scripts (#542) 2021-03-11 15:47:22 +01:00
rust-code-analysis-book In the docs, generate subsections for "rust-code-analysis" (#236) 2020-07-06 10:12:20 +02:00
rust-code-analysis-cli Bump to version 0.0.19 2021-01-06 12:45:38 +01:00
rust-code-analysis-web Bump pretty_assertions from 0.6.1 to 0.7.1 (#519) 2021-03-09 11:06:11 +01:00
src Bump tree-sitter-mozcpp to v0.17 (#540) 2021-03-11 14:05:38 +01:00
tests Remove c parser and use the c++ one instead 2019-12-17 16:19:29 +01:00
tree-sitter-ccomment Fix copyright in some LICENSE files 2021-03-11 09:45:05 +01:00
tree-sitter-javascript@3f8b62f9be Bump tree-sitter-javascript (#347) 2021-01-15 11:26:00 +01:00
tree-sitter-mozcpp Clarify all licenses present in the code (#544) 2021-03-11 21:21:43 +01:00
tree-sitter-mozjs Clarify all licenses present in the code (#544) 2021-03-11 21:21:43 +01:00
tree-sitter-preproc Fix copyright in some LICENSE files 2021-03-11 09:45:05 +01:00
tree-sitter-python@10eaa00fec Update Python grammar to v0.17 (#512) 2021-03-09 13:45:20 +01:00
tree-sitter-rust@40620bf409 Update dependencies 2020-06-01 11:37:46 +02:00
tree-sitter-typescript@220ae17fad Update languages 2020-09-14 10:11:13 +02:00
.gitignore Init repo 2019-07-16 16:07:02 +02:00
.gitmodules Remove tree-sitter-cpp submodule 2021-03-09 10:28:41 +01:00
.pre-commit-config.yaml Update pre-commit repositories 2021-01-06 11:44:14 +01:00
.taskcluster.yml Test the enums workspace on CI 2021-02-08 16:56:56 +01:00
Cargo.lock Bump tree-sitter-mozcpp to v0.17 (#540) 2021-03-11 14:05:38 +01:00
Cargo.toml Bump tree-sitter-mozcpp to v0.17 (#540) 2021-03-11 14:05:38 +01:00
README.md Clarify all licenses present in the code (#544) 2021-03-11 21:21:43 +01:00
build.rs Add tree-sitter-mozjs crate 2021-03-09 12:26:10 +01:00
check-submodule.py Remove json-diff crate 2021-02-16 11:51:18 +01:00
check-submodules.sh Update json-minimal-tests crate (#481) 2021-02-19 23:47:55 +01:00
update-language-bindings.sh Split script to update a submodule in two scripts 2020-12-23 21:41:59 +01:00
update-submodule.sh Split script to update a submodule in two scripts 2020-12-23 21:41:59 +01:00

README.md

rust-code-analysis

Task Status codecov

rust-code-analysis is a Rust library to analyze and extract information from source codes written in many different programming languages. It is based on a parser generator tool and an incremental parsing library called Tree Sitter.

In addition, we provide a command line tool called rust-code-analysis-cli to interact with the API of the library in an easy way.

This tool can be used to:

  • Call rust-code-analysis API
  • Print nodes and metrics information
  • Export metrics in different formats

Software Usability

rust-code-analysis supports many types of programming languages and computes a great variety of metrics. If you want to discover more on this software, read our Documentation.

On the Commands page, you will learn which commands need to be run to get information about metrics, nodes, and other general data provided by this software.

If you want to contribute to the development of this software or you are just interested in building rust-code-analysis, have a look at the Developers Guide.

Licenses

  • Mozilla-defined grammars are released under the MIT license.

  • rust-code-analysis, rust-code-analysis-cli and rust-code-analysis-web are released under the Mozilla Public License v2.0.