From: carusogabriel Operating system: PHP version: Irrelevant Package: Testing related Bug Type: Bug Bug description:Trivial tests aren't covered by GCOV
Description: ------------ Trivial tests for functions like gettype, floatval, boolval, is_bool, etc, aren't being covered in GCOV: http://gcov.php.net/PHP_HEAD/lcov_html/ext/standard/type.c.gcov.php I've tested locally the new LCOV version, 1.13 (http://ltp.sourceforge.net/coverage/lcov.php), but it didn't help us. Something to start with: in PHP 7.1 we weren't using macros for gettype (http://gcov.php.net/PHP_7_1/lcov_html/ext/standard/type.c.gcov.php), for example, and after we started on 7.2 (http://gcov.php.net/PHP_7_2/lcov_html/ext/standard/type.c.gcov.php), we've lost those lines. -- Edit bug report at https://bugs.php.net/bug.php?id=76733&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76733&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76733&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76733&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76733&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76733&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76733&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76733&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76733&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76733&r=support Expected behavior: https://bugs.php.net/fix.php?id=76733&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76733&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76733&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76733&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76733&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76733&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76733&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76733&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76733&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76733&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76733&r=mysqlcfg -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php