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

daisytuner / sdfglib / 15262928007

26 May 2025 10:36PM UTC coverage: 58.284% (-2.0%) from 60.304%
15262928007

push

github

web-flow
Merge pull request #36 from daisytuner/sdfg-validation

Introduces new definition of memlets plus sanity checks

104 of 266 new or added lines in 6 files covered. (39.1%)

241 existing lines in 15 files now uncovered.

7908 of 13568 relevant lines covered (58.28%)

96.1 hits per line

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

78.57
/src/data_flow/library_node.cpp
1
#include "sdfg/data_flow/library_node.h"
2

3
#include "sdfg/symbolic/symbolic.h"
4

5
namespace sdfg {
6
namespace data_flow {
7

8
LibraryNode::LibraryNode(size_t element_id, const DebugInfo& debug_info, const graph::Vertex vertex,
12✔
9
                         DataFlowGraph& parent,
10
                         const std::vector<std::pair<std::string, sdfg::types::Scalar>>& outputs,
11
                         const std::vector<std::pair<std::string, sdfg::types::Scalar>>& inputs,
12
                         const LibraryNodeType& call, const bool side_effect)
13
    : CodeNode(element_id, debug_info, vertex, parent, outputs, inputs),
12✔
14
      call_(call),
12✔
15
      side_effect_(side_effect) {
24✔
16

17
      };
12✔
18

19
const LibraryNodeType& LibraryNode::call() const { return this->call_; };
6✔
20

21
bool LibraryNode::has_side_effect() const { return this->side_effect_; };
2✔
22

23
std::unique_ptr<DataFlowNode> LibraryNode::clone(const graph::Vertex vertex,
1✔
24
                                                 DataFlowGraph& parent) const {
25
    return std::unique_ptr<LibraryNode>(
1✔
26
        new LibraryNode(this->element_id_, this->debug_info_, vertex, parent, this->outputs_,
2✔
27
                        this->inputs_, this->call_, this->side_effect_));
1✔
28
};
×
29

UNCOV
30
void LibraryNode::replace(const symbolic::Expression& old_expression,
×
UNCOV
31
                          const symbolic::Expression& new_expression) {};
×
32

33
}  // namespace data_flow
34
}  // 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