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

TokTok / toxcore / 544 / 2
74%
master: 74%

Build:
DEFAULT BRANCH: master
Ran 07 Sep 2016 10:22AM UTC
Files 85
Run time 4s
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

06 Sep 2016 10:54AM UTC coverage: 72.503% (+0.3%) from 72.214%
BUILD=toxcore ENV=linux

push

travis-ci

iphydf
Improve static and const correctness.

- Any non-externally-visible declarations should be `static`.
- Casting away the `const` qualifier from pointers-to-const is
  dangerous. All but one instance of this are now correct. The one
  instance where we can't keep `const` is one where toxav code actually
  writes to a chunk of memory marked as `const`. This code also assumes
  4 byte alignment of data packets. I don't know whether that is a valid
  assumption, but it's likely unportable, and *not* obviously correct.
- Replaced empty parameter lists with `(void)` to avoid passing
  parameters to it. Empty parameter lists are old style declarations for
  unknown number and type of arguments.
- Commented out (as `#if DHT_HARDENING` block) the hardening code that
  was never executed.
- Minor style fix: don't use `default` in enum-switches unless the number
  of enumerators in the default case is very large. In this case, it was
  2, so we want to list them both explicitly to be warned about missing
  one if we add one in the future.
- Removed the only two function declarations from nTox.h and put them
  into nTox.c. They are not used outside and nTox is not a library.

8485 of 11703 relevant lines covered (72.5%)

718833.44 hits per line

Source Files on job 544.2 (BUILD=toxcore ENV=linux)
  • Tree
  • List 0
  • Changed 29
  • Source Changed 10
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 544
  • Travis Job 544.2
  • ad265605 on github
  • Prev Job for BUILD=toxcore ENV=linux on master (#540.2)
  • Next Job for BUILD=toxcore ENV=linux on master (#558.2)
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