Received: from orbyte.nwl.cc (orbyte.nwl.cc [151.80.46.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6160D34FF55 for ; Thu, 22 Jan 2026 14:46:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=151.80.46.58 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769093204; cv=none; b=Kc75aji0uFcb1YGhWVwolZTJBilDqdNRohDXLcrywpb7R7e2+n3aGKyV5SIg6AOw1ppvAYxEqDmk5/PfapljgUPPA/+nD0on9etqjHCPf0QUNB7OUKQmDihlKkxX98gfbE6hpbPgJdfS5k7IC14wybSaNIwWklomDgZ7Iv/kb6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769093204; c=relaxed/simple; bh=zep8wq5gteP9Kyn4pR2qoU4f24V1u/0md2qAf1P/ZKY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tAT3ChMUhKS/Fyz1n/NgMtdvILuicsyODhZpHEQF9T0lpHlCHneFCR47YDQCiORINEKXEXqRvuEaep83AcCUb7Nz92mmhD/8X4VUg8XC0jLs18ek6Ixq/cic8UvXk4FsO9LxvUPfKNG315vTdhLH11rKWZ30xd0cfNqQx1FqgCA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nwl.cc; spf=pass smtp.mailfrom=nwl.cc; dkim=pass (2048-bit key) header.d=nwl.cc header.i=@nwl.cc header.b=T6U467dG; arc=none smtp.client-ip=151.80.46.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nwl.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nwl.cc Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nwl.cc header.i=@nwl.cc header.b="T6U467dG" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nwl.cc; s=mail2022; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PmjDjiwKTxE8/Tc5xRxY57nUr8b8qvrRLTLXGn0ZyxY=; b=T6U467dGsDGjnGefZ6xjLkM9e/ IxNE0nU6W5v3Fnx0ouIyR3kBcg1boiKcpiP896jezilUG96e9txI+gd3s886RsAGukucHyag2xO/c I3hWOMLdPgW/FDF3q5pGnEOwHaYG8i13NpWAU44dMdt00OYcvC3iPzS4nrGjghATWz43Zjeol8Kj8 dvnacaQ9DnzaoaFasE+RGEYBxtoj8AWfzESSqyzuHKk4fGwNhnNQ9g7kkiyyG8X1s8ddDqkVjcOGy zAVtmigm2ToEadO8fLMfhN1qDm1QYTbwcEJfA3MW2y4iX1YqqvZA8l2BboEKxS3bnAjMG7cri1KcN wmbd83bg==; Received: from n0-1 by orbyte.nwl.cc with local (Exim 4.98.2) (envelope-from ) id 1vivxG-0000000063M-2qVI; Thu, 22 Jan 2026 15:46:38 +0100 Date: Thu, 22 Jan 2026 15:46:38 +0100 From: Phil Sutter To: Fernando Fernandez Mancera Cc: Pablo Neira Ayuso , Florian Westphal , netfilter-devel@vger.kernel.org, coreteam@netfilter.org Subject: Re: FYI: Code coverage of nft test suites Message-ID: Mail-Followup-To: Phil Sutter , Fernando Fernandez Mancera , Pablo Neira Ayuso , Florian Westphal , netfilter-devel@vger.kernel.org, coreteam@netfilter.org References: <54e7d5ac-8cae-4fd7-9440-21ae982b4a22@suse.de> Precedence: bulk X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54e7d5ac-8cae-4fd7-9440-21ae982b4a22@suse.de> Hi Ferfer, ;) On Thu, Jan 22, 2026 at 03:36:15PM +0100, Fernando Fernandez Mancera wrote: > On 1/21/26 12:20 AM, Phil Sutter wrote: > > Hi, > > > > I recalled there was an effort to increase code coverage of the nft test > > suites so I ran 'make check' in a '--coverage'-enabled build. Here's > > the result for HEAD at commit dda050bd78245 ("doc: clarify JSON rule > > positioning with handle field"): > > > > http://nwl.cc/~n0-1/nft_testsuites_coverage/index.html > > > > I plan to pick at least a few low hanging fruits from there, but anyone > > interested is more than welcome to chime in! > > > > Thank you Phil! I would love to. Cool! I have written a test for src/trace.c and am currently working on one for src/xt.c. So these two are already taken care of. Feel free to pick anything else worth improving. Thanks, Phil