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

visionmedia / debug / 247
89%

Build:
DEFAULT BRANCH: master
Ran 23 Jan 2018 07:27PM UTC
Jobs 3
Files 3
Run time 44min
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
247

Pull #543

travis-ci

web-flow
introduce `debug.id` helper method

When debugging the applications that work with pools of streams
or sockets, the debug stream often comes out interleaved making it
impossible to distinguish between streams. It is a common knowledge
that unique `id`s could be assigned to each stream and be used in
logging to solve this. However, this solution is rather ad-hoc and
usually applied only during manual debugging.

This commit introduces standard function `debug.id()` that
increments the internal counter only when debugging is enabled, and
otherwise returns `undefined`.
Pull Request #543: introduce `debug.id` helper method

30 of 60 branches covered (50.0%)

5 of 5 new or added lines in 1 file covered. (100.0%)

129 of 169 relevant lines covered (76.33%)

10.65 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
src/node.js
Jobs
ID Job ID Ran Files Coverage
1 247.1 23 Jan 2018 07:28PM UTC 0
76.33
Travis Job 247.1
2 247.2 23 Jan 2018 07:27PM UTC 0
76.33
Travis Job 247.2
3 247.3 23 Jan 2018 07:27PM UTC 0
76.33
Travis Job 247.3
Source Files on build 247
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #247
  • Pull Request #543
  • PR Base - master (#244)
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