LCOV - differential code coverage report
Current view: top level - src/interfaces/ecpg/test/sql - copystdout.pgc (source / functions) Coverage Total Hit UBC CBC
Current: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 100.0 % 13 13 13
Current Date: 2025-10-28 08:26:42 +0900 Functions: 100.0 % 1 1 1
Baseline: lcov-20251028-005825-baseline Branches: 50.0 % 14 7 7 7
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(360..) days: 100.0 % 13 13 13
Function coverage date bins:
(360..) days: 100.0 % 1 1 1
Branch coverage date bins:
(360..) days: 50.0 % 14 7 7 7

 Age         Owner                    Branch data    TLA  Line data    Source code
                                  1                 :                : #include <stdio.h>
                                  2                 :                : 
                                  3                 :                : EXEC SQL INCLUDE sqlca;
                                  4                 :                : exec sql include ../regression;
                                  5                 :                : 
                                  6                 :                : EXEC SQL WHENEVER SQLERROR sqlprint;
                                  7                 :                : 
                                  8                 :                : int
 7027 meskes@postgresql.or        9                 :CBC           1 : main ()
                                 10                 :                : {
                                 11                 :              1 :   ECPGdebug (1, stderr);
                                 12                 :                : 
                                 13                 :              1 :   EXEC SQL CONNECT TO REGRESSDB1;
                                 14         [ -  + ]:              1 :   EXEC SQL CREATE TABLE foo (a int, b varchar);
                                 15         [ -  + ]:              1 :   EXEC SQL INSERT INTO foo VALUES (5, 'abc');
                                 16         [ -  + ]:              1 :   EXEC SQL INSERT INTO foo VALUES (6, 'def');
                                 17         [ -  + ]:              1 :   EXEC SQL INSERT INTO foo VALUES (7, 'ghi');
                                 18         [ -  + ]:              1 : 
                                 19                 :              1 :   EXEC SQL COPY foo TO STDOUT WITH DELIMITER ',';
                                 20         [ -  + ]:              1 :   printf ("copy to STDOUT : sqlca.sqlcode = %ld\n", sqlca.sqlcode);
                                 21                 :                : 
                                 22                 :              1 :   EXEC SQL DISCONNECT;
                                 23         [ -  + ]:              1 : 
                                 24                 :              1 :   return 0;
                                 25                 :                : }
        

Generated by: LCOV version 2.4-beta