LCOV - code coverage report
Current view: top level - src/plugins/battery - battery-plugin.c (source / functions) Coverage Total Hit
Test: Code Coverage Lines: 100.0 % 3 3
Test Date: 2024-11-16 20:34:14 Functions: 100.0 % 1 1
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.h>
       7                 :             : #include <valent.h>
       8                 :             : 
       9                 :             : #include "valent-battery-plugin.h"
      10                 :             : 
      11                 :             : 
      12                 :             : _VALENT_EXTERN void
      13                 :          18 : valent_battery_plugin_register_types (PeasObjectModule *module)
      14                 :             : {
      15                 :          18 :   peas_object_module_register_extension_type (module,
      16                 :             :                                               VALENT_TYPE_DEVICE_PLUGIN,
      17                 :             :                                               VALENT_TYPE_BATTERY_PLUGIN);
      18                 :          18 : }
        

Generated by: LCOV version 2.0-1