From 3d74b2295fd6ddc8e3e100e397b0c484a2f416f3 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Sun, 3 Nov 2024 20:33:29 -0500 Subject: [PATCH] feat: summary show occurrence --- expected.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expected.json b/expected.json index 42555d4..7799789 100644 --- a/expected.json +++ b/expected.json @@ -1 +1 @@ -[{"name":"keyword","results":[{"score":776,"comment":"Matched keyword 30 time(s): [cppcoreguidelines-avoid-non-const-global-variables]\nMatched keyword 36 time(s): [readability-identifier-length]\nMatched keyword 1 time(s): [misc-use-anonymous-namespace]\nMatched keyword 56 time(s): [llvmlibc-implementation-in-namespace]\n"}],"force_quit":true}] +[{"name":"keyword","results":[{"score":776,"comment":"1. `[cppcoreguidelines-avoid-non-const-global-variables]`: 30 occurrence(s), -150 point(s)\n2. `[readability-identifier-length]`: 36 occurrence(s), -72 point(s)\n3. `[misc-use-anonymous-namespace]`: 1 occurrence(s), -2 point(s)\n4. `[llvmlibc-implementation-in-namespace]`: 56 occurrence(s), 0 point(s)\n"}],"force_quit":false}]