LCOV - code coverage report | |||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
File | Line Coverage ( hide details ) | Branch Coverage | Function Coverage | ||||||||
Rate | Total | Hit | Rate | Total | Hit | Rate | Total | Hit | |||
blockchain.cpp |
|
94.3 % | 1694 | 1598 | 51.5 % | 6643 | 3422 | 97.7 % | 130 | 127 | |
test_bitcoin | 26.6 % | 1694 | 451 | 27.8 % | 6643 | 1844 | 30.0 % | 130 | 39 | ||
functional_tests | 94.0 % | 1694 | 1592 | 51.4 % | 6643 | 3417 | 96.2 % | 130 | 125 | ||
client.cpp |
|
100.0 % | 37 | 37 | 68.8 % | 64 | 44 | 100.0 % | 6 | 6 | |
test_bitcoin | 51.4 % | 37 | 19 | 34.4 % | 64 | 22 | 66.7 % | 6 | 4 | ||
functional_tests | 100.0 % | 37 | 37 | 68.8 % | 64 | 44 | 100.0 % | 6 | 6 | ||
external_signer.cpp |
|
97.3 % | 37 | 36 | 53.0 % | 132 | 70 | 100.0 % | 3 | 3 | |
test_bitcoin | 40.5 % | 37 | 15 | 34.8 % | 132 | 46 | 66.7 % | 3 | 2 | ||
functional_tests | 97.3 % | 37 | 36 | 52.3 % | 132 | 69 | 100.0 % | 3 | 3 | ||
fees.cpp |
|
96.3 % | 107 | 103 | 50.2 % | 542 | 272 | 100.0 % | 5 | 5 | |
test_bitcoin | 28.0 % | 107 | 30 | 31.9 % | 542 | 173 | 60.0 % | 5 | 3 | ||
functional_tests | 96.3 % | 107 | 103 | 50.0 % | 542 | 271 | 100.0 % | 5 | 5 | ||
mempool.cpp |
|
96.0 % | 671 | 644 | 51.4 % | 2850 | 1464 | 100.0 % | 32 | 32 | |
test_bitcoin | 33.1 % | 671 | 222 | 30.4 % | 2850 | 865 | 50.0 % | 32 | 16 | ||
functional_tests | 95.8 % | 671 | 643 | 51.2 % | 2850 | 1460 | 100.0 % | 32 | 32 | ||
mining.cpp |
|
93.0 % | 614 | 571 | 50.6 % | 2402 | 1216 | 100.0 % | 31 | 31 | |
test_bitcoin | 21.7 % | 614 | 133 | 25.6 % | 2402 | 616 | 38.7 % | 31 | 12 | ||
functional_tests | 93.0 % | 614 | 571 | 50.6 % | 2402 | 1215 | 100.0 % | 31 | 31 | ||
net.cpp |
|
94.8 % | 675 | 640 | 50.0 % | 3418 | 1710 | 100.0 % | 41 | 41 | |
test_bitcoin | 49.3 % | 675 | 333 | 36.0 % | 3418 | 1232 | 63.4 % | 41 | 26 | ||
functional_tests | 94.8 % | 675 | 640 | 50.0 % | 3418 | 1708 | 100.0 % | 41 | 41 | ||
node.cpp |
|
93.3 % | 210 | 196 | 50.5 % | 832 | 420 | 95.7 % | 23 | 22 | |
functional_tests | 93.3 % | 210 | 196 | 50.4 % | 832 | 419 | 95.7 % | 23 | 22 | ||
test_bitcoin | 40.5 % | 210 | 85 | 36.3 % | 832 | 302 | 43.5 % | 23 | 10 | ||
output_script.cpp |
|
97.7 % | 174 | 170 | 52.3 % | 832 | 435 | 100.0 % | 10 | 10 | |
functional_tests | 97.7 % | 174 | 170 | 52.2 % | 832 | 434 | 100.0 % | 10 | 10 | ||
test_bitcoin | 32.2 % | 174 | 56 | 31.4 % | 832 | 261 | 50.0 % | 10 | 5 | ||
rawtransaction.cpp |
|
89.7 % | 999 | 896 | 49.9 % | 4158 | 2073 | 97.5 % | 40 | 39 | |
functional_tests | 89.7 % | 999 | 896 | 49.8 % | 4158 | 2072 | 97.5 % | 40 | 39 | ||
test_bitcoin | 27.0 % | 999 | 270 | 27.9 % | 4158 | 1161 | 57.5 % | 40 | 23 | ||
rawtransaction_util.cpp |
|
94.9 % | 196 | 186 | 59.5 % | 462 | 275 | 100.0 % | 9 | 9 | |
functional_tests | 94.9 % | 196 | 186 | 59.5 % | 462 | 275 | 100.0 % | 9 | 9 | ||
test_bitcoin | 72.4 % | 196 | 142 | 32.7 % | 462 | 151 | 100.0 % | 9 | 9 | ||
register.h |
|
100.0 % | 13 | 13 | - | 100.0 % | 1 | 1 | |||
functional_tests | 100.0 % | 13 | 13 | - | 0 | 0 | 100.0 % | 1 | 1 | ||
test_bitcoin | 100.0 % | 13 | 13 | - | 0 | 0 | 100.0 % | 1 | 1 | ||
request.cpp |
|
86.5 % | 126 | 109 | 51.2 % | 252 | 129 | 100.0 % | 9 | 9 | |
functional_tests | 86.5 % | 126 | 109 | 51.2 % | 252 | 129 | 100.0 % | 9 | 9 | ||
test_bitcoin | 4.0 % | 126 | 5 | 2.4 % | 252 | 6 | 11.1 % | 9 | 1 | ||
request.h |
|
100.0 % | 1 | 1 | 100.0 % | 8 | 8 | - | |||
functional_tests | 100.0 % | 1 | 1 | 100.0 % | 8 | 8 | - | 0 | 0 | ||
server.cpp |
|
94.8 % | 309 | 293 | 56.2 % | 612 | 344 | 94.4 % | 36 | 34 | |
test_bitcoin | 48.9 % | 309 | 151 | 35.0 % | 612 | 214 | 47.2 % | 36 | 17 | ||
functional_tests | 94.5 % | 309 | 292 | 55.1 % | 612 | 337 | 94.4 % | 36 | 34 | ||
server.h |
|
92.9 % | 14 | 13 | 58.3 % | 12 | 7 | 60.0 % | 5 | 3 | |
functional_tests | 92.3 % | 13 | 12 | 58.3 % | 12 | 7 | 60.0 % | 5 | 3 | ||
test_bitcoin | 85.7 % | 14 | 12 | 58.3 % | 12 | 7 | 60.0 % | 5 | 3 | ||
server_util.cpp |
|
83.0 % | 53 | 44 | 21.7 % | 60 | 13 | 100.0 % | 16 | 16 | |
functional_tests | 83.0 % | 53 | 44 | 21.7 % | 60 | 13 | 100.0 % | 16 | 16 | ||
test_bitcoin | 28.3 % | 53 | 15 | 6.7 % | 60 | 4 | 31.2 % | 16 | 5 | ||
signmessage.cpp |
|
94.1 % | 68 | 64 | 49.5 % | 216 | 107 | 100.0 % | 5 | 5 | |
functional_tests | 94.1 % | 68 | 64 | 49.1 % | 216 | 106 | 100.0 % | 5 | 5 | ||
test_bitcoin | 54.4 % | 68 | 37 | 36.6 % | 216 | 79 | 60.0 % | 5 | 3 | ||
txoutproof.cpp |
|
94.9 % | 98 | 93 | 54.1 % | 292 | 158 | 100.0 % | 5 | 5 | |
test_bitcoin | 22.4 % | 98 | 22 | 20.5 % | 292 | 60 | 60.0 % | 5 | 3 | ||
functional_tests | 94.9 % | 98 | 93 | 53.8 % | 292 | 157 | 100.0 % | 5 | 5 | ||
util.cpp |
|
90.8 % | 844 | 766 | 59.0 % | 1586 | 936 | 92.5 % | 80 | 74 | |
test_bitcoin | 55.1 % | 844 | 465 | 32.8 % | 1586 | 521 | 60.0 % | 80 | 48 | ||
functional_tests | 90.4 % | 844 | 763 | 58.2 % | 1586 | 923 | 91.2 % | 80 | 73 | ||
util.h |
|
100.0 % | 63 | 63 | 35.2 % | 233 | 82 | 100.0 % | 15 | 15 | |
test_bitcoin | 98.4 % | 63 | 62 | 23.6 % | 165 | 39 | 86.7 % | 15 | 13 | ||
functional_tests | 100.0 % | 63 | 63 | 48.5 % | 165 | 80 | 100.0 % | 15 | 15 |
Generated by: LCOV version 2.0-1 |