kselftest on UML results - 4.14.0-rc3-00019-g78d8732cf2d8
From: Thomas Meyer
Date: Tue Oct 03 2017 - 07:12:57 EST
Hi,
here are the results from running the kselftests under UML, created with the script
available here:
https://github.com/thomasmey/uml/blob/master/uml-fedora-kselftest.sh
1.) code coverage
http://m3y3r.de/kselftest/4.14.0-rc3-00019-g78d8732cf2d8/coverage/index.html
2.) cyclomatic complexity
http://m3y3r.de/kselftest/4.14.0-rc3-00019-g78d8732cf2d8/result-cyc-comp.txt
3.) kernel build stderr output
http://m3y3r.de/kselftest/4.14.0-rc3-00019-g78d8732cf2d8/result-kernel-build-stderr.txt
4.) kselftests output:
http://m3y3r.de/kselftest/4.14.0-rc3-00019-g78d8732cf2d8/result-kselftests.txt
PS: I have a question regarding the cyclomatic complexity: What is the
meaning of it? I mean I read the definition on Wikipedia, but what do I
do with those results? The ten most "complex" functions are:
Cyclomatic Complexity 730 /home/thomas/git/linux/drivers/md/bcache/super.c:cache_alloc
Cyclomatic Complexity 299 /home/thomas/git/linux/drivers/misc/altera-stapl/altera.c:altera_execute
Cyclomatic Complexity 272 /home/thomas/git/linux/drivers/net/wireless/ti/wl18xx/debugfs.c:wl18xx_debugfs_add_files
Cyclomatic Complexity 266 /home/thomas/git/linux/drivers/md/bcache/super.c:bch_cache_set_alloc
Cyclomatic Complexity 252 /home/thomas/git/linux/fs/ext4/super.c:ext4_fill_super
Cyclomatic Complexity 234 /home/thomas/git/linux/net/core/pktgen.c:pktgen_if_write
Cyclomatic Complexity 220 /home/thomas/git/linux/mm/page_alloc.c:alloc_large_system_hash
Cyclomatic Complexity 218 /home/thomas/git/linux/net/sctp/protocol.c:sctp_init
Cyclomatic Complexity 216 /home/thomas/git/linux/crypto/tcrypt.c:do_test
Cyclomatic Complexity 210 /home/thomas/git/linux/lib/rhashtable.c:rhashtable_init
So is bcache/super.c:cache_alloc a place where bugs lurk?
With kind regards
thomas