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

daisytuner / sdfglib / 15044057891

15 May 2025 11:42AM UTC coverage: 59.37% (+1.8%) from 57.525%
15044057891

push

github

web-flow
Merge pull request #14 from daisytuner/sanitizers

enables sanitizer on unit tests

63 of 67 new or added lines in 47 files covered. (94.03%)

570 existing lines in 62 files now uncovered.

7356 of 12390 relevant lines covered (59.37%)

505.93 hits per line

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

87.5
/src/data_flow/tasklet.cpp
1
#include "sdfg/data_flow/tasklet.h"
2

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

5
namespace sdfg {
6
namespace data_flow {
7

8
Tasklet::Tasklet(size_t element_id, const DebugInfo& debug_info, const graph::Vertex& vertex,
441✔
9
                 DataFlowGraph& parent, const TaskletCode code,
10
                 const std::pair<std::string, sdfg::types::Scalar>& output,
11
                 const std::vector<std::pair<std::string, sdfg::types::Scalar>>& inputs,
12
                 const symbolic::Condition& condition)
13
    : CodeNode(element_id, debug_info, vertex, parent, {output}, inputs),
441✔
14
      code_(code),
441✔
15
      condition_(condition) {};
882✔
16

17
const TaskletCode Tasklet::code() const { return this->code_; };
46✔
18

19
const symbolic::Condition& Tasklet::condition() const { return this->condition_; };
×
20

21
symbolic::Condition& Tasklet::condition() { return this->condition_; };
29✔
22

23
bool Tasklet::is_conditional() const { return !symbolic::is_true(this->condition_); };
2,164✔
24

25
std::unique_ptr<DataFlowNode> Tasklet::clone(const graph::Vertex& vertex,
74✔
26
                                             DataFlowGraph& parent) const {
27
    return std::unique_ptr<Tasklet>(new Tasklet(this->element_id_, this->debug_info_, vertex,
74✔
28
                                                parent, this->code_, this->outputs_.at(0),
74✔
29
                                                this->inputs_, this->condition_));
74✔
UNCOV
30
};
×
31

32
void Tasklet::replace(const symbolic::Expression& old_expression,
101✔
33
                      const symbolic::Expression& new_expression) {
34
    this->condition_ = symbolic::subs(this->condition_, old_expression, new_expression);
101✔
35
};
101✔
36

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