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

daisytuner / sdfglib / 16371692169

18 Jul 2025 01:24PM UTC coverage: 65.106% (+0.1%) from 65.002%
16371692169

Pull #152

github

web-flow
Merge 55d25a916 into f93fe77be
Pull Request #152: adds validate method to all elements

87 of 97 new or added lines in 24 files covered. (89.69%)

10 existing lines in 7 files now uncovered.

8790 of 13501 relevant lines covered (65.11%)

176.82 hits per line

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

55.56
/src/passes/pass.cpp
1
#include "sdfg/passes/pass.h"
2

3
namespace sdfg {
4
namespace passes {
5

6
bool Pass::run(builder::SDFGBuilder& builder) {
×
7
    bool applied = this->run_pass(builder);
×
8

9
#ifndef NDEBUG
NEW
10
    builder.subject().validate();
×
11
#endif
12

UNCOV
13
    return applied;
×
14
};
15

16
bool Pass::run(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager) {
61✔
17
    bool applied = this->run_pass(builder, analysis_manager);
61✔
18
    this->invalidates(analysis_manager, applied);
61✔
19

20
#ifndef NDEBUG
21
    builder.subject().validate();
61✔
22
#endif
23

24
    return applied;
61✔
25
};
26

27
bool Pass::run_pass(builder::SDFGBuilder& builder) { throw std::logic_error("Not implemented"); };
×
28

29
bool Pass::run_pass(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager) {
×
30
    throw std::logic_error("Not implemented");
×
31
};
×
32

33
void Pass::invalidates(analysis::AnalysisManager& analysis_manager, bool applied) {
61✔
34
    if (applied) {
61✔
35
        analysis_manager.invalidate_all();
42✔
36
    }
42✔
37
};
61✔
38

39
} // namespace passes
40
} // 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