File Coverage

eg/001-single-file-hello/001.hopen.pl
Criterion Covered Total %
statement 12 68 17.6
branch 0 40 0.0
condition 4 46 8.7
subroutine 4 4 100.0
pod n/a
total 20 158 12.6


line stmt bran cond sub pod time code
1             # 001-single-file-hello/001.hopen.pl
2              
3 1     1   10 use language 'C'; # uses <toolset>::C, and makes `C` an alias for it.
  1     1   2  
  1     1   7  
  1     1   8  
  1         2  
  1         7  
  1         9  
  1         2  
  1         19  
  1         8  
  1         2  
  1         8  
4             # The "language" package is synthesized by Data::Hopen::HopenFileKit.
5              
6 0         0 on check => {}; # Nothing to do during the Check phase
  0         0  
  0         0  
  0         0  
7              
8 0         0 $Build
  0         0  
  0         0  
  0         0  
9             ->H::files('hello.c', -name=>'FilesHello') # H is automatically loaded
10             ->C::compile(-name=>'CompileHello')
11             ->C::link('hello', -name=>'LinkHello')
12             ->default_goal;