xs/Logger.xsi | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 5 | 100.0 |
branch | 7 | 14 | 50.0 |
condition | n/a | ||
subroutine | n/a | ||
pod | n/a | ||
total | 12 | 19 | 63.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | MODULE = XLog PACKAGE = XLog::Logger | ||||||
2 | PROTOTYPES: DISABLE | ||||||
3 | |||||||
4 | BOOT { | ||||||
5 | 8 | 50 | Stash(__PACKAGE__).inherit("XLog::ILogger"); | ||||
50 | |||||||
6 | } | ||||||
7 | |||||||
8 | PerlObjectLogger* PerlObjectLogger::new () { | ||||||
9 | 50 | PROTO = Stash::from_name(CLASS).bless(Hash::create()); | |||||
10 | 25 | 50 | RETVAL = new PerlObjectLogger(); | ||||
11 | 25 | 50 | } | ||||
50 | |||||||
50 |