File Coverage

blib/lib/Ukigumo/Client/Notify/Debug.pm
Criterion Covered Total %
statement 15 18 83.3
branch n/a
condition n/a
subroutine 5 6 83.3
pod 0 1 0.0
total 20 25 80.0


line stmt bran cond sub pod time code
1 1     1   1483 use strict;
  1         2  
  1         26  
2 1     1   4 use warnings;
  1         1  
  1         20  
3 1     1   4 use utf8;
  1         1  
  1         4  
4              
5             package Ukigumo::Client::Notify::Debug;
6 1     1   43 use Mouse;
  1         2  
  1         4  
7 1     1   261 use Ukigumo::Helper qw(status_str);
  1         1  
  1         144  
8              
9             sub send {
10 0     0 0   my ($self, $c, $status, $last_status, $report_url) = @_;
11 0           $c->logger->infof("STATUS IS '@{[ status_str $status ]}' '$report_url'");
  0            
12             }
13              
14             1;
15