Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128452 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id A3E761A00BC for ; Tue, 12 Aug 2025 12:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1755002331; bh=hk8RyPuEoOYa5+VwangSa9CcnojHM+Ai/kzwBmLgWbw=; h=References:In-Reply-To:From:Date:Subject:To:From; b=mpzymZmG1IiCwqY2nvJGoQp7Vk3bG7AQoDJrTewsvYwEMZU8ZBIuNsx7RG7Mh4yVX ETZBCTN2fVrAzN6D1/fCvmz9zRHrVemObh+6bmRazil0jMjhlAWU1F5MLcqo/n3FP+ nRXYBrQr+H/Yn26pJRxxXG9T7bf4jDdiDLzWr1aKeUr869PYwVA0DUgMsMupWn7yVy EoddOzbgEXSPLN0OHtdwJ1+UgrQoQbqYQGPIpEhwT8AOBAI/lMjN8UQlwV9gyo5d8G tolAOJKWHbMGmKl0Pg8GuG/KzhYuSDcNOscyGV2mkJQRjgLUmpcuaaclhi858rq7i7 Oid0/DYdt4szg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D3C271801D6 for ; Tue, 12 Aug 2025 12:38:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 12 Aug 2025 12:38:50 +0000 (UTC) Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-70736b2ea12so27941806d6.1 for ; Tue, 12 Aug 2025 05:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1755002427; x=1755607227; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hk8RyPuEoOYa5+VwangSa9CcnojHM+Ai/kzwBmLgWbw=; b=RzHtV47HE83Qzbh3rB0tnNlT79/6J9NfM/L1s8tfNmpS4qSURUwXhtue7xBiYgwr+R lkMci277Hr/fuNKm5nx7lt+P32SLzcj+Ediqcq8OIUIx6f4nQ4nFffvJzEuuh8F65ylm p0nYYH71ikQh7d6AAbFW6cvxAlAchARcqOryvQz6Nq+81Vo9AKeas0SMSJPZV0ZQLeKb iREB/5HOJ3sEeBiSKaN1SPwLILKdy6lvzynMIVfODNa2NerpZeIa9SUzc3/pn53TenON Mx1yCQYiOYCuxh2dPlLV1TjEjci3HLnPqGNP3jV9mRd01GnG562f6CvhPerf7gsm6upd nyNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755002427; x=1755607227; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hk8RyPuEoOYa5+VwangSa9CcnojHM+Ai/kzwBmLgWbw=; b=TbkkCwLJ7r/MXgYHJPHbNgt+a3NLxjNEOVUavSOUToesZ0YhOaQph4lItaeJssDLLE IMBi67xILGqmI8ZgvFXQrPzmqPuo4+D78HhVN4VRdAzaP1XE/idFiJSE4xwrc41tNqD0 ZnVJcn0mhJ4Ya8mg6oeKYTha1HWbSklIFNYjj105hwOcj5q+IkbBfDZcrkV044Zg9vRZ MaFn+34rW7w8PKZhRYuzT0NYlUJqQgGML/Tb0YtXETZrteE7U+frRTyErEYtICPLmpwF 8NZt8Q6DjTfu2eoNb5Abm6nvBX4hqpM9xhRtGNSQF3F3CIsMEpokV+PvmhL2VE37SlGW zpuA== X-Gm-Message-State: AOJu0YzoCXoy239FvXNSRr3mQx9pp4vtGKWng54H7wcyR5eDezqLdCnd b+eagzUrKSqpEcLTaYSqfSLK6uxbZg90Gd/3HIClYUFShWTrSoK6TIf6aVJwECH4UMHFUwlD/ta 3AcS+TxP9Y/sPitY8nwd/QIMRzFp49f6+Osxeqeq4/Q== X-Gm-Gg: ASbGnctMOismjjKBndTgVXWVZqL/V+0/aoeAMoGSThk5ORDnZWElLVGE8sQN6nP+S99 OLHalbwORFmEIREZtCcBhk4glmIENmFVuwkrto05QH2rpoZRMgHMqxwhDC6lz7QdBf0TUnJ1ix+ HTjo8YaqXrZ0PpkaBbGisvjSOdoePzG2ZhHD1opA+tuGYqv7AS6/zFJNkygt4BOY2LBpNCmjL3S zxqaAFJxRTvRBfVlbg= X-Google-Smtp-Source: AGHT+IGykO/GaE3sxhVHTE/WiZ1GWHDQdACijLNZi4cqteKy65b5Xf2/1za+cVz7ALxoe0h8FBtmwYHgoYp8MJhGSjg= X-Received: by 2002:ad4:5c8f:0:b0:707:3ce0:987c with SMTP id 6a1803df08f44-7099a481685mr194554356d6.41.1755002427319; Tue, 12 Aug 2025 05:40:27 -0700 (PDT) Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 12 Aug 2025 14:40:15 +0200 X-Gm-Features: Ac12FXw4ngO05X4S5PEjGN4G_U92T92JRmVwGjS2iZkzKcc2YDcnP-54dVPM4cw Message-ID: Subject: Re: [PHP-DEV] Test coverage To: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: tovilo.ilija@gmail.com (Ilija Tovilo) Hi Vinicius On Thu, Aug 7, 2025 at 5:44=E2=80=AFPM Ilija Tovilo wrote: > > Hi Vinicius > > On Thu, Aug 7, 2025 at 5:20=E2=80=AFPM Vinicius Dias wrote: > > > > I would like to know how or where I can find the code coverage for > > php-src to see if there is any uncovered code I might be able to > > contribute with new tests. > > It lives here: > > https://app.codecov.io/github/php/php-src > > However, it seems it's currently borked. The nightly job succeeded, so > I'm not immediately sure what's wrong. I'll put it on my list, unless > somebody beats me to it. Looks like whatever issue there was fixed itself. I'm happy to review any patches improving coverage. There are some inaccuracies with tracking, i.e. some executed lines are marked as red. This happens often for macros that insert branches that are never taken (and aren't intended to be taken). We also don't care about the failure paths of the Z_PARAM_ macros. These are tested sufficiently, so we don't need to repeat the same test for every function. Thanks! Ilija