LCOV - code coverage report
Current view: top level - src/header_only/include - header_only.hpp (source / functions) Hit Total Coverage
Test: all-merged.info Lines: 6 6 100.0 %
Date: 2023-11-07 04:00:59 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "absl/log/log.h"
       4             : #include "git.h"
       5             : 
       6             : namespace header_only {
       7             : namespace common {
       8           1 : inline int some_fun() {
       9           1 :     LOG(INFO) << git::ProjectVersion();
      10           1 :     return 0;
      11             : }
      12             : 
      13             : constexpr int some_constexpr_fun() {
      14             :     return 0;
      15             : }
      16             : 
      17           1 : const std::string_view const_string() {
      18           1 :     LOG(INFO) << "Calling " << __FUNCTION__;
      19           1 :     return "This is a header_only only const string";
      20             : }
      21             : } // namespace common
      22             : 
      23             : } // namespace header_only

Generated by: LCOV version 1.14