| 1 | package Pod::Perldoc::ToRtf; | ||||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 1 | ▶ | use parent qw( Pod::Simple::RTF ); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | |||||||||||||
| 6 | 1 | ▶ | use vars qw($VERSION); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | 1 | $VERSION = '3.28'; | |||||||||||
| 8 | |||||||||||||
| 9 | 0 | ▶ | sub is_pageable { 0 } | ||||||||||
|
Subroutine
is_pageable: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 10 | 0 | ▶ | sub write_with_binmode { 0 } | ||||||||||
|
Subroutine
write_with_binmode: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 11 | 0 | ▶ | sub output_extension { 'rtf' } | ||||||||||
|
Subroutine
output_extension: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 12 | |||||||||||||
| 13 | 0 | ▶ | sub page_for_perldoc { | ||||||||||
|
Subroutine
page_for_perldoc: not called CC=4 SCAR=30.0
Pod
undocumented
| |||||||||||||
| 14 | 0 | my($self, $tempfile, $perldoc) = @_; | |||||||||||
| 15 | 0 | ▶ | return unless $perldoc->IS_MSWin32; | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 16 | |||||||||||||
| 17 | 0 | ▶ | my $rtf_pager = $ENV{'RTFREADER'} || 'write.exe'; | ||||||||||
|
Condition0%0/2
$ENV{'RTFREADER'} || 'write.exe'
MC/DC0%0/1
$ENV{'RTFREADER'} || 'write.exe'
$ENV{'RTFREADER'}
Truth table0%0/2
A
A= $ENV{'RTFREADER'}
| |||||||||||||
| 18 | |||||||||||||
| 19 | 0 | $perldoc->aside( "About to launch <\"$rtf_pager\" \"$tempfile\">\n" ); | |||||||||||
| 20 | |||||||||||||
| 21 | 0 | ▶ | return 1 if system( qq{"$rtf_pager"}, qq{"$tempfile"} ) == 0; | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 22 | 0 | return 0; | |||||||||||
| 23 | } | ||||||||||||
| 24 | |||||||||||||
| 25 | 1 | 1; | |||||||||||
| 26 | __END__ | ||||||||||||