LCOV - code coverage report
Current view: top level - src/port - qsort.c (source / functions) Coverage Total Hit
Test: Code coverage Lines: 100.0 % 2 2
Test Date: 2026-01-26 10:56:24 Functions: 100.0 % 1 1
Legend: Lines:     hit not hit

            Line data    Source code
       1              : /*
       2              :  *      qsort.c: standard quicksort algorithm
       3              :  */
       4              : 
       5              : #include "c.h"
       6              : 
       7              : #define ST_SORT pg_qsort
       8              : #define ST_ELEMENT_TYPE_VOID
       9              : #define ST_COMPARE_RUNTIME_POINTER
      10              : #define ST_SCOPE
      11              : #define ST_DECLARE
      12              : #define ST_DEFINE
      13              : #include "lib/sort_template.h"
      14              : 
      15              : /*
      16              :  * qsort comparator wrapper for strcmp.
      17              :  */
      18              : int
      19        17085 : pg_qsort_strcmp(const void *a, const void *b)
      20              : {
      21        17085 :         return strcmp(*(const char *const *) a, *(const char *const *) b);
      22              : }
        

Generated by: LCOV version 2.3.2-1