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   404938 use strict;
  1         5  
  1         36  
3 1     1   11 use Acme::MetaSyntactic::List;
  1         4  
  1         56  
4             our @ISA = qw( Acme::MetaSyntactic::List );
5             our $VERSION = '1.000';
6              
7             # get the list from the current perl
8 1     1   492 use Opcode qw( opset_to_ops full_opset );
  1         5248  
  1         146  
9             __PACKAGE__->init(
10             { names => join( " ", map { uc "OP_$_" } opset_to_ops(full_opset) ) } );
11              
12             1;
13              
14             __END__