blib/lib/DBIO/Test/SyntaxErrorComponent1.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DBIO/Test/Schema/Year2000CDs.pm ↑ Summary blib/lib/DBIO/Test/SyntaxErrorComponent2.pm »
1 # belongs to t/run/90ensure_class_loaded.tl
2 package DBIO::Test::SyntaxErrorComponent1;
3 # ABSTRACT: Test component with intentional syntax error
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 our $VERSION = '0.900007';
7  
8 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 my $str ''; # syntax error
11  
12 1;
13  
14 __END__
« blib/lib/DBIO/Test/Schema/Year2000CDs.pm ↑ Summary blib/lib/DBIO/Test/SyntaxErrorComponent2.pm »