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

daisytuner / sdfglib / 15656007340

14 Jun 2025 08:51PM UTC coverage: 13.234% (-49.9%) from 63.144%
15656007340

Pull #76

github

web-flow
Merge 9586c8161 into 413c53212
Pull Request #76: New Loop Dependency Analysis

361 of 465 new or added lines in 7 files covered. (77.63%)

6215 existing lines in 110 files now uncovered.

1612 of 12181 relevant lines covered (13.23%)

13.64 hits per line

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

47.06
/src/types/pointer.cpp
1
#include "sdfg/types/pointer.h"
2

3
namespace sdfg {
4
namespace types {
5

6
Pointer::Pointer(const IType& pointee_type) : pointee_type_(pointee_type.clone()) {};
24✔
7

8
Pointer::Pointer(StorageType storage_type, size_t alignment, const std::string& initializer,
35✔
9
                 const IType& pointee_type)
10
    : IType(storage_type, alignment, initializer), pointee_type_(pointee_type.clone()) {};
35✔
11

12
std::unique_ptr<IType> Pointer::clone() const {
35✔
13
    return std::make_unique<Pointer>(this->storage_type(), this->alignment(), this->initializer(),
70✔
14
                                     *this->pointee_type_);
35✔
15
};
×
16

UNCOV
17
PrimitiveType Pointer::primitive_type() const { return this->pointee_type_->primitive_type(); };
×
18

19
bool Pointer::is_symbol() const { return true; };
24✔
20

21
const IType& Pointer::pointee_type() const { return *this->pointee_type_; };
45✔
22

UNCOV
23
bool Pointer::operator==(const IType& other) const {
×
UNCOV
24
    if (auto pointer_type = dynamic_cast<const Pointer*>(&other)) {
×
UNCOV
25
        return *(this->pointee_type_) == *pointer_type->pointee_type_ &&
×
UNCOV
26
               this->alignment_ == pointer_type->alignment_;
×
27
    } else {
28
        return false;
×
29
    }
UNCOV
30
};
×
31

32
std::string Pointer::print() const { return "Pointer(" + this->pointee_type_->print() + ")"; };
×
33

34
}  // namespace types
35
}  // 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