• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daisytuner / sdfglib / 20764569418

06 Jan 2026 10:50PM UTC coverage: 62.168% (+21.4%) from 40.764%
20764569418

push

github

web-flow
Merge pull request #433 from daisytuner/clang-coverage

updates clang coverage flags

14988 of 24109 relevant lines covered (62.17%)

88.57 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/src/transformations/recorder.cpp
1
#include <sdfg/transformations/loop_distribute.h>
2
#include <sdfg/transformations/loop_interchange.h>
3
#include <sdfg/transformations/loop_tiling.h>
4
#include <sdfg/transformations/out_local_storage.h>
5
#include <sdfg/transformations/recorder.h>
6

7
namespace sdfg {
8
namespace transformations {
9

10
Recorder::Recorder() : history_(nlohmann::json::array()) {}
5✔
11

12

13
void Recorder::save(std::filesystem::path path) const {
2✔
14
    std::ofstream file(path);
2✔
15
    if (!file.is_open()) {
2✔
16
        throw std::runtime_error("Failed to open file for saving transformations: " + path.string());
×
17
    }
×
18
    file << history_.dump(4); // Pretty print with an indent of 4 spaces
2✔
19
    file.close();
2✔
20
}
2✔
21

22
} // namespace transformations
23
} // namespace sdfg
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc