LCOV - code coverage report
Current view: top level - package/statistics - statistics_module.cpp (source / functions) Hit Total Coverage
Test: wfc_core-coverage.info Lines: 1 8 12.5 %
Date: 2019-09-05 Functions: 2 8 25.0 %

          Line data    Source code
       1             : 
       2             : #include "statistics_module.hpp"
       3             : #include "statistics_aggregator/statistics_multiton.hpp"
       4             : #include "statistics_log/statlog_multiton.hpp"
       5             : #include "system_statistics/system_statistics_multiton.hpp"
       6             : #include "statistics_gateway/statistics_gateway_multiton.hpp"
       7             : #include "statistics_service/statistics_service_multiton.hpp"
       8             : //#include "statistics_gateway/deprecated/btp_deprecated_gateway_multiton.hpp"
       9             : #include <wfc/module/component_list.hpp>
      10             : #include <wfc/name.hpp>
      11             : 
      12             : namespace wfc{ namespace core{
      13             :   
      14             : namespace
      15             : {
      16           0 :   WFC_NAME2(module_name, "statistics")
      17             : 
      18           0 :   class impl: public ::wfc::component_list<
      19             :     module_name
      20             :     , statistics_multiton
      21             :     , system_statistics_multiton
      22             :     , statlog_multiton
      23             :     , statistics_gateway_multiton
      24             :     , statistics_service_multiton
      25             :     //, btp_deprecated_gateway_multiton    
      26             :   >
      27             :   {
      28           0 :     virtual std::string description() const override
      29             :     {
      30           0 :       return "Collect, aggregate and send statistics to the BTP";
      31             :     }
      32             :   };
      33             : }
      34             : 
      35           0 : statistics_module::statistics_module()
      36           0 :   : module( std::make_shared<impl>() )
      37             : {
      38           0 : }
      39             : 
      40           3 : }}

Generated by: LCOV version 1.10