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

blues / note-arduino / 13460018435

21 Feb 2025 03:32PM CUT coverage: 94.831%. Remained the same
13460018435

Pull #133

github

web-flow
Merge 241963008 into be22b4c5e
Pull Request #133: chore: Add c_cpp_properties.json

104 of 127 branches covered (81.89%)

Branch coverage included in aggregate %.

318 of 318 relevant lines covered (100.0%)

16.12 hits per line

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

91.3
/src/NoteLog_Arduino.cpp
1
#include "NoteLog_Arduino.hpp"
2

3
NoteLog *
4
make_note_log (
7✔
5
    NoteLog::param_t log_parameters_
6
)
7
{
8
    static NoteLog * note_log = nullptr;
9
    if (!log_parameters_) {
7✔
10
        if (note_log) {
3!
11
            delete note_log;
3!
12
            note_log = nullptr;
3✔
13
        }
14
    } else if (!note_log) {
4✔
15
        note_log = new NoteLog_Arduino(reinterpret_cast<Stream *>(log_parameters_));
3✔
16
    }
17
    return note_log;
7✔
18
}
19

20
NoteLog_Arduino::NoteLog_Arduino
5✔
21
(
22
    Stream * log_stream_
23
) :
5✔
24
    _notecardLog(log_stream_)
5✔
25
{ }
5✔
26

27
size_t
28
NoteLog_Arduino::print (
2✔
29
    const char * str_
30
)
31
{
32
    size_t result;
33

34
    result = _notecardLog->print(str_);
2✔
35

36
    return result;
2✔
37
}
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

© 2025 Coveralls, Inc