lib/FFI/Build/File/CXX.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 9 / 9 Podpod 66.6% 2 / 3 totaltotal 97.2% 35 / 36 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« corpus/ffi_build_plugin/lib2/FFI/Build/Plugin/Foo2.pm ↑ Summary _mm/config.pl »
1 package FFI::Build::File::CXX;
2  
3 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 8 ▶use 5.008004;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 8 ▶use parent qw( FFI::Build::File::C );
Subroutine BEGIN: called CC=1 SCAR=0.0
7 8 ▶use constant default_suffix => '.cxx';
Subroutine BEGIN: called CC=1 SCAR=0.0
8 8 ▶use constant default_encoding => ':utf8';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 # ABSTRACT: Class to track C source file in FFI::Build
11 8 our $VERSION = '2.12'; # VERSION
12  
13  
14 sub accept_suffix
15 2 ▶{
Subroutine accept_suffix: called CC=1 SCAR=0.0
Pod documented
16 2 (qr/\.c(xx|pp)$/)
17 }
18  
19 sub cc
20 3 ▶{
Subroutine cc: called CC=1 SCAR=0.0
Pod undocumented
21 3 my($self) = @_;
22 3 $self->platform->cxx;
23 }
24  
25 sub ld
26 4 ▶{
Subroutine ld: called CC=1 SCAR=0.0
Pod documented
27 4 my($self) = @_;
28 4 $self->platform->cxxld;
29 }
30  
31 8 1;
32  
33 __END__
« corpus/ffi_build_plugin/lib2/FFI/Build/Plugin/Foo2.pm ↑ Summary _mm/config.pl »