Author

Topic: Bitcoin Core 0.23.0 in progress... (Read 91 times)

legendary
Activity: 952
Merit: 1367
February 26, 2022, 08:41:52 AM
#5
It makes me wonder if they would like to share results from unit tests coverage check. Hmmm maybe if I have nothing better to do I will launch Bitcoin Core project in Sonarqube and see results.
legendary
Activity: 3122
Merit: 7618
Crypto Swap Exchange
February 26, 2022, 08:17:12 AM
#4
@NotATether
many thanks for the clarification Smiley
have then in relation to all the developer posts again learned something new to it
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
February 26, 2022, 08:02:45 AM
#3
Exactly what @NotATether said, although usually i only see people share the number (to public) when the percentage is very high (90% or more).


It's surprising source code for wallet have very low coverage (only 18.6% of function covered).
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
February 26, 2022, 08:06:36 AM
#3
It's surprising source code for wallet have very low coverage (only 18.6% of function covered).

This is the coverage report for the "fuzz tests", a kind of test where you supply random, arbitrary data to functions and check if they crash, leak memory, or throw an exception. Other tests may have higher coverage for these folders. If you ask me, it's probably due to a lack of test cases written for these subsystems.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
February 26, 2022, 07:47:36 AM
#2
This is just a chart that shows how much of the source code is ran by some test program in the /tests folder. It basically measures how much of the source code (lines, functions, and if/else paths) is covered by tests and the results are grouped by directory. It is used in profiling to see which functions are called the most so they can potentially be optimized.
legendary
Activity: 3122
Merit: 7618
Crypto Swap Exchange
February 25, 2022, 11:59:42 AM
#1
happened to come across this tweet today, in which the developer Marco Falke shares with the public the further development compared to the current 0.22.0 version Smiley
since i unfortunately don't know that much about it, it would be nice if someone could explain the graphic shown for a normal user like me Lips sealed


Quote
60% overall line coverage with fuzz tests. The upcoming Bitcoin Core 23.0 release will be the most fuzzed release.
https://twitter.com/MarcoFalke/status/1497215035617202176
https://marcofalke.github.io/btc_cov/fuzz.coverage/index.html
Jump to: