LCOV - code coverage report
Current view: top level - daemon - ticket.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 444 445 99.8 %
Date: 2025-01-27 20:52:47 Functions: 38 38 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
cluck_daemon::ticket::get_lock_duration() const 2
cluck_daemon::ticket::get_tag() const 2
cluck_daemon::ticket::set_owner(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 3
cluck_daemon::ticket::get_client_pid() const 3
cluck_daemon::ticket::get_unlock_duration() const 3
cluck_daemon::ticket::get_serial() const 4
cluck_daemon::ticket::is_locked() const 5
cluck_daemon::ticket::set_ticket_number(unsigned int) 6
cluck_daemon::ticket::unserialize(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 7
cluck_daemon::ticket::get_server_name[abi:cxx11]() const 7
cluck_daemon::ticket::get_service_name[abi:cxx11]() const 7
cluck_daemon::ticket::set_alive_timeout(snapdev::timespec_ex) 8
cluck_daemon::ticket::get_owner[abi:cxx11]() const 9
cluck_daemon::ticket::serialize[abi:cxx11]() const 9
cluck_daemon::ticket::get_obtention_timeout() const 10
cluck_daemon::ticket::get_lock_timeout_date() const 11
cluck_daemon::ticket::get_object_name[abi:cxx11]() const 13
cluck_daemon::ticket::lock_failed(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 14
cluck_daemon::ticket::get_ticket_number() const 16
cluck_daemon::ticket::set_ready() 103
cluck_daemon::ticket::drop_ticket() 111
cluck_daemon::ticket::add_ticket() 115
cluck_daemon::ticket::ticket_added(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<cluck_daemon::ticket>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::shared_ptr<cluck_daemon::ticket> > > > const&) 116
cluck_daemon::ticket::get_ticket_key[abi:cxx11]() const 118
cluck_daemon::ticket::entering() 119
cluck_daemon::ticket::set_serial(int) 122
cluck_daemon::ticket::entered() 126
cluck_daemon::ticket::max_ticket(unsigned int) 128
cluck_daemon::ticket::get_entering_key[abi:cxx11]() const 130
cluck_daemon::ticket::ticket(cluck_daemon::cluckd*, std::shared_ptr<cluck_daemon::messenger>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned short, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, snapdev::timespec_ex, snapdev::timespec_ex, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 133
cluck_daemon::ticket::lock_activated() 134
cluck_daemon::ticket::activate_lock() 217
cluck_daemon::ticket::set_unlock_duration(snapdev::timespec_ex) 255
cluck_daemon::ticket::one_leader() const 483
cluck_daemon::ticket::send_message_to_leaders(ed::message&) 803
cluck_daemon::ticket::remove_entering(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 10021
cluck_daemon::ticket::timed_out() const 222942
cluck_daemon::ticket::get_current_timeout_date() const 259806

Generated by: LCOV version 1.14

Snap C++ | List of projects | List of versions