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

          Line data    Source code
       1             : #include <cpp_template/derived.hpp>
       2             : #include <cpp_template/version.hpp>
       3             : 
       4             : #include <cstdlib>
       5             : #include <iostream>
       6             : 
       7           0 : int main(int argc, char **argv)
       8             : {
       9           0 :         std::cout << "argc: " << argc << '\n';
      10           0 :         for (int i = 0; i < argc; ++i) {
      11           0 :                 std::cout << "argv[" << i << "]: ";
      12             :                 // clang-tidy: avoid pointer arithmetic in c++
      13           0 :                 std::cout << argv[i]; // NOLINT
      14           0 :                 std::cout << '\n';
      15             :         }
      16           0 :         std::cout << std::flush;
      17             : 
      18           0 :         ::derived der;
      19           0 :         der.init();
      20             : 
      21             :         std::cout << "project info:\n"
      22             :                   << "\tname: " << CPP_TEMPLATE_NAME << '\n'
      23             :                   << "\tdesc: " << CPP_TEMPLATE_DESCRIPTION << '\n'
      24             :                   << "\tauthor: " << CPP_TEMPLATE_AUTHOR << '\n'
      25             :                   << "\tversion: " << CPP_TEMPLATE_VERSION << '\n'
      26             :                   << "\tmail: " << CPP_TEMPLATE_MAIL << '\n'
      27           0 :                   << "\tcopyright: " << CPP_TEMPLATE_COPYRIGHT << std::endl;
      28             : 
      29           0 :         return EXIT_SUCCESS;
      30           0 : }

Generated by: LCOV version 1.13