src/wrench/services/compute/batch/BatchService.cpp
Variable 'id' is assigned a value that is never used.
std::string id = std::get<0>(j);
Prefer prefix ++/-- operators for non-primitive types.
for (it = this->nodes_to_cores_map.begin(); it != this->nodes_to_cores_map.end(); it++) {
src/wrench/services/compute/standard_job_executor/ComputeThread.cpp
Function parameter 'hostname' should be passed by reference.
ComputeThread::ComputeThread(Simulation *simulation, std::string hostname, double flops, std::string reply_mailbox) :
src/wrench/services/compute/standard_job_executor/StandardJobExecutorMessage.cpp
Function parameter 'cause' should be passed by reference.
std::shared_ptr<FailureCause> cause,
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/network_proximity/NetworkProximityMessage.cpp
Function parameter 'name' should be passed by reference.
NetworkProximityMessage::NetworkProximityMessage(std::string name, double payload) :
src/wrench/services/storage/StorageServiceMessage.cpp
Function parameter 'answer_mailbox' should be passed by reference.
StorageServiceFileCopyRequestMessage::StorageServiceFileCopyRequestMessage(std::string answer_mailbox,
Function parameter 'failure_cause' should be passed by reference.
std::shared_ptr<FailureCause> failure_cause,
Function parameter 'data_write_mailbox_name' should be passed by reference.
std::string data_write_mailbox_name,
src/wrench/workflow/Workflow.cpp
Variable 'name' is assigned a value that is never used.
std::string name = job.attribute("name").value();
test/simulation/BatchService/BatchServiceTest.cpp
Member variable 'BatchServiceTest::simulation' is not initialized in the constructor.
BatchServiceTest() {
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/MultihostMulticoreComputeService/MultihostMulticoreComputeServiceOneTaskTest.cpp
Memory leak: argv
argv = (char **) calloc(1, sizeof(char *));
Variable 'error_msg' is assigned a value that is never used.
std::string error_msg = real_cause->toString();
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
Variable 'output_file' is assigned a value that is never used.
wrench::WorkflowFile *output_file = this->workflow->addFile("output_file", 20000.0);
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