Skip to content

Commit bd1dea6

Browse files
author
Deyan Totev
committed
chore@small
1 parent 2b32b5f commit bd1dea6

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Diff for: README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ Fork of https://github.com/kisstkondoros/codecomplexity
66

77
Differences:
88

9+
- using latest dependencies - main reason for the fork was to be able to update dependencies
910
- 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.
1112
- no lua/vue/html support
1213
- no second decoration, `CodeLensEnabled` is not used
1314
- different color sets depending if current theme is dark or light
@@ -16,7 +17,10 @@ Differences:
1617

1718
### Code Complexity
1819

19-
Instead of showing only 4 colors, it shows 30 colors.
20+
Instead of showing only 4 colors, it shows 25 colors.
2021
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.

Diff for: images/show.png

21.9 KB
Loading

0 commit comments

Comments
 (0)