id: 1 unit: int main() file: service/tools/kv/api_tools/kv_service_tools.cpp start line: 120 end line: 280 size: 157 LOC McCabe index: 49 number of parameters: 2 id: 2 unit: void Stats::MonitorGlobal() file: platform/statistic/stats.cpp start line: 367 end line: 504 size: 125 LOC McCabe index: 3 number of parameters: 0 id: 3 unit: int TransactionCollector::AddRequest() file: platform/consensus/ordering/pbft/transaction_collector.cpp start line: 69 end line: 195 size: 120 LOC McCabe index: 28 number of parameters: 8 id: 4 unit: void CheckPointManager::UpdateStableCheckPointStatus() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 166 end line: 277 size: 100 LOC McCabe index: 22 number of parameters: 0 id: 5 unit: void Stats::CrowRoute() file: platform/statistic/stats.cpp start line: 123 end line: 219 size: 89 LOC McCabe index: 6 number of parameters: 0 id: 6 unit: int ViewChangeManager::ProcessNewView() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 290 end line: 378 size: 74 LOC McCabe index: 16 number of parameters: 2 id: 7 unit: int main() file: service/tools/kv/api_tools/contract_service_tools.cpp start line: 103 end line: 189 size: 73 LOC McCabe index: 12 number of parameters: 2 id: 8 unit: void TransactionExecutor::Execute() file: platform/consensus/execution/transaction_executor.cpp start line: 256 end line: 347 size: 72 LOC McCabe index: 17 number of parameters: 2 id: 9 unit: int ConsensusManager::ProcessHeartBeat() file: platform/networkstrate/consensus_manager.cpp start line: 216 end line: 300 size: 71 LOC McCabe index: 17 number of parameters: 2 id: 10 unit: void Recovery::ReadLogsFromFiles() file: platform/consensus/recovery/recovery.cpp start line: 453 end line: 528 size: 69 LOC McCabe index: 13 number of parameters: 6 id: 11 unit: int Query::ProcessQuery() file: platform/consensus/ordering/pbft/query.cpp start line: 51 end line: 122 size: 67 LOC McCabe index: 18 number of parameters: 2 id: 12 unit: int ConsensusManagerPBFT::InternalConsensusCommit() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 186 end line: 254 size: 65 LOC McCabe index: 16 number of parameters: 2 id: 13 unit: int Commitment::ProcessNewRequest() file: platform/consensus/ordering/pbft/commitment.cpp start line: 67 end line: 155 size: 63 LOC McCabe index: 10 number of parameters: 2 id: 14 unit: int main() file: service/tools/utxo/wallet_tool/cpp/utxo_client_tools.cpp start line: 118 end line: 182 size: 63 LOC McCabe index: 17 number of parameters: 2 id: 15 unit: int main() file: service/tools/contract/api_tools/contract_tools.cpp start line: 105 end line: 179 size: 61 LOC McCabe index: 10 number of parameters: 2 id: 16 unit: int Commitment::ProcessProposeMsg() file: platform/consensus/ordering/pbft/commitment.cpp start line: 159 end line: 235 size: 60 LOC McCabe index: 15 number of parameters: 2 id: 17 unit: void Stats::SendSummary() file: platform/statistic/stats.cpp start line: 299 end line: 365 size: 60 LOC McCabe index: 7 number of parameters: 0 id: 18 unit: void ViewChangeManager::MonitoringViewChangeTimeOut() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 528 end line: 598 size: 58 LOC McCabe index: 17 number of parameters: 0 id: 19 unit: int main() file: tools/certificate_tools.cpp start line: 75 end line: 137 size: 55 LOC McCabe index: 3 number of parameters: 2 id: 20 unit: std::unique_ptr ContractTransactionManager::ExecuteData() file: executor/contract/executor/contract_executor.cpp start line: 31 end line: 88 size: 53 LOC McCabe index: 13 number of parameters: 1 id: 21 unit: int PerformanceManager::DoBatch() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 216 end line: 269 size: 47 LOC McCabe index: 7 number of parameters: 1 id: 22 unit: def GenerateJsonConfig() file: tools/generate_region_config.py start line: 0 end line: 0 size: 46 LOC McCabe index: 11 number of parameters: 3 id: 23 unit: int ResponseManager::DoBatch() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 293 end line: 343 size: 46 LOC McCabe index: 7 number of parameters: 1 id: 24 unit: std::unique_ptr KVExecutor::ExecuteData() file: executor/kv/kv_executor.cpp start line: 87 end line: 135 size: 46 LOC McCabe index: 15 number of parameters: 1 id: 25 unit: int PerformanceManager::DoBatch() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 293 end line: 340 size: 44 LOC McCabe index: 8 number of parameters: 1 id: 26 unit: int CheckPointManager::ProcessCheckPoint() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 106 end line: 152 size: 44 LOC McCabe index: 8 number of parameters: 2 id: 27 unit: void OldAPI() file: service/tools/kv/api_tools/kv_service_tools.cpp start line: 70 end line: 118 size: 44 LOC McCabe index: 11 number of parameters: 1 id: 28 unit: void ConsensusManager::SendHeartBeat() file: platform/networkstrate/consensus_manager.cpp start line: 110 end line: 157 size: 43 LOC McCabe index: 6 number of parameters: 0 id: 29 unit: absl::StatusOr ContractClient::DeployContract() file: interface/contract/contract_client.cpp start line: 46 end line: 96 size: 42 LOC McCabe index: 7 number of parameters: 4 id: 30 unit: absl::StatusOr ContractClient::DeployContract() file: interface/kv/contract_client.cpp start line: 46 end line: 96 size: 42 LOC McCabe index: 7 number of parameters: 4 id: 31 unit: int ResponseManager::BatchProposeMsg() file: platform/consensus/ordering/common/framework/response_manager.cpp start line: 148 end line: 188 size: 41 LOC McCabe index: 12 number of parameters: 0 id: 32 unit: int ResponseManager::DoBatch() file: platform/consensus/ordering/common/framework/response_manager.cpp start line: 190 end line: 233 size: 41 LOC McCabe index: 6 number of parameters: 1 id: 33 unit: CollectorResultCode ResponseManager::AddResponseMsg() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 167 end line: 211 size: 41 LOC McCabe index: 6 number of parameters: 4 id: 34 unit: int ResponseManager::BatchProposeMsg() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 251 end line: 291 size: 41 LOC McCabe index: 12 number of parameters: 0 id: 35 unit: std::unique_ptr KVExecutor::ExecuteRequest() file: executor/kv/kv_executor.cpp start line: 42 end line: 85 size: 41 LOC McCabe index: 14 number of parameters: 1 id: 36 unit: void TransactionExecutor::PrepareMessage() file: platform/consensus/execution/transaction_executor.cpp start line: 436 end line: 496 size: 40 LOC McCabe index: 7 number of parameters: 0 id: 37 unit: int ConsensusManagerPBFT::ConsensusCommit() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 139 end line: 184 size: 40 LOC McCabe index: 13 number of parameters: 2 id: 38 unit: int PerformanceManager::BatchProposeMsg() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 251 end line: 291 size: 40 LOC McCabe index: 11 number of parameters: 0 id: 39 unit: void Acceptor::Run() file: platform/rdbc/acceptor.cpp start line: 48 end line: 89 size: 39 LOC McCabe index: 9 number of parameters: 0 id: 40 unit: CollectorResultCode PerformanceManager::AddResponseMsg() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 186 end line: 226 size: 38 LOC McCabe index: 6 number of parameters: 4 id: 41 unit: bool ViewChangeManager::IsValidViewChangeMsg() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 165 end line: 206 size: 38 LOC McCabe index: 9 number of parameters: 1 id: 42 unit: void DuplicateManager::UpdateRecentHash() file: platform/consensus/execution/duplicate_manager.cpp start line: 105 end line: 142 size: 37 LOC McCabe index: 8 number of parameters: 0 id: 43 unit: void ReplicaCommunicator::StartSingleInBackGround() file: platform/networkstrate/replica_communicator.cpp start line: 127 end line: 169 size: 36 LOC McCabe index: 12 number of parameters: 2 id: 44 unit: absl::StatusOr ResDBTxnAccessor::GetBlockNumbers() file: interface/common/resdb_txn_accessor.cpp start line: 150 end line: 189 size: 35 LOC McCabe index: 6 number of parameters: 0 id: 45 unit: int TcpSocket::Listen() file: platform/common/network/tcp_socket.cpp start line: 97 end line: 134 size: 35 LOC McCabe index: 6 number of parameters: 2 id: 46 unit: int PerformanceManager::ProcessResponseMsg() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 127 end line: 167 size: 35 LOC McCabe index: 7 number of parameters: 2 id: 47 unit: void ViewChangeManager::MayStart() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 107 end line: 147 size: 35 LOC McCabe index: 7 number of parameters: 0 id: 48 unit: int main() file: tools/key_generator_tools.cpp start line: 43 end line: 82 size: 34 LOC McCabe index: 6 number of parameters: 2 id: 49 unit: CollectorResultCode PerformanceManager::AddResponseMsg() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 131 end line: 167 size: 34 LOC McCabe index: 6 number of parameters: 2 id: 50 unit: bool MessageManager::MayConsensusChangeStatus() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 134 end line: 167 size: 34 LOC McCabe index: 9 number of parameters: 4 id: 51 unit: void CheckPointManager::UpdateCheckPointStatus() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 290 end line: 327 size: 34 LOC McCabe index: 6 number of parameters: 0 id: 52 unit: int ViewChangeManager::ProcessViewChange() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 380 end line: 417 size: 34 LOC McCabe index: 6 number of parameters: 2 id: 53 unit: void ViewChangeManager::SendViewChangeMsg() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 463 end line: 509 size: 34 LOC McCabe index: 4 number of parameters: 0 id: 54 unit: def GenerateJsonConfig() file: tools/generate_mulregion_config.py start line: 0 end line: 0 size: 33 LOC McCabe index: 9 number of parameters: 1 id: 55 unit: void ResponseManager::SendResponseToClient() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 213 end line: 248 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 56 unit: int Commitment::ProcessPrepareMsg() file: platform/consensus/ordering/pbft/commitment.cpp start line: 238 end line: 277 size: 33 LOC McCabe index: 10 number of parameters: 2 id: 57 unit: int main() file: platform/statistic/set_random_data.cpp start line: 55 end line: 90 size: 33 LOC McCabe index: 6 number of parameters: 2 id: 58 unit: int main() file: service/tools/kv/api_tools/kv_client_txn_tools.cpp start line: 33 end line: 67 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 59 unit: void Recovery::GetLastFile() file: platform/consensus/recovery/recovery.cpp start line: 121 end line: 154 size: 32 LOC McCabe index: 7 number of parameters: 0 id: 60 unit: int PerformanceManager::BatchProposeMsg() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 183 end line: 214 size: 32 LOC McCabe index: 7 number of parameters: 0 id: 61 unit: void Stats::GetTransactionDetails() file: platform/statistic/stats.cpp start line: 266 end line: 297 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 62 unit: int main() file: benchmark/protocols/poe/kv_server_performance.cpp start line: 44 end line: 83 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: int ConsensusManager::Process() file: platform/networkstrate/consensus_manager.cpp start line: 163 end line: 204 size: 30 LOC McCabe index: 7 number of parameters: 2 id: 64 unit: void Transfer() file: service/tools/utxo/wallet_tool/cpp/utxo_client_tools.cpp start line: 42 end line: 73 size: 30 LOC McCabe index: 4 number of parameters: 7 id: 65 unit: int main() file: benchmark/protocols/pbft/kv_server_performance.cpp start line: 43 end line: 81 size: 30 LOC McCabe index: 3 number of parameters: 2 id: 66 unit: void GeoTransactionExecutor::SendBatchGeoMessage() file: platform/consensus/execution/geo_transaction_executor.cpp start line: 75 end line: 107 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 67 unit: CollectorResultCode MessageManager::AddConsensusMsg() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 175 end line: 203 size: 28 LOC McCabe index: 7 number of parameters: 2 id: 68 unit: void ViewChangeManager::SendNewViewMsg() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 419 end line: 461 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 69 unit: bool ECDSAVerifyString() file: common/crypto/signature_utils.cpp start line: 65 end line: 93 size: 27 LOC McCabe index: 2 number of parameters: 3 id: 70 unit: std::string ECDSASignString() file: common/crypto/signature_utils.cpp start line: 116 end line: 144 size: 27 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: CollectorResultCode ResponseManager::AddResponseMsg() file: platform/consensus/ordering/common/framework/response_manager.cpp start line: 105 end line: 132 size: 27 LOC McCabe index: 5 number of parameters: 2 id: 72 unit: int main() file: service/kv/kv_service.cpp start line: 48 end line: 80 size: 27 LOC McCabe index: 3 number of parameters: 2 id: 73 unit: int main() file: service/utxo/utxo_service.cpp start line: 62 end line: 96 size: 27 LOC McCabe index: 3 number of parameters: 2 id: 74 unit: std::pair ResLevelDB::GetValueWithVersion() file: chain/storage/leveldb.cpp start line: 219 end line: 244 size: 26 LOC McCabe index: 7 number of parameters: 2 id: 75 unit: int main() file: tools/resdb_txn_accessor_tools.cpp start line: 30 end line: 58 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 76 unit: void ReplicaCommunicator::SendMessage() file: platform/networkstrate/replica_communicator.cpp start line: 306 end line: 333 size: 26 LOC McCabe index: 8 number of parameters: 2 id: 77 unit: void GeoGlobalExecutor::Execute() file: platform/consensus/execution/geo_global_executor.cpp start line: 47 end line: 73 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 78 unit: int GeoPBFTCommitment::GeoProcessCcm() file: platform/consensus/ordering/geo_pbft/geo_pbft_commitment.cpp start line: 82 end line: 121 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 79 unit: Address ContractManager::DeployContract() file: executor/contract/manager/contract_manager.cpp start line: 53 end line: 83 size: 26 LOC McCabe index: 5 number of parameters: 2 id: 80 unit: bool RsaVerifyString() file: common/crypto/signature_utils.cpp start line: 33 end line: 63 size: 25 LOC McCabe index: 2 number of parameters: 3 id: 81 unit: void TransactionExecutor::OrderMessage() file: platform/consensus/execution/transaction_executor.cpp start line: 170 end line: 198 size: 25 LOC McCabe index: 7 number of parameters: 0 id: 82 unit: int ResponseManager::ProcessResponseMsg() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 120 end line: 148 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 83 unit: int TransactionCollector::Commit() file: platform/consensus/ordering/pbft/transaction_collector.cpp start line: 197 end line: 224 size: 25 LOC McCabe index: 7 number of parameters: 0 id: 84 unit: int main() file: service/contract/contract_service.cpp start line: 42 end line: 72 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 85 unit: std::vector UTXOClient::GetList() file: interface/utxo/utxo_client.cpp start line: 44 end line: 71 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 86 unit: SecretKey KeyGenerator::GeneratorKeys() file: common/crypto/key_generator.cpp start line: 131 end line: 154 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 87 unit: void GeoTransactionExecutor::SendGeoMessages() file: platform/consensus/execution/geo_transaction_executor.cpp start line: 50 end line: 73 size: 24 LOC McCabe index: 8 number of parameters: 0 id: 88 unit: absl::StatusOr TransactionConstructor::GetResponseData() file: interface/rdbc/transaction_constructor.cpp start line: 34 end line: 61 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 89 unit: int ResLevelDB::SetValueWithVersion() file: chain/storage/leveldb.cpp start line: 191 end line: 217 size: 23 LOC McCabe index: 4 number of parameters: 3 id: 90 unit: int TcpSocket::Send() file: platform/common/network/tcp_socket.cpp start line: 177 end line: 200 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 91 unit: int ResponseManager::ProcessResponseMsg() file: platform/consensus/ordering/common/framework/response_manager.cpp start line: 77 end line: 103 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 92 unit: bool ED25519verifyString() file: common/crypto/signature_verifier.cpp start line: 42 end line: 64 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 93 unit: absl::StatusOr SignatureVerifier::SignMessage() file: common/crypto/signature_verifier.cpp start line: 189 end line: 210 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 94 unit: void ServiceNetwork::InputProcess() file: platform/networkstrate/service_network.cpp start line: 81 end line: 104 size: 22 LOC McCabe index: 6 number of parameters: 0 id: 95 unit: void ConsensusManager::HeartBeat() file: platform/networkstrate/consensus_manager.cpp start line: 87 end line: 108 size: 22 LOC McCabe index: 4 number of parameters: 0 id: 96 unit: std::unique_ptr GenerateResDBConfig() file: platform/config/resdb_config_utils.cpp start line: 125 end line: 150 size: 22 LOC McCabe index: 3 number of parameters: 5 id: 97 unit: void ResponseManager::MonitoringClientTimeOut() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 386 end line: 409 size: 22 LOC McCabe index: 6 number of parameters: 0 id: 98 unit: void PerformanceManager::MonitoringClientTimeOut() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 384 end line: 407 size: 22 LOC McCabe index: 6 number of parameters: 0 id: 99 unit: int Consensus::ProcessCustomConsensus() file: platform/consensus/ordering/poe/framework/consensus.cpp start line: 50 end line: 71 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 100 unit: absl::StatusOr TxMempool::GetUTXO() file: executor/utxo/manager/tx_mempool.cpp start line: 37 end line: 62 size: 22 LOC McCabe index: 5 number of parameters: 3 id: 101 unit: int64_t TxMempool::GetUTXOOutValue() file: executor/utxo/manager/tx_mempool.cpp start line: 64 end line: 88 size: 22 LOC McCabe index: 5 number of parameters: 3 id: 102 unit: int Transaction::AddCoin() file: executor/utxo/manager/transaction.cpp start line: 160 end line: 183 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 103 unit: std::string NetChannel::GetRawMessageString() file: interface/rdbc/net_channel.cpp start line: 132 end line: 155 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 104 unit: std::pair MemoryDB::GetValueWithVersion() file: chain/storage/memory_db.cpp start line: 86 end line: 106 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 105 unit: KeyInfo ReadKey() file: tools/certificate_tools.cpp start line: 42 end line: 63 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 106 unit: bool SignatureVerifier::VerifyMessage() file: common/crypto/signature_verifier.cpp start line: 253 end line: 277 size: 21 LOC McCabe index: 7 number of parameters: 3 id: 107 unit: void ReplicaCommunicator::StartBroadcastInBackGround() file: platform/networkstrate/replica_communicator.cpp start line: 104 end line: 125 size: 21 LOC McCabe index: 5 number of parameters: 0 id: 108 unit: int ReplicaCommunicator::SendMessageFromPool() file: platform/networkstrate/replica_communicator.cpp start line: 240 end line: 262 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 109 unit: KeyInfo ReadKey() file: platform/config/resdb_config_utils.cpp start line: 37 end line: 58 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 110 unit: CertificateInfo ReadCert() file: platform/config/resdb_config_utils.cpp start line: 60 end line: 81 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 111 unit: int Consensus::ConsensusCommit() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 126 end line: 146 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 112 unit: std::unique_ptr QueryExecutor::Query() file: executor/utxo/executor/utxo_executor.cpp start line: 55 end line: 76 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 113 unit: int NetChannel::Send() file: interface/rdbc/net_channel.cpp start line: 99 end line: 118 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 114 unit: bool TransactionExecutor::SetFlag() file: platform/consensus/execution/transaction_executor.cpp start line: 354 end line: 375 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 115 unit: int Query::ProcessCustomQuery() file: platform/consensus/ordering/pbft/query.cpp start line: 124 end line: 146 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 116 unit: void CheckPointManager::BroadcastCheckPoint() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 329 end line: 349 size: 20 LOC McCabe index: 3 number of parameters: 4 id: 117 unit: int Commitment::PostProcessExecutedMsg() file: platform/consensus/ordering/pbft/commitment.cpp start line: 307 end line: 327 size: 20 LOC McCabe index: 3 number of parameters: 0 id: 118 unit: function updateMultiContentScript() file: script.js start line: 89 end line: 109 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: absl::StatusOr ContractTransactionManager::Deploy() file: executor/contract/executor/contract_executor.cpp start line: 98 end line: 119 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 120 unit: absl::StatusOr ContractClient::ExecuteContract() file: interface/contract/contract_client.cpp start line: 98 end line: 118 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 121 unit: int NetChannel::SendFromKeepAlive() file: interface/rdbc/net_channel.cpp start line: 79 end line: 97 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 122 unit: int NetChannel::SendRawMessage() file: interface/rdbc/net_channel.cpp start line: 165 end line: 184 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 123 unit: absl::StatusOr ContractClient::ExecuteContract() file: interface/kv/contract_client.cpp start line: 98 end line: 119 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 124 unit: int64_t UTXOClient::GetWallet() file: interface/utxo/utxo_client.cpp start line: 73 end line: 95 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 125 unit: void AsyncAcceptor::Session::StartRead() file: platform/networkstrate/async_acceptor.cpp start line: 53 end line: 72 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 126 unit: int ReplicaCommunicator::SendSingleMessage() file: platform/networkstrate/replica_communicator.cpp start line: 172 end line: 193 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 127 unit: void AsyncReplicaClient::OnSendMessage() file: platform/networkstrate/async_replica_client.cpp start line: 62 end line: 80 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 128 unit: void TransactionExecutor::Stop() file: platform/consensus/execution/transaction_executor.cpp start line: 97 end line: 115 size: 19 LOC McCabe index: 7 number of parameters: 0 id: 129 unit: int PerformanceManager::ProcessResponseMsg() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 103 end line: 129 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 130 unit: RequestSet MessageManager::GetRequestSet() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 205 end line: 223 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 131 unit: void PerformanceManager::SendResponseToClient() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 228 end line: 248 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 132 unit: absl::StatusOr ContractManager::ExecContract() file: executor/contract/manager/contract_manager.cpp start line: 94 end line: 115 size: 19 LOC McCabe index: 4 number of parameters: 3 id: 133 unit: int NetChannel::RecvRawMessage() file: interface/rdbc/net_channel.cpp start line: 201 end line: 218 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 134 unit: int TransactionConstructor::SendRequest() file: interface/rdbc/transaction_constructor.cpp start line: 70 end line: 87 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 135 unit: int ResLevelDB::SetValue() file: chain/storage/leveldb.cpp start line: 96 end line: 114 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 136 unit: int TcpSocket::Connect() file: platform/common/network/tcp_socket.cpp start line: 150 end line: 170 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 137 unit: void AsyncAcceptor::Session::OnRead() file: platform/networkstrate/async_acceptor.cpp start line: 93 end line: 110 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 138 unit: void ServiceNetwork::AcceptorHandler() file: platform/networkstrate/service_network.cpp start line: 59 end line: 79 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 139 unit: void ConsensusManager::SendMessage() file: platform/networkstrate/consensus_manager.cpp start line: 329 end line: 348 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 140 unit: int ReplicaCommunicator::SendBatchMessage() file: platform/networkstrate/replica_communicator.cpp start line: 221 end line: 238 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 141 unit: int ReplicaCommunicator::SendMessageInternal() file: platform/networkstrate/replica_communicator.cpp start line: 264 end line: 281 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 142 unit: void ResDBConfig::SetConfigData() file: platform/config/resdb_config.cpp start line: 84 end line: 101 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 143 unit: void Recovery::FinishFile() file: platform/consensus/recovery/recovery.cpp start line: 169 end line: 190 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 144 unit: void Recovery::OpenFile() file: platform/consensus/recovery/recovery.cpp start line: 212 end line: 232 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 145 unit: void Recovery::WriteLog() file: platform/consensus/recovery/recovery.cpp start line: 264 end line: 284 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 146 unit: int Commitment::ProcessCommitMsg() file: platform/consensus/ordering/pbft/commitment.cpp start line: 280 end line: 303 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 147 unit: bool PoE::ReceivePrepare() file: platform/consensus/ordering/poe/algorithm/poe.cpp start line: 71 end line: 88 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 148 unit: int GeoPBFTCommitment::PostProcessExecutedMsg() file: platform/consensus/ordering/geo_pbft/geo_pbft_commitment.cpp start line: 123 end line: 140 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 149 unit: int64_t GetRSS() file: platform/statistic/stats.cpp start line: 99 end line: 121 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 150 unit: absl::StatusOr ResDBStateAccessor::GetReplicaState() file: interface/common/resdb_state_accessor.cpp start line: 38 end line: 57 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 151 unit: std::string RsaSignString() file: common/crypto/signature_utils.cpp start line: 95 end line: 114 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 152 unit: SecretKey ECDSAGenerateKeys() file: common/crypto/key_generator.cpp start line: 107 end line: 127 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 153 unit: std::vector Pop() file: platform/common/queue/batch_queue.h start line: 52 end line: 68 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 154 unit: void AsyncAcceptor::Session::ReadDone() file: platform/networkstrate/async_acceptor.cpp start line: 74 end line: 91 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 155 unit: void AsyncReplicaClient::OnSend() file: platform/networkstrate/async_replica_client.cpp start line: 82 end line: 98 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 156 unit: void TransactionExecutor::OnlyExecute() file: platform/consensus/execution/transaction_executor.cpp start line: 230 end line: 254 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 157 unit: int PerformanceManager::StartEval() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 82 end line: 98 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 158 unit: int PerformanceManager::StartEval() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 106 end line: 122 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 159 unit: void ShowUsage() file: service/tools/kv/api_tools/kv_service_tools.cpp start line: 38 end line: 54 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 160 unit: std::unique_ptr KVClient::GetKeyHistory() file: interface/kv/kv_client.cpp start line: 116 end line: 131 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 161 unit: std::string ResLevelDB::GetValue() file: chain/storage/leveldb.cpp start line: 116 end line: 134 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 162 unit: int SendInternal() file: platform/common/network/tcp_socket.cpp start line: 51 end line: 66 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 163 unit: void Push() file: platform/common/queue/lock_free_queue.h start line: 35 end line: 50 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 164 unit: std::unique_ptr Pop() file: platform/common/queue/lock_free_queue.h start line: 52 end line: 67 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 165 unit: std::vector ReadConfig() file: platform/config/resdb_config_utils.cpp start line: 108 end line: 123 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 166 unit: void Recovery::SwitchFile() file: platform/consensus/recovery/recovery.cpp start line: 192 end line: 210 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 167 unit: void Recovery::ReadLogs() file: platform/consensus/recovery/recovery.cpp start line: 436 end line: 451 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 168 unit: std::unique_ptr GeoGlobalExecutor::GetNextMap() file: platform/consensus/execution/geo_global_executor.cpp start line: 93 end line: 112 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 169 unit: void Consensus::Init() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 47 end line: 63 size: 16 LOC McCabe index: 5 number of parameters: 0 id: 170 unit: std::vector TxMempool::GetUTXO() file: executor/utxo/manager/tx_mempool.cpp start line: 107 end line: 125 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 171 unit: int64_t Transaction::AddTransaction() file: executor/utxo/manager/transaction.cpp start line: 54 end line: 71 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 172 unit: bool Transaction::VerifyUTXO() file: executor/utxo/manager/transaction.cpp start line: 135 end line: 153 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 173 unit: void ResLevelDB::CreateDB() file: chain/storage/leveldb.cpp start line: 70 end line: 85 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 174 unit: std::string ResLevelDB::GetRange() file: chain/storage/leveldb.cpp start line: 151 end line: 166 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 175 unit: int main() file: tools/resdb_state_accessor_tools.cpp start line: 27 end line: 43 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 176 unit: SecretKey ED25519GenerateKeys() file: common/crypto/key_generator.cpp start line: 68 end line: 85 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: SecretKey CmacGenerateHexKey() file: common/crypto/key_generator.cpp start line: 89 end line: 105 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: bool CmacVerifyString() file: common/crypto/signature_verifier.cpp start line: 66 end line: 84 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 179 unit: void LRUCache::Put() file: common/lru/lru_cache.cpp start line: 55 end line: 69 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 180 unit: std::string GetDNSName() file: platform/common/network/network_utils.cpp start line: 24 end line: 38 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 181 unit: void ServiceNetwork::Process() file: platform/networkstrate/service_network.cpp start line: 116 end line: 130 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 182 unit: void Recovery::UpdateStableCheckPoint() file: platform/consensus/recovery/recovery.cpp start line: 105 end line: 119 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 183 unit: void Recovery::AddRequest() file: platform/consensus/recovery/recovery.cpp start line: 248 end line: 262 size: 15 LOC McCabe index: 7 number of parameters: 2 id: 184 unit: int Query::ProcessGetReplicaState() file: platform/consensus/ordering/pbft/query.cpp start line: 35 end line: 49 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 185 unit: bool ResponseManager::MayConsensusChangeStatus() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 150 end line: 165 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 186 unit: bool MessageManager::IsValidMsg() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 115 end line: 132 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 187 unit: bool PerformanceManager::MayConsensusChangeStatus() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 169 end line: 184 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 188 unit: void ViewChangeManager::AddComplaintTimer() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 511 end line: 526 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 189 unit: bool PoE::ReceivePropose() file: platform/consensus/ordering/poe/algorithm/poe.cpp start line: 54 end line: 69 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 190 unit: int NetChannel::RecvRawMessageStr() file: interface/rdbc/net_channel.cpp start line: 186 end line: 199 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 191 unit: std::unique_ptr KVClient::GetRange() file: interface/kv/kv_client.cpp start line: 62 end line: 75 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 192 unit: std::unique_ptr KVClient::GetKeyRange() file: interface/kv/kv_client.cpp start line: 101 end line: 114 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 193 unit: std::unique_ptr KVClient::GetKeyTopHistory() file: interface/kv/kv_client.cpp start line: 133 end line: 146 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 194 unit: std::string MemoryDB::GetRange() file: chain/storage/memory_db.cpp start line: 48 end line: 61 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 195 unit: SecretKey RsaGenerateHexKeyPair() file: common/crypto/key_generator.cpp start line: 46 end line: 65 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: std::unique_ptr GeoTransactionExecutor::ExecuteBatch() file: platform/consensus/execution/geo_transaction_executor.cpp start line: 109 end line: 125 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: void ResponseManager::AddWaitingResponseRequest() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 345 end line: 358 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: void PerformanceManager::AddWaitingResponseRequest() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 342 end line: 355 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 199 unit: bool GeoPBFTCommitment::VerifyCerts() file: platform/consensus/ordering/geo_pbft/geo_pbft_commitment.cpp start line: 50 end line: 63 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 200 unit: std::string Exec() file: platform/statistic/set_random_data.cpp start line: 33 end line: 53 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 201 unit: std::unique_ptr ServerFactory::CustomCreateResDBServer() file: service/utils/server_factory.h start line: 87 end line: 101 size: 14 LOC McCabe index: 2 number of parameters: 6 id: 202 unit: std::unique_ptr TransactionManager::ExecuteBatch() file: executor/common/transaction_manager.cpp start line: 82 end line: 96 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 203 unit: int64_t TxMempool::MarkSpend() file: executor/utxo/manager/tx_mempool.cpp start line: 90 end line: 105 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 204 unit: std::unique_ptr UTXOExecutor::ExecuteData() file: executor/utxo/executor/utxo_executor.cpp start line: 35 end line: 50 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 205 unit: std::unique_ptr KVClient::Get() file: interface/kv/kv_client.cpp start line: 87 end line: 99 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 206 unit: int MemoryDB::SetValueWithVersion() file: chain/storage/memory_db.cpp start line: 72 end line: 84 size: 13 LOC McCabe index: 5 number of parameters: 3 id: 207 unit: std::string ResLevelDB::GetAllValues() file: chain/storage/leveldb.cpp start line: 136 end line: 149 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 208 unit: bool SignatureVerifier::VerifyMessage() file: common/crypto/signature_verifier.cpp start line: 221 end line: 233 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 209 unit: T Pop() file: platform/common/queue/blocking_queue.h start line: 69 end line: 81 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 210 unit: T PopWithSize() file: platform/common/queue/blocking_queue.h start line: 83 end line: 95 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 211 unit: ResConfigData ReadConfigFromFile() file: platform/config/resdb_config_utils.cpp start line: 93 end line: 106 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 212 unit: std::vector Recovery::ParseRawData() file: platform/consensus/recovery/recovery.cpp start line: 329 end line: 342 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 213 unit: void SystemInfo::AddReplica() file: platform/consensus/execution/system_info.cpp start line: 48 end line: 60 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 214 unit: void TransactionExecutor::WaitForExecute() file: platform/consensus/execution/transaction_executor.cpp start line: 72 end line: 86 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 215 unit: void TransactionExecutor::ExecuteMessage() file: platform/consensus/execution/transaction_executor.cpp start line: 206 end line: 218 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 216 unit: void MessageManager::SendResponse() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 274 end line: 287 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 217 unit: bool CheckPointManager::IsValidCheckpointProof() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 91 end line: 104 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 218 unit: void ViewChangeManager::MonitoringCheckpointState() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 600 end line: 612 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 219 unit: void Stats::RecordStateTime() file: platform/statistic/stats.cpp start line: 252 end line: 264 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 220 unit: std::unique_ptr ServerFactory::CreateResDBServer() file: service/utils/server_factory.cpp start line: 24 end line: 37 size: 13 LOC McCabe index: 2 number of parameters: 6 id: 221 unit: std::unique_ptr ServerFactory::CustomCreateResDBServer() file: service/utils/server_factory.h start line: 71 end line: 84 size: 13 LOC McCabe index: 2 number of parameters: 6 id: 222 unit: std::vector ParseString() file: service/tools/utxo/wallet_tool/cpp/utxo_client_tools.cpp start line: 90 end line: 102 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 223 unit: std::vector ParseValue() file: service/tools/utxo/wallet_tool/cpp/utxo_client_tools.cpp start line: 104 end line: 116 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 224 unit: resdb::utxo::Config ReadConfigFromFile() file: service/utxo/utxo_service.cpp start line: 42 end line: 55 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 225 unit: std::unique_ptr KVClient::Get() file: interface/kv/kv_client.cpp start line: 37 end line: 48 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 226 unit: absl::StatusOr ContractClient::SetBalance() file: interface/kv/contract_client.cpp start line: 136 end line: 149 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 227 unit: int ContractClient::SendRequestInternal() file: interface/kv/contract_client.cpp start line: 151 end line: 164 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 228 unit: bool ResLevelDB::UpdateMetrics() file: chain/storage/leveldb.cpp start line: 168 end line: 179 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 229 unit: void WriteKey() file: tools/key_generator_tools.cpp start line: 29 end line: 41 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 230 unit: std::string CmacSignString() file: common/crypto/signature_verifier.cpp start line: 101 end line: 118 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 231 unit: def read_tps() file: scripts/deploy/performance_local/calculate_result.py start line: 0 end line: 0 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 232 unit: def read_tps() file: scripts/deploy/performance/calculate_result.py start line: 0 end line: 0 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 233 unit: int RecvInternal() file: platform/common/network/tcp_socket.cpp start line: 35 end line: 49 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 234 unit: int TcpSocket::Recv() file: platform/common/network/tcp_socket.cpp start line: 202 end line: 213 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 235 unit: void TcpSocket::SetRecvTimeout() file: platform/common/network/tcp_socket.cpp start line: 215 end line: 226 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 236 unit: int ReplicaCommunicator::SendMessage() file: platform/networkstrate/replica_communicator.cpp start line: 207 end line: 219 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 237 unit: int AsyncReplicaClient::SendMessage() file: platform/networkstrate/async_replica_client.cpp start line: 38 end line: 49 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 238 unit: std::string Recovery::GenerateFile() file: platform/consensus/recovery/recovery.cpp start line: 156 end line: 167 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 239 unit: bool Recovery::Read() file: platform/consensus/recovery/recovery.cpp start line: 371 end line: 382 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 240 unit: void SystemInfo::ProcessRequest() file: platform/consensus/execution/system_info.cpp start line: 62 end line: 73 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 241 unit: bool TransactionExecutor::AddFuture() file: platform/consensus/execution/transaction_executor.cpp start line: 414 end line: 428 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 242 unit: void GeoGlobalExecutor::OrderRound() file: platform/consensus/execution/geo_global_executor.cpp start line: 114 end line: 125 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 243 unit: void Consensus::InitProtocol() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 65 end line: 78 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 244 unit: void ResponseManager::SendResponseToClient() file: platform/consensus/ordering/common/framework/response_manager.cpp start line: 134 end line: 145 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 245 unit: void PerformanceManager::SendResponseToClient() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 169 end line: 180 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 246 unit: void DeployContract() file: service/tools/contract/api_tools/contract_tools.cpp start line: 60 end line: 71 size: 12 LOC McCabe index: 2 number of parameters: 5 id: 247 unit: void ExecuteContract() file: service/tools/contract/api_tools/contract_tools.cpp start line: 73 end line: 84 size: 12 LOC McCabe index: 2 number of parameters: 5 id: 248 unit: void DeployContract() file: service/tools/kv/api_tools/contract_service_tools.cpp start line: 58 end line: 69 size: 12 LOC McCabe index: 2 number of parameters: 5 id: 249 unit: void ExecuteContract() file: service/tools/kv/api_tools/contract_service_tools.cpp start line: 71 end line: 82 size: 12 LOC McCabe index: 2 number of parameters: 5 id: 250 unit: int main() file: benchmark/protocols/pbft/kv_service_tools.cpp start line: 37 end line: 51 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 251 unit: absl::StatusOr ContractTransactionManager::Execute() file: executor/contract/executor/contract_executor.cpp start line: 121 end line: 133 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 252 unit: std::unique_ptr KVClient::GetAllValues() file: interface/kv/kv_client.cpp start line: 50 end line: 60 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 253 unit: absl::StatusOr ContractClient::GetBalance() file: interface/kv/contract_client.cpp start line: 122 end line: 134 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 254 unit: std::string MemoryDB::GetAllValues() file: chain/storage/memory_db.cpp start line: 36 end line: 46 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 255 unit: std::string get() file: api/pybind_kv_service.cpp start line: 39 end line: 49 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 256 unit: bool set() file: api/pybind_kv_service.cpp start line: 51 end line: 61 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 257 unit: void WriteKey() file: tools/certificate_tools.cpp start line: 30 end line: 40 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 258 unit: void LRUCache::SetCapacity() file: common/lru/lru_cache.cpp start line: 72 end line: 82 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 259 unit: T Pop() file: platform/common/queue/blocking_queue.h start line: 56 end line: 67 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 260 unit: int ReplicaCommunicator::SendMessage() file: platform/networkstrate/replica_communicator.cpp start line: 195 end line: 205 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 261 unit: void AsyncReplicaClient::ReConnect() file: platform/networkstrate/async_replica_client.cpp start line: 100 end line: 110 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 262 unit: void Recovery::WriteSystemInfo() file: platform/consensus/recovery/recovery.cpp start line: 234 end line: 246 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 263 unit: int TransactionExecutor::Commit() file: platform/consensus/execution/transaction_executor.cpp start line: 140 end line: 152 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 264 unit: std::unique_ptr TransactionExecutor::GetNextData() file: platform/consensus/execution/transaction_executor.cpp start line: 158 end line: 168 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 265 unit: void TransactionExecutor::ClearPromise() file: platform/consensus/execution/transaction_executor.cpp start line: 377 end line: 392 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 266 unit: bool DuplicateManager::CheckAndAddExecuted() file: platform/consensus/execution/duplicate_manager.cpp start line: 82 end line: 92 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 267 unit: int ResponseManager::NewUserRequest() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 103 end line: 115 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 268 unit: bool Set() file: platform/consensus/ordering/pbft/transaction_collector.h start line: 49 end line: 59 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 269 unit: std::vector TransactionCollector::GetAllStoredHash() file: platform/consensus/ordering/pbft/transaction_collector.cpp start line: 226 end line: 236 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 270 unit: std::shared_ptr ComplaningClients::SetComplaining() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 36 end line: 46 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 271 unit: bool ViewChangeManager::ChangeStatue() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 149 end line: 159 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 272 unit: void Stats::SetProps() file: platform/statistic/stats.cpp start line: 228 end line: 238 size: 11 LOC McCabe index: 2 number of parameters: 5 id: 273 unit: void KVExecutor::GetKeyRange() file: executor/kv/kv_executor.cpp start line: 178 end line: 188 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 274 unit: void KVExecutor::GetHistory() file: executor/kv/kv_executor.cpp start line: 190 end line: 200 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 275 unit: void KVExecutor::GetTopHistory() file: executor/kv/kv_executor.cpp start line: 202 end line: 212 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 276 unit: absl::StatusOr ContractClient::CreateAccount() file: interface/contract/contract_client.cpp start line: 35 end line: 44 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 277 unit: int NetChannel::SendRequest() file: interface/rdbc/net_channel.cpp start line: 220 end line: 229 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 278 unit: absl::StatusOr ContractClient::CreateAccount() file: interface/kv/contract_client.cpp start line: 35 end line: 44 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 279 unit: int UTXOClient::Transfer() file: interface/utxo/utxo_client.cpp start line: 32 end line: 42 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 280 unit: std::string ED25519signString() file: common/crypto/signature_verifier.cpp start line: 88 end line: 97 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 281 unit: bool SignatureVerifier::AddPublicKey() file: common/crypto/signature_verifier.cpp start line: 143 end line: 154 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 282 unit: def cal_tps() file: scripts/deploy/performance_local/calculate_result.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 283 unit: def cal_lat() file: scripts/deploy/performance_local/calculate_result.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 284 unit: def cal_tps() file: scripts/deploy/performance/calculate_result.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 285 unit: def cal_lat() file: scripts/deploy/performance/calculate_result.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 286 unit: void AsyncAcceptor::OnAccept() file: platform/networkstrate/async_acceptor.cpp start line: 149 end line: 160 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 287 unit: std::vector ConsensusManager::GetAllReplicas() file: platform/networkstrate/consensus_manager.cpp start line: 311 end line: 320 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 288 unit: int ReplicaCommunicator::SendHeartBeat() file: platform/networkstrate/replica_communicator.cpp start line: 93 end line: 102 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 289 unit: void AsyncReplicaClient::OnSendNewMessage() file: platform/networkstrate/async_replica_client.cpp start line: 51 end line: 60 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 290 unit: void Recovery::Flush() file: platform/consensus/recovery/recovery.cpp start line: 350 end line: 360 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 291 unit: void GeoGlobalExecutor::AddData() file: platform/consensus/execution/geo_global_executor.cpp start line: 82 end line: 91 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 292 unit: int Consensus::SendMsg() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 108 end line: 117 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 293 unit: int Consensus::ResponseMsg() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 156 end line: 165 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 294 unit: void PreVerifyConsensusServicePBFT::SetPreVerifyFunc() file: platform/consensus/ordering/pbft/pre_very_consensus_service_pbft.h start line: 43 end line: 53 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 295 unit: void ResponseManager::RemoveWaitingResponseRequest() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 360 end line: 369 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 296 unit: std::vector TransactionCollector::GetPreparedProof() file: platform/consensus/ordering/pbft/transaction_collector.cpp start line: 58 end line: 67 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 297 unit: absl::StatusOr MessageManager::AssignNextSeq() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 94 end line: 105 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 298 unit: void PerformanceManager::RemoveWaitingResponseRequest() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 357 end line: 366 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 299 unit: void KVExecutor::GetAllItems() file: executor/kv/kv_executor.cpp start line: 167 end line: 176 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 300 unit: int KVClient::Set() file: interface/kv/kv_client.cpp start line: 77 end line: 85 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 301 unit: bool ResLevelDB::Flush() file: chain/storage/leveldb.cpp start line: 181 end line: 189 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 302 unit: CertificateInfo GenerateCertificateInfo() file: tools/certificate_tools.cpp start line: 65 end line: 73 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 303 unit: ValueType LRUCache::Get() file: common/lru/lru_cache.cpp start line: 41 end line: 52 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 304 unit: std::string GetTcpUrl() file: platform/common/network/network_utils.cpp start line: 40 end line: 48 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 305 unit: void Push() file: platform/common/queue/batch_queue.h start line: 40 end line: 48 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 306 unit: void AsyncAcceptor::Session::Close() file: platform/networkstrate/async_acceptor.cpp start line: 43 end line: 51 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 307 unit: bool ReplicaExisted() file: platform/networkstrate/consensus_manager.cpp start line: 31 end line: 39 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 308 unit: std::unique_ptr ConsensusManager::GetReplicaClient() file: platform/networkstrate/consensus_manager.cpp start line: 350 end line: 358 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 309 unit: bool ReplicaCommunicator::IsInPool() file: platform/networkstrate/replica_communicator.cpp start line: 72 end line: 80 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 310 unit: void TransactionExecutor::ExecuteMessageOutOfOrder() file: platform/consensus/execution/transaction_executor.cpp start line: 220 end line: 228 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 311 unit: bool DuplicateManager::CheckAndAddProposed() file: platform/consensus/execution/duplicate_manager.cpp start line: 72 end line: 80 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 312 unit: int Consensus::Broadcast() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 97 end line: 106 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 313 unit: int ResponseManager::NewUserRequest() file: platform/consensus/ordering/common/framework/response_manager.cpp start line: 62 end line: 72 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 314 unit: void LockFreeCollectorPool::Update() file: platform/consensus/ordering/pbft/lock_free_collector_pool.cpp start line: 53 end line: 63 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 315 unit: void CheckPointManager::Stop() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 54 end line: 62 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 316 unit: void ViewChangeManager::SetCurrentViewAndNewPrimary() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 223 end line: 232 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: int Consensus::CommitMsgInternal() file: platform/consensus/ordering/poe/framework/consensus.cpp start line: 86 end line: 95 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 318 unit: int ConsensusManagerGeoPBFT::ConsensusCommit() file: platform/consensus/ordering/geo_pbft/consensus_manager_geo_pbft.cpp start line: 35 end line: 43 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 319 unit: void PrometheusHandler::Register() file: platform/statistic/prometheus_handler.cpp start line: 64 end line: 73 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 320 unit: std::unique_ptr CustomGenerateResDBServer() file: service/utils/server_factory.h start line: 114 end line: 122 size: 9 LOC McCabe index: 1 number of parameters: 6 id: 321 unit: void GetList() file: service/tools/utxo/wallet_tool/cpp/utxo_client_tools.cpp start line: 75 end line: 83 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 322 unit: std::unique_ptr NewStorage() file: service/kv/kv_service.cpp start line: 38 end line: 46 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 323 unit: function updateContentScript() file: script.js start line: 79 end line: 87 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 324 unit: uint256_t AccountToAddress() file: executor/contract/manager/global_state.cpp start line: 34 end line: 43 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 325 unit: absl::StatusOr ContractTransactionManager::SetBalance() file: executor/contract/executor/contract_executor.cpp start line: 143 end line: 152 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 326 unit: std::unique_ptr KVExecutor::ParseData() file: executor/kv/kv_executor.cpp start line: 32 end line: 40 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 327 unit: int NetChannel::Recv() file: interface/rdbc/net_channel.cpp start line: 121 end line: 128 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 328 unit: std::string MemoryDB::GetValue() file: chain/storage/memory_db.cpp start line: 63 end line: 70 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 329 unit: std::unique_ptr NewResLevelDB() file: chain/storage/leveldb.cpp start line: 33 end line: 40 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 330 unit: absl::StatusOr SignatureVerifier::GetPublicKey() file: common/crypto/signature_verifier.cpp start line: 156 end line: 163 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 331 unit: std::vector SignatureVerifier::GetAllPublicKeys() file: common/crypto/signature_verifier.cpp start line: 165 end line: 172 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 332 unit: bool SignatureVerifier::VerifyMessage() file: common/crypto/signature_verifier.cpp start line: 212 end line: 219 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 333 unit: absl::StatusOr SignatureVerifier::SignCertificateKeyInfo() file: common/crypto/signature_verifier.cpp start line: 235 end line: 242 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 334 unit: bool SignatureVerifier::VerifyKey() file: common/crypto/signature_verifier.cpp start line: 244 end line: 251 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 335 unit: int TcpSocket::InitSocket() file: platform/common/network/tcp_socket.cpp start line: 88 end line: 95 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 336 unit: void TcpSocket::SetSendTimeout() file: platform/common/network/tcp_socket.cpp start line: 228 end line: 235 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 337 unit: void Recovery::Write() file: platform/consensus/recovery/recovery.cpp start line: 362 end line: 369 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 338 unit: uint64_t DuplicateManager::CheckIfExecuted() file: platform/consensus/execution/duplicate_manager.cpp start line: 50 end line: 57 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 339 unit: std::unique_ptr NewRequest() file: platform/consensus/ordering/common/framework/transaction_utils.cpp start line: 33 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 340 unit: std::unique_ptr NewRequest() file: platform/consensus/ordering/common/transaction_utils.cpp start line: 32 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 341 unit: int TransactionCollector::SetContextList() file: platform/consensus/ordering/pbft/transaction_collector.cpp start line: 34 end line: 41 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 342 unit: std::unique_ptr NewRequest() file: platform/consensus/ordering/pbft/transaction_utils.cpp start line: 32 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 343 unit: int Consensus::ProcessNewTransaction() file: platform/consensus/ordering/poe/framework/consensus.cpp start line: 73 end line: 80 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 344 unit: int check_and_add() file: platform/consensus/ordering/geo_pbft/hash_set.h start line: 46 end line: 53 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 345 unit: bool GeoPBFTCommitment::AddNewReq() file: platform/consensus/ordering/geo_pbft/geo_pbft_commitment.cpp start line: 65 end line: 73 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 346 unit: void PrometheusHandler::RegisterMetric() file: platform/statistic/prometheus_handler.cpp start line: 83 end line: 90 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 347 unit: void Stats::IncPrepare() file: platform/statistic/stats.cpp start line: 527 end line: 534 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 348 unit: void Stats::IncCommit() file: platform/statistic/stats.cpp start line: 536 end line: 543 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 349 unit: std::unique_ptr GenerateResDBServer() file: service/utils/server_factory.cpp start line: 39 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 6 id: 350 unit: std::unique_ptr CustomGenerateResDBServer() file: service/utils/server_factory.h start line: 104 end line: 111 size: 8 LOC McCabe index: 1 number of parameters: 6 id: 351 unit: void CreateAccount() file: service/tools/contract/api_tools/contract_tools.cpp start line: 51 end line: 58 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 352 unit: void CreateAccount() file: service/tools/kv/api_tools/contract_service_tools.cpp start line: 49 end line: 56 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 353 unit: function commitContentScript() file: script.js start line: 63 end line: 70 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 354 unit: int64_t Transaction::AddTransaction() file: executor/utxo/manager/transaction.cpp start line: 73 end line: 80 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 355 unit: int KVClient::Set() file: interface/kv/kv_client.cpp start line: 29 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 356 unit: std::string CalculateSHA256Hash() file: common/crypto/hash.cpp start line: 29 end line: 36 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 357 unit: std::string CalculateRIPEMD160Hash() file: common/crypto/hash.cpp start line: 38 end line: 45 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 358 unit: std::string SignatureVerifier::CalculateHash() file: common/crypto/signature_verifier.cpp start line: 180 end line: 187 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 359 unit: void LRUCache::Flush() file: common/lru/lru_cache.cpp start line: 90 end line: 96 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 360 unit: double LRUCache::GetCacheHitRatio() file: common/lru/lru_cache.cpp start line: 109 end line: 115 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 361 unit: std::unique_ptr TcpSocket::Accept() file: platform/common/network/tcp_socket.cpp start line: 138 end line: 148 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 362 unit: absl::StatusOr Front() file: platform/common/queue/blocking_queue.h start line: 48 end line: 54 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 363 unit: void AsyncAcceptor::StartAccept() file: platform/networkstrate/async_acceptor.cpp start line: 141 end line: 147 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 364 unit: void ConsensusManager::Start() file: platform/networkstrate/consensus_manager.cpp start line: 78 end line: 84 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 365 unit: int ConsensusManager::Dispatch() file: platform/networkstrate/consensus_manager.cpp start line: 208 end line: 214 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 366 unit: ReplicaInfo GenerateReplicaInfo() file: platform/config/resdb_config_utils.cpp start line: 85 end line: 91 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 367 unit: void TransactionExecutor::RegisterExecute() file: platform/consensus/execution/transaction_executor.cpp start line: 62 end line: 70 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 368 unit: void TransactionExecutor::FinishExecute() file: platform/consensus/execution/transaction_executor.cpp start line: 88 end line: 95 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 369 unit: std::unique_ptr NewRequest() file: platform/consensus/ordering/common/framework/transaction_utils.cpp start line: 25 end line: 31 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 370 unit: std::unique_ptr NewRequest() file: platform/consensus/ordering/common/transaction_utils.cpp start line: 24 end line: 30 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 371 unit: bool ResponseManager::CheckTimeOut() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 371 end line: 377 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 372 unit: bool PerformanceManager::CheckTimeOut() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 368 end line: 374 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 373 unit: std::unique_ptr PerformanceManager::GetTimeOutRequest() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 376 end line: 382 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 374 unit: void CheckPointManager::AddCommitData() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 82 end line: 88 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 375 unit: std::unique_ptr NewRequest() file: platform/consensus/ordering/pbft/transaction_utils.cpp start line: 24 end line: 30 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 376 unit: uint32_t ViewChangeManager::AddRequest() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 208 end line: 214 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 377 unit: bool PoE::ReceiveTransaction() file: platform/consensus/ordering/poe/algorithm/poe.cpp start line: 44 end line: 52 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 378 unit: int exists() file: platform/consensus/ordering/geo_pbft/hash_set.h start line: 34 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 379 unit: void PrometheusHandler::RegisterTable() file: platform/statistic/prometheus_handler.cpp start line: 75 end line: 81 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 380 unit: void PrometheusHandler::Set() file: platform/statistic/prometheus_handler.cpp start line: 92 end line: 98 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 381 unit: void PrometheusHandler::Inc() file: platform/statistic/prometheus_handler.cpp start line: 100 end line: 106 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 382 unit: void Stats::SetStorageEngineMetrics() file: platform/statistic/stats.cpp start line: 244 end line: 250 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 383 unit: nlohmann::json ReadJSConfig() file: service/tools/contract/api_tools/contract_tools.cpp start line: 86 end line: 94 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 384 unit: std::string GetValue() file: service/tools/contract/api_tools/contract_tools.cpp start line: 96 end line: 102 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 385 unit: nlohmann::json ReadJSConfig() file: service/tools/kv/api_tools/contract_service_tools.cpp start line: 84 end line: 92 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 386 unit: std::string GetValue() file: service/tools/kv/api_tools/contract_service_tools.cpp start line: 94 end line: 100 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 387 unit: function filterContentScript() file: script.js start line: 111 end line: 117 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 388 unit: absl::StatusOr ContractManager::GetContract() file: executor/contract/manager/contract_manager.cpp start line: 85 end line: 92 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 389 unit: Address AddressManager::CreateRandomAddress() file: executor/contract/manager/address_manager.cpp start line: 29 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 390 unit: absl::StatusOr ContractTransactionManager::CreateAccount() file: executor/contract/executor/contract_executor.cpp start line: 90 end line: 96 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 391 unit: void TcpSocket::Close() file: platform/common/network/tcp_socket.cpp start line: 81 end line: 86 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 392 unit: void ServiceNetwork::Run() file: platform/networkstrate/service_network.cpp start line: 106 end line: 113 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 393 unit: void ConsensusManager::Stop() file: platform/networkstrate/consensus_manager.cpp start line: 71 end line: 76 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 394 unit: void ConsensusManager::BroadCast() file: platform/networkstrate/consensus_manager.cpp start line: 322 end line: 327 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 395 unit: void ReplicaCommunicator::BroadCast() file: platform/networkstrate/replica_communicator.cpp start line: 299 end line: 304 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 396 unit: uint32_t ResDBConfig::GetMaxProcessTxn() file: platform/config/resdb_config.cpp start line: 197 end line: 202 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 397 unit: uint32_t ResDBConfig::GetMaxClientComplaintNum() file: platform/config/resdb_config.cpp start line: 209 end line: 214 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 398 unit: void DuplicateManager::AddExecuted() file: platform/consensus/execution/duplicate_manager.cpp start line: 65 end line: 70 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 399 unit: void GeoGlobalExecutor::Stop() file: platform/consensus/execution/geo_global_executor.cpp start line: 40 end line: 45 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 400 unit: uint32_t GetCapacity() file: platform/consensus/ordering/pbft/lock_free_collector_pool.cpp start line: 27 end line: 32 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 401 unit: void ConsensusManagerPBFT::SetPrimary() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 94 end line: 99 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 402 unit: void ConsensusManagerPBFT::AddComplainedRequest() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 107 end line: 112 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 403 unit: std::unique_ptr ResponseManager::GetTimeOutRequest() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 379 end line: 384 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 404 unit: bool TransactionCollector::HasClientContextList() file: platform/consensus/ordering/pbft/transaction_collector.cpp start line: 43 end line: 48 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 405 unit: uint64_t MessageManager::GetLastCommittedTime() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 251 end line: 256 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 406 unit: bool CheckPointManager::Wait() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 159 end line: 164 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 407 unit: uint ComplaningClients::CountViewChangeTimeout() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 48 end line: 53 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 408 unit: bool ViewChangeManager::IsNextPrimary() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 216 end line: 221 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 409 unit: int remove() file: platform/consensus/ordering/geo_pbft/hash_set.h start line: 54 end line: 61 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 410 unit: void GeoPBFTCommitment::UpdateSeq() file: platform/consensus/ordering/geo_pbft/geo_pbft_commitment.cpp start line: 75 end line: 80 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 411 unit: void Stats::IncClientCall() file: platform/statistic/stats.cpp start line: 506 end line: 511 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 412 unit: void Stats::IncClientRequest() file: platform/statistic/stats.cpp start line: 513 end line: 518 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 413 unit: void Stats::IncPropose() file: platform/statistic/stats.cpp start line: 520 end line: 525 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 414 unit: void Stats::IncExecuteDone() file: platform/statistic/stats.cpp start line: 549 end line: 554 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 415 unit: void Stats::BroadCastMsg() file: platform/statistic/stats.cpp start line: 556 end line: 561 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 416 unit: void Stats::IncTotalRequest() file: platform/statistic/stats.cpp start line: 569 end line: 574 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 417 unit: void Stats::ServerCall() file: platform/statistic/stats.cpp start line: 580 end line: 585 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 418 unit: void Stats::ServerProcess() file: platform/statistic/stats.cpp start line: 587 end line: 592 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 419 unit: void ShowUsage() file: service/tools/contract/api_tools/contract_tools.cpp start line: 37 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 420 unit: void ShowUsage() file: service/tools/kv/api_tools/contract_service_tools.cpp start line: 35 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 421 unit: void ShowUsage() file: service/tools/utxo/wallet_tool/cpp/utxo_client_tools.cpp start line: 35 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 422 unit: function fetchContentScript() file: script.js start line: 72 end line: 77 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 423 unit: absl::StatusOr ContractTransactionManager::GetBalance() file: executor/contract/executor/contract_executor.cpp start line: 135 end line: 141 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 424 unit: void KVExecutor::GetWithVersion() file: executor/kv/kv_executor.cpp start line: 160 end line: 165 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 425 unit: int64_t TxMempool::AddUTXO() file: executor/utxo/manager/tx_mempool.cpp start line: 30 end line: 35 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 426 unit: int NetChannel::Connect() file: interface/rdbc/net_channel.cpp start line: 68 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 427 unit: int TransactionConstructor::SendRequest() file: interface/rdbc/transaction_constructor.cpp start line: 63 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 428 unit: void ChainState::Put() file: chain/state/chain_state.cpp start line: 36 end line: 40 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 429 unit: uint64_t GetCurrentTime() file: common/utils/utils.cpp start line: 30 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 430 unit: void Push() file: platform/common/queue/blocking_queue.h start line: 36 end line: 40 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 431 unit: void Push() file: platform/common/queue/blocking_queue.h start line: 42 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 432 unit: uint32_t ResDBConfig::GetViewchangeCommitTimeout() file: platform/config/resdb_config.cpp start line: 246 end line: 250 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 433 unit: void Recovery::Init() file: platform/consensus/recovery/recovery.cpp start line: 82 end line: 87 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 434 unit: void Recovery::AppendData() file: platform/consensus/recovery/recovery.cpp start line: 286 end line: 290 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 435 unit: void Recovery::MayFlush() file: platform/consensus/recovery/recovery.cpp start line: 344 end line: 348 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 436 unit: void TransactionExecutor::AddExecuteMessage() file: platform/consensus/execution/transaction_executor.cpp start line: 200 end line: 204 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 437 unit: void TransactionExecutor::Prepare() file: platform/consensus/execution/transaction_executor.cpp start line: 430 end line: 434 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 438 unit: void DuplicateManager::AddProposed() file: platform/consensus/execution/duplicate_manager.cpp start line: 59 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 439 unit: void DuplicateManager::EraseExecuted() file: platform/consensus/execution/duplicate_manager.cpp start line: 99 end line: 103 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 440 unit: int ProtocolBase::SendMessage() file: platform/consensus/ordering/common/algorithm/protocol_base.cpp start line: 49 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 441 unit: std::unique_ptr PerformanceManager::GenerateUserRequest() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 72 end line: 76 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 442 unit: void ConsensusManagerPBFT::AddPendingRequest() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 101 end line: 105 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 443 unit: int ResponseManager::AddContextList() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 90 end line: 94 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 444 unit: void MessageManager::SetLastCommittedTime() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 245 end line: 249 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 445 unit: std::unique_ptr PerformanceManager::GenerateUserRequest() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 96 end line: 100 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 446 unit: void CheckPointManager::TimeoutHandler() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 284 end line: 288 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 447 unit: void ComplaningClients::EraseViewChangeTimeout() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 448 unit: void ComplaningClients::ReleaseComplaining() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 61 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 449 unit: void add() file: platform/consensus/ordering/geo_pbft/hash_set.h start line: 41 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 450 unit: std::pair GenECDSAKeys() file: service/tools/utxo/wallet_tool/cpp/key_utils.cpp start line: 28 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 451 unit: std::string GenAddr() file: service/tools/utxo/wallet_tool/cpp/addr_utils.cpp start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 452 unit: function accountContentScript() file: script.js start line: 119 end line: 123 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 453 unit: std::string GetRandomKey() file: benchmark/protocols/pbft/kv_server_performance.cpp start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 454 unit: std::string GetRandomKey() file: benchmark/protocols/poe/kv_server_performance.cpp start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 455 unit: void AppendArgToInput() file: executor/contract/manager/contract_manager.cpp start line: 29 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 456 unit: AccountState GlobalState::get() file: executor/contract/manager/global_state.cpp start line: 53 end line: 58 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 457 unit: AccountState GlobalState::create() file: executor/contract/manager/global_state.cpp start line: 60 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 458 unit: std::unique_ptr ResDBTxnAccessor::GetNetChannel() file: interface/common/resdb_txn_accessor.cpp start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 459 unit: std::unique_ptr ResDBStateAccessor::GetNetChannel() file: interface/common/resdb_state_accessor.cpp start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 460 unit: void NetChannel::SetRecvTimeout() file: interface/rdbc/net_channel.cpp start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 461 unit: void NetChannel::SetDestReplicaInfo() file: interface/rdbc/net_channel.cpp start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 462 unit: int MemoryDB::SetValue() file: chain/storage/memory_db.cpp start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 463 unit: size_t SignatureVerifier::GetPublicKeysSize() file: common/crypto/signature_verifier.cpp start line: 174 end line: 177 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 464 unit: absl::StatusOr SignatureVerifierInterface::SignMessage() file: common/crypto/signature_verifier_interface.cpp start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 465 unit: void TcpSocket::ReInit() file: platform/common/network/tcp_socket.cpp start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 466 unit: int TcpSocket::SetAsync() file: platform/common/network/tcp_socket.cpp start line: 172 end line: 175 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 467 unit: int ServiceInterface::Process() file: platform/networkstrate/service_interface.cpp start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 468 unit: void ServiceNetwork::Stop() file: platform/networkstrate/service_network.cpp start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 469 unit: int ConsensusManager::ConsensusCommit() file: platform/networkstrate/consensus_manager.cpp start line: 302 end line: 305 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 470 unit: void ConsensusManager::AddNewClient() file: platform/networkstrate/consensus_manager.cpp start line: 362 end line: 365 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 471 unit: void ReplicaCommunicator::UpdateClientReplicas() file: platform/networkstrate/replica_communicator.cpp start line: 84 end line: 87 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 472 unit: std::unique_ptr ReplicaCommunicator::GetClient() file: platform/networkstrate/replica_communicator.cpp start line: 294 end line: 297 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 473 unit: int ResDBConfig::GetMinDataReceiveNum() file: platform/config/resdb_config.cpp start line: 119 end line: 122 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 474 unit: int ResDBConfig::GetMinClientReceiveNum() file: platform/config/resdb_config.cpp start line: 124 end line: 127 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 475 unit: int ResDBConfig::GetMinCheckpointReceiveNum() file: platform/config/resdb_config.cpp start line: 129 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 476 unit: size_t ResDBConfig::GetMaxMaliciousReplicaNum() file: platform/config/resdb_config.cpp start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 477 unit: void ResDBConfig::SetMaxProcessTxn() file: platform/config/resdb_config.cpp start line: 204 end line: 207 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 478 unit: ResDBConfig GenerateResDBConfig() file: platform/config/resdb_config_utils.cpp start line: 152 end line: 155 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 479 unit: void Acceptor::Stop() file: platform/rdbc/acceptor.cpp start line: 91 end line: 94 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 480 unit: bool TransactionExecutor::NeedResponse() file: platform/consensus/execution/transaction_executor.cpp start line: 135 end line: 138 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 481 unit: bool DuplicateManager::CheckIfProposed() file: platform/consensus/execution/duplicate_manager.cpp start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 482 unit: void DuplicateManager::EraseProposed() file: platform/consensus/execution/duplicate_manager.cpp start line: 94 end line: 97 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 483 unit: int GeoGlobalExecutor::OrderGeoRequest() file: platform/consensus/execution/geo_global_executor.cpp start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 484 unit: int ProtocolBase::Broadcast() file: platform/consensus/ordering/common/algorithm/protocol_base.cpp start line: 55 end line: 58 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 485 unit: void Consensus::SetPerformanceManager() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 486 unit: void ConsensusManagerPBFT::SetupPerformanceDataFunc() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 256 end line: 259 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 487 unit: void ConsensusManagerPBFT::SetPreVerifyFunc() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 261 end line: 264 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 488 unit: void Clear() file: platform/consensus/ordering/pbft/transaction_collector.h start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 489 unit: void MessageManager::SetNextSeq() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 87 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 490 unit: int MessageManager::GetReplicaState() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 236 end line: 239 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 491 unit: uint64_t CheckPointManager::GetStableCheckpoint() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 72 end line: 75 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 492 unit: StableCheckPoint CheckPointManager::GetStableCheckpointWithVotes() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 493 unit: void CheckPointManager::Notify() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 154 end line: 157 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 494 unit: void CheckPointManager::SetTimeoutHandler() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 279 end line: 282 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 495 unit: void CheckPointManager::WaitSignal() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 351 end line: 354 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 496 unit: uint64_t CheckPointManager::GetHighestPreparedSeq() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 361 end line: 364 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 497 unit: void CheckPointManager::SetHighestPreparedSeq() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 366 end line: 369 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 498 unit: uint64_t CheckPointManager::GetCommittableSeq() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 376 end line: 379 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 499 unit: void Commitment::SetPreVerifyFunc() file: platform/consensus/ordering/pbft/commitment.cpp start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 500 unit: void Stats::ChangePrimary() file: platform/statistic/stats.cpp start line: 223 end line: 226 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 501 unit: void Stats::AddLatency() file: platform/statistic/stats.cpp start line: 596 end line: 599 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 502 unit: void GetWallet() file: service/tools/utxo/wallet_tool/cpp/utxo_client_tools.cpp start line: 85 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 503 unit: void ShowUsage() file: service/contract/contract_service.cpp start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 504 unit: void ShowUsage() file: service/utxo/utxo_service.cpp start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 505 unit: std::unique_ptr TransactionManager::ExecuteData() file: executor/common/transaction_manager.cpp start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 506 unit: std::unique_ptr TransactionManager::ParseData() file: executor/common/transaction_manager.cpp start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 507 unit: std::unique_ptr TransactionManager::ExecuteRequest() file: executor/common/transaction_manager.cpp start line: 60 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 508 unit: std::string ContractManager::GetFuncAddress() file: executor/contract/manager/contract_manager.cpp start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 509 unit: void ContractManager::SetFuncAddress() file: executor/contract/manager/contract_manager.cpp start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 510 unit: void GlobalState::Insert() file: executor/contract/manager/global_state.cpp start line: 72 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 511 unit: void KVExecutor::Set() file: executor/kv/kv_executor.cpp start line: 137 end line: 140 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 512 unit: std::string KVExecutor::Get() file: executor/kv/kv_executor.cpp start line: 142 end line: 145 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 513 unit: std::string KVExecutor::GetRange() file: executor/kv/kv_executor.cpp start line: 150 end line: 153 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 514 unit: void KVExecutor::SetWithVersion() file: executor/kv/kv_executor.cpp start line: 155 end line: 158 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 515 unit: int64_t Transaction::GetUTXOOutValue() file: executor/utxo/manager/transaction.cpp start line: 155 end line: 158 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 516 unit: int Wallet::AddCoin() file: executor/utxo/manager/wallet.cpp start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 517 unit: void NetChannel::SetAsyncSend() file: interface/rdbc/net_channel.cpp start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 518 unit: void NetChannel::SetSignatureVerifier() file: interface/rdbc/net_channel.cpp start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 519 unit: void NetChannel::SetSocket() file: interface/rdbc/net_channel.cpp start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 520 unit: void NetChannel::IsLongConnection() file: interface/rdbc/net_channel.cpp start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 521 unit: int NetChannel::SendDataInternal() file: interface/rdbc/net_channel.cpp start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 522 unit: int NetChannel::SendRawMessageData() file: interface/rdbc/net_channel.cpp start line: 157 end line: 159 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 523 unit: int NetChannel::RecvRawMessageData() file: interface/rdbc/net_channel.cpp start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 524 unit: std::unique_ptr NewResLevelDB() file: chain/storage/leveldb.cpp start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 525 unit: int LRUCache::GetCapacity() file: common/lru/lru_cache.cpp start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 526 unit: int LRUCache::GetCacheHits() file: common/lru/lru_cache.cpp start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 527 unit: int LRUCache::GetCacheMisses() file: common/lru/lru_cache.cpp start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 528 unit: void ConsensusManager::UpdateBroadCastClient() file: platform/networkstrate/consensus_manager.cpp start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 529 unit: std::vector ConsensusManager::GetClientReplicas() file: platform/networkstrate/consensus_manager.cpp start line: 307 end line: 309 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 530 unit: std::vector ReplicaCommunicator::GetClientReplicas() file: platform/networkstrate/replica_communicator.cpp start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 531 unit: CertificateInfo ResDBConfig::GetPublicKeyCertificateInfo() file: platform/config/resdb_config.cpp start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 532 unit: void ResDBConfig::SetClientTimeoutMs() file: platform/config/resdb_config.cpp start line: 139 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 533 unit: std::string ResDBConfig::GetCheckPointLoggingPath() file: platform/config/resdb_config.cpp start line: 146 end line: 148 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 534 unit: void ResDBConfig::SetCheckPointLoggingPath() file: platform/config/resdb_config.cpp start line: 150 end line: 152 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 535 unit: int ResDBConfig::GetCheckPointWaterMark() file: platform/config/resdb_config.cpp start line: 154 end line: 156 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 536 unit: void ResDBConfig::SetCheckPointWaterMark() file: platform/config/resdb_config.cpp start line: 158 end line: 160 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 537 unit: void ResDBConfig::EnableCheckPoint() file: platform/config/resdb_config.cpp start line: 162 end line: 164 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 538 unit: void ResDBConfig::SetHeartBeatEnabled() file: platform/config/resdb_config.cpp start line: 170 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 539 unit: bool ResDBConfig::SignatureVerifierEnabled() file: platform/config/resdb_config.cpp start line: 174 end line: 176 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 540 unit: void ResDBConfig::SetSignatureVerifierEnabled() file: platform/config/resdb_config.cpp start line: 178 end line: 180 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 541 unit: bool ResDBConfig::IsPerformanceRunning() file: platform/config/resdb_config.cpp start line: 183 end line: 185 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 542 unit: void ResDBConfig::RunningPerformance() file: platform/config/resdb_config.cpp start line: 187 end line: 189 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 543 unit: void ResDBConfig::SetTestMode() file: platform/config/resdb_config.cpp start line: 191 end line: 193 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 544 unit: uint32_t ResDBConfig::ClientBatchWaitTimeMS() file: platform/config/resdb_config.cpp start line: 216 end line: 218 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 545 unit: void ResDBConfig::SetClientBatchWaitTimeMS() file: platform/config/resdb_config.cpp start line: 220 end line: 222 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 546 unit: uint32_t ResDBConfig::ClientBatchNum() file: platform/config/resdb_config.cpp start line: 224 end line: 226 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 547 unit: void ResDBConfig::SetClientBatchNum() file: platform/config/resdb_config.cpp start line: 228 end line: 230 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 548 unit: uint32_t ResDBConfig::GetInputWorkerNum() file: platform/config/resdb_config.cpp start line: 234 end line: 236 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 549 unit: uint32_t ResDBConfig::GetOutputWorkerNum() file: platform/config/resdb_config.cpp start line: 238 end line: 240 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 550 unit: uint32_t ResDBConfig::GetTcpBatchNum() file: platform/config/resdb_config.cpp start line: 242 end line: 244 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 551 unit: void ResDBConfig::SetViewchangeCommitTimeout() file: platform/config/resdb_config.cpp start line: 252 end line: 254 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 552 unit: void ResDBPoCConfig::SetDifficulty() file: platform/config/resdb_poc_config.cpp start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 553 unit: void ResDBPoCConfig::SetTargetValue() file: platform/config/resdb_poc_config.cpp start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 554 unit: std::vector ResDBPoCConfig::GetBFTReplicas() file: platform/config/resdb_poc_config.cpp start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 555 unit: void ResDBPoCConfig::SetBFTReplicas() file: platform/config/resdb_poc_config.cpp start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 556 unit: void ResDBPoCConfig::SetBatchTransactionNum() file: platform/config/resdb_poc_config.cpp start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 557 unit: void ResDBPoCConfig::SetWorkerNum() file: platform/config/resdb_poc_config.cpp start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 558 unit: void SystemInfo::SetReplicas() file: platform/consensus/execution/system_info.cpp start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 559 unit: void TransactionExecutor::SetPreExecuteFunc() file: platform/consensus/execution/transaction_executor.cpp start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 560 unit: void TransactionExecutor::SetSeqUpdateNotifyFunc() file: platform/consensus/execution/transaction_executor.cpp start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 561 unit: uint64_t TransactionExecutor::GetMaxPendingExecutedSeq() file: platform/consensus/execution/transaction_executor.cpp start line: 131 end line: 133 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 562 unit: void TransactionExecutor::AddNewData() file: platform/consensus/execution/transaction_executor.cpp start line: 154 end line: 156 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: void TransactionExecutor::SetDuplicateManager() file: platform/consensus/execution/transaction_executor.cpp start line: 349 end line: 351 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 564 unit: std::unique_ptr GeoGlobalExecutor::GetResponseMsg() file: platform/consensus/execution/geo_global_executor.cpp start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 565 unit: int ProtocolBase::Commit() file: platform/consensus/ordering/common/algorithm/protocol_base.cpp start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: inline void SetSingleCallFunc() file: platform/consensus/ordering/common/algorithm/protocol_base.h start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 567 unit: inline void SetBroadcastCallFunc() file: platform/consensus/ordering/common/algorithm/protocol_base.h start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 568 unit: inline void SetCommitFunc() file: platform/consensus/ordering/common/algorithm/protocol_base.h start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 569 unit: inline void SetSignatureVerifier() file: platform/consensus/ordering/common/algorithm/protocol_base.h start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 570 unit: void Consensus::SetupPerformanceDataFunc() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 571 unit: void Consensus::SetCommunicator() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 572 unit: std::vector Consensus::GetReplicas() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 573 unit: int Consensus::ProcessCustomConsensus() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 574 unit: int Consensus::ProcessNewTransaction() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 575 unit: void PerformanceManager::SetDataFunc() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 576 unit: void PerformanceManager::SendMessage() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 271 end line: 273 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 577 unit: void ConsensusManagerPBFT::SetNeedCommitQC() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 578 unit: std::vector ConsensusManagerPBFT::GetReplicas() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 579 unit: uint32_t ConsensusManagerPBFT::GetPrimary() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 580 unit: uint32_t ConsensusManagerPBFT::GetVersion() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 581 unit: std::unique_ptr MessageManager::GetResponseMsg() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 582 unit: int64_t MessageManager::GetCurrentPrimary() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 583 unit: uint64_t MessageManager ::GetCurrentView() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 584 unit: std::vector MessageManager::GetReplicas() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 585 unit: std::vector MessageManager::GetPreparedProof() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 228 end line: 230 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 586 unit: TransactionStatue MessageManager::GetTransactionState() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 232 end line: 234 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 587 unit: bool MessageManager::IsPreapared() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 258 end line: 260 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 588 unit: uint64_t MessageManager::GetHighestPreparedSeq() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 262 end line: 264 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 589 unit: void MessageManager::SetHighestPreparedSeq() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 266 end line: 268 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 590 unit: void MessageManager::SetDuplicateManager() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 270 end line: 272 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 591 unit: void PerformanceManager::SetDataFunc() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 592 unit: std::string GetHash() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 593 unit: bool ViewChangeManager::IsInViewChange() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 594 unit: void ViewChangeManager::SetDuplicateManager() file: platform/consensus/ordering/pbft/viewchange_manager.cpp start line: 614 end line: 616 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 595 unit: int Consensus::CommitMsg() file: platform/consensus/ordering/poe/framework/consensus.cpp start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 596 unit: void Stats::SetPrimaryId() file: platform/statistic/stats.cpp start line: 240 end line: 242 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 597 unit: void Stats::SetPrometheus() file: platform/statistic/stats.cpp start line: 601 end line: 603 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 598 unit: void ShowUsage() file: service/kv/kv_service.cpp start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 599 unit: void ShowUsage() file: benchmark/protocols/pbft/kv_server_performance.cpp start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 600 unit: void ShowUsage() file: benchmark/protocols/poe/kv_server_performance.cpp start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 601 unit: virtual std::unique_ptr Query() file: executor/common/custom_query.h start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 602 unit: void AppendArgToInput() file: executor/contract/manager/contract_manager.cpp start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 603 unit: std::string ContractManager::GetBalance() file: executor/contract/manager/contract_manager.cpp start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 604 unit: int ContractManager::SetBalance() file: executor/contract/manager/contract_manager.cpp start line: 151 end line: 153 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 605 unit: void AddressManager::AddExternalAddress() file: executor/contract/manager/address_manager.cpp start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 606 unit: bool AddressManager::Exist() file: executor/contract/manager/address_manager.cpp start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 607 unit: Address AddressManager::CreateContractAddress() file: executor/contract/manager/address_manager.cpp start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 608 unit: std::string AddressManager::AddressToHex() file: executor/contract/manager/address_manager.cpp start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 609 unit: Address AddressManager::HexToAddress() file: executor/contract/manager/address_manager.cpp start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 610 unit: bool GlobalState::Exists() file: executor/contract/manager/global_state.cpp start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 611 unit: std::string GlobalState::GetBalance() file: executor/contract/manager/global_state.cpp start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 612 unit: int GlobalState::SetBalance() file: executor/contract/manager/global_state.cpp start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 613 unit: void GlobalView::store() file: executor/contract/manager/global_view.cpp start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 614 unit: uint256_t GlobalView::load() file: executor/contract/manager/global_view.cpp start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 615 unit: std::vector Transaction::GetUTXO() file: executor/utxo/manager/transaction.cpp start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 616 unit: def set_value() file: api/kv_operation.py start line: 0 end line: 0 size: 2 LOC McCabe index: 5 number of parameters: 3 id: 617 unit: def get_value() file: api/kv_operation.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 2 id: 618 unit: virtual void UpdateStableCheckPointCallback() file: platform/consensus/ordering/pbft/checkpoint_manager.h start line: 56 end line: 57 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 619 unit: void NetChannel::Close() file: interface/rdbc/net_channel.cpp start line: 49 end line: 49 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 620 unit: uint64_t ChainState::GetMaxSeq() file: chain/state/chain_state.cpp start line: 42 end line: 42 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 621 unit: std::unique_ptr NewMemoryDB() file: chain/storage/memory_db.cpp start line: 27 end line: 27 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 622 unit: virtual bool Flush() file: chain/storage/storage.h start line: 57 end line: 57 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 623 unit: virtual int SetSocketOpt() file: platform/common/network/socket.h start line: 43 end line: 43 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 624 unit: virtual void SetRecvTimeout() file: platform/common/network/socket.h start line: 46 end line: 46 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 625 unit: virtual void SetSendTimeout() file: platform/common/network/socket.h start line: 47 end line: 47 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 626 unit: virtual int SetAsync() file: platform/common/network/socket.h start line: 48 end line: 48 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 627 unit: int TcpSocket::GetBindingPort() file: platform/common/network/tcp_socket.cpp start line: 136 end line: 136 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 628 unit: bool Empty() file: platform/common/queue/lock_free_queue.h start line: 68 end line: 68 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 629 unit: size_t Size() file: platform/common/queue/batch_queue.h start line: 50 end line: 50 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 630 unit: bool ServiceInterface::IsRunning() file: platform/networkstrate/service_interface.cpp start line: 31 end line: 31 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 631 unit: void ServiceInterface::SetRunning() file: platform/networkstrate/service_interface.cpp start line: 33 end line: 33 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 632 unit: void ServiceInterface::Start() file: platform/networkstrate/service_interface.cpp start line: 35 end line: 35 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 633 unit: void ServiceInterface::Stop() file: platform/networkstrate/service_interface.cpp start line: 36 end line: 36 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 634 unit: bool ServiceNetwork::IsRunning() file: platform/networkstrate/service_network.cpp start line: 132 end line: 132 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 635 unit: bool ServiceNetwork::ServiceIsReady() file: platform/networkstrate/service_network.cpp start line: 139 end line: 139 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 636 unit: virtual bool IsReady() file: platform/networkstrate/service_interface.h start line: 38 end line: 38 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 637 unit: bool ConsensusManager::IsReady() file: platform/networkstrate/consensus_manager.cpp start line: 69 end line: 69 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 638 unit: void ConsensusManager::AddNewReplica() file: platform/networkstrate/consensus_manager.cpp start line: 360 end line: 360 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 639 unit: void ConsensusManager::SetPrimary() file: platform/networkstrate/consensus_manager.cpp start line: 367 end line: 367 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 640 unit: uint32_t ConsensusManager::GetPrimary() file: platform/networkstrate/consensus_manager.cpp start line: 369 end line: 369 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 641 unit: uint32_t ConsensusManager::GetVersion() file: platform/networkstrate/consensus_manager.cpp start line: 371 end line: 371 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 642 unit: bool ReplicaCommunicator::IsRunning() file: platform/networkstrate/replica_communicator.cpp start line: 82 end line: 82 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 643 unit: KeyInfo ResDBConfig::GetPrivateKey() file: platform/config/resdb_config.cpp start line: 103 end line: 103 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 644 unit: ResConfigData ResDBConfig::GetConfigData() file: platform/config/resdb_config.cpp start line: 109 end line: 109 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 645 unit: size_t ResDBConfig::GetReplicaNum() file: platform/config/resdb_config.cpp start line: 117 end line: 117 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 646 unit: int ResDBConfig::GetClientTimeoutMs() file: platform/config/resdb_config.cpp start line: 143 end line: 143 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 647 unit: bool ResDBConfig::IsCheckPointEnabled() file: platform/config/resdb_config.cpp start line: 166 end line: 166 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 648 unit: bool ResDBConfig::HeartBeatEnabled() file: platform/config/resdb_config.cpp start line: 168 end line: 168 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 649 unit: bool ResDBConfig::IsTestMode() file: platform/config/resdb_config.cpp start line: 195 end line: 195 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 650 unit: uint32_t ResDBConfig::GetWorkerNum() file: platform/config/resdb_config.cpp start line: 232 end line: 232 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 651 unit: uint32_t GetMiningTime() file: platform/config/resdb_poc_config.h start line: 57 end line: 57 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 652 unit: void SetMiningTime() file: platform/config/resdb_poc_config.h start line: 58 end line: 58 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 653 unit: void ResDBPoCConfig::SetMaxNonceBit() file: platform/config/resdb_poc_config.cpp start line: 37 end line: 37 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 654 unit: uint32_t ResDBPoCConfig::GetMaxNonceBit() file: platform/config/resdb_poc_config.cpp start line: 39 end line: 39 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 655 unit: uint32_t ResDBPoCConfig::GetDifficulty() file: platform/config/resdb_poc_config.cpp start line: 45 end line: 45 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 656 unit: uint32_t ResDBPoCConfig::GetTargetValue() file: platform/config/resdb_poc_config.cpp start line: 47 end line: 47 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 657 unit: uint32_t ResDBPoCConfig::BatchTransactionNum() file: platform/config/resdb_poc_config.cpp start line: 62 end line: 62 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 658 unit: uint32_t ResDBPoCConfig::GetWokerNum() file: platform/config/resdb_poc_config.cpp start line: 68 end line: 68 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 659 unit: bool Acceptor::IsRunning() file: platform/rdbc/acceptor.cpp start line: 96 end line: 96 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 660 unit: int64_t Recovery::GetMaxSeq() file: platform/consensus/recovery/recovery.cpp start line: 101 end line: 101 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 661 unit: int64_t Recovery::GetMinSeq() file: platform/consensus/recovery/recovery.cpp start line: 103 end line: 103 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 662 unit: uint32_t SystemInfo::GetPrimaryId() file: platform/consensus/execution/system_info.cpp start line: 34 end line: 34 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 663 unit: void SystemInfo::SetPrimary() file: platform/consensus/execution/system_info.cpp start line: 36 end line: 36 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 664 unit: uint64_t SystemInfo::GetCurrentView() file: platform/consensus/execution/system_info.cpp start line: 38 end line: 38 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 665 unit: void SystemInfo::SetCurrentView() file: platform/consensus/execution/system_info.cpp start line: 40 end line: 40 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 666 unit: std::vector SystemInfo::GetReplicas() file: platform/consensus/execution/system_info.cpp start line: 42 end line: 42 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 667 unit: bool GeoTransactionExecutor::IsStop() file: platform/consensus/execution/geo_transaction_executor.cpp start line: 48 end line: 48 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 668 unit: bool TransactionExecutor::IsStop() file: platform/consensus/execution/transaction_executor.cpp start line: 129 end line: 129 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 669 unit: bool DuplicateManager::IsStop() file: platform/consensus/execution/duplicate_manager.cpp start line: 43 end line: 43 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 670 unit: bool GeoGlobalExecutor::IsStop() file: platform/consensus/execution/geo_global_executor.cpp start line: 75 end line: 75 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 671 unit: void ProtocolBase::Stop() file: platform/consensus/ordering/common/algorithm/protocol_base.cpp start line: 45 end line: 45 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 672 unit: bool ProtocolBase::IsStop() file: platform/consensus/ordering/common/algorithm/protocol_base.cpp start line: 47 end line: 47 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 673 unit: bool Consensus::IsStop() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 87 end line: 87 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 674 unit: int Consensus::CommitMsg() file: platform/consensus/ordering/common/framework/consensus.cpp start line: 123 end line: 123 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 675 unit: int ResponseManager::GetPrimary() file: platform/consensus/ordering/common/framework/response_manager.cpp start line: 60 end line: 60 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 676 unit: int PerformanceManager::GetPrimary() file: platform/consensus/ordering/common/framework/performance_manager.cpp start line: 70 end line: 70 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 677 unit: void set_proxy_id() file: platform/consensus/ordering/pbft/viewchange_manager.h start line: 68 end line: 68 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 678 unit: void ConsensusManagerPBFT::Start() file: platform/consensus/ordering/pbft/consensus_manager_pbft.cpp start line: 80 end line: 80 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 679 unit: int ResponseManager::GetPrimary() file: platform/consensus/ordering/pbft/response_manager.cpp start line: 88 end line: 88 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 680 unit: uint64_t TransactionCollector::Seq() file: platform/consensus/ordering/pbft/transaction_collector.cpp start line: 28 end line: 28 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 681 unit: bool TransactionCollector::IsPrepared() file: platform/consensus/ordering/pbft/transaction_collector.cpp start line: 30 end line: 30 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 682 unit: TransactionStatue TransactionCollector::GetStatus() file: platform/consensus/ordering/pbft/transaction_collector.cpp start line: 32 end line: 32 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 683 unit: void SetExecutor() file: platform/consensus/ordering/pbft/checkpoint_manager.h start line: 66 end line: 66 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 684 unit: int64_t MessageManager::GetNextSeq() file: platform/consensus/ordering/pbft/message_manager.cpp start line: 92 end line: 92 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 685 unit: int PerformanceManager::GetPrimary() file: platform/consensus/ordering/pbft/performance_manager.cpp start line: 94 end line: 94 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 686 unit: uint64_t CheckPointManager::GetMaxTxnSeq() file: platform/consensus/ordering/pbft/checkpoint_manager.cpp start line: 70 end line: 70 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 687 unit: void Commitment::SetNeedCommitQC() file: platform/consensus/ordering/pbft/commitment.cpp start line: 63 end line: 63 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 688 unit: bool PoE::IsStop() file: platform/consensus/ordering/poe/algorithm/poe.cpp start line: 42 end line: 42 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 689 unit: int size() file: platform/consensus/ordering/geo_pbft/hash_set.h start line: 63 end line: 63 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 690 unit: void Stats::Stop() file: platform/statistic/stats.cpp start line: 87 end line: 87 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 691 unit: bool Stats::IsFaulty() file: platform/statistic/stats.cpp start line: 221 end line: 221 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 692 unit: void Stats::IncPendingExecute() file: platform/statistic/stats.cpp start line: 545 end line: 545 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 693 unit: void Stats::IncExecute() file: platform/statistic/stats.cpp start line: 547 end line: 547 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 694 unit: void Stats::SendBroadCastMsg() file: platform/statistic/stats.cpp start line: 563 end line: 563 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 695 unit: void Stats::SendBroadCastMsgPerRep() file: platform/statistic/stats.cpp start line: 565 end line: 565 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 696 unit: void Stats::SeqFail() file: platform/statistic/stats.cpp start line: 567 end line: 567 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 697 unit: void Stats::IncTotalGeoRequest() file: platform/statistic/stats.cpp start line: 576 end line: 576 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 698 unit: void Stats::IncGeoRequest() file: platform/statistic/stats.cpp start line: 578 end line: 578 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 699 unit: void Stats::SeqGap() file: platform/statistic/stats.cpp start line: 594 end line: 594 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 700 unit: bool TransactionManager::IsOutOfOrder() file: executor/common/transaction_manager.cpp start line: 29 end line: 29 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 701 unit: bool TransactionManager::NeedResponse() file: executor/common/transaction_manager.cpp start line: 31 end line: 31 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 702 unit: uint256_t get_block_hash() file: executor/contract/manager/evm_state.h start line: 35 end line: 35 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 703 unit: void GlobalState::remove() file: executor/contract/manager/global_state.cpp start line: 51 end line: 51 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 704 unit: bool GlobalView::remove() file: executor/contract/manager/global_view.cpp start line: 40 end line: 40 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 705 unit: std::string KVExecutor::GetAllValues() file: executor/kv/kv_executor.cpp start line: 147 end line: 147 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 706 unit: int64_t Wallet::GetCoin() file: executor/utxo/manager/wallet.cpp start line: 35 end line: 35 size: 1 LOC McCabe index: 1 number of parameters: 1