LCOV - code coverage report
Current view: top level - package3/src - package3.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 4 4 100.0 %
Date: 2024-10-03 03:00:03 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : #include "package3/package3.hpp"
       2                 :            : 
       3                 :          1 : int dangerous_function() {
       4                 :          1 :   double x = 1.0;
       5                 :          1 :   x = x++ + ++x; // Undefined behavior
       6                 :          1 :   return x;
       7                 :            : }

Generated by: LCOV version 1.14