blib/lib/Bot/Cobalt/Logger/Output/Term.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 7 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 10 | 11 | 90.9 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Bot::Cobalt::Logger::Output::Term; | ||||||
2 | $Bot::Cobalt::Logger::Output::Term::VERSION = '0.021003'; | ||||||
3 | 2 | 2 | 908 | use strictures 2; | |||
2 | 1110 | ||||||
2 | 65 | ||||||
4 | |||||||
5 | 2 | 2 | 0 | 568 | sub new { bless [], shift } | ||
6 | |||||||
7 | sub _write { | ||||||
8 | 2 | 2 | 994 | local $|=1; | |||
9 | 2 | 6 | binmode STDOUT, ":utf8"; | ||||
10 | 2 | 12 | print STDOUT $_[1] | ||||
11 | } | ||||||
12 | |||||||
13 | 1; | ||||||
14 | __END__ |