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

01org / ciao / 94
57%
master: 66%

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 06 Jun 2016 03:56PM UTC
Jobs 2
Files 52
Run time 6min
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

pending completion
94

push

travis-ci

tpepper
ssntp: make Role a more opaque type

The Role is a typedef'd bitmask of an enumeration of constant values.
But much of the code directly accessed the underlying integer, with a
variety of casting involved.  By removing all the integer typing and
adding some accessor/test functions, the casts go away and and some code
reads more succintly.  We get a more strongly typed object for "Role" that
can transparently change its underlying implementation in the future if
needed.

Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>

7383 of 12880 relevant lines covered (57.32%)

1.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 94.1 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 06 Jun 2016 04:03PM UTC 0
57.31
Travis Job 94.1
2 94.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 06 Jun 2016 03:56PM UTC 0
57.3
Travis Job 94.2
Source Files on build 94
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #94
  • 0ee5d2ee on github
  • Prev Build on ssntp_role (#92)
  • Next Build on ssntp_role (#96)
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