LCOV - code coverage report
Current view: top level - libsecret Hit Total Coverage
Test: Code coverage Lines: 8063 9224 87.4 %
Date: 2024-02-08 14:44:34 Functions: 761 812 93.7 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 % Branches: 3513 7617 46.1 %

Filename Sort by name Line Coverage ( show details ) Sort by line coverage Functions Sort by function coverage Branches Sort by branch coverage
mock-service.c
77.2%77.2%
77.2 % 44 / 57 80.0 % 4 / 5 46.7 % 14 / 30
secret-attributes.c
71.2%71.2%
71.2 % 94 / 132 85.7 % 6 / 7 67.4 % 58 / 86
secret-backend.c
87.6%87.6%
87.6 % 78 / 89 100.0 % 9 / 9 61.3 % 38 / 62
secret-backend.h
100.0%
100.0 % 1 / 1 100.0 % 2 / 2 - 0 / 0
secret-collection.c
79.2%79.2%
79.2 % 619 / 782 93.2 % 69 / 74 45.5 % 307 / 674
secret-file-backend.c
46.6%46.6%
46.6 % 187 / 401 65.7 % 23 / 35 34.1 % 47 / 138
secret-file-backend.h
100.0%
100.0 % 1 / 1 100.0 % 1 / 1 - 0 / 0
secret-file-collection.c
80.2%80.2%
80.2 % 268 / 334 96.2 % 25 / 26 58.7 % 64 / 109
secret-file-collection.h
100.0%
100.0 % 1 / 1 100.0 % 1 / 1 - 0 / 0
secret-file-item.c
94.2%94.2%
94.2 % 97 / 103 100.0 % 14 / 14 82.6 % 19 / 23
secret-file-item.h
100.0%
100.0 % 1 / 1 100.0 % 1 / 1 - 0 / 0
secret-item.c
84.5%84.5%
84.5 % 572 / 677 90.3 % 65 / 72 44.4 % 284 / 639
secret-methods.c
83.2%83.2%
83.2 % 593 / 713 89.3 % 50 / 56 46.0 % 343 / 746
secret-password.c
88.6%88.6%
88.6 % 427 / 482 95.6 % 43 / 45 33.9 % 179 / 528
secret-paths.c
90.4%90.4%
90.4 % 628 / 695 93.9 % 62 / 66 37.9 % 385 / 1016
secret-prompt.c
90.6%90.6%
90.6 % 164 / 181 100.0 % 19 / 19 55.8 % 87 / 156
secret-retrievable.c
100.0%
100.0 % 44 / 44 100.0 % 9 / 9 44.4 % 16 / 36
secret-retrievable.h
100.0%
100.0 % 1 / 1 100.0 % 3 / 3 50.0 % 3 / 6
secret-schema.c
59.2%59.2%
59.2 % 45 / 76 75.0 % 9 / 12 61.5 % 32 / 52
secret-schemas.c
0.0%
0.0 % 0 / 8 0.0 % 0 / 1 0.0 % 0 / 3
secret-service.c
84.7%84.7%
84.7 % 548 / 647 97.5 % 78 / 80 45.7 % 270 / 591
secret-session.c
79.2%79.2%
79.2 % 205 / 259 90.5 % 19 / 21 54.0 % 68 / 126
secret-util.c
74.1%74.1%
74.1 % 120 / 162 81.8 % 18 / 22 42.2 % 54 / 128
secret-value.c
90.9%90.9%
90.9 % 90 / 99 100.0 % 14 / 14 66.2 % 49 / 74
test-attributes.c
66.1%66.1%
66.1 % 84 / 127 100.0 % 13 / 13 31.8 % 14 / 44
test-collection.c
100.0%
100.0 % 552 / 552 100.0 % 34 / 34 50.7 % 213 / 420
test-file-collection.c
100.0%
100.0 % 182 / 182 100.0 % 12 / 12 51.4 % 37 / 72
test-item.c
100.0%
100.0 % 508 / 508 100.0 % 25 / 25 50.8 % 181 / 356
test-methods.c
100.0%
100.0 % 499 / 499 100.0 % 31 / 31 50.0 % 201 / 402
test-password.c
100.0%
100.0 % 226 / 226 100.0 % 20 / 20 50.0 % 71 / 142
test-paths.c
100.0%
100.0 % 395 / 395 100.0 % 25 / 25 50.0 % 153 / 306
test-prompt.c
100.0%
100.0 % 218 / 218 100.0 % 18 / 18 50.0 % 58 / 116
test-service.c
100.0%
100.0 % 350 / 350 100.0 % 16 / 16 50.0 % 182 / 364
test-session.c
100.0%
100.0 % 120 / 120 100.0 % 10 / 10 50.0 % 60 / 120
test-value.c
100.0%
100.0 % 101 / 101 100.0 % 13 / 13 50.0 % 26 / 52

Generated by: LCOV version 1.14