LCOV - code coverage report
Current view: top level - src - derived.cpp (source / functions) Hit Total Coverage
Test: coverage_report.info.cleaned Lines: 3 9 33.3 %
Date: 2019-04-29 18:07:40 Functions: 3 4 75.0 %

          Line data    Source code
       1             : #include <cpp_template/derived.hpp>
       2             : 
       3             : #include <iostream>
       4             : 
       5           0 : std::string class_types_to_string(class_type t)
       6             : {
       7           0 :         switch (t) {
       8             :         case class_type::INTERFACE:
       9           0 :                 return "INTERFACE";
      10             :         case class_type::ABSTRACT:
      11           0 :                 return "ABSTRACT";
      12             :         case class_type::NORMAL:
      13           0 :                 return "NORMAL";
      14             :         default:
      15           0 :                 return "unknown class type";
      16             :         }
      17             : }
      18             : 
      19           1 : void derived::init()
      20             : {
      21           1 :         std::cout << "hello from ::derived::init()" << std::endl;
      22           4 : }

Generated by: LCOV version 1.13