| 1 | #!/usr/local/bin/perl | ||||||||||||
| 2 | package Pod::AxPoint::Script; | ||||||||||||
| 3 | |||||||||||||
| 4 | 2 | $Pod::AxPoint::Script::VERSION = 0.04; | |||||||||||
| 5 | |||||||||||||
| 6 | 2 | ▶ | use Pod::AxPoint; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | |||||||||||||
| 8 | 2 | ▶ | my $file = shift || die "Usage $0 <file.pod>\n"; | ||||||||||
|
Condition100%2/2
shift @ARGV || die("Usage $0 <file.pod>\n")
MC/DC100%1/1
shift @ARGV || die("Usage $0 <file.pod>\n")
shift @ARGV
Truth table100%2/2
A
A= shift @ARGV
| |||||||||||||
| 9 | |||||||||||||
| 10 | |||||||||||||
| 11 | 1 | ▶ | open POD, "<$file" or die "Could not load $file: $!\n"; | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 12 | 1 | my $pod = join "", <POD>; | |||||||||||
| 13 | 1 | close POD; | |||||||||||
| 14 | |||||||||||||
| 15 | 1 | my $ax = new Pod::AxPoint; | |||||||||||
| 16 | 1 | print $ax->process($pod); | |||||||||||
| 17 | |||||||||||||
| 18 | __END__ | ||||||||||||