From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751548AbdJCLMv (ORCPT ); Tue, 3 Oct 2017 07:12:51 -0400 Received: from www17.your-server.de ([213.133.104.17]:39951 "EHLO www17.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797AbdJCLMt (ORCPT ); Tue, 3 Oct 2017 07:12:49 -0400 Date: Tue, 3 Oct 2017 13:13:00 +0200 From: Thomas Meyer To: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: kselftest on UML results - 4.14.0-rc3-00019-g78d8732cf2d8 Message-ID: <20171003110145.6we77bub3mmkvyum@olymp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-Authenticated-Sender: thomas@m3y3r.de Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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