include/wrench/workflow/Workflow.h
Function parameter 'id' should be passed by reference.
WorkflowFile *getFileById(const std::string id);
src/wrench/services/compute/batch/BatchService.cpp
Prefer prefix ++/-- operators for non-primitive types.
for(it=this->running_jobs.begin();it!=this->running_jobs.end();it++){
Prefer prefix ++/-- operators for non-primitive types.
for (it2 = this->waiting_jobs.begin(); it2 != this->waiting_jobs.end(); it2++) {
Iterator 'it2' used after element has been erased.
this->waiting_jobs.erase(it2);
src/wrench/services/compute/multihost_multicore/MulticoreComputeServiceMessage.cpp
Function parameter 'name' should be passed by reference.
MulticoreComputeServiceMessage::MulticoreComputeServiceMessage(std::string name, double payload) :
src/wrench/services/compute/standard_job_executor/ComputeThread.cpp
Variable 'reply_mailbox' is assigned in constructor body. Consider performing initialization in initialization list.
this->reply_mailbox = reply_mailbox;
src/wrench/services/compute/standard_job_executor/StandardJobExecutor.cpp
Prefer prefix ++/-- operators for non-primitive types.
for (it = this->running_workunit_executors.begin(); it != this->running_workunit_executors.end(); it++) {
src/wrench/services/file_registry/FileRegistryMessage.cpp
Function parameter 'name' should be passed by reference.
FileRegistryMessage::FileRegistryMessage(std::string name, double payload) :
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;
test/simulation/BatchServiceTest.cpp
Variable 'workflow' is assigned in constructor body. Consider performing initialization in initialization list.
workflow = std::unique_ptr<wrench::Workflow>( new wrench::Workflow() );
Function parameter 'hostname' should be passed by reference.
std::string hostname) :
Variable 'output_file_2' is assigned a value that is never used.
wrench::WorkflowFile *output_file_2 = this->workflow->addFile("output_file_2", 20000.0);
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,
Variable 'error_msg' is assigned a value that is never used.
std::string error_msg = real_cause->toString();
test/simulation/OneTaskTest.cpp
Variable 'job' is assigned a value that is never used.
job = job_manager->createStandardJob({test->task},
Variable 'hostname2' is assigned a value that is never used.
std::string hostname2 = "OtherHost";
test/simulation/SimpleStorageService/SimpleStorageServicePerformanceTest.cpp
Function parameter 'compute_services' should be passed by reference.
const std::set<wrench::ComputeService *> compute_services,
test/simulation/StandardJobExecutorTest.cpp
Variable 'error_msg' is assigned a value that is never used.
std::string error_msg = real_cause->toString();
More
Previous Next