eg/001-single-file-hello/001.hopen.pl

filter: Statementstmt 50.0% 18 / 36 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 57.1% 24 / 42 CC 1 SCAR 0.0
CC
1
Cov
50%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/App/hopen/H.pm ↑ Summary blib/lib/App/hopen/BuildSystemGlobals.pm »
1 # 001-single-file-hello/001.hopen.pl
2  
3 1 ▶use language 'C'; # uses <toolset>::C, and makes `C` an alias for it.
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
4 # The "language" package is synthesized by App::hopen::HopenFileKit.
5  
6 0 on check => {}; # Nothing to do during the Check phase
7  
8 0 $Build
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;
« blib/lib/App/hopen/H.pm ↑ Summary blib/lib/App/hopen/BuildSystemGlobals.pm »