LCOV - differential code coverage report
Current view: top level - src/interfaces/ecpg/test/compat_informix - intoasc.pgc (source / functions) Coverage Total Hit CBC
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 100.0 % 8 8 8
Current Date: 2024-04-14 14:21:10 Functions: 100.0 % 1 1 1
Baseline: 16@8cea358b128 Branches: - 0 0
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 100.0 % 8 8 8
Function coverage date bins:
[..60] days: 100.0 % 1 1 1

 Age         Owner                    Branch data    TLA  Line data    Source code
                                  1                 :                : #include <stdio.h>
                                  2                 :                : #include <stdlib.h>
                                  3                 :                : 
                                  4                 :                : #include "pgtypes_interval.h"
                                  5                 :                : 
                                  6                 :                : EXEC SQL BEGIN DECLARE SECTION;
                                  7                 :                :     char dirty_str[100] = "aaaaaaaaa_bbbbbbbb_ccccccccc_ddddddddd_";
                                  8                 :                :     interval *interval_ptr;
                                  9                 :                : EXEC SQL END DECLARE SECTION;
                                 10                 :                : 
   55 michael@paquier.xyz        11                 :CBC           1 : int main()
                                 12                 :                : {
                                 13                 :              1 :     interval_ptr = (interval *) malloc(sizeof(interval));
                                 14                 :              1 :     interval_ptr->time = 100000000;
                                 15                 :              1 :     interval_ptr->month = 240;
                                 16                 :                : 
                                 17                 :              1 :     printf("dirty_str contents before intoasc: %s\n", dirty_str);
                                 18                 :              1 :     intoasc(interval_ptr, dirty_str);
                                 19                 :              1 :     printf("dirty_str contents after intoasc: %s\n", dirty_str);
                                 20                 :              1 :     return 0;
                                 21                 :                : }
        

Generated by: LCOV version 2.1-beta2-3-g6141622