File Coverage

eg/001-single-file-hello/001.hopen.pl
Criterion Covered Total %
statement 18 36 50.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 42 57.1


line stmt bran cond sub pod time code
1             # 001-single-file-hello/001.hopen.pl
2              
3 1     1   8 use language 'C'; # uses <toolset>::C, and makes `C` an alias for it.
  1     1   3  
  1     1   5  
  1     1   10  
  1     1   2  
  1     1   13  
  1         7  
  1         2  
  1         10  
  1         6  
  1         3  
  1         6  
  1         14  
  1         6  
  1         7  
  1         7  
  1         2  
  1         6  
4             # The "language" package is synthesized by App::hopen::HopenFileKit.
5              
6 0         0 on check => {}; # Nothing to do during the Check phase
  0         0  
  0         0  
  0         0  
  0         0  
  0         0  
7              
8 0         0 $Build
  0         0  
  0         0  
  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;