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

daisytuner / sdfglib / 16069945621

04 Jul 2025 08:56AM UTC coverage: 64.375% (-0.2%) from 64.606%
16069945621

push

github

web-flow
Merge pull request #137 from daisytuner/clang-format

runs clang-format on codebase

609 of 827 new or added lines in 63 files covered. (73.64%)

46 existing lines in 30 files now uncovered.

8578 of 13325 relevant lines covered (64.38%)

177.24 hits per line

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

82.35
/src/data_flow/access_node.cpp
1
#include "sdfg/data_flow/access_node.h"
2

3
namespace sdfg {
4
namespace data_flow {
5

6
AccessNode::AccessNode(
605✔
7
    size_t element_id,
8
    const DebugInfo& debug_info,
9
    const graph::Vertex vertex,
10
    DataFlowGraph& parent,
11
    const std::string& data
12
)
13
    : DataFlowNode(element_id, debug_info, vertex, parent), data_(data) {
605✔
14

15
      };
605✔
16

17
const std::string& AccessNode::data() const { return this->data_; };
878✔
18

19
std::string& AccessNode::data() { return this->data_; };
1,598✔
20

NEW
21
std::unique_ptr<DataFlowNode> AccessNode::clone(size_t element_id, const graph::Vertex vertex, DataFlowGraph& parent)
×
22
    const {
NEW
23
    return std::unique_ptr<AccessNode>(new AccessNode(element_id, this->debug_info_, vertex, parent, this->data_));
×
UNCOV
24
};
×
25

26
void AccessNode::replace(const symbolic::Expression& old_expression, const symbolic::Expression& new_expression) {
7✔
27
    if (SymEngine::is_a<SymEngine::Symbol>(*old_expression) && SymEngine::is_a<SymEngine::Symbol>(*new_expression)) {
7✔
28
        auto old_symbol = SymEngine::rcp_static_cast<const SymEngine::Symbol>(old_expression);
7✔
29
        if (this->data_ == old_symbol->get_name()) {
7✔
30
            auto new_symbol = SymEngine::rcp_static_cast<const SymEngine::Symbol>(new_expression);
5✔
31
            this->data_ = new_symbol->get_name();
5✔
32
        }
5✔
33
    }
7✔
34
};
7✔
35

36
} // namespace data_flow
37
} // 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

© 2025 Coveralls, Inc