Author

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

legendary
Activity: 952
Merit: 1385
February 26, 2022, 07: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: 3304
Merit: 8633
Crypto Swap Exchange
February 26, 2022, 07: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: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
February 26, 2022, 07:06:36 AM
#3
Quote
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, 06: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: 3304
Merit: 8633
Crypto Swap Exchange
February 25, 2022, 10: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: