Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
notJoon committed Jul 27, 2024
1 parent 85c7028 commit 4935c7c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ High cyclomatic complexity can make code harder to understand and maintain. Gene

To run this analysis, use the `-cyclo` flag along with an optional `-threshold` flag to set the [complexity threshold](https://learn.microsoft.com/en-us/visualstudio/code-quality/code-metrics-cyclomatic-complexity?view=vs-2022). The default threshold is 10.

|Cyclomatic Complexity | Risk Evaluation |
|----------------------|-----------------|
|1-10 | Low |
|11-20 | Moderate |
|21-50 | High |
|>50 | Very High |

```bash
tlin -cyclo -threshold <threshold> <path>
```
Expand Down

0 comments on commit 4935c7c

Please sign in to comment.