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

palcarazm / component-lifecycle / 24360478065 / 1
100%
develop: 100%

Build:
DEFAULT BRANCH: develop
Ran 13 Apr 2026 06:41PM UTC
Files 8
Run time 7s
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

13 Apr 2026 06:39PM UTC coverage: 100.0%. Remained the same
24360478065.1

push

github

palcarazm
feat: add Monitor class for document-level component event monitoring

Introduces a Monitor class that listens to component lifecycle and transition
events at the document level, with configurable log levels (DEBUG, INFO, WARN,
ERROR). The implementation includes:

- Hierarchical log levels where DEBUG includes all events, WARN/INFO include
  transition events only, and ERROR has zero listeners (no overhead).
- Protected setupXxx() hooks and on() method for easy extensibility, allowing
  subclasses to add custom event handlers while preserving automatic listener
  cleanup on level changes or monitor stop.
- Proper state machine requiring explicit start() before setLevel(), with
  stop() for complete listener removal.
- Full test coverage including custom monitor extension verification.

Implements #13

44 of 44 branches covered (100.0%)

Branch coverage included in aggregate %.

204 of 204 relevant lines covered (100.0%)

28.54 hits per line

Source Files on job coverage-report-24.x - 24360478065.1
  • Tree
  • List 8
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 24360478065
  • 1abf180e on github
  • Prev Job for on develop (#24340040631.2)
  • Next Job for on develop (#24360611704.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