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

blues / note-c / 7617388538
93%

Build:
DEFAULT BRANCH: master
Ran 22 Jan 2024 09:13PM UTC
Jobs 1
Files 9
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jan 2024 09:10PM UTC coverage: 90.632%. Remained the same
7617388538

push

github

web-flow
Fix timeout data type bugs. (#131)

This commit resolves a couple problems.

First, it changes the return type of NoteGetMs. NoteGetMs is simply a wrapper
around the user-supplied millisecond timer hook. The prototype for this hook
specifies that it should return a uint32_t yet NoteGetMs's return type is long
unsigned int. This commit changes the return type of NoteGetMs to uint32_t.

Second, there are many places in the code where we are comparing and assigning
millisecond timer values (i.e. gotten via NoteGetMs) to size_t variables. This
is a bug. On some platforms (e.g. the Arduino Uno), size_t is 16 bits, so
assigning one of these 32-bit millisecond timer values to a 16-bit variable can
lead to undefined behavior when the timer value is larger than what can fit into
16 bits. This commit fixes all these bugs by using uint32_t instead of size_t.

988 of 1201 branches covered (0.0%)

Branch coverage included in aggregate %.

2108 of 2215 relevant lines covered (95.17%)

80.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7617388538.1 22 Jan 2024 09:13PM UTC 0
90.63
GitHub Action Run
Source Files on build 7617388538
Detailed source file information is not available for this build.
  • Back to Repo
  • 97000002 on github
  • Prev Build on master (#7454454294)
  • Next Build on master (#7617859606)
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