LCOV - code coverage report
Current view: top level - src/init - bitcoind.cpp (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 6 6 100.0 %
Date: 2021-06-29 14:35:33 Functions: 2 2 100.0 %
Legend: Modified by patch:
Lines: hit not hit | Branches: + taken - not taken # not executed

Not modified by patch:
Lines: hit not hit | Branches: + taken - not taken # not executed
Branches: 0 0 -

           Branch data     Line data    Source code
#       1                 :            : // Copyright (c) 2021 The Bitcoin Core developers
#       2                 :            : // Distributed under the MIT software license, see the accompanying
#       3                 :            : // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#       4                 :            : 
#       5                 :            : #include <interfaces/init.h>
#       6                 :            : #include <node/context.h>
#       7                 :            : 
#       8                 :            : #include <memory>
#       9                 :            : 
#      10                 :            : namespace init {
#      11                 :            : namespace {
#      12                 :            : class BitcoindInit : public interfaces::Init
#      13                 :            : {
#      14                 :            : public:
#      15                 :            :     BitcoindInit(NodeContext& node) : m_node(node)
#      16                 :        688 :     {
#      17                 :        688 :         m_node.init = this;
#      18                 :        688 :     }
#      19                 :            :     NodeContext& m_node;
#      20                 :            : };
#      21                 :            : } // namespace
#      22                 :            : } // namespace init
#      23                 :            : 
#      24                 :            : namespace interfaces {
#      25                 :            : std::unique_ptr<Init> MakeNodeInit(NodeContext& node, int argc, char* argv[], int& exit_status)
#      26                 :        688 : {
#      27                 :        688 :     return std::make_unique<init::BitcoindInit>(node);
#      28                 :        688 : }
#      29                 :            : } // namespace interfaces

Generated by: LCOV version 1.14