src/wrench/services/file_registry/FileRegistryMessage.cpp
Function parameter 'name' should be passed by reference.
FileRegistryMessage::FileRegistryMessage(std::string name, double payload) :
Function parameter 'locations' should be passed by reference.
std::map<double, StorageService *> locations,
src/wrench/services/file_registry/FileRegistryService.cpp
The scope of the variable 'proximity' can be reduced.
double proximity;
src/wrench/services/network_proximity/NetworkProximityMessage.cpp
Function parameter 'name' should be passed by reference.
NetworkProximityMessage::NetworkProximityMessage(std::string name, double payload) :
Variable 'next_mailbox_to_send' is assigned in constructor body. Consider performing initialization in initialization list.
this->next_mailbox_to_send = next_mailbox_to_send;
src/wrench/services/network_proximity/NetworkProximityService.cpp
Prefer prefix ++/-- operators for non-primitive types.
for (it=this->network_daemons.begin();it!=this->network_daemons.end();it++){
src/wrench/services/storage/StorageServiceMessage.cpp
Function parameter 'answer_mailbox' should be passed by reference.
StorageServiceFileReadRequestMessage::StorageServiceFileReadRequestMessage(std::string answer_mailbox,
test/simulation/BatchService/BatchServiceFCFSTest.cpp
Variable 'workflow' is assigned in constructor body. Consider performing initialization in initialization list.
workflow = std::unique_ptr<wrench::Workflow>(new wrench::Workflow());
test/simulation/BatchService/BatchServiceOutputCSVFileTest.cpp
Function parameter 'hostname' should be passed by reference.
std::string hostname) :
test/simulation/BatchService/BatchServiceTraceFileTest.cpp
Variable 'workflow' is assigned in constructor body. Consider performing initialization in initialization list.
workflow = std::unique_ptr<wrench::Workflow>(new wrench::Workflow());
test/simulation/FileRegistryTest.cpp
Variable 'file1_locations_by_proximity' is assigned a value that is never used.
file1_locations_by_proximity = frs->lookupEntry(file1, "Host3", nps);
test/simulation/MultihostMulticoreComputeService/MultihostMulticoreComputeServiceTestPilotJobs.cpp
Function parameter 'hostname' should be passed by reference.
std::string hostname) :
test/simulation/MultihostMulticoreComputeService/MultihostMulticoreComputeServiceTestStandardJobs.cpp
Function parameter 'compute_services' should be passed by reference.
const std::set<wrench::ComputeService *> compute_services,
test/simulation/MultihostMulticoreComputeService/StandardJobExecutorTest.cpp
Member variable 'StandardJobExecutorTest::simulation' is not initialized in the constructor.
StandardJobExecutorTest() {
The scope of the variable 'thread_startup_overhead' can be reduced.
double thread_startup_overhead = 10.0;
Variable 'error_msg' is assigned a value that is never used.
std::string error_msg = real_cause->toString();
Variable 'error_msg' is assigned a value that is never used.
std::string error_msg = cause->toString();
test/simulation/ScratchSpaceTest.cpp
Variable 'workflow' is assigned in constructor body. Consider performing initialization in initialization list.
workflow = std::unique_ptr<wrench::Workflow>(new wrench::Workflow());
test/simulation/SimpleStorageService/SimpleStorageServicePerformanceTest.cpp
Function parameter 'compute_services' should be passed by reference.
const std::set<wrench::ComputeService *> compute_services,
Variable 'file_registry_service' is assigned a value that is never used.
wrench::FileRegistryService *file_registry_service = this->getAvailableFileRegistryService();
More
Previous Next