script/berlin-pm

filter: Statementstmt 88.8% 8 / 9 Branchbran n/a Conditioncond 100% 2 / 2 MC/DCmcdc 100% 1 / 1 Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 92.8% 13 / 14 CC 1 SCAR 0.0
CC
1
Cov
91%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Acme/PM/Berlin/Meetings.pm ↑ Summary
1 #!/usr/local/bin/perl
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use Acme::PM::Berlin::Meetings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶my $count = shift || 1;
Condition100%2/2
shift @ARGV || 1
l!l
11
MC/DC100%1/1
shift @ARGV || 1
shift @ARGV
Truth table100%2/2
A
A= shift @ARGV
Aresult
11
00
7 2 for (next_meeting($count)) {
8 0 print $_, "\n";
9 }
10  
« lib/Acme/PM/Berlin/Meetings.pm ↑ Summary