script/snartemo.pl untested

filter: Statementstmt 0.0% 0 / 19 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/local/bin/perl
2 use warnings;
3 use strict;
4 use Weaving::Tablet::Tk;
5  
6 use Getopt::Euclid;
7  
8 my $pattern;
9 my %args;
10 $args{is_twill} = exists $ARGV{-t};
11  
12 if (exists $ARGV{-i})
13 {
14 $pattern = Weaving::Tablet::Tk->new_pattern(file => $ARGV{-i}, %args);
15 }
16 else
17 {
18 $pattern = Weaving::Tablet::Tk->new_pattern(cards => $ARGV{-c}, rows => $ARGV{-r}, %args);
19 }
20 Tk::MainLoop();
21  
22 __END__