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

daisytuner / sdfglib / 17651658650

11 Sep 2025 04:58PM UTC coverage: 61.012% (+1.3%) from 59.755%
17651658650

Pull #219

github

web-flow
Merge 742a12367 into f744ac9f5
Pull Request #219: stdlib Library Nodes and ConstantNodes

499 of 1681 new or added lines in 81 files covered. (29.68%)

95 existing lines in 36 files now uncovered.

9718 of 15928 relevant lines covered (61.01%)

108.0 hits per line

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

54.55
/src/structured_control_flow/return.cpp
1
#include "sdfg/structured_control_flow/return.h"
2

3
namespace sdfg {
4
namespace structured_control_flow {
5

6
Return::Return(size_t element_id, const DebugInfoRegion& debug_info, const std::string& data, bool unreachable)
16✔
7
    : ControlFlowNode(element_id, debug_info), data_(data), unreachable_(unreachable) {}
16✔
8

9
bool Return::has_data() const { return !data_.empty(); }
2✔
10

11
const std::string& Return::data() const { return data_; }
8✔
12

13
bool Return::unreachable() const { return unreachable_; }
5✔
14

15
void Return::validate(const Function& function) const {};
12✔
16

17
void Return::replace(const symbolic::Expression& old_expression, const symbolic::Expression& new_expression) {
×
NEW
18
    if (has_data() && data_ == old_expression->__str__()) {
×
NEW
19
        data_ = new_expression->__str__();
×
NEW
20
    }
×
UNCOV
21
};
×
22

23
} // namespace structured_control_flow
24
} // 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