================================================================================ Changed-lines coverage summary ================================================================================ Denominator: lines added/modified by this PR in C/C++ source files that LCOV considers coverable (excludes blank lines, braces, comments, header-only declarations, and error-path noise such as `LOGICAL_ERROR`, `UNREACHABLE()`, `abort()`). Numerator: of those coverable lines, the number actually executed by the test suite during this coverage run. PR changed C/C++ lines covered by tests: 88.89% (104/117) Uncovered changed code (with context): ================================================================================ src/Common/Scheduler/Nodes/WorkloadResourceManager.cpp ================================================================================ --- uncovered block 259-259 --- 257 | String WorkloadResourceManager::Workload::getParent() const 258 | { >> 259 | return assert_cast(workload_entity.get())->getWorkloadParent(); 260 | } 261 | ================================================================================ src/Interpreters/InterpreterCreateResourceQuery.cpp ================================================================================ --- uncovered block 35-38 --- 33 | if (!create_resource_query.cluster.empty()) 34 | { >> 35 | if (workload_entity_storage->isReplicated()) >> 36 | throw Exception(ErrorCodes::INCORRECT_QUERY, "ON CLUSTER is not allowed because workload entities are replicated automatically"); 37 | >> 38 | DDLQueryOnClusterParams params; 39 | params.access_to_check = std::move(access_rights_elements); 40 | return executeDDLQueryOnCluster(query_ptr, current_context, params); ================================================================================ src/Interpreters/InterpreterCreateWorkloadQuery.cpp ================================================================================ --- uncovered block 35-38 --- 33 | if (!create_workload_query.cluster.empty()) 34 | { >> 35 | if (workload_entity_storage->isReplicated()) >> 36 | throw Exception(ErrorCodes::INCORRECT_QUERY, "ON CLUSTER is not allowed because workload entities are replicated automatically"); 37 | >> 38 | DDLQueryOnClusterParams params; 39 | params.access_to_check = std::move(access_rights_elements); 40 | return executeDDLQueryOnCluster(query_ptr, current_context, params); ================================================================================ src/Interpreters/InterpreterDropResourceQuery.cpp ================================================================================ --- uncovered block 32-35 --- 30 | if (!drop_resource_query.cluster.empty()) 31 | { >> 32 | if (workload_entity_storage->isReplicated()) >> 33 | throw Exception(ErrorCodes::INCORRECT_QUERY, "ON CLUSTER is not allowed because workload entities are replicated automatically"); 34 | >> 35 | DDLQueryOnClusterParams params; 36 | params.access_to_check = std::move(access_rights_elements); 37 | return executeDDLQueryOnCluster(query_ptr, current_context, params); ================================================================================ src/Interpreters/InterpreterDropWorkloadQuery.cpp ================================================================================ --- uncovered block 32-35 --- 30 | if (!drop_workload_query.cluster.empty()) 31 | { >> 32 | if (workload_entity_storage->isReplicated()) >> 33 | throw Exception(ErrorCodes::INCORRECT_QUERY, "ON CLUSTER is not allowed because workload entities are replicated automatically"); 34 | >> 35 | DDLQueryOnClusterParams params; 36 | params.access_to_check = std::move(access_rights_elements); 37 | return executeDDLQueryOnCluster(query_ptr, current_context, params); === Lost Baseline Coverage: 4 lines === ================================================================================ programs/server/Server.cpp ================================================================================ --- lost coverage block 1800-1803 --- 1798 | else 1799 | { >> 1800 | String calculated_binary_hash = getHashOfLoadedBinaryHex(); >> 1801 | if (calculated_binary_hash == stored_binary_hash) 1802 | { >> 1803 | LOG_INFO(log, "Integrity check of the executable successfully passed (checksum: {})", calculated_binary_hash); 1804 | } 1805 | else ================================================================================ src/Interpreters/Context.cpp ================================================================================ --- lost coverage block 1614-1614 --- 1612 | if (shared->temporary_volume_legacy) 1613 | return shared->temporary_volume_legacy; >> 1614 | return nullptr; 1615 | } 1616 | WARNING: Failed to get start time for [Print Uncovered Code] - start time and duration won't be set --- Coverage counts --- Lines : baseline 785,661/929,386 -> current 785,799/929,410 (delta +138 / +24) Functions : baseline 887,554/961,213 -> current 887,586/961,215 (delta +32 / +2) Branches : baseline 257,456/333,614 -> current 257,392/333,616 (delta -64 / +2)