File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ Fork of https://github.com/kisstkondoros/codecomplexity
6
6
7
7
Differences:
8
8
9
+ - using latest dependencies - main reason for the fork was to be able to update dependencies
9
10
- show complexity number inside the decoration; no need to hover to see the number
10
- - instead of 4 levels of color decoration, there are 30 levels.
11
+ - instead of 4 levels of color decoration, there are around 25 levels.
11
12
- no lua/vue/html support
12
13
- no second decoration, ` CodeLensEnabled ` is not used
13
14
- different color sets depending if current theme is dark or light
@@ -16,7 +17,10 @@ Differences:
16
17
17
18
### Code Complexity
18
19
19
- Instead of showing only 4 colors, it shows 30 colors.
20
+ Instead of showing only 4 colors, it shows 25 colors.
20
21
The color of the decoration is based on the complexity of the function.
21
- Complexity of ` 0 ` is green and complexity of ` 30 ` is red.
22
- Other levels are in between these two colors.
22
+ Complexity below ` 5 ` is not decorated.
23
+ Complexity between ` 5 ` and ` 12 ` is shown in green.
24
+ Complexity between ` 12 ` and ` 22 ` is shown in blue. Complexity above ` 12 ` is shown inside decoration square.
25
+ Complexity between ` 22 ` and ` 32 ` is shown in red.
26
+ Complexity above ` 32 ` is shown in purple.
You can’t perform that action at this time.
0 commit comments