MinCaml/Util.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 93.3% 14 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
create_temp_ident_name
1.0
CRAP 1.0
« MinCaml/Type.pm ↑ Summary
1 package Language::MinCaml::Util;
2 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 5 ▶use base qw(Exporter);
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 5 our @EXPORT = qw(create_temp_ident_name);
6  
7 5 my $ident_count = 0;
8  
9 3 ▶sub create_temp_ident_name {
Subroutine create_temp_ident_name: called CC=1 SCAR=0.0
Pod undocumented
10 3 my $type = shift;
11 3 return "$type->{kind}" . $ident_count++;
12 }
13  
14 5 1;
« MinCaml/Type.pm ↑ Summary