Skip to content

Commit 7eb8e98

Browse files
fix code coverage report
1 parent e22d342 commit 7eb8e98

File tree

105 files changed

+122
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+122
-106
lines changed

.gitignore

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,27 @@
4545
# Kernel Module Compile Results
4646
*.mod*
4747
*.cmd
48-
.tmp_versions/
48+
*.tmp_versions/
4949
modules.order
5050
Module.symvers
5151
Mkfile.old
5252
dkms.conf
5353

5454
# debug information files
5555
*.dwo
56+
57+
# Coverage and build artifacts
58+
/obj/
59+
/bin/
60+
/coverage-report/
61+
/coverage.info
62+
*.gcda
63+
*.gcno
64+
*.gcov
65+
66+
# macOS system files
67+
.DS_Store
68+
69+
# Editor backups
70+
*~
71+
*.swp

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ clean_coverage:
9494
rm -rf coverage-report
9595

9696
# Optional: quick badge
97-
badge:
98-
@coverage=$(shell lcov --summary coverage.info 2>/dev/null | awk '/lines/ {val=$$3; gsub("%","",val); print int(val)}'); \
97+
badge: coverage.info
98+
@coverage=$$(lcov --summary coverage.info 2>&1 | awk '/lines/ {gsub(/[^0-9.]/,"",$$2); print $$2}'); \
9999
if [ -z "$$coverage" ]; then coverage=0; fi; \
100100
echo "![Coverage](https://img.shields.io/badge/coverage-$$coverage%25-brightgreen)"
101101

README.md

Lines changed: 1 addition & 1 deletion

coverage-report/index-sort-f.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</tr>
3838
<tr>
3939
<td class="headerItem">Test Date:</td>
40-
<td class="headerValue">2025-10-19 19:06:58</td>
40+
<td class="headerValue">2025-10-19 19:41:24</td>
4141
<td></td>
4242
<td class="headerItem">Functions:</td>
4343
<td class="headerCovTableEntryHi">98.1&nbsp;%</td>

coverage-report/index-sort-l.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</tr>
3838
<tr>
3939
<td class="headerItem">Test Date:</td>
40-
<td class="headerValue">2025-10-19 19:06:58</td>
40+
<td class="headerValue">2025-10-19 19:41:24</td>
4141
<td></td>
4242
<td class="headerItem">Functions:</td>
4343
<td class="headerCovTableEntryHi">98.1&nbsp;%</td>

coverage-report/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</tr>
3838
<tr>
3939
<td class="headerItem">Test Date:</td>
40-
<td class="headerValue">2025-10-19 19:06:58</td>
40+
<td class="headerValue">2025-10-19 19:41:24</td>
4141
<td></td>
4242
<td class="headerItem">Functions:</td>
4343
<td class="headerCovTableEntryHi">98.1&nbsp;%</td>

coverage-report/src/aes_128.c.func-c.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</tr>
3838
<tr>
3939
<td class="headerItem">Test Date:</td>
40-
<td class="headerValue">2025-10-19 19:06:58</td>
40+
<td class="headerValue">2025-10-19 19:41:24</td>
4141
<td></td>
4242
<td class="headerItem">Functions:</td>
4343
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>

coverage-report/src/aes_128.c.func.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</tr>
3838
<tr>
3939
<td class="headerItem">Test Date:</td>
40-
<td class="headerValue">2025-10-19 19:06:58</td>
40+
<td class="headerValue">2025-10-19 19:41:24</td>
4141
<td></td>
4242
<td class="headerItem">Functions:</td>
4343
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>

coverage-report/src/aes_128.c.gcov.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</tr>
3838
<tr>
3939
<td class="headerItem">Test Date:</td>
40-
<td class="headerValue">2025-10-19 19:06:58</td>
40+
<td class="headerValue">2025-10-19 19:41:24</td>
4141
<td></td>
4242
<td class="headerItem">Functions:</td>
4343
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>

coverage-report/src/aes_192.c.func-c.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</tr>
3838
<tr>
3939
<td class="headerItem">Test Date:</td>
40-
<td class="headerValue">2025-10-19 19:06:58</td>
40+
<td class="headerValue">2025-10-19 19:41:24</td>
4141
<td></td>
4242
<td class="headerItem">Functions:</td>
4343
<td class="headerCovTableEntryHi">100.0&nbsp;%</td>

0 commit comments

Comments
 (0)