LCOV - code coverage report
Current view: top level - src/libvalent/ui - libvalent-ui.c (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 4 4
Test Date: 2024-04-23 06:02:46 Functions: 100.0 % 1 1
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 100.0 % 2 2

             Branch data     Line data    Source code
       1                 :             : // SPDX-License-Identifier: GPL-3.0-or-later
       2                 :             : // SPDX-FileCopyrightText: Andy Holmes <andrew.g.r.holmes@gmail.com>
       3                 :             : 
       4                 :             : #include "config.h"
       5                 :             : 
       6                 :             : #include <gio/gio.h>
       7                 :             : #include <gtk/gtk.h>
       8                 :             : #include <libpeas.h>
       9                 :             : #include <libvalent-core.h>
      10                 :             : 
      11                 :             : #include "valent-ui-manager.h"
      12                 :             : 
      13                 :             : 
      14                 :             : _VALENT_EXTERN void
      15                 :          65 : libvalent_ui_register_types (PeasObjectModule *module)
      16                 :             : {
      17         [ +  + ]:          65 :   if (gtk_is_initialized ())
      18                 :             :     {
      19                 :          29 :       peas_object_module_register_extension_type (module,
      20                 :             :                                                   VALENT_TYPE_APPLICATION_PLUGIN,
      21                 :             :                                                   VALENT_TYPE_UI_MANAGER);
      22                 :             :     }
      23                 :          65 : }
      24                 :             : 
        

Generated by: LCOV version 2.0-1