88.46% (138/156) Uncovered changed code (with context): ================================================================================ src/Common/HTTPConnectionPool.cpp ================================================================================ --- uncovered block 921-924 --- 919 | /// Call `setUnused` so the `Entry` destructor does not record a spurious 920 | /// `setSuccess` for an address whose connect/handshake just failed. >> 921 | address.setUnused(); >> 922 | ProfileEvents::increment(getMetrics().errors); >> 923 | (*connection).reset(); >> 924 | throw; 925 | } 926 | #endif --- uncovered block 953-953 --- 951 | catch (...) 952 | { >> 953 | tryLogCurrentException("HTTPConnectionPool", "Ignored exception from setFail during retry"); 954 | } 955 | } --- uncovered block 970-971 --- 968 | if (!retry_resolved_addresses) 969 | { >> 970 | address.setUnused(); >> 971 | throw; 972 | } 973 | last_net_error = std::current_exception(); --- uncovered block 980-980 --- 978 | catch (...) 979 | { >> 980 | tryLogCurrentException("HTTPConnectionPool", "Ignored exception from setFail during retry"); 981 | } 982 | } --- uncovered block 985-987 --- 983 | catch (...) 984 | { >> 985 | ProfileEvents::increment(getMetrics().errors); >> 986 | (*connection).reset(); >> 987 | if (retry_resolved_addresses) 988 | { 989 | try --- uncovered block 989-989 --- 987 | if (retry_resolved_addresses) 988 | { >> 989 | try 990 | { 991 | /// `Entry::setFail` can throw on DNS errors (see `NetException` --- uncovered block 994-994 --- 992 | /// handler above). Swallow that here so the original (non-network) 993 | /// exception is preserved when this catch-all rethrows. >> 994 | address.setFail(); 995 | } 996 | catch (...) --- uncovered block 996-996 --- 994 | address.setFail(); 995 | } >> 996 | catch (...) 997 | { 998 | tryLogCurrentException("HTTPConnectionPool", "Ignored exception from setFail during catch-all rethrow"); --- uncovered block 998-998 --- 996 | catch (...) 997 | { >> 998 | tryLogCurrentException("HTTPConnectionPool", "Ignored exception from setFail during catch-all rethrow"); 999 | } 1000 | } --- uncovered block 1003-1003 --- 1001 | else 1002 | { >> 1003 | address.setUnused(); 1004 | } 1005 | throw; --- uncovered block 1005-1005 --- 1003 | address.setUnused(); 1004 | } >> 1005 | throw; 1006 | } 1007 | } ================================================================================ src/Common/HostResolvePool.h ================================================================================ --- uncovered block 84-84 --- 82 | const String * operator->() const & { return &resolved_host; } 83 | const String & operator*() & { return resolved_host; } >> 84 | const String & operator*() const & { return resolved_host; } 85 | 86 | /// Mark the address as failed in the pool. Also suppresses the destructor's success callback. No lost baseline coverage found. WARNING: Failed to get start time for [Print Uncovered Code] - start time and duration won't be set --- Coverage counts --- Lines : baseline 774,564/920,486 -> current 774,416/920,659 (delta -148 / +173) Functions : baseline 885,547/968,988 -> current 885,585/969,001 (delta +38 / +13) Branches : baseline 252,955/330,228 -> current 252,770/330,278 (delta -185 / +50)