LCOV - code coverage report
Current view: top level - nntrainer/layers Coverage Total Hit
Test: coverage_filtered.info Lines: 72.0 % 7579 5454
Test Date: 2025-12-12 20:39:18 Functions: 77.6 % 1064 826

Filename Sort by file name Line Coverage Sort by line coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit
acti_func.h
82.1%82.1%
82.1 % 224 184 82.9 % 41 34
activation_layer.cpp
97.1%97.1%
97.1 % 34 33 100.0 % 6 6
activation_layer.h
100.0%
100.0 % 4 4 100.0 % 5 5
add_layer.cpp
100.0%
100.0 % 18 18 100.0 % 4 4
add_layer.h
65.0%65.0%
65.0 % 20 13 75.0 % 8 6
addition_layer.cpp
45.8%45.8%
45.8 % 48 22 66.7 % 6 4
addition_layer.h
100.0%
100.0 % 6 6 80.0 % 5 4
attention_layer.cpp
50.9%50.9%
50.9 % 116 59 66.7 % 12 8
attention_layer.h
50.0%50.0%
50.0 % 4 2 66.7 % 3 2
bn_layer.cpp
65.3%65.3%
65.3 % 225 147 72.7 % 11 8
bn_layer.h
100.0%
100.0 % 7 7 80.0 % 5 4
cast_layer.cpp
63.2%63.2%
63.2 % 19 12 50.0 % 4 2
cast_layer.h
75.0%75.0%
75.0 % 8 6 66.7 % 6 4
centroid_knn.cpp
89.1%89.1%
89.1 % 55 49 77.8 % 9 7
centroid_knn.h
100.0%
100.0 % 3 3 100.0 % 3 3
channel_shuffle.cpp
72.2%72.2%
72.2 % 133 96 81.8 % 11 9
channel_shuffle.h
100.0%
100.0 % 3 3 100.0 % 4 4
common_properties.cpp
92.3%92.3%
92.3 % 169 156 91.0 % 67 61
common_properties.h
86.1%86.1%
86.1 % 101 87 50.0 % 4 2
concat_layer.cpp
77.3%77.3%
77.3 % 110 85 85.7 % 7 6
concat_layer.h
100.0%
100.0 % 11 11 100.0 % 6 6
conv1d_layer.cpp
90.7%90.7%
90.7 % 43 39 75.0 % 12 9
conv1d_layer.h
100.0%
100.0 % 2 2 100.0 % 2 2
conv2d_layer.cpp
88.3%88.3%
88.3 % 247 218 87.5 % 16 14
conv2d_layer.h
100.0%
100.0 % 3 3 75.0 % 4 3
conv2d_transpose_layer.cpp
0.0%
0.0 % 228 0.0 % 14
conv2d_transpose_layer.h
0.0%
0.0 % 4 0.0 % 4
cosine_layer.cpp
100.0%
100.0 % 17 17 100.0 % 4 4
cosine_layer.h
85.7%85.7%
85.7 % 14 12 83.3 % 6 5
divide_layer.cpp
100.0%
100.0 % 21 21 100.0 % 4 4
divide_layer.h
60.9%60.9%
60.9 % 23 14 75.0 % 8 6
dropout.cpp
100.0%
100.0 % 36 36 100.0 % 4 4
dropout.h
71.4%71.4%
71.4 % 7 5 80.0 % 5 4
embedding.cpp
65.2%65.2%
65.2 % 89 58 55.6 % 9 5
embedding.h
100.0%
100.0 % 3 3 75.0 % 4 3
fc_layer.cpp
44.2%44.2%
44.2 % 172 76 80.0 % 10 8
fc_layer.h
100.0%
100.0 % 4 4 100.0 % 4 4
flatten_layer.cpp
93.3%93.3%
93.3 % 30 28 100.0 % 3 3
flatten_layer.h
100.0%
100.0 % 4 4 100.0 % 4 4
gather_layer.cpp
0.0%
0.0 % 22 0.0 % 4
gather_layer.h
0.0%
0.0 % 6 0.0 % 5
gru.cpp
94.3%94.3%
94.3 % 318 300 88.9 % 9 8
gru.h
100.0%
100.0 % 3 3 100.0 % 4 4
grucell.cpp
92.7%92.7%
92.7 % 259 240 90.9 % 11 10
grucell.h
100.0%
100.0 % 3 3 100.0 % 4 4
identity_layer.cpp
100.0%
100.0 % 23 23 100.0 % 7 7
identity_layer.h
100.0%
100.0 % 5 5 100.0 % 3 3
input_layer.cpp
77.1%77.1%
77.1 % 35 27 71.4 % 7 5
input_layer.h
100.0%
100.0 % 6 6 80.0 % 5 4
layer_context.cpp
81.1%81.1%
81.1 % 175 142 84.9 % 53 45
layer_context.h
90.7%90.7%
90.7 % 54 49 100.0 % 5 5
layer_devel.h
43.5%43.5%
43.5 % 69 30 87.5 % 80 70
layer_impl.cpp
76.5%76.5%
76.5 % 17 13 60.0 % 5 3
layer_impl.h
100.0%
100.0 % 1 1 -
layer_node.cpp
81.4%81.4%
81.4 % 408 332 90.8 % 65 59
layer_node.h
90.2%90.2%
90.2 % 102 92 92.6 % 27 25
layer_normalization_layer.cpp
75.6%75.6%
75.6 % 135 102 88.9 % 9 8
layer_normalization_layer.h
100.0%
100.0 % 7 7 100.0 % 5 5
lstm.cpp
73.8%73.8%
73.8 % 447 330 83.3 % 12 10
lstm.h
100.0%
100.0 % 3 3 75.0 % 4 3
lstmcell.cpp
90.1%90.1%
90.1 % 142 128 88.9 % 9 8
lstmcell.h
100.0%
100.0 % 3 3 100.0 % 4 4
lstmcell_core.cpp
100.0%
100.0 % 77 77 85.7 % 7 6
lstmcell_core.h
100.0%
100.0 % 1 1 100.0 % 1 1
matmul_layer.cpp
90.0%90.0%
90.0 % 30 27 100.0 % 4 4
matmul_layer.h
85.7%85.7%
85.7 % 14 12 83.3 % 6 5
mol_attention_layer.cpp
22.5%22.5%
22.5 % 262 59 38.5 % 13 5
mol_attention_layer.h
100.0%
100.0 % 3 3 100.0 % 2 2
multi_head_attention_layer.cpp
73.7%73.7%
73.7 % 552 407 78.6 % 14 11
multi_head_attention_layer.h
100.0%
100.0 % 3 3 100.0 % 2 2
multiout_layer.cpp
47.8%47.8%
47.8 % 46 22 66.7 % 6 4
multiout_layer.h
100.0%
100.0 % 9 9 83.3 % 6 5
multiply_layer.cpp
100.0%
100.0 % 20 20 100.0 % 4 4
multiply_layer.h
60.9%60.9%
60.9 % 23 14 75.0 % 8 6
negative_layer.cpp
100.0%
100.0 % 17 17 100.0 % 4 4
negative_layer.h
76.5%76.5%
76.5 % 17 13 83.3 % 6 5
operation_layer.h
20.4%20.4%
20.4 % 54 11 50.0 % 4 2
permute_layer.cpp
65.9%65.9%
65.9 % 41 27 62.5 % 8 5
permute_layer.h
100.0%
100.0 % 5 5 100.0 % 5 5
plugged_layer.h
21.9%21.9%
21.9 % 32 7 21.4 % 14 3
pooling2d_layer.cpp
91.7%91.7%
91.7 % 230 211 93.3 % 15 14
pooling2d_layer.h
100.0%
100.0 % 3 3 75.0 % 4 3
positional_encoding_layer.cpp
100.0%
100.0 % 54 54 100.0 % 9 9
positional_encoding_layer.h
100.0%
100.0 % 3 3 100.0 % 2 2
pow_layer.cpp
100.0%
100.0 % 20 20 100.0 % 4 4
pow_layer.h
76.5%76.5%
76.5 % 17 13 85.7 % 7 6
preprocess_flip_layer.cpp
26.1%26.1%
26.1 % 46 12 50.0 % 6 3
preprocess_flip_layer.h
100.0%
100.0 % 4 4 75.0 % 4 3
preprocess_l2norm_layer.cpp
91.3%91.3%
91.3 % 23 21 75.0 % 4 3
preprocess_l2norm_layer.h
71.4%71.4%
71.4 % 7 5 60.0 % 5 3
preprocess_translate_layer.cpp
0.0%
0.0 % 35 0.0 % 6
preprocess_translate_layer.h
0.0%
0.0 % 4 0.0 % 4
reduce_mean_layer.cpp
40.6%40.6%
40.6 % 32 13 40.0 % 5 2
reduce_mean_layer.h
100.0%
100.0 % 4 4 75.0 % 4 3
reduce_sum_layer.cpp
100.0%
100.0 % 25 25 100.0 % 5 5
reduce_sum_layer.h
100.0%
100.0 % 4 4 75.0 % 4 3
reshape_layer.cpp
96.9%96.9%
96.9 % 32 31 100.0 % 5 5
reshape_layer.h
100.0%
100.0 % 7 7 80.0 % 5 4
rnn.cpp
89.5%89.5%
89.5 % 181 162 88.9 % 9 8
rnn.h
100.0%
100.0 % 3 3 100.0 % 4 4
rnncell.cpp
89.9%89.9%
89.9 % 148 133 88.9 % 9 8
rnncell.h
100.0%
100.0 % 3 3 100.0 % 4 4
sine_layer.cpp
100.0%
100.0 % 17 17 100.0 % 4 4
sine_layer.h
100.0%
100.0 % 12 12 83.3 % 6 5
slice_layer.cpp
0.0%
0.0 % 41 0.0 % 4
slice_layer.h
0.0%
0.0 % 9 0.0 % 6
split_layer.cpp
100.0%
100.0 % 83 83 100.0 % 6 6
split_layer.h
100.0%
100.0 % 10 10 83.3 % 6 5
sqrt_layer.cpp
100.0%
100.0 % 18 18 100.0 % 4 4
sqrt_layer.h
76.5%76.5%
76.5 % 17 13 83.3 % 6 5
subtract_layer.cpp
100.0%
100.0 % 18 18 100.0 % 4 4
subtract_layer.h
65.0%65.0%
65.0 % 20 13 75.0 % 8 6
tangent_layer.cpp
100.0%
100.0 % 17 17 100.0 % 4 4
tangent_layer.h
85.7%85.7%
85.7 % 14 12 83.3 % 6 5
tensor_layer.cpp
0.0%
0.0 % 43 0.0 % 6
tensor_layer.h
0.0%
0.0 % 6 0.0 % 5
tflite_layer.cpp
91.7%91.7%
91.7 % 60 55 88.9 % 9 8
tflite_layer.h
100.0%
100.0 % 2 2 100.0 % 2 2
time_dist.cpp
9.2%9.2%
9.2 % 217 20 14.3 % 14 2
time_dist.h
38.9%38.9%
38.9 % 18 7 50.0 % 8 4
upsample2d_layer.cpp
94.9%94.9%
94.9 % 98 93 100.0 % 5 5
upsample2d_layer.h
60.0%60.0%
60.0 % 5 3 60.0 % 5 3
weight_layer.cpp
44.8%44.8%
44.8 % 29 13 37.5 % 8 3
weight_layer.h
100.0%
100.0 % 3 3 75.0 % 4 3
zoneout_lstmcell.cpp
89.1%89.1%
89.1 % 211 188 81.8 % 11 9
zoneout_lstmcell.h
83.3%83.3%
83.3 % 12 10 75.0 % 4 3

Generated by: LCOV version 2.0-1