You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+59-8Lines changed: 59 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@
4
4
5
5
This project is a Rust crate (library) to analyse source code. This software is based on [Tree Sitter](https://github.com/tree-sitter/tree-sitter).
6
6
7
-
It supports several languages:
7
+
## Supported Languages
8
+
8
9
* C++
9
10
* C#
10
11
* CSS
@@ -17,17 +18,67 @@ It supports several languages:
17
18
* Rust
18
19
* Typescript
19
20
20
-
## How to build it
21
+
## Supported Metrics
22
+
23
+
- CC: it calculates the code complexity examining the
24
+
control flow of a program.
25
+
- SLOC: it counts the number of lines in a source file.
26
+
- LLOC: it counts the number of logical lines (instructions) contained in a source file.
27
+
- HALSTEAD: it is a suite that provides a series of information, such as the effort required to maintain the analyzed code, the size in bits to store the program, the difficulty to understand the code, an estimate of the number of bugs present in the codebase, and an estimate of the time needed to implement the software.
28
+
- NEXITS: it counts the number of possible exit points from a method/function.
29
+
- NARGS: it counts the number of arguments of a function/method.
0 commit comments