LCOV - differential code coverage report
Current view: top level - src/interfaces/ecpg/test/compat_informix - charfuncs.pgc (source / functions) Coverage Total Hit CBC
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 100.0 % 18 18 18
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 (240..) days: 100.0 % 18 18 18
Function coverage date bins:
(240..) days: 100.0 % 1 1 1

 Age         Owner                    Branch data    TLA  Line data    Source code
                                  1                 :                : #include <stdio.h>
                                  2                 :                : #include <stdlib.h>
                                  3                 :                : #include <sqltypes.h>
                                  4                 :                : 
 6452 meskes@postgresql.or        5                 :CBC           1 : int main(void)
                                  6                 :                : {
                                  7                 :              1 :     char t1[] = "abc  def  ghi  ";
                                  8                 :                :               /* 123456789012345 */
                                  9                 :                :     char buf[50];
                                 10                 :                :     int k;
                                 11                 :                : 
                                 12                 :              1 :     printf("t1: _%s_\n", t1);
                                 13                 :              1 :     rupshift(t1);
                                 14                 :              1 :     printf("t1: _%s_\n", t1);
                                 15                 :                : 
                                 16                 :              1 :     k = 2;
                                 17                 :              1 :     ldchar(t1, k, buf);
                                 18                 :              1 :     printf("byleng(t1, %d): %d, ldchar: _%s_\n", k, byleng(t1, k), buf);
                                 19                 :              1 :     k = 5;
                                 20                 :              1 :     ldchar(t1, k, buf);
                                 21                 :              1 :     printf("byleng(t1, %d): %d, ldchar: _%s_\n", k, byleng(t1, k), buf);
                                 22                 :              1 :     k = 9;
                                 23                 :              1 :     ldchar(t1, k, buf);
                                 24                 :              1 :     printf("byleng(t1, %d): %d, ldchar: _%s_\n", k, byleng(t1, k), buf);
                                 25                 :              1 :     k = 15;
                                 26                 :              1 :     ldchar(t1, k, buf);
                                 27                 :              1 :     printf("byleng(t1, %d): %d, ldchar: _%s_\n", k, byleng(t1, k), buf);
                                 28                 :                : 
                                 29                 :                : 
                                 30                 :              1 :     return 0;
                                 31                 :                : }
        

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