LCOV - code coverage report
Current view: top level - src/plugins/battery - battery-plugin.c (source / functions) Hit Total Coverage
Test: Code Coverage Lines: 5 5 100.0 %
Date: 2023-06-06 02:20:50 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           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 <libpeas/peas.h>
       7                 :            : #include <valent.h>
       8                 :            : 
       9                 :            : #include "valent-battery-gadget.h"
      10                 :            : #include "valent-battery-plugin.h"
      11                 :            : #include "valent-battery-preferences.h"
      12                 :            : 
      13                 :            : 
      14                 :            : _VALENT_EXTERN void
      15                 :          3 : valent_battery_plugin_register_types (PeasObjectModule *module)
      16                 :            : {
      17                 :          3 :   peas_object_module_register_extension_type (module,
      18                 :            :                                               VALENT_TYPE_DEVICE_PLUGIN,
      19                 :            :                                               VALENT_TYPE_BATTERY_PLUGIN);
      20                 :          3 :   peas_object_module_register_extension_type (module,
      21                 :            :                                               VALENT_TYPE_DEVICE_GADGET,
      22                 :            :                                               VALENT_TYPE_BATTERY_GADGET);
      23                 :          3 :   peas_object_module_register_extension_type (module,
      24                 :            :                                               VALENT_TYPE_DEVICE_PREFERENCES_GROUP,
      25                 :            :                                               VALENT_TYPE_BATTERY_PREFERENCES);
      26                 :          3 : }

Generated by: LCOV version 1.14