File Coverage

blib/lib/Acme/MetaSyntactic/opcodes.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Acme::MetaSyntactic::opcodes;
2 1     1   436262 use strict;
  1         5  
  1         50  
3 1     1   13 use Acme::MetaSyntactic::List;
  1         3  
  1         73  
4             our @ISA = qw( Acme::MetaSyntactic::List );
5             our $VERSION = '1.000';
6              
7             # get the list from the current perl
8 1     1   526 use Opcode qw( opset_to_ops full_opset );
  1         6461  
  1         156  
9             __PACKAGE__->init(
10             { names => join( " ", map { uc "OP_$_" } opset_to_ops(full_opset) ) } );
11              
12             1;
13              
14             __END__