GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 6 / 0 / 6
Functions: 100.0% 1 / 0 / 1
Branches: 100.0% 12 / 0 / 12

src/workflow/RunCleanup.cpp
Line Branch Exec Source
1 /***********************************************************************************************************************
2 * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC.
3 * See also https://openstudio.net/license
4 ***********************************************************************************************************************/
5
6 #include "OSWorkflow.hpp"
7
8 #include "Util.hpp"
9
10 namespace openstudio {
11
12 12 void OSWorkflow::runCleanup() {
13 12 state = State::Cleanup;
14
15
5/5
✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
✓ Branch 7 taken 12 times.
✓ Branch 10 taken 12 times.
✓ Branch 13 taken 12 times.
12 LOG(Info, "Beginning cleanup of the run directory");
16
2/2
✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
12 openstudio::workflow::util::cleanup(workflowJSON.absoluteRunDir());
17
5/5
✓ Branch 1 taken 12 times.
✓ Branch 4 taken 12 times.
✓ Branch 7 taken 12 times.
✓ Branch 10 taken 12 times.
✓ Branch 13 taken 12 times.
12 LOG(Info, "Finished cleanup of the run directory");
18 12 }
19
20 } // namespace openstudio
21