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

daisytuner / sdfglib / 15725654018

18 Jun 2025 06:34AM UTC coverage: 61.594% (-3.1%) from 64.66%
15725654018

push

github

web-flow
Changes in order for the Einsum plugin to work correctly (#70)

* Copy include dir to build and install dir

* Also copy include dir of symengine

* Remove warning that inputs to library must be scalars

* Extended add_library_node to be variadic

* Added toStr() to LibraryNode for visualizer

* Added zero element to language extensions

0 of 73 new or added lines in 6 files covered. (0.0%)

303 existing lines in 20 files now uncovered.

7589 of 12321 relevant lines covered (61.59%)

135.45 hits per line

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

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

3
#include <string>
4

5
namespace sdfg {
6
namespace data_flow {
7

8
LibraryNode::LibraryNode(size_t element_id, const DebugInfo& debug_info, const graph::Vertex vertex,
7✔
9
                         DataFlowGraph& parent, const LibraryNodeCode& code,
10
                         const std::vector<std::string>& outputs,
11
                         const std::vector<std::string>& inputs, const bool side_effect)
12
    : CodeNode(element_id, debug_info, vertex, parent),
7✔
13
      code_(code),
7✔
14
      outputs_(outputs),
7✔
15
      inputs_(inputs),
7✔
16
      side_effect_(side_effect) {
14✔
17

18
      };
7✔
19

20
const LibraryNodeCode& LibraryNode::code() const { return this->code_; };
7✔
21

22
const std::vector<std::string>& LibraryNode::inputs() const { return this->inputs_; };
3✔
23

24
const std::vector<std::string>& LibraryNode::outputs() const { return this->outputs_; };
3✔
25

26
const std::string& LibraryNode::input(size_t index) const { return this->inputs_[index]; };
×
27

28
const std::string& LibraryNode::output(size_t index) const { return this->outputs_[index]; };
×
29

30
bool LibraryNode::side_effect() const { return this->side_effect_; };
5✔
31

32
bool LibraryNode::needs_connector(size_t index) const {
×
33
    // Is non-constant, if starts with _in prefix
34
    if (this->inputs_[index].compare(0, 3, "_in") == 0) {
×
35
        return true;
×
36
    }
37
    return false;
×
38
};
×
39

NEW
40
std::string LibraryNode::toStr() const { return std::string(this->code_.value()); }
×
41

42
}  // namespace data_flow
43
}  // 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