LCOV - code coverage report
Current view: top level - gjs Coverage Total Hit
Test: gjs-1.86.0 Code Coverage Lines: 81.2 % 5083 4126
Test Date: 2025-11-02 18:31:04 Functions: 91.3 % 1114 1017
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 % Branches: 59.7 % 2601 1554

Filename Sort by file name Line Coverage ( show details ) Sort by line coverage Branch Coverage Sort by branch coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit Rate Total Hit
objectbox.h
100.0%
100.0 % 2 2 - -
promise.h
100.0%
100.0 % 1 1 - -
stack.cpp
54.5%54.5%
54.5 % 33 18 50.0 % 10 5 33.3 % 3 1
profiler.cpp
53.3%53.3%
53.3 % 317 169 34.3 % 198 68 45.5 % 22 10
jsapi-util-error.cpp
80.0%80.0%
80.0 % 120 96 56.1 % 66 37 70.0 % 10 7
engine.cpp
86.5%86.5%
86.5 % 89 77 58.3 % 24 14 80.0 % 15 12
jsapi-util.cpp
72.9%72.9%
72.9 % 365 266 54.0 % 211 114 80.0 % 25 20
global.cpp
79.0%79.0%
79.0 % 224 177 53.5 % 86 46 83.3 % 24 20
deprecation.cpp
84.3%84.3%
84.3 % 51 43 46.2 % 26 12 85.7 % 7 6
jsapi-util-args.h
95.1%95.1%
95.1 % 164 156 71.9 % 171 123 85.7 % 140 120
context.cpp
82.2%82.2%
82.2 % 899 739 65.4 % 347 227 87.2 % 94 82
jsapi-dynamic-class.cpp
71.3%71.3%
71.3 % 94 67 51.6 % 64 33 87.5 % 8 7
gerror-result.h
92.3%92.3%
92.3 % 13 12 - 88.9 % 9 8
auto.h
100.0%
100.0 % 83 83 75.0 % 8 6 93.3 % 436 407
objectbox.cpp
87.1%87.1%
87.1 % 62 54 66.7 % 18 12 93.8 % 16 15
jsapi-util-root.h
94.3%94.3%
94.3 % 87 82 83.3 % 18 15 95.5 % 22 21
internal.cpp
83.7%83.7%
83.7 % 313 262 56.8 % 118 67 95.8 % 24 23
jsapi-util-string.cpp
73.3%73.3%
73.3 % 318 233 58.2 % 146 85 96.2 % 26 25
coverage.h
100.0%
100.0 % 1 1 - 100.0 % 1 1
jsapi-class.h
100.0%
100.0 % 3 3 - 100.0 % 1 1
mainloop.cpp
100.0%
100.0 % 21 21 93.8 % 16 15 100.0 % 1 1
mem.cpp
87.5%87.5%
87.5 % 16 14 80.0 % 10 8 100.0 % 1 1
context.h
100.0%
100.0 % 1 1 50.0 % 6 3 100.0 % 2 2
jsapi-util.h
100.0%
100.0 % 9 9 100.0 % 4 4 100.0 % 2 2
native.h
100.0%
100.0 % 4 4 75.0 % 4 3 100.0 % 2 2
profiler-private.h
77.8%77.8%
77.8 % 9 7 50.0 % 4 2 100.0 % 2 2
error-types.cpp
100.0%
100.0 % 5 5 87.5 % 8 7 100.0 % 3 3
native.cpp
73.3%73.3%
73.3 % 15 11 50.0 % 4 2 100.0 % 3 3
atoms.cpp
87.5%87.5%
87.5 % 24 21 50.0 % 132 66 100.0 % 4 4
atoms.h
100.0%
100.0 % 5 5 - 100.0 % 4 4
debugger.cpp
84.1%84.1%
84.1 % 63 53 55.0 % 40 22 100.0 % 4 4
global.h
100.0%
100.0 % 5 5 - 100.0 % 4 4
console.cpp
79.1%79.1%
79.1 % 201 159 70.8 % 120 85 100.0 % 6 6
enum-utils.h
100.0%
100.0 % 12 12 - 100.0 % 6 6
mainloop.h
92.6%92.6%
92.6 % 27 25 66.7 % 6 4 100.0 % 7 7
byteArray.cpp
86.5%86.5%
86.5 % 104 90 57.7 % 52 30 100.0 % 10 10
text-encoding.cpp
84.0%84.0%
84.0 % 225 189 66.4 % 128 85 100.0 % 14 14
promise.cpp
90.1%90.1%
90.1 % 81 73 62.5 % 16 10 100.0 % 19 19
importer.cpp
81.3%81.3%
81.3 % 428 348 63.5 % 307 195 100.0 % 21 21
coverage.cpp
89.2%89.2%
89.2 % 212 189 66.1 % 115 76 100.0 % 23 23
module.cpp
89.6%89.6%
89.6 % 318 285 61.9 % 118 73 100.0 % 27 27
context-private.h
100.0%
100.0 % 50 50 - 100.0 % 33 33
mem-private.h
100.0%
100.0 % 9 9 - 100.0 % 33 33

Generated by: LCOV version 2.0-1