mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kselftest on UML results - 4.14.0-rc3-00019-g78d8732cf2d8
@ 2017-10-03 11:13 Thomas Meyer
  0 siblings, 0 replies; only message in thread
From: Thomas Meyer @ 2017-10-03 11:13 UTC (permalink / raw)
  To: linux-kselftest, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-03 11:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-03 11:13 kselftest on UML results - 4.14.0-rc3-00019-g78d8732cf2d8 Thomas Meyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®