blib/lib/CPAN/Exception/yaml_not_installed.pm

filter: Statementstmt 73.3% 11 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 63.6% 14 / 22 CC 1 SCAR 3.4
CC
1
Cov
73%
new
2.0
as_string
2.0
BEGIN
1.0
CRAP 1.4
« blib/lib/CPAN/Distrostatus.pm ↑ Summary blib/lib/CPAN/URL.pm »
1 # -*- Mode: cperl; coding: utf-8; cperl-indent-level: 4 -*-
2 # vim: ts=4 sts=4 sw=4:
3 package CPAN::Exception::yaml_not_installed;
4 24 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 24 ▶use overload '""' => "as_string";
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 24 use vars qw(
8 $VERSION
9 24 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
10 24 $VERSION = "5.5";
11  
12  
13 sub new {
14 0 ▶ my($class,$module,$file,$during) = @_;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
15 0 bless { module => $module, file => $file, during => $during }, $class;
16 }
17  
18 sub as_string {
19 0 ▶ my($self) = shift;
Subroutine as_string: not called CC=1 SCAR=6.9
Pod undocumented
20 0 "'$self->{module}' not installed, cannot $self->{during} '$self->{file}'\n";
21 }
22  
23 24 1;
« blib/lib/CPAN/Distrostatus.pm ↑ Summary blib/lib/CPAN/URL.pm »