LCOV - code coverage report
Current view: top level - gjs - coverage.h (source / functions) Coverage Total Hit
Test: gjs- Code Coverage Lines: 100.0 % 1 1
Test Date: 2024-04-29 05:18:28 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                 :             : /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
       2                 :             : /*
       3                 :             :  * SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
       4                 :             :  * SPDX-FileCopyrightText: 2014 Endless Mobile, Inc.
       5                 :             :  * SPDX-FileContributor: Authored By: Sam Spilsbury <sam@endlessm.com>
       6                 :             :  */
       7                 :             : 
       8                 :             : #ifndef GJS_COVERAGE_H_
       9                 :             : #define GJS_COVERAGE_H_
      10                 :             : 
      11                 :             : #if !defined(INSIDE_GJS_H) && !defined(GJS_COMPILATION)
      12                 :             : #    error "Only <gjs/gjs.h> can be included directly."
      13                 :             : #endif
      14                 :             : 
      15                 :             : #include <gio/gio.h>
      16                 :             : #include <glib-object.h>
      17                 :             : #include <glib.h> /* for G_BEGIN_DECLS, G_END_DECLS */
      18                 :             : 
      19                 :             : #include <gjs/context.h>
      20                 :             : #include <gjs/macros.h>
      21                 :             : 
      22                 :             : G_BEGIN_DECLS
      23                 :             : 
      24                 :             : #define GJS_TYPE_COVERAGE gjs_coverage_get_type()
      25                 :             : 
      26                 :         616 : G_DECLARE_FINAL_TYPE(GjsCoverage, gjs_coverage, GJS, COVERAGE, GObject);
      27                 :             : 
      28                 :             : GJS_EXPORT void gjs_coverage_enable(void);
      29                 :             : 
      30                 :             : GJS_EXPORT
      31                 :             : void gjs_coverage_write_statistics(GjsCoverage *self);
      32                 :             : 
      33                 :             : GJS_EXPORT GJS_USE GjsCoverage* gjs_coverage_new(
      34                 :             :     const char* const* coverage_prefixes, GjsContext* coverage_context,
      35                 :             :     GFile* output_dir);
      36                 :             : 
      37                 :             : G_END_DECLS
      38                 :             : 
      39                 :             : #endif /* GJS_COVERAGE_H_ */
        

Generated by: LCOV version 2.0-1