Library to analyze and collect metrics on source code
Перейти к файлу
Luni-4 ff58260463 Split script to update a submodule in two scripts
Since a CI system uses the commit present in a repository that already
contain the differences, it is not necessary to update the
tree-sitter-language
2020-12-23 21:41:59 +01:00
.github Create Dependabot config file (#243) 2020-07-14 18:47:26 +02:00
data Init repo 2019-07-16 16:07:02 +02:00
enums Remove go language (#362) 2020-11-20 11:53:32 +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 Clean up filenames produced by the cli (#400) 2020-12-23 16:10:43 +01:00
rust-code-analysis-web Add the repository & doc in the Web cargo.toml def (#382) 2020-11-30 15:41:25 +01:00
src Remove an unused language 2020-12-04 13:35:49 +01:00
tests Remove c parser and use the c++ one instead 2019-12-17 16:19:29 +01:00
tree-sitter-ccomments Updates parsers 2019-12-17 12:35:27 +01:00
tree-sitter-cpp@5e7476bd01 Update dependencies 2020-06-01 11:37:46 +02:00
tree-sitter-java@ee0a2a0767 Update languages 2020-09-14 10:11:13 +02:00
tree-sitter-javascript@feca6ec5e5 Update languages 2020-09-14 10:11:13 +02:00
tree-sitter-mozcpp Update some languages 2020-06-09 16:32:23 +02:00
tree-sitter-mozjs Update some languages 2020-06-09 16:32:23 +02:00
tree-sitter-preproc Updates parsers 2019-12-17 12:35:27 +01:00
tree-sitter-python@58f5724083 Update languages 2020-09-14 10:11:13 +02: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 go language (#362) 2020-11-20 11:53:32 +01:00
.pre-commit-config.yaml Don't specify Python minor version to use with pre-commit 2020-11-12 13:04:36 +01:00
.taskcluster.yml Checkout all submodules too on CI 2020-11-12 22:02:41 +01:00
Cargo.lock Bump serde from 1.0.117 to 1.0.118 (#398) 2020-12-21 18:14:40 +01:00
Cargo.toml Move the web server in a new crate 2020-11-26 15:07:16 +01:00
README.md Fix additional spaces (#205) 2020-06-05 11:58:14 +02:00
build.rs Prepare to build on Windows (#123) 2020-03-19 16:55:16 +01:00
check-submodule.py Ignore encoding errors opening a file 2020-12-16 09:42:23 +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.

License

All the source code of rust-code-analysis is released under the Mozilla Public License v2.0.