t/sandbox/fail/ppport.h

filter: Statementstmt 42.1% 205 / 486 Branchbran 33.3% 106 / 318 Conditioncond 20.4% 19 / 93 MC/DCmcdc 10.9% 6 / 55 Subroutinesub 61.1% 11 / 18 Podpod n/a totaltotal 35.7% 347 / 970 CC 41 SCAR 32.1
CC
41
Cov
37%
parse_version
56.0
hint
56.0
format_version
42.0
CRAP 24.9
↑ Summary blib/lib/Test/PPPort.pm »
1 #if 0
2 3 <<'SKIP';
3 #endif
4 /*
5 ----------------------------------------------------------------------
6  
7 ppport.h -- Perl/Pollution/Portability Version 3.17
8  
9 Automatically created by Devel::PPPort running under perl 5.008008.
10  
11 Do NOT edit this file directly! -- Edit PPPort_pm.PL and the
12 includes in parts/inc/ instead.
13  
14 Use 'perldoc ppport.h' to view the documentation below.
15  
16 ----------------------------------------------------------------------
17  
18 SKIP
19  
20 =pod
21  
22 =head1 NAME
23  
24 ppport.h - Perl/Pollution/Portability version 3.17
25  
26 =head1 SYNOPSIS
27  
28 perl ppport.h [options] [source files]
29  
30 Searches current directory for files if no [source files] are given
31  
32 --help show short help
33  
34 --version show version
35  
36 --patch=file write one patch file with changes
37 --copy=suffix write changed copies with suffix
38 --diff=program use diff program and options
39  
40 --compat-version=version provide compatibility with Perl version
41 --cplusplus accept C++ comments
42  
43 --quiet don't output anything except fatal errors
44 --nodiag don't show diagnostics
45 --nohints don't show hints
46 --nochanges don't suggest changes
47 --nofilter don't filter input files
48  
49 --strip strip all script and doc functionality from
50 ppport.h
51  
52 --list-provided list provided API
53 --list-unsupported list unsupported API
54 --api-info=name show Perl API portability information
55  
56 =head1 COMPATIBILITY
57  
58 This version of F<ppport.h> is designed to support operation with Perl
59 installations back to 5.003, and has been tested up to 5.10.0.
60  
61 =head1 OPTIONS
62  
63 =head2 --help
64  
65 Display a brief usage summary.
66  
67 =head2 --version
68  
69 Display the version of F<ppport.h>.
70  
71 =head2 --patch=I<file>
72  
73 If this option is given, a single patch file will be created if
74 any changes are suggested. This requires a working diff program
75 to be installed on your system.
76  
77 =head2 --copy=I<suffix>
78  
79 If this option is given, a copy of each file will be saved with
80 the given suffix that contains the suggested changes. This does
81 not require any external programs. Note that this does not
82 automagially add a dot between the original filename and the
83 suffix. If you want the dot, you have to include it in the option
84 argument.
85  
86 If neither C<--patch> or C<--copy> are given, the default is to
87 simply print the diffs for each file. This requires either
88 C<Text::Diff> or a C<diff> program to be installed.
89  
90 =head2 --diff=I<program>
91  
92 Manually set the diff program and options to use. The default
93 is to use C<Text::Diff>, when installed, and output unified
94 context diffs.
95  
96 =head2 --compat-version=I<version>
97  
98 Tell F<ppport.h> to check for compatibility with the given
99 Perl version. The default is to check for compatibility with Perl
100 version 5.003. You can use this option to reduce the output
101 of F<ppport.h> if you intend to be backward compatible only
102 down to a certain Perl version.
103  
104 =head2 --cplusplus
105  
106 Usually, F<ppport.h> will detect C++ style comments and
107 replace them with C style comments for portability reasons.
108 Using this option instructs F<ppport.h> to leave C++
109 comments untouched.
110  
111 =head2 --quiet
112  
113 Be quiet. Don't print anything except fatal errors.
114  
115 =head2 --nodiag
116  
117 Don't output any diagnostic messages. Only portability
118 alerts will be printed.
119  
120 =head2 --nohints
121  
122 Don't output any hints. Hints often contain useful portability
123 notes. Warnings will still be displayed.
124  
125 =head2 --nochanges
126  
127 Don't suggest any changes. Only give diagnostic output and hints
128 unless these are also deactivated.
129  
130 =head2 --nofilter
131  
132 Don't filter the list of input files. By default, files not looking
133 like source code (i.e. not *.xs, *.c, *.cc, *.cpp or *.h) are skipped.
134  
135 =head2 --strip
136  
137 Strip all script and documentation functionality from F<ppport.h>.
138 This reduces the size of F<ppport.h> dramatically and may be useful
139 if you want to include F<ppport.h> in smaller modules without
140 increasing their distribution size too much.
141  
142 The stripped F<ppport.h> will have a C<--unstrip> option that allows
143 you to undo the stripping, but only if an appropriate C<Devel::PPPort>
144 module is installed.
145  
146 =head2 --list-provided
147  
148 Lists the API elements for which compatibility is provided by
149 F<ppport.h>. Also lists if it must be explicitly requested,
150 if it has dependencies, and if there are hints or warnings for it.
151  
152 =head2 --list-unsupported
153  
154 Lists the API elements that are known not to be supported by
155 F<ppport.h> and below which version of Perl they probably
156 won't be available or work.
157  
158 =head2 --api-info=I<name>
159  
160 Show portability information for API elements matching I<name>.
161 If I<name> is surrounded by slashes, it is interpreted as a regular
162 expression.
163  
164 =head1 DESCRIPTION
165  
166 In order for a Perl extension (XS) module to be as portable as possible
167 across differing versions of Perl itself, certain steps need to be taken.
168  
169 =over 4
170  
171 =item *
172  
173 Including this header is the first major one. This alone will give you
174 access to a large part of the Perl API that hasn't been available in
175 earlier Perl releases. Use
176  
177 perl ppport.h --list-provided
178  
179 to see which API elements are provided by ppport.h.
180  
181 =item *
182  
183 You should avoid using deprecated parts of the API. For example, using
184 global Perl variables without the C<PL_> prefix is deprecated. Also,
185 some API functions used to have a C<perl_> prefix. Using this form is
186 also deprecated. You can safely use the supported API, as F<ppport.h>
187 will provide wrappers for older Perl versions.
188  
189 =item *
190  
191 If you use one of a few functions or variables that were not present in
192 earlier versions of Perl, and that can't be provided using a macro, you
193 have to explicitly request support for these functions by adding one or
194 more C<#define>s in your source code before the inclusion of F<ppport.h>.
195  
196 These functions or variables will be marked C<explicit> in the list shown
197 by C<--list-provided>.
198  
199 Depending on whether you module has a single or multiple files that
200 use such functions or variables, you want either C<static> or global
201 variants.
202  
203 For a C<static> function or variable (used only in a single source
204 file), use:
205  
206 #define NEED_function
207 #define NEED_variable
208  
209 For a global function or variable (used in multiple source files),
210 use:
211  
212 #define NEED_function_GLOBAL
213 #define NEED_variable_GLOBAL
214  
215 Note that you mustn't have more than one global request for the
216 same function or variable in your project.
217  
218 Function / Variable Static Request Global Request
219 -----------------------------------------------------------------------------------------
220 PL_parser NEED_PL_parser NEED_PL_parser_GLOBAL
221 PL_signals NEED_PL_signals NEED_PL_signals_GLOBAL
222 eval_pv() NEED_eval_pv NEED_eval_pv_GLOBAL
223 grok_bin() NEED_grok_bin NEED_grok_bin_GLOBAL
224 grok_hex() NEED_grok_hex NEED_grok_hex_GLOBAL
225 grok_number() NEED_grok_number NEED_grok_number_GLOBAL
226 grok_numeric_radix() NEED_grok_numeric_radix NEED_grok_numeric_radix_GLOBAL
227 grok_oct() NEED_grok_oct NEED_grok_oct_GLOBAL
228 load_module() NEED_load_module NEED_load_module_GLOBAL
229 my_snprintf() NEED_my_snprintf NEED_my_snprintf_GLOBAL
230 my_sprintf() NEED_my_sprintf NEED_my_sprintf_GLOBAL
231 my_strlcat() NEED_my_strlcat NEED_my_strlcat_GLOBAL
232 my_strlcpy() NEED_my_strlcpy NEED_my_strlcpy_GLOBAL
233 newCONSTSUB() NEED_newCONSTSUB NEED_newCONSTSUB_GLOBAL
234 newRV_noinc() NEED_newRV_noinc NEED_newRV_noinc_GLOBAL
235 newSVpvn_flags() NEED_newSVpvn_flags NEED_newSVpvn_flags_GLOBAL
236 newSVpvn_share() NEED_newSVpvn_share NEED_newSVpvn_share_GLOBAL
237 pv_display() NEED_pv_display NEED_pv_display_GLOBAL
238 pv_escape() NEED_pv_escape NEED_pv_escape_GLOBAL
239 pv_pretty() NEED_pv_pretty NEED_pv_pretty_GLOBAL
240 sv_2pv_flags() NEED_sv_2pv_flags NEED_sv_2pv_flags_GLOBAL
241 sv_2pvbyte() NEED_sv_2pvbyte NEED_sv_2pvbyte_GLOBAL
242 sv_catpvf_mg() NEED_sv_catpvf_mg NEED_sv_catpvf_mg_GLOBAL
243 sv_catpvf_mg_nocontext() NEED_sv_catpvf_mg_nocontext NEED_sv_catpvf_mg_nocontext_GLOBAL
244 sv_pvn_force_flags() NEED_sv_pvn_force_flags NEED_sv_pvn_force_flags_GLOBAL
245 sv_setpvf_mg() NEED_sv_setpvf_mg NEED_sv_setpvf_mg_GLOBAL
246 sv_setpvf_mg_nocontext() NEED_sv_setpvf_mg_nocontext NEED_sv_setpvf_mg_nocontext_GLOBAL
247 vload_module() NEED_vload_module NEED_vload_module_GLOBAL
248 vnewSVpvf() NEED_vnewSVpvf NEED_vnewSVpvf_GLOBAL
249 warner() NEED_warner NEED_warner_GLOBAL
250  
251 To avoid namespace conflicts, you can change the namespace of the
252 explicitly exported functions / variables using the C<DPPP_NAMESPACE>
253 macro. Just C<#define> the macro before including C<ppport.h>:
254  
255 #define DPPP_NAMESPACE MyOwnNamespace_
256 #include "ppport.h"
257  
258 The default namespace is C<DPPP_>.
259  
260 =back
261  
262 The good thing is that most of the above can be checked by running
263 F<ppport.h> on your source code. See the next section for
264 details.
265  
266 =head1 EXAMPLES
267  
268 To verify whether F<ppport.h> is needed for your module, whether you
269 should make any changes to your code, and whether any special defines
270 should be used, F<ppport.h> can be run as a Perl script to check your
271 source code. Simply say:
272  
273 perl ppport.h
274  
275 The result will usually be a list of patches suggesting changes
276 that should at least be acceptable, if not necessarily the most
277 efficient solution, or a fix for all possible problems.
278  
279 If you know that your XS module uses features only available in
280 newer Perl releases, if you're aware that it uses C++ comments,
281 and if you want all suggestions as a single patch file, you could
282 use something like this:
283  
284 perl ppport.h --compat-version=5.6.0 --cplusplus --patch=test.diff
285  
286 If you only want your code to be scanned without any suggestions
287 for changes, use:
288  
289 perl ppport.h --nochanges
290  
291 You can specify a different C<diff> program or options, using
292 the C<--diff> option:
293  
294 perl ppport.h --diff='diff -C 10'
295  
296 This would output context diffs with 10 lines of context.
297  
298 If you want to create patched copies of your files instead, use:
299  
300 perl ppport.h --copy=.new
301  
302 To display portability information for the C<newSVpvn> function,
303 use:
304  
305 perl ppport.h --api-info=newSVpvn
306  
307 Since the argument to C<--api-info> can be a regular expression,
308 you can use
309  
310 perl ppport.h --api-info=/_nomg$/
311  
312 to display portability information for all C<_nomg> functions or
313  
314 perl ppport.h --api-info=/./
315  
316 to display information for all known API elements.
317  
318 =head1 BUGS
319  
320 If this version of F<ppport.h> is causing failure during
321 the compilation of this module, please check if newer versions
322 of either this module or C<Devel::PPPort> are available on CPAN
323 before sending a bug report.
324  
325 If F<ppport.h> was generated using the latest version of
326 C<Devel::PPPort> and is causing failure of this module, please
327 file a bug report using the CPAN Request Tracker at L<http://rt.cpan.org/>.
328  
329 Please include the following information:
330  
331 =over 4
332  
333 =item 1.
334  
335 The complete output from running "perl -V"
336  
337 =item 2.
338  
339 This file.
340  
341 =item 3.
342  
343 The name and version of the module you were trying to build.
344  
345 =item 4.
346  
347 A full log of the build that failed.
348  
349 =item 5.
350  
351 Any other information that you think could be relevant.
352  
353 =back
354  
355 For the latest version of this code, please get the C<Devel::PPPort>
356 module from CPAN.
357  
358 =head1 COPYRIGHT
359  
360 Version 3.x, Copyright (c) 2004-2009, Marcus Holland-Moritz.
361  
362 Version 2.x, Copyright (C) 2001, Paul Marquess.
363  
364 Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
365  
366 This program is free software; you can redistribute it and/or
367 modify it under the same terms as Perl itself.
368  
369 =head1 SEE ALSO
370  
371 See L<Devel::PPPort>.
372  
373 =cut
374  
375 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
376  
377 # Disable broken TRIE-optimization
378 3 ▶BEGIN { eval '${^RE_TRIE_MAXBUF} = -1' if $] >= 5.009004 && $] <= 5.009005 }
Subroutine BEGIN: called CC=3 SCAR=14.2
Branch: 1 branch
BranchTrueFalseTotal
if $] >= "5.009004" and $] <= "5.009005" 0 3 3
Condition33%1/3
$] >= "5.009004" and $] <= "5.009005"
!ll&&!rl&&r
030
MC/DC0%0/2
$] >= "5.009004" and $] <= "5.009005"
$] >= "5.009004" $] <= "5.009005"
Truth table33%1/3
A and B
A= $] >= "5.009004"B= $] <= "5.009005"
ABresult
0X0
100
111
379  
380 3 my $VERSION = 3.17;
381  
382 3 my %opt = (
383 quiet => 0,
384 diag => 1,
385 hints => 1,
386 changes => 1,
387 cplusplus => 0,
388 filter => 1,
389 strip => 0,
390 version => 0,
391 );
392  
393 3 my($ppport) = $0 =~ /([\w.]+)$/;
394 3 my $LF = '(?:\r\n|[\r\n])'; # line feed
395 3 my $HS = "[ \t]"; # horizontal whitespace
396  
397 # Never use C comments in this file!
398 3 my $ccs = '/'.'*';
399 3 my $cce = '*'.'/';
400 3 my $rccs = quotemeta $ccs;
401 3 my $rcce = quotemeta $cce;
402  
403 3 eval {
404 3 require Getopt::Long;
405 3 ▶ Getopt::Long::GetOptions(\%opt, qw(
Branch: 1 branch
BranchTrueFalseTotal
&Getopt::Long::GetOptions(\%opt, ("help", "quiet", "diag!", "filter!", "hints!", "changes!", "cplusplus", "strip", "version", "patch=s", "copy=s", "diff=s", "compat-version=s", "list-provided", "list-unsupported", "api-info=s")) or usage() 3 0 3
406 help quiet diag! filter! hints! changes! cplusplus strip version
407 patch=s copy=s diff=s compat-version=s
408 list-provided list-unsupported api-info=s
409 )) or usage();
410 };
411  
412 3 ▶if ($@ and grep /^-/, @ARGV) {
Branch: 1 branch
BranchTrueFalseTotal
if ($@ and grep /^-/, @ARGV) 0 3 3
Condition33%1/3
$@ and grep /^-/, @ARGV
!ll&&!rl&&r
300
MC/DC0%0/2
$@ and grep /^-/, @ARGV
$@ grep /^-/, @ARGV
Truth table33%1/3
A and B
A= $@B= grep /^-/, @ARGV
ABresult
0X0
100
111
413 0 ▶ usage() if "@ARGV" =~ /^--?h(?:elp)?$/;
Branch: 1 branch
BranchTrueFalseTotal
if join($", @ARGV) =~ /^--?h(?:elp)?$/ 0 0 0
414 0 die "Getopt::Long not found. Please don't use any options.\n";
415 }
416  
417 3 ▶if ($opt{version}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($opt{"version"}) 0 3 3
418 0 print "This is $0 $VERSION.\n";
419 0 exit 0;
420 }
421  
422 3 ▶usage() if $opt{help};
Branch: 1 branch
BranchTrueFalseTotal
if $opt{"help"} 0 3 3
423 3 ▶strip() if $opt{strip};
Branch: 1 branch
BranchTrueFalseTotal
if $opt{"strip"} 0 3 3
424  
425 3 ▶if (exists $opt{'compat-version'}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $opt{'compat-version'}) { } 0 3 3
426 0 my($r,$v,$s) = eval { parse_version($opt{'compat-version'}) };
427 0 ▶ if ($@) {
Branch: 1 branch
BranchTrueFalseTotal
if ($@) 0 0 0
428 0 die "Invalid version number format: '$opt{'compat-version'}'\n";
429 }
430 0 ▶ die "Only Perl 5 is supported\n" if $r != 5;
Branch: 1 branch
BranchTrueFalseTotal
if $r != 5 0 0 0
431 0 ▶ die "Invalid version number: $opt{'compat-version'}\n" if $v >= 1000 || $s >= 1000;
Branch: 1 branch
BranchTrueFalseTotal
if $v >= 1000 or $s >= 1000 0 0 0
Condition0%0/3
$v >= 1000 or $s >= 1000
l!l&&r!l&&!r
000
MC/DC0%0/2
$v >= 1000 or $s >= 1000
$v >= 1000 $s >= 1000
Truth table0%0/3
A or B
A= $v >= 1000B= $s >= 1000
ABresult
1X1
011
000
432 0 $opt{'compat-version'} = sprintf "%d.%03d%03d", $r, $v, $s;
433 }
434 else {
435 3 $opt{'compat-version'} = 5;
436 }
437  
438 3 ▶my %API = map { /^(\w+)\|([^|]*)\|([^|]*)\|(\w*)$/
Branch: 6 branches
BranchTrueFalseTotal
/^(\w+)\|([^|]*)\|([^|]*)\|(\w*)$/ ? : 5910 0 5910
$2 ? : 1305 4605 5910
$3 ? : 1449 4461 5910
index($4, 'v') != -1 ? : 99 5811 5910
index($4, 'p') != -1 ? : 1338 4572 5910
index($4, 'n') != -1 ? : 420 5490 5910
439 ? ( $1 => {
440 ($2 ? ( base => $2 ) : ()),
441 ($3 ? ( todo => $3 ) : ()),
442 (index($4, 'v') >= 0 ? ( varargs => 1 ) : ()),
443 (index($4, 'p') >= 0 ? ( provided => 1 ) : ()),
444 (index($4, 'n') >= 0 ? ( nothxarg => 1 ) : ()),
445 } )
446 : die "invalid spec: $_" } qw(
447 AvFILLp|5.004050||p
448 AvFILL|||
449 CLASS|||n
450 CPERLscope|5.005000||p
451 CX_CURPAD_SAVE|||
452 CX_CURPAD_SV|||
453 CopFILEAV|5.006000||p
454 CopFILEGV_set|5.006000||p
455 CopFILEGV|5.006000||p
456 CopFILESV|5.006000||p
457 CopFILE_set|5.006000||p
458 CopFILE|5.006000||p
459 CopSTASHPV_set|5.006000||p
460 CopSTASHPV|5.006000||p
461 CopSTASH_eq|5.006000||p
462 CopSTASH_set|5.006000||p
463 CopSTASH|5.006000||p
464 CopyD|5.009002||p
465 Copy|||
466 CvPADLIST|||
467 CvSTASH|||
468 CvWEAKOUTSIDE|||
469 DEFSV_set|5.011000||p
470 DEFSV|5.004050||p
471 END_EXTERN_C|5.005000||p
472 ENTER|||
473 ERRSV|5.004050||p
474 EXTEND|||
475 EXTERN_C|5.005000||p
476 F0convert|||n
477 FREETMPS|||
478 GIMME_V||5.004000|n
479 GIMME|||n
480 GROK_NUMERIC_RADIX|5.007002||p
481 G_ARRAY|||
482 G_DISCARD|||
483 G_EVAL|||
484 G_METHOD|5.006001||p
485 G_NOARGS|||
486 G_SCALAR|||
487 G_VOID||5.004000|
488 GetVars|||
489 GvSV|||
490 Gv_AMupdate|||
491 HEf_SVKEY||5.004000|
492 HeHASH||5.004000|
493 HeKEY||5.004000|
494 HeKLEN||5.004000|
495 HePV||5.004000|
496 HeSVKEY_force||5.004000|
497 HeSVKEY_set||5.004000|
498 HeSVKEY||5.004000|
499 HeUTF8||5.011000|
500 HeVAL||5.004000|
501 HvNAME|||
502 INT2PTR|5.006000||p
503 IN_LOCALE_COMPILETIME|5.007002||p
504 IN_LOCALE_RUNTIME|5.007002||p
505 IN_LOCALE|5.007002||p
506 IN_PERL_COMPILETIME|5.008001||p
507 IS_NUMBER_GREATER_THAN_UV_MAX|5.007002||p
508 IS_NUMBER_INFINITY|5.007002||p
509 IS_NUMBER_IN_UV|5.007002||p
510 IS_NUMBER_NAN|5.007003||p
511 IS_NUMBER_NEG|5.007002||p
512 IS_NUMBER_NOT_INT|5.007002||p
513 IVSIZE|5.006000||p
514 IVTYPE|5.006000||p
515 IVdf|5.006000||p
516 LEAVE|||
517 LVRET|||
518 MARK|||
519 MULTICALL||5.011000|
520 MY_CXT_CLONE|5.009002||p
521 MY_CXT_INIT|5.007003||p
522 MY_CXT|5.007003||p
523 MoveD|5.009002||p
524 Move|||
525 NOOP|5.005000||p
526 NUM2PTR|5.006000||p
527 NVTYPE|5.006000||p
528 NVef|5.006001||p
529 NVff|5.006001||p
530 NVgf|5.006001||p
531 Newxc|5.009003||p
532 Newxz|5.009003||p
533 Newx|5.009003||p
534 Nullav|||
535 Nullch|||
536 Nullcv|||
537 Nullhv|||
538 Nullsv|||
539 ORIGMARK|||
540 PAD_BASE_SV|||
541 PAD_CLONE_VARS|||
542 PAD_COMPNAME_FLAGS|||
543 PAD_COMPNAME_GEN_set|||
544 PAD_COMPNAME_GEN|||
545 PAD_COMPNAME_OURSTASH|||
546 PAD_COMPNAME_PV|||
547 PAD_COMPNAME_TYPE|||
548 PAD_DUP|||
549 PAD_RESTORE_LOCAL|||
550 PAD_SAVE_LOCAL|||
551 PAD_SAVE_SETNULLPAD|||
552 PAD_SETSV|||
553 PAD_SET_CUR_NOSAVE|||
554 PAD_SET_CUR|||
555 PAD_SVl|||
556 PAD_SV|||
557 PERLIO_FUNCS_CAST|5.009003||p
558 PERLIO_FUNCS_DECL|5.009003||p
559 PERL_ABS|5.008001||p
560 PERL_BCDVERSION|5.011000||p
561 PERL_GCC_BRACE_GROUPS_FORBIDDEN|5.008001||p
562 PERL_HASH|5.004000||p
563 PERL_INT_MAX|5.004000||p
564 PERL_INT_MIN|5.004000||p
565 PERL_LONG_MAX|5.004000||p
566 PERL_LONG_MIN|5.004000||p
567 PERL_MAGIC_arylen|5.007002||p
568 PERL_MAGIC_backref|5.007002||p
569 PERL_MAGIC_bm|5.007002||p
570 PERL_MAGIC_collxfrm|5.007002||p
571 PERL_MAGIC_dbfile|5.007002||p
572 PERL_MAGIC_dbline|5.007002||p
573 PERL_MAGIC_defelem|5.007002||p
574 PERL_MAGIC_envelem|5.007002||p
575 PERL_MAGIC_env|5.007002||p
576 PERL_MAGIC_ext|5.007002||p
577 PERL_MAGIC_fm|5.007002||p
578 PERL_MAGIC_glob|5.011000||p
579 PERL_MAGIC_isaelem|5.007002||p
580 PERL_MAGIC_isa|5.007002||p
581 PERL_MAGIC_mutex|5.011000||p
582 PERL_MAGIC_nkeys|5.007002||p
583 PERL_MAGIC_overload_elem|5.007002||p
584 PERL_MAGIC_overload_table|5.007002||p
585 PERL_MAGIC_overload|5.007002||p
586 PERL_MAGIC_pos|5.007002||p
587 PERL_MAGIC_qr|5.007002||p
588 PERL_MAGIC_regdata|5.007002||p
589 PERL_MAGIC_regdatum|5.007002||p
590 PERL_MAGIC_regex_global|5.007002||p
591 PERL_MAGIC_shared_scalar|5.007003||p
592 PERL_MAGIC_shared|5.007003||p
593 PERL_MAGIC_sigelem|5.007002||p
594 PERL_MAGIC_sig|5.007002||p
595 PERL_MAGIC_substr|5.007002||p
596 PERL_MAGIC_sv|5.007002||p
597 PERL_MAGIC_taint|5.007002||p
598 PERL_MAGIC_tiedelem|5.007002||p
599 PERL_MAGIC_tiedscalar|5.007002||p
600 PERL_MAGIC_tied|5.007002||p
601 PERL_MAGIC_utf8|5.008001||p
602 PERL_MAGIC_uvar_elem|5.007003||p
603 PERL_MAGIC_uvar|5.007002||p
604 PERL_MAGIC_vec|5.007002||p
605 PERL_MAGIC_vstring|5.008001||p
606 PERL_PV_ESCAPE_ALL|5.009004||p
607 PERL_PV_ESCAPE_FIRSTCHAR|5.009004||p
608 PERL_PV_ESCAPE_NOBACKSLASH|5.009004||p
609 PERL_PV_ESCAPE_NOCLEAR|5.009004||p
610 PERL_PV_ESCAPE_QUOTE|5.009004||p
611 PERL_PV_ESCAPE_RE|5.009005||p
612 PERL_PV_ESCAPE_UNI_DETECT|5.009004||p
613 PERL_PV_ESCAPE_UNI|5.009004||p
614 PERL_PV_PRETTY_DUMP|5.009004||p
615 PERL_PV_PRETTY_ELLIPSES|5.010000||p
616 PERL_PV_PRETTY_LTGT|5.009004||p
617 PERL_PV_PRETTY_NOCLEAR|5.010000||p
618 PERL_PV_PRETTY_QUOTE|5.009004||p
619 PERL_PV_PRETTY_REGPROP|5.009004||p
620 PERL_QUAD_MAX|5.004000||p
621 PERL_QUAD_MIN|5.004000||p
622 PERL_REVISION|5.006000||p
623 PERL_SCAN_ALLOW_UNDERSCORES|5.007003||p
624 PERL_SCAN_DISALLOW_PREFIX|5.007003||p
625 PERL_SCAN_GREATER_THAN_UV_MAX|5.007003||p
626 PERL_SCAN_SILENT_ILLDIGIT|5.008001||p
627 PERL_SHORT_MAX|5.004000||p
628 PERL_SHORT_MIN|5.004000||p
629 PERL_SIGNALS_UNSAFE_FLAG|5.008001||p
630 PERL_SUBVERSION|5.006000||p
631 PERL_UCHAR_MAX|5.004000||p
632 PERL_UCHAR_MIN|5.004000||p
633 PERL_UINT_MAX|5.004000||p
634 PERL_UINT_MIN|5.004000||p
635 PERL_ULONG_MAX|5.004000||p
636 PERL_ULONG_MIN|5.004000||p
637 PERL_UNUSED_ARG|5.009003||p
638 PERL_UNUSED_CONTEXT|5.009004||p
639 PERL_UNUSED_DECL|5.007002||p
640 PERL_UNUSED_VAR|5.007002||p
641 PERL_UQUAD_MAX|5.004000||p
642 PERL_UQUAD_MIN|5.004000||p
643 PERL_USE_GCC_BRACE_GROUPS|5.009004||p
644 PERL_USHORT_MAX|5.004000||p
645 PERL_USHORT_MIN|5.004000||p
646 PERL_VERSION|5.006000||p
647 PL_DBsignal|5.005000||p
648 PL_DBsingle|||pn
649 PL_DBsub|||pn
650 PL_DBtrace|||pn
651 PL_Sv|5.005000||p
652 PL_bufend|5.011000||p
653 PL_bufptr|5.011000||p
654 PL_compiling|5.004050||p
655 PL_copline|5.011000||p
656 PL_curcop|5.004050||p
657 PL_curstash|5.004050||p
658 PL_debstash|5.004050||p
659 PL_defgv|5.004050||p
660 PL_diehook|5.004050||p
661 PL_dirty|5.004050||p
662 PL_dowarn|||pn
663 PL_errgv|5.004050||p
664 PL_expect|5.011000||p
665 PL_hexdigit|5.005000||p
666 PL_hints|5.005000||p
667 PL_last_in_gv|||n
668 PL_laststatval|5.005000||p
669 PL_lex_state|5.011000||p
670 PL_lex_stuff|5.011000||p
671 PL_linestr|5.011000||p
672 PL_modglobal||5.005000|n
673 PL_na|5.004050||pn
674 PL_no_modify|5.006000||p
675 PL_ofsgv|||n
676 PL_parser|5.009005||p
677 PL_perl_destruct_level|5.004050||p
678 PL_perldb|5.004050||p
679 PL_ppaddr|5.006000||p
680 PL_rsfp_filters|5.004050||p
681 PL_rsfp|5.004050||p
682 PL_rs|||n
683 PL_signals|5.008001||p
684 PL_stack_base|5.004050||p
685 PL_stack_sp|5.004050||p
686 PL_statcache|5.005000||p
687 PL_stdingv|5.004050||p
688 PL_sv_arenaroot|5.004050||p
689 PL_sv_no|5.004050||pn
690 PL_sv_undef|5.004050||pn
691 PL_sv_yes|5.004050||pn
692 PL_tainted|5.004050||p
693 PL_tainting|5.004050||p
694 PL_tokenbuf|5.011000||p
695 POP_MULTICALL||5.011000|
696 POPi|||n
697 POPl|||n
698 POPn|||n
699 POPpbytex||5.007001|n
700 POPpx||5.005030|n
701 POPp|||n
702 POPs|||n
703 PTR2IV|5.006000||p
704 PTR2NV|5.006000||p
705 PTR2UV|5.006000||p
706 PTR2nat|5.009003||p
707 PTR2ul|5.007001||p
708 PTRV|5.006000||p
709 PUSHMARK|||
710 PUSH_MULTICALL||5.011000|
711 PUSHi|||
712 PUSHmortal|5.009002||p
713 PUSHn|||
714 PUSHp|||
715 PUSHs|||
716 PUSHu|5.004000||p
717 PUTBACK|||
718 PerlIO_clearerr||5.007003|
719 PerlIO_close||5.007003|
720 PerlIO_context_layers||5.009004|
721 PerlIO_eof||5.007003|
722 PerlIO_error||5.007003|
723 PerlIO_fileno||5.007003|
724 PerlIO_fill||5.007003|
725 PerlIO_flush||5.007003|
726 PerlIO_get_base||5.007003|
727 PerlIO_get_bufsiz||5.007003|
728 PerlIO_get_cnt||5.007003|
729 PerlIO_get_ptr||5.007003|
730 PerlIO_read||5.007003|
731 PerlIO_seek||5.007003|
732 PerlIO_set_cnt||5.007003|
733 PerlIO_set_ptrcnt||5.007003|
734 PerlIO_setlinebuf||5.007003|
735 PerlIO_stderr||5.007003|
736 PerlIO_stdin||5.007003|
737 PerlIO_stdout||5.007003|
738 PerlIO_tell||5.007003|
739 PerlIO_unread||5.007003|
740 PerlIO_write||5.007003|
741 Perl_signbit||5.009005|n
742 PoisonFree|5.009004||p
743 PoisonNew|5.009004||p
744 PoisonWith|5.009004||p
745 Poison|5.008000||p
746 RETVAL|||n
747 Renewc|||
748 Renew|||
749 SAVECLEARSV|||
750 SAVECOMPPAD|||
751 SAVEPADSV|||
752 SAVETMPS|||
753 SAVE_DEFSV|5.004050||p
754 SPAGAIN|||
755 SP|||
756 START_EXTERN_C|5.005000||p
757 START_MY_CXT|5.007003||p
758 STMT_END|||p
759 STMT_START|||p
760 STR_WITH_LEN|5.009003||p
761 ST|||
762 SV_CONST_RETURN|5.009003||p
763 SV_COW_DROP_PV|5.008001||p
764 SV_COW_SHARED_HASH_KEYS|5.009005||p
765 SV_GMAGIC|5.007002||p
766 SV_HAS_TRAILING_NUL|5.009004||p
767 SV_IMMEDIATE_UNREF|5.007001||p
768 SV_MUTABLE_RETURN|5.009003||p
769 SV_NOSTEAL|5.009002||p
770 SV_SMAGIC|5.009003||p
771 SV_UTF8_NO_ENCODING|5.008001||p
772 SVf_UTF8|5.006000||p
773 SVf|5.006000||p
774 SVt_IV|||
775 SVt_NV|||
776 SVt_PVAV|||
777 SVt_PVCV|||
778 SVt_PVHV|||
779 SVt_PVMG|||
780 SVt_PV|||
781 Safefree|||
782 Slab_Alloc|||
783 Slab_Free|||
784 Slab_to_rw|||
785 StructCopy|||
786 SvCUR_set|||
787 SvCUR|||
788 SvEND|||
789 SvGAMAGIC||5.006001|
790 SvGETMAGIC|5.004050||p
791 SvGROW|||
792 SvIOK_UV||5.006000|
793 SvIOK_notUV||5.006000|
794 SvIOK_off|||
795 SvIOK_only_UV||5.006000|
796 SvIOK_only|||
797 SvIOK_on|||
798 SvIOKp|||
799 SvIOK|||
800 SvIVX|||
801 SvIV_nomg|5.009001||p
802 SvIV_set|||
803 SvIVx|||
804 SvIV|||
805 SvIsCOW_shared_hash||5.008003|
806 SvIsCOW||5.008003|
807 SvLEN_set|||
808 SvLEN|||
809 SvLOCK||5.007003|
810 SvMAGIC_set|5.009003||p
811 SvNIOK_off|||
812 SvNIOKp|||
813 SvNIOK|||
814 SvNOK_off|||
815 SvNOK_only|||
816 SvNOK_on|||
817 SvNOKp|||
818 SvNOK|||
819 SvNVX|||
820 SvNV_set|||
821 SvNVx|||
822 SvNV|||
823 SvOK|||
824 SvOOK_offset||5.011000|
825 SvOOK|||
826 SvPOK_off|||
827 SvPOK_only_UTF8||5.006000|
828 SvPOK_only|||
829 SvPOK_on|||
830 SvPOKp|||
831 SvPOK|||
832 SvPVX_const|5.009003||p
833 SvPVX_mutable|5.009003||p
834 SvPVX|||
835 SvPV_const|5.009003||p
836 SvPV_flags_const_nolen|5.009003||p
837 SvPV_flags_const|5.009003||p
838 SvPV_flags_mutable|5.009003||p
839 SvPV_flags|5.007002||p
840 SvPV_force_flags_mutable|5.009003||p
841 SvPV_force_flags_nolen|5.009003||p
842 SvPV_force_flags|5.007002||p
843 SvPV_force_mutable|5.009003||p
844 SvPV_force_nolen|5.009003||p
845 SvPV_force_nomg_nolen|5.009003||p
846 SvPV_force_nomg|5.007002||p
847 SvPV_force|||p
848 SvPV_mutable|5.009003||p
849 SvPV_nolen_const|5.009003||p
850 SvPV_nolen|5.006000||p
851 SvPV_nomg_const_nolen|5.009003||p
852 SvPV_nomg_const|5.009003||p
853 SvPV_nomg|5.007002||p
854 SvPV_renew|5.009003||p
855 SvPV_set|||
856 SvPVbyte_force||5.009002|
857 SvPVbyte_nolen||5.006000|
858 SvPVbytex_force||5.006000|
859 SvPVbytex||5.006000|
860 SvPVbyte|5.006000||p
861 SvPVutf8_force||5.006000|
862 SvPVutf8_nolen||5.006000|
863 SvPVutf8x_force||5.006000|
864 SvPVutf8x||5.006000|
865 SvPVutf8||5.006000|
866 SvPVx|||
867 SvPV|||
868 SvREFCNT_dec|||
869 SvREFCNT_inc_NN|5.009004||p
870 SvREFCNT_inc_simple_NN|5.009004||p
871 SvREFCNT_inc_simple_void_NN|5.009004||p
872 SvREFCNT_inc_simple_void|5.009004||p
873 SvREFCNT_inc_simple|5.009004||p
874 SvREFCNT_inc_void_NN|5.009004||p
875 SvREFCNT_inc_void|5.009004||p
876 SvREFCNT_inc|||p
877 SvREFCNT|||
878 SvROK_off|||
879 SvROK_on|||
880 SvROK|||
881 SvRV_set|5.009003||p
882 SvRV|||
883 SvRXOK||5.009005|
884 SvRX||5.009005|
885 SvSETMAGIC|||
886 SvSHARED_HASH|5.009003||p
887 SvSHARE||5.007003|
888 SvSTASH_set|5.009003||p
889 SvSTASH|||
890 SvSetMagicSV_nosteal||5.004000|
891 SvSetMagicSV||5.004000|
892 SvSetSV_nosteal||5.004000|
893 SvSetSV|||
894 SvTAINTED_off||5.004000|
895 SvTAINTED_on||5.004000|
896 SvTAINTED||5.004000|
897 SvTAINT|||
898 SvTRUE|||
899 SvTYPE|||
900 SvUNLOCK||5.007003|
901 SvUOK|5.007001|5.006000|p
902 SvUPGRADE|||
903 SvUTF8_off||5.006000|
904 SvUTF8_on||5.006000|
905 SvUTF8||5.006000|
906 SvUVXx|5.004000||p
907 SvUVX|5.004000||p
908 SvUV_nomg|5.009001||p
909 SvUV_set|5.009003||p
910 SvUVx|5.004000||p
911 SvUV|5.004000||p
912 SvVOK||5.008001|
913 SvVSTRING_mg|5.009004||p
914 THIS|||n
915 UNDERBAR|5.009002||p
916 UTF8_MAXBYTES|5.009002||p
917 UVSIZE|5.006000||p
918 UVTYPE|5.006000||p
919 UVXf|5.007001||p
920 UVof|5.006000||p
921 UVuf|5.006000||p
922 UVxf|5.006000||p
923 WARN_ALL|5.006000||p
924 WARN_AMBIGUOUS|5.006000||p
925 WARN_ASSERTIONS|5.011000||p
926 WARN_BAREWORD|5.006000||p
927 WARN_CLOSED|5.006000||p
928 WARN_CLOSURE|5.006000||p
929 WARN_DEBUGGING|5.006000||p
930 WARN_DEPRECATED|5.006000||p
931 WARN_DIGIT|5.006000||p
932 WARN_EXEC|5.006000||p
933 WARN_EXITING|5.006000||p
934 WARN_GLOB|5.006000||p
935 WARN_INPLACE|5.006000||p
936 WARN_INTERNAL|5.006000||p
937 WARN_IO|5.006000||p
938 WARN_LAYER|5.008000||p
939 WARN_MALLOC|5.006000||p
940 WARN_MISC|5.006000||p
941 WARN_NEWLINE|5.006000||p
942 WARN_NUMERIC|5.006000||p
943 WARN_ONCE|5.006000||p
944 WARN_OVERFLOW|5.006000||p
945 WARN_PACK|5.006000||p
946 WARN_PARENTHESIS|5.006000||p
947 WARN_PIPE|5.006000||p
948 WARN_PORTABLE|5.006000||p
949 WARN_PRECEDENCE|5.006000||p
950 WARN_PRINTF|5.006000||p
951 WARN_PROTOTYPE|5.006000||p
952 WARN_QW|5.006000||p
953 WARN_RECURSION|5.006000||p
954 WARN_REDEFINE|5.006000||p
955 WARN_REGEXP|5.006000||p
956 WARN_RESERVED|5.006000||p
957 WARN_SEMICOLON|5.006000||p
958 WARN_SEVERE|5.006000||p
959 WARN_SIGNAL|5.006000||p
960 WARN_SUBSTR|5.006000||p
961 WARN_SYNTAX|5.006000||p
962 WARN_TAINT|5.006000||p
963 WARN_THREADS|5.008000||p
964 WARN_UNINITIALIZED|5.006000||p
965 WARN_UNOPENED|5.006000||p
966 WARN_UNPACK|5.006000||p
967 WARN_UNTIE|5.006000||p
968 WARN_UTF8|5.006000||p
969 WARN_VOID|5.006000||p
970 XCPT_CATCH|5.009002||p
971 XCPT_RETHROW|5.009002||p
972 XCPT_TRY_END|5.009002||p
973 XCPT_TRY_START|5.009002||p
974 XPUSHi|||
975 XPUSHmortal|5.009002||p
976 XPUSHn|||
977 XPUSHp|||
978 XPUSHs|||
979 XPUSHu|5.004000||p
980 XSRETURN_EMPTY|||
981 XSRETURN_IV|||
982 XSRETURN_NO|||
983 XSRETURN_NV|||
984 XSRETURN_PV|||
985 XSRETURN_UNDEF|||
986 XSRETURN_UV|5.008001||p
987 XSRETURN_YES|||
988 XSRETURN|||p
989 XST_mIV|||
990 XST_mNO|||
991 XST_mNV|||
992 XST_mPV|||
993 XST_mUNDEF|||
994 XST_mUV|5.008001||p
995 XST_mYES|||
996 XS_VERSION_BOOTCHECK|||
997 XS_VERSION|||
998 XSprePUSH|5.006000||p
999 XS|||
1000 ZeroD|5.009002||p
1001 Zero|||
1002 _aMY_CXT|5.007003||p
1003 _pMY_CXT|5.007003||p
1004 aMY_CXT_|5.007003||p
1005 aMY_CXT|5.007003||p
1006 aTHXR_|5.011000||p
1007 aTHXR|5.011000||p
1008 aTHX_|5.006000||p
1009 aTHX|5.006000||p
1010 add_data|||n
1011 addmad|||
1012 allocmy|||
1013 amagic_call|||
1014 amagic_cmp_locale|||
1015 amagic_cmp|||
1016 amagic_i_ncmp|||
1017 amagic_ncmp|||
1018 any_dup|||
1019 ao|||
1020 append_elem|||
1021 append_list|||
1022 append_madprops|||
1023 apply_attrs_my|||
1024 apply_attrs_string||5.006001|
1025 apply_attrs|||
1026 apply|||
1027 atfork_lock||5.007003|n
1028 atfork_unlock||5.007003|n
1029 av_arylen_p||5.009003|
1030 av_clear|||
1031 av_create_and_push||5.009005|
1032 av_create_and_unshift_one||5.009005|
1033 av_delete||5.006000|
1034 av_exists||5.006000|
1035 av_extend|||
1036 av_fetch|||
1037 av_fill|||
1038 av_iter_p||5.011000|
1039 av_len|||
1040 av_make|||
1041 av_pop|||
1042 av_push|||
1043 av_reify|||
1044 av_shift|||
1045 av_store|||
1046 av_undef|||
1047 av_unshift|||
1048 ax|||n
1049 bad_type|||
1050 bind_match|||
1051 block_end|||
1052 block_gimme||5.004000|
1053 block_start|||
1054 boolSV|5.004000||p
1055 boot_core_PerlIO|||
1056 boot_core_UNIVERSAL|||
1057 boot_core_mro|||
1058 boot_core_xsutils|||
1059 bytes_from_utf8||5.007001|
1060 bytes_to_uni|||n
1061 bytes_to_utf8||5.006001|
1062 call_argv|5.006000||p
1063 call_atexit||5.006000|
1064 call_list||5.004000|
1065 call_method|5.006000||p
1066 call_pv|5.006000||p
1067 call_sv|5.006000||p
1068 calloc||5.007002|n
1069 cando|||
1070 cast_i32||5.006000|
1071 cast_iv||5.006000|
1072 cast_ulong||5.006000|
1073 cast_uv||5.006000|
1074 check_type_and_open|||
1075 check_uni|||
1076 checkcomma|||
1077 checkposixcc|||
1078 ckWARN|5.006000||p
1079 ck_anoncode|||
1080 ck_bitop|||
1081 ck_concat|||
1082 ck_defined|||
1083 ck_delete|||
1084 ck_die|||
1085 ck_each|||
1086 ck_eof|||
1087 ck_eval|||
1088 ck_exec|||
1089 ck_exists|||
1090 ck_exit|||
1091 ck_ftst|||
1092 ck_fun|||
1093 ck_glob|||
1094 ck_grep|||
1095 ck_index|||
1096 ck_join|||
1097 ck_lfun|||
1098 ck_listiob|||
1099 ck_match|||
1100 ck_method|||
1101 ck_null|||
1102 ck_open|||
1103 ck_readline|||
1104 ck_repeat|||
1105 ck_require|||
1106 ck_return|||
1107 ck_rfun|||
1108 ck_rvconst|||
1109 ck_sassign|||
1110 ck_select|||
1111 ck_shift|||
1112 ck_sort|||
1113 ck_spair|||
1114 ck_split|||
1115 ck_subr|||
1116 ck_substr|||
1117 ck_svconst|||
1118 ck_trunc|||
1119 ck_unpack|||
1120 ckwarn_d||5.009003|
1121 ckwarn||5.009003|
1122 cl_and|||n
1123 cl_anything|||n
1124 cl_init_zero|||n
1125 cl_init|||n
1126 cl_is_anything|||n
1127 cl_or|||n
1128 clear_placeholders|||
1129 closest_cop|||
1130 convert|||
1131 cop_free|||
1132 cr_textfilter|||
1133 create_eval_scope|||
1134 croak_nocontext|||vn
1135 croak_xs_usage||5.011000|
1136 croak|||v
1137 csighandler||5.009003|n
1138 curmad|||
1139 custom_op_desc||5.007003|
1140 custom_op_name||5.007003|
1141 cv_ckproto_len|||
1142 cv_clone|||
1143 cv_const_sv||5.004000|
1144 cv_dump|||
1145 cv_undef|||
1146 cx_dump||5.005000|
1147 cx_dup|||
1148 cxinc|||
1149 dAXMARK|5.009003||p
1150 dAX|5.007002||p
1151 dITEMS|5.007002||p
1152 dMARK|||
1153 dMULTICALL||5.009003|
1154 dMY_CXT_SV|5.007003||p
1155 dMY_CXT|5.007003||p
1156 dNOOP|5.006000||p
1157 dORIGMARK|||
1158 dSP|||
1159 dTHR|5.004050||p
1160 dTHXR|5.011000||p
1161 dTHXa|5.006000||p
1162 dTHXoa|5.006000||p
1163 dTHX|5.006000||p
1164 dUNDERBAR|5.009002||p
1165 dVAR|5.009003||p
1166 dXCPT|5.009002||p
1167 dXSARGS|||
1168 dXSI32|||
1169 dXSTARG|5.006000||p
1170 deb_curcv|||
1171 deb_nocontext|||vn
1172 deb_stack_all|||
1173 deb_stack_n|||
1174 debop||5.005000|
1175 debprofdump||5.005000|
1176 debprof|||
1177 debstackptrs||5.007003|
1178 debstack||5.007003|
1179 debug_start_match|||
1180 deb||5.007003|v
1181 del_sv|||
1182 delete_eval_scope|||
1183 delimcpy||5.004000|
1184 deprecate_old|||
1185 deprecate|||
1186 despatch_signals||5.007001|
1187 destroy_matcher|||
1188 die_nocontext|||vn
1189 die_where|||
1190 die|||v
1191 dirp_dup|||
1192 div128|||
1193 djSP|||
1194 do_aexec5|||
1195 do_aexec|||
1196 do_aspawn|||
1197 do_binmode||5.004050|
1198 do_chomp|||
1199 do_chop|||
1200 do_close|||
1201 do_dump_pad|||
1202 do_eof|||
1203 do_exec3|||
1204 do_execfree|||
1205 do_exec|||
1206 do_gv_dump||5.006000|
1207 do_gvgv_dump||5.006000|
1208 do_hv_dump||5.006000|
1209 do_ipcctl|||
1210 do_ipcget|||
1211 do_join|||
1212 do_kv|||
1213 do_magic_dump||5.006000|
1214 do_msgrcv|||
1215 do_msgsnd|||
1216 do_oddball|||
1217 do_op_dump||5.006000|
1218 do_op_xmldump|||
1219 do_open9||5.006000|
1220 do_openn||5.007001|
1221 do_open||5.004000|
1222 do_pmop_dump||5.006000|
1223 do_pmop_xmldump|||
1224 do_print|||
1225 do_readline|||
1226 do_seek|||
1227 do_semop|||
1228 do_shmio|||
1229 do_smartmatch|||
1230 do_spawn_nowait|||
1231 do_spawn|||
1232 do_sprintf|||
1233 do_sv_dump||5.006000|
1234 do_sysseek|||
1235 do_tell|||
1236 do_trans_complex_utf8|||
1237 do_trans_complex|||
1238 do_trans_count_utf8|||
1239 do_trans_count|||
1240 do_trans_simple_utf8|||
1241 do_trans_simple|||
1242 do_trans|||
1243 do_vecget|||
1244 do_vecset|||
1245 do_vop|||
1246 docatch|||
1247 doeval|||
1248 dofile|||
1249 dofindlabel|||
1250 doform|||
1251 doing_taint||5.008001|n
1252 dooneliner|||
1253 doopen_pm|||
1254 doparseform|||
1255 dopoptoeval|||
1256 dopoptogiven|||
1257 dopoptolabel|||
1258 dopoptoloop|||
1259 dopoptosub_at|||
1260 dopoptowhen|||
1261 doref||5.009003|
1262 dounwind|||
1263 dowantarray|||
1264 dump_all||5.006000|
1265 dump_eval||5.006000|
1266 dump_exec_pos|||
1267 dump_fds|||
1268 dump_form||5.006000|
1269 dump_indent||5.006000|v
1270 dump_mstats|||
1271 dump_packsubs||5.006000|
1272 dump_sub||5.006000|
1273 dump_sv_child|||
1274 dump_trie_interim_list|||
1275 dump_trie_interim_table|||
1276 dump_trie|||
1277 dump_vindent||5.006000|
1278 dumpuntil|||
1279 dup_attrlist|||
1280 emulate_cop_io|||
1281 eval_pv|5.006000||p
1282 eval_sv|5.006000||p
1283 exec_failed|||
1284 expect_number|||
1285 fbm_compile||5.005000|
1286 fbm_instr||5.005000|
1287 feature_is_enabled|||
1288 fetch_cop_label||5.011000|
1289 filter_add|||
1290 filter_del|||
1291 filter_gets|||
1292 filter_read|||
1293 find_and_forget_pmops|||
1294 find_array_subscript|||
1295 find_beginning|||
1296 find_byclass|||
1297 find_hash_subscript|||
1298 find_in_my_stash|||
1299 find_runcv||5.008001|
1300 find_rundefsvoffset||5.009002|
1301 find_script|||
1302 find_uninit_var|||
1303 first_symbol|||n
1304 fold_constants|||
1305 forbid_setid|||
1306 force_ident|||
1307 force_list|||
1308 force_next|||
1309 force_version|||
1310 force_word|||
1311 forget_pmop|||
1312 form_nocontext|||vn
1313 form||5.004000|v
1314 fp_dup|||
1315 fprintf_nocontext|||vn
1316 free_global_struct|||
1317 free_tied_hv_pool|||
1318 free_tmps|||
1319 gen_constant_list|||
1320 get_arena|||
1321 get_aux_mg|||
1322 get_av|5.006000||p
1323 get_context||5.006000|n
1324 get_cvn_flags||5.009005|
1325 get_cv|5.006000||p
1326 get_db_sub|||
1327 get_debug_opts|||
1328 get_hash_seed|||
1329 get_hv|5.006000||p
1330 get_isa_hash|||
1331 get_mstats|||
1332 get_no_modify|||
1333 get_num|||
1334 get_op_descs||5.005000|
1335 get_op_names||5.005000|
1336 get_opargs|||
1337 get_ppaddr||5.006000|
1338 get_re_arg|||
1339 get_sv|5.006000||p
1340 get_vtbl||5.005030|
1341 getcwd_sv||5.007002|
1342 getenv_len|||
1343 glob_2number|||
1344 glob_2pv|||
1345 glob_assign_glob|||
1346 glob_assign_ref|||
1347 gp_dup|||
1348 gp_free|||
1349 gp_ref|||
1350 grok_bin|5.007003||p
1351 grok_hex|5.007003||p
1352 grok_number|5.007002||p
1353 grok_numeric_radix|5.007002||p
1354 grok_oct|5.007003||p
1355 group_end|||
1356 gv_AVadd|||
1357 gv_HVadd|||
1358 gv_IOadd|||
1359 gv_SVadd|||
1360 gv_autoload4||5.004000|
1361 gv_check|||
1362 gv_const_sv||5.009003|
1363 gv_dump||5.006000|
1364 gv_efullname3||5.004000|
1365 gv_efullname4||5.006001|
1366 gv_efullname|||
1367 gv_ename|||
1368 gv_fetchfile_flags||5.009005|
1369 gv_fetchfile|||
1370 gv_fetchmeth_autoload||5.007003|
1371 gv_fetchmethod_autoload||5.004000|
1372 gv_fetchmethod_flags||5.011000|
1373 gv_fetchmethod|||
1374 gv_fetchmeth|||
1375 gv_fetchpvn_flags||5.009002|
1376 gv_fetchpv|||
1377 gv_fetchsv||5.009002|
1378 gv_fullname3||5.004000|
1379 gv_fullname4||5.006001|
1380 gv_fullname|||
1381 gv_get_super_pkg|||
1382 gv_handler||5.007001|
1383 gv_init_sv|||
1384 gv_init|||
1385 gv_name_set||5.009004|
1386 gv_stashpvn|5.004000||p
1387 gv_stashpvs||5.009003|
1388 gv_stashpv|||
1389 gv_stashsv|||
1390 he_dup|||
1391 hek_dup|||
1392 hfreeentries|||
1393 hsplit|||
1394 hv_assert||5.011000|
1395 hv_auxinit|||n
1396 hv_backreferences_p|||
1397 hv_clear_placeholders||5.009001|
1398 hv_clear|||
1399 hv_common_key_len||5.010000|
1400 hv_common||5.010000|
1401 hv_copy_hints_hv|||
1402 hv_delayfree_ent||5.004000|
1403 hv_delete_common|||
1404 hv_delete_ent||5.004000|
1405 hv_delete|||
1406 hv_eiter_p||5.009003|
1407 hv_eiter_set||5.009003|
1408 hv_exists_ent||5.004000|
1409 hv_exists|||
1410 hv_fetch_ent||5.004000|
1411 hv_fetchs|5.009003||p
1412 hv_fetch|||
1413 hv_free_ent||5.004000|
1414 hv_iterinit|||
1415 hv_iterkeysv||5.004000|
1416 hv_iterkey|||
1417 hv_iternext_flags||5.008000|
1418 hv_iternextsv|||
1419 hv_iternext|||
1420 hv_iterval|||
1421 hv_kill_backrefs|||
1422 hv_ksplit||5.004000|
1423 hv_magic_check|||n
1424 hv_magic|||
1425 hv_name_set||5.009003|
1426 hv_notallowed|||
1427 hv_placeholders_get||5.009003|
1428 hv_placeholders_p||5.009003|
1429 hv_placeholders_set||5.009003|
1430 hv_riter_p||5.009003|
1431 hv_riter_set||5.009003|
1432 hv_scalar||5.009001|
1433 hv_store_ent||5.004000|
1434 hv_store_flags||5.008000|
1435 hv_stores|5.009004||p
1436 hv_store|||
1437 hv_undef|||
1438 ibcmp_locale||5.004000|
1439 ibcmp_utf8||5.007003|
1440 ibcmp|||
1441 incline|||
1442 incpush_if_exists|||
1443 incpush_use_sep|||
1444 incpush|||
1445 ingroup|||
1446 init_argv_symbols|||
1447 init_debugger|||
1448 init_global_struct|||
1449 init_i18nl10n||5.006000|
1450 init_i18nl14n||5.006000|
1451 init_ids|||
1452 init_interp|||
1453 init_main_stash|||
1454 init_perllib|||
1455 init_postdump_symbols|||
1456 init_predump_symbols|||
1457 init_stacks||5.005000|
1458 init_tm||5.007002|
1459 instr|||
1460 intro_my|||
1461 intuit_method|||
1462 intuit_more|||
1463 invert|||
1464 io_close|||
1465 isALNUMC|5.006000||p
1466 isALNUM|||
1467 isALPHA|||
1468 isASCII|5.006000||p
1469 isBLANK|5.006001||p
1470 isCNTRL|5.006000||p
1471 isDIGIT|||
1472 isGRAPH|5.006000||p
1473 isLOWER|||
1474 isPRINT|5.004000||p
1475 isPSXSPC|5.006001||p
1476 isPUNCT|5.006000||p
1477 isSPACE|||
1478 isUPPER|||
1479 isXDIGIT|5.006000||p
1480 is_an_int|||
1481 is_gv_magical_sv|||
1482 is_handle_constructor|||n
1483 is_list_assignment|||
1484 is_lvalue_sub||5.007001|
1485 is_uni_alnum_lc||5.006000|
1486 is_uni_alnumc_lc||5.006000|
1487 is_uni_alnumc||5.006000|
1488 is_uni_alnum||5.006000|
1489 is_uni_alpha_lc||5.006000|
1490 is_uni_alpha||5.006000|
1491 is_uni_ascii_lc||5.006000|
1492 is_uni_ascii||5.006000|
1493 is_uni_cntrl_lc||5.006000|
1494 is_uni_cntrl||5.006000|
1495 is_uni_digit_lc||5.006000|
1496 is_uni_digit||5.006000|
1497 is_uni_graph_lc||5.006000|
1498 is_uni_graph||5.006000|
1499 is_uni_idfirst_lc||5.006000|
1500 is_uni_idfirst||5.006000|
1501 is_uni_lower_lc||5.006000|
1502 is_uni_lower||5.006000|
1503 is_uni_print_lc||5.006000|
1504 is_uni_print||5.006000|
1505 is_uni_punct_lc||5.006000|
1506 is_uni_punct||5.006000|
1507 is_uni_space_lc||5.006000|
1508 is_uni_space||5.006000|
1509 is_uni_upper_lc||5.006000|
1510 is_uni_upper||5.006000|
1511 is_uni_xdigit_lc||5.006000|
1512 is_uni_xdigit||5.006000|
1513 is_utf8_alnumc||5.006000|
1514 is_utf8_alnum||5.006000|
1515 is_utf8_alpha||5.006000|
1516 is_utf8_ascii||5.006000|
1517 is_utf8_char_slow|||n
1518 is_utf8_char||5.006000|
1519 is_utf8_cntrl||5.006000|
1520 is_utf8_common|||
1521 is_utf8_digit||5.006000|
1522 is_utf8_graph||5.006000|
1523 is_utf8_idcont||5.008000|
1524 is_utf8_idfirst||5.006000|
1525 is_utf8_lower||5.006000|
1526 is_utf8_mark||5.006000|
1527 is_utf8_print||5.006000|
1528 is_utf8_punct||5.006000|
1529 is_utf8_space||5.006000|
1530 is_utf8_string_loclen||5.009003|
1531 is_utf8_string_loc||5.008001|
1532 is_utf8_string||5.006001|
1533 is_utf8_upper||5.006000|
1534 is_utf8_xdigit||5.006000|
1535 isa_lookup|||
1536 items|||n
1537 ix|||n
1538 jmaybe|||
1539 join_exact|||
1540 keyword|||
1541 leave_scope|||
1542 lex_end|||
1543 lex_start|||
1544 linklist|||
1545 listkids|||
1546 list|||
1547 load_module_nocontext|||vn
1548 load_module|5.006000||pv
1549 localize|||
1550 looks_like_bool|||
1551 looks_like_number|||
1552 lop|||
1553 mPUSHi|5.009002||p
1554 mPUSHn|5.009002||p
1555 mPUSHp|5.009002||p
1556 mPUSHs|5.011000||p
1557 mPUSHu|5.009002||p
1558 mXPUSHi|5.009002||p
1559 mXPUSHn|5.009002||p
1560 mXPUSHp|5.009002||p
1561 mXPUSHs|5.011000||p
1562 mXPUSHu|5.009002||p
1563 mad_free|||
1564 madlex|||
1565 madparse|||
1566 magic_clear_all_env|||
1567 magic_clearenv|||
1568 magic_clearhint|||
1569 magic_clearisa|||
1570 magic_clearpack|||
1571 magic_clearsig|||
1572 magic_dump||5.006000|
1573 magic_existspack|||
1574 magic_freearylen_p|||
1575 magic_freeovrld|||
1576 magic_getarylen|||
1577 magic_getdefelem|||
1578 magic_getnkeys|||
1579 magic_getpack|||
1580 magic_getpos|||
1581 magic_getsig|||
1582 magic_getsubstr|||
1583 magic_gettaint|||
1584 magic_getuvar|||
1585 magic_getvec|||
1586 magic_get|||
1587 magic_killbackrefs|||
1588 magic_len|||
1589 magic_methcall|||
1590 magic_methpack|||
1591 magic_nextpack|||
1592 magic_regdata_cnt|||
1593 magic_regdatum_get|||
1594 magic_regdatum_set|||
1595 magic_scalarpack|||
1596 magic_set_all_env|||
1597 magic_setamagic|||
1598 magic_setarylen|||
1599 magic_setcollxfrm|||
1600 magic_setdbline|||
1601 magic_setdefelem|||
1602 magic_setenv|||
1603 magic_sethint|||
1604 magic_setisa|||
1605 magic_setmglob|||
1606 magic_setnkeys|||
1607 magic_setpack|||
1608 magic_setpos|||
1609 magic_setregexp|||
1610 magic_setsig|||
1611 magic_setsubstr|||
1612 magic_settaint|||
1613 magic_setutf8|||
1614 magic_setuvar|||
1615 magic_setvec|||
1616 magic_set|||
1617 magic_sizepack|||
1618 magic_wipepack|||
1619 make_matcher|||
1620 make_trie_failtable|||
1621 make_trie|||
1622 malloc_good_size|||n
1623 malloced_size|||n
1624 malloc||5.007002|n
1625 markstack_grow|||
1626 matcher_matches_sv|||
1627 measure_struct|||
1628 memEQ|5.004000||p
1629 memNE|5.004000||p
1630 mem_collxfrm|||
1631 mem_log_common|||n
1632 mess_alloc|||
1633 mess_nocontext|||vn
1634 mess||5.006000|v
1635 method_common|||
1636 mfree||5.007002|n
1637 mg_clear|||
1638 mg_copy|||
1639 mg_dup|||
1640 mg_find|||
1641 mg_free|||
1642 mg_get|||
1643 mg_length||5.005000|
1644 mg_localize|||
1645 mg_magical|||
1646 mg_set|||
1647 mg_size||5.005000|
1648 mini_mktime||5.007002|
1649 missingterm|||
1650 mode_from_discipline|||
1651 modkids|||
1652 mod|||
1653 more_bodies|||
1654 more_sv|||
1655 moreswitches|||
1656 mro_get_from_name||5.011000|
1657 mro_get_linear_isa_dfs|||
1658 mro_get_linear_isa||5.009005|
1659 mro_get_private_data||5.011000|
1660 mro_isa_changed_in|||
1661 mro_meta_dup|||
1662 mro_meta_init|||
1663 mro_method_changed_in||5.009005|
1664 mro_register||5.011000|
1665 mro_set_mro||5.011000|
1666 mro_set_private_data||5.011000|
1667 mul128|||
1668 mulexp10|||n
1669 my_atof2||5.007002|
1670 my_atof||5.006000|
1671 my_attrs|||
1672 my_bcopy|||n
1673 my_betoh16|||n
1674 my_betoh32|||n
1675 my_betoh64|||n
1676 my_betohi|||n
1677 my_betohl|||n
1678 my_betohs|||n
1679 my_bzero|||n
1680 my_chsize|||
1681 my_clearenv|||
1682 my_cxt_index|||
1683 my_cxt_init|||
1684 my_dirfd||5.009005|
1685 my_exit_jump|||
1686 my_exit|||
1687 my_failure_exit||5.004000|
1688 my_fflush_all||5.006000|
1689 my_fork||5.007003|n
1690 my_htobe16|||n
1691 my_htobe32|||n
1692 my_htobe64|||n
1693 my_htobei|||n
1694 my_htobel|||n
1695 my_htobes|||n
1696 my_htole16|||n
1697 my_htole32|||n
1698 my_htole64|||n
1699 my_htolei|||n
1700 my_htolel|||n
1701 my_htoles|||n
1702 my_htonl|||
1703 my_kid|||
1704 my_letoh16|||n
1705 my_letoh32|||n
1706 my_letoh64|||n
1707 my_letohi|||n
1708 my_letohl|||n
1709 my_letohs|||n
1710 my_lstat|||
1711 my_memcmp||5.004000|n
1712 my_memset|||n
1713 my_ntohl|||
1714 my_pclose||5.004000|
1715 my_popen_list||5.007001|
1716 my_popen||5.004000|
1717 my_setenv|||
1718 my_snprintf|5.009004||pvn
1719 my_socketpair||5.007003|n
1720 my_sprintf|5.009003||pvn
1721 my_stat|||
1722 my_strftime||5.007002|
1723 my_strlcat|5.009004||pn
1724 my_strlcpy|5.009004||pn
1725 my_swabn|||n
1726 my_swap|||
1727 my_unexec|||
1728 my_vsnprintf||5.009004|n
1729 need_utf8|||n
1730 newANONATTRSUB||5.006000|
1731 newANONHASH|||
1732 newANONLIST|||
1733 newANONSUB|||
1734 newASSIGNOP|||
1735 newATTRSUB||5.006000|
1736 newAVREF|||
1737 newAV|||
1738 newBINOP|||
1739 newCONDOP|||
1740 newCONSTSUB|5.004050||p
1741 newCVREF|||
1742 newDEFSVOP|||
1743 newFORM|||
1744 newFOROP|||
1745 newGIVENOP||5.009003|
1746 newGIVWHENOP|||
1747 newGP|||
1748 newGVOP|||
1749 newGVREF|||
1750 newGVgen|||
1751 newHVREF|||
1752 newHVhv||5.005000|
1753 newHV|||
1754 newIO|||
1755 newLISTOP|||
1756 newLOGOP|||
1757 newLOOPEX|||
1758 newLOOPOP|||
1759 newMADPROP|||
1760 newMADsv|||
1761 newMYSUB|||
1762 newNULLLIST|||
1763 newOP|||
1764 newPADOP|||
1765 newPMOP|||
1766 newPROG|||
1767 newPVOP|||
1768 newRANGE|||
1769 newRV_inc|5.004000||p
1770 newRV_noinc|5.004000||p
1771 newRV|||
1772 newSLICEOP|||
1773 newSTATEOP|||
1774 newSUB|||
1775 newSVOP|||
1776 newSVREF|||
1777 newSV_type||5.009005|
1778 newSVhek||5.009003|
1779 newSViv|||
1780 newSVnv|||
1781 newSVpvf_nocontext|||vn
1782 newSVpvf||5.004000|v
1783 newSVpvn_flags|5.011000||p
1784 newSVpvn_share|5.007001||p
1785 newSVpvn_utf8|5.011000||p
1786 newSVpvn|5.004050||p
1787 newSVpvs_flags|5.011000||p
1788 newSVpvs_share||5.009003|
1789 newSVpvs|5.009003||p
1790 newSVpv|||
1791 newSVrv|||
1792 newSVsv|||
1793 newSVuv|5.006000||p
1794 newSV|||
1795 newTOKEN|||
1796 newUNOP|||
1797 newWHENOP||5.009003|
1798 newWHILEOP||5.009003|
1799 newXS_flags||5.009004|
1800 newXSproto||5.006000|
1801 newXS||5.006000|
1802 new_collate||5.006000|
1803 new_constant|||
1804 new_ctype||5.006000|
1805 new_he|||
1806 new_logop|||
1807 new_numeric||5.006000|
1808 new_stackinfo||5.005000|
1809 new_version||5.009000|
1810 new_warnings_bitfield|||
1811 next_symbol|||
1812 nextargv|||
1813 nextchar|||
1814 ninstr|||
1815 no_bareword_allowed|||
1816 no_fh_allowed|||
1817 no_op|||
1818 not_a_number|||
1819 nothreadhook||5.008000|
1820 nuke_stacks|||
1821 num_overflow|||n
1822 offer_nice_chunk|||
1823 oopsAV|||
1824 oopsHV|||
1825 op_clear|||
1826 op_const_sv|||
1827 op_dump||5.006000|
1828 op_free|||
1829 op_getmad_weak|||
1830 op_getmad|||
1831 op_null||5.007002|
1832 op_refcnt_dec|||
1833 op_refcnt_inc|||
1834 op_refcnt_lock||5.009002|
1835 op_refcnt_unlock||5.009002|
1836 op_xmldump|||
1837 open_script|||
1838 pMY_CXT_|5.007003||p
1839 pMY_CXT|5.007003||p
1840 pTHX_|5.006000||p
1841 pTHX|5.006000||p
1842 packWARN|5.007003||p
1843 pack_cat||5.007003|
1844 pack_rec|||
1845 package|||
1846 packlist||5.008001|
1847 pad_add_anon|||
1848 pad_add_name|||
1849 pad_alloc|||
1850 pad_block_start|||
1851 pad_check_dup|||
1852 pad_compname_type|||
1853 pad_findlex|||
1854 pad_findmy|||
1855 pad_fixup_inner_anons|||
1856 pad_free|||
1857 pad_leavemy|||
1858 pad_new|||
1859 pad_peg|||n
1860 pad_push|||
1861 pad_reset|||
1862 pad_setsv|||
1863 pad_sv||5.011000|
1864 pad_swipe|||
1865 pad_tidy|||
1866 pad_undef|||
1867 parse_body|||
1868 parse_unicode_opts|||
1869 parser_dup|||
1870 parser_free|||
1871 path_is_absolute|||n
1872 peep|||
1873 pending_Slabs_to_ro|||
1874 perl_alloc_using|||n
1875 perl_alloc|||n
1876 perl_clone_using|||n
1877 perl_clone|||n
1878 perl_construct|||n
1879 perl_destruct||5.007003|n
1880 perl_free|||n
1881 perl_parse||5.006000|n
1882 perl_run|||n
1883 pidgone|||
1884 pm_description|||
1885 pmflag|||
1886 pmop_dump||5.006000|
1887 pmop_xmldump|||
1888 pmruntime|||
1889 pmtrans|||
1890 pop_scope|||
1891 pregcomp||5.009005|
1892 pregexec|||
1893 pregfree2||5.011000|
1894 pregfree|||
1895 prepend_elem|||
1896 prepend_madprops|||
1897 printbuf|||
1898 printf_nocontext|||vn
1899 process_special_blocks|||
1900 ptr_table_clear||5.009005|
1901 ptr_table_fetch||5.009005|
1902 ptr_table_find|||n
1903 ptr_table_free||5.009005|
1904 ptr_table_new||5.009005|
1905 ptr_table_split||5.009005|
1906 ptr_table_store||5.009005|
1907 push_scope|||
1908 put_byte|||
1909 pv_display|5.006000||p
1910 pv_escape|5.009004||p
1911 pv_pretty|5.009004||p
1912 pv_uni_display||5.007003|
1913 qerror|||
1914 qsortsvu|||
1915 re_compile||5.009005|
1916 re_croak2|||
1917 re_dup_guts|||
1918 re_intuit_start||5.009005|
1919 re_intuit_string||5.006000|
1920 readpipe_override|||
1921 realloc||5.007002|n
1922 reentrant_free|||
1923 reentrant_init|||
1924 reentrant_retry|||vn
1925 reentrant_size|||
1926 ref_array_or_hash|||
1927 refcounted_he_chain_2hv|||
1928 refcounted_he_fetch|||
1929 refcounted_he_free|||
1930 refcounted_he_new_common|||
1931 refcounted_he_new|||
1932 refcounted_he_value|||
1933 refkids|||
1934 refto|||
1935 ref||5.011000|
1936 reg_check_named_buff_matched|||
1937 reg_named_buff_all||5.009005|
1938 reg_named_buff_exists||5.009005|
1939 reg_named_buff_fetch||5.009005|
1940 reg_named_buff_firstkey||5.009005|
1941 reg_named_buff_iter|||
1942 reg_named_buff_nextkey||5.009005|
1943 reg_named_buff_scalar||5.009005|
1944 reg_named_buff|||
1945 reg_namedseq|||
1946 reg_node|||
1947 reg_numbered_buff_fetch|||
1948 reg_numbered_buff_length|||
1949 reg_numbered_buff_store|||
1950 reg_qr_package|||
1951 reg_recode|||
1952 reg_scan_name|||
1953 reg_skipcomment|||
1954 reg_temp_copy|||
1955 reganode|||
1956 regatom|||
1957 regbranch|||
1958 regclass_swash||5.009004|
1959 regclass|||
1960 regcppop|||
1961 regcppush|||
1962 regcurly|||n
1963 regdump_extflags|||
1964 regdump||5.005000|
1965 regdupe_internal|||
1966 regexec_flags||5.005000|
1967 regfree_internal||5.009005|
1968 reghop3|||n
1969 reghop4|||n
1970 reghopmaybe3|||n
1971 reginclass|||
1972 reginitcolors||5.006000|
1973 reginsert|||
1974 regmatch|||
1975 regnext||5.005000|
1976 regpiece|||
1977 regpposixcc|||
1978 regprop|||
1979 regrepeat|||
1980 regtail_study|||
1981 regtail|||
1982 regtry|||
1983 reguni|||
1984 regwhite|||n
1985 reg|||
1986 repeatcpy|||
1987 report_evil_fh|||
1988 report_uninit|||
1989 require_pv||5.006000|
1990 require_tie_mod|||
1991 restore_magic|||
1992 rninstr|||
1993 rsignal_restore|||
1994 rsignal_save|||
1995 rsignal_state||5.004000|
1996 rsignal||5.004000|
1997 run_body|||
1998 run_user_filter|||
1999 runops_debug||5.005000|
2000 runops_standard||5.005000|
2001 rvpv_dup|||
2002 rxres_free|||
2003 rxres_restore|||
2004 rxres_save|||
2005 safesyscalloc||5.006000|n
2006 safesysfree||5.006000|n
2007 safesysmalloc||5.006000|n
2008 safesysrealloc||5.006000|n
2009 same_dirent|||
2010 save_I16||5.004000|
2011 save_I32|||
2012 save_I8||5.006000|
2013 save_adelete||5.011000|
2014 save_aelem||5.004050|
2015 save_alloc||5.006000|
2016 save_aptr|||
2017 save_ary|||
2018 save_bool||5.008001|
2019 save_clearsv|||
2020 save_delete|||
2021 save_destructor_x||5.006000|
2022 save_destructor||5.006000|
2023 save_freeop|||
2024 save_freepv|||
2025 save_freesv|||
2026 save_generic_pvref||5.006001|
2027 save_generic_svref||5.005030|
2028 save_gp||5.004000|
2029 save_hash|||
2030 save_hek_flags|||n
2031 save_helem_flags||5.011000|
2032 save_helem||5.004050|
2033 save_hints|||
2034 save_hptr|||
2035 save_int|||
2036 save_item|||
2037 save_iv||5.005000|
2038 save_lines|||
2039 save_list|||
2040 save_long|||
2041 save_magic|||
2042 save_mortalizesv||5.007001|
2043 save_nogv|||
2044 save_op|||
2045 save_padsv_and_mortalize||5.011000|
2046 save_pptr|||
2047 save_pushi32ptr|||
2048 save_pushptri32ptr|||
2049 save_pushptrptr|||
2050 save_pushptr||5.011000|
2051 save_re_context||5.006000|
2052 save_scalar_at|||
2053 save_scalar|||
2054 save_set_svflags||5.009000|
2055 save_shared_pvref||5.007003|
2056 save_sptr|||
2057 save_svref|||
2058 save_vptr||5.006000|
2059 savepvn|||
2060 savepvs||5.009003|
2061 savepv|||
2062 savesharedpvn||5.009005|
2063 savesharedpv||5.007003|
2064 savestack_grow_cnt||5.008001|
2065 savestack_grow|||
2066 savesvpv||5.009002|
2067 sawparens|||
2068 scalar_mod_type|||n
2069 scalarboolean|||
2070 scalarkids|||
2071 scalarseq|||
2072 scalarvoid|||
2073 scalar|||
2074 scan_bin||5.006000|
2075 scan_commit|||
2076 scan_const|||
2077 scan_formline|||
2078 scan_heredoc|||
2079 scan_hex|||
2080 scan_ident|||
2081 scan_inputsymbol|||
2082 scan_num||5.007001|
2083 scan_oct|||
2084 scan_pat|||
2085 scan_str|||
2086 scan_subst|||
2087 scan_trans|||
2088 scan_version||5.009001|
2089 scan_vstring||5.009005|
2090 scan_word|||
2091 scope|||
2092 screaminstr||5.005000|
2093 search_const|||
2094 seed||5.008001|
2095 sequence_num|||
2096 sequence_tail|||
2097 sequence|||
2098 set_context||5.006000|n
2099 set_numeric_local||5.006000|
2100 set_numeric_radix||5.006000|
2101 set_numeric_standard||5.006000|
2102 setdefout|||
2103 share_hek_flags|||
2104 share_hek||5.004000|
2105 si_dup|||
2106 sighandler|||n
2107 simplify_sort|||
2108 skipspace0|||
2109 skipspace1|||
2110 skipspace2|||
2111 skipspace|||
2112 softref2xv|||
2113 sortcv_stacked|||
2114 sortcv_xsub|||
2115 sortcv|||
2116 sortsv_flags||5.009003|
2117 sortsv||5.007003|
2118 space_join_names_mortal|||
2119 ss_dup|||
2120 stack_grow|||
2121 start_force|||
2122 start_glob|||
2123 start_subparse||5.004000|
2124 stashpv_hvname_match||5.011000|
2125 stdize_locale|||
2126 store_cop_label|||
2127 strEQ|||
2128 strGE|||
2129 strGT|||
2130 strLE|||
2131 strLT|||
2132 strNE|||
2133 str_to_version||5.006000|
2134 strip_return|||
2135 strnEQ|||
2136 strnNE|||
2137 study_chunk|||
2138 sub_crush_depth|||
2139 sublex_done|||
2140 sublex_push|||
2141 sublex_start|||
2142 sv_2bool|||
2143 sv_2cv|||
2144 sv_2io|||
2145 sv_2iuv_common|||
2146 sv_2iuv_non_preserve|||
2147 sv_2iv_flags||5.009001|
2148 sv_2iv|||
2149 sv_2mortal|||
2150 sv_2num|||
2151 sv_2nv|||
2152 sv_2pv_flags|5.007002||p
2153 sv_2pv_nolen|5.006000||p
2154 sv_2pvbyte_nolen|5.006000||p
2155 sv_2pvbyte|5.006000||p
2156 sv_2pvutf8_nolen||5.006000|
2157 sv_2pvutf8||5.006000|
2158 sv_2pv|||
2159 sv_2uv_flags||5.009001|
2160 sv_2uv|5.004000||p
2161 sv_add_arena|||
2162 sv_add_backref|||
2163 sv_backoff|||
2164 sv_bless|||
2165 sv_cat_decode||5.008001|
2166 sv_catpv_mg|5.004050||p
2167 sv_catpvf_mg_nocontext|||pvn
2168 sv_catpvf_mg|5.006000|5.004000|pv
2169 sv_catpvf_nocontext|||vn
2170 sv_catpvf||5.004000|v
2171 sv_catpvn_flags||5.007002|
2172 sv_catpvn_mg|5.004050||p
2173 sv_catpvn_nomg|5.007002||p
2174 sv_catpvn|||
2175 sv_catpvs|5.009003||p
2176 sv_catpv|||
2177 sv_catsv_flags||5.007002|
2178 sv_catsv_mg|5.004050||p
2179 sv_catsv_nomg|5.007002||p
2180 sv_catsv|||
2181 sv_catxmlpvn|||
2182 sv_catxmlsv|||
2183 sv_chop|||
2184 sv_clean_all|||
2185 sv_clean_objs|||
2186 sv_clear|||
2187 sv_cmp_locale||5.004000|
2188 sv_cmp|||
2189 sv_collxfrm|||
2190 sv_compile_2op||5.008001|
2191 sv_copypv||5.007003|
2192 sv_dec|||
2193 sv_del_backref|||
2194 sv_derived_from||5.004000|
2195 sv_destroyable||5.010000|
2196 sv_does||5.009004|
2197 sv_dump|||
2198 sv_dup|||
2199 sv_eq|||
2200 sv_exp_grow|||
2201 sv_force_normal_flags||5.007001|
2202 sv_force_normal||5.006000|
2203 sv_free2|||
2204 sv_free_arenas|||
2205 sv_free|||
2206 sv_gets||5.004000|
2207 sv_grow|||
2208 sv_i_ncmp|||
2209 sv_inc|||
2210 sv_insert_flags||5.011000|
2211 sv_insert|||
2212 sv_isa|||
2213 sv_isobject|||
2214 sv_iv||5.005000|
2215 sv_kill_backrefs|||
2216 sv_len_utf8||5.006000|
2217 sv_len|||
2218 sv_magic_portable|5.011000|5.004000|p
2219 sv_magicext||5.007003|
2220 sv_magic|||
2221 sv_mortalcopy|||
2222 sv_ncmp|||
2223 sv_newmortal|||
2224 sv_newref|||
2225 sv_nolocking||5.007003|
2226 sv_nosharing||5.007003|
2227 sv_nounlocking|||
2228 sv_nv||5.005000|
2229 sv_peek||5.005000|
2230 sv_pos_b2u_midway|||
2231 sv_pos_b2u||5.006000|
2232 sv_pos_u2b_cached|||
2233 sv_pos_u2b_forwards|||n
2234 sv_pos_u2b_midway|||n
2235 sv_pos_u2b||5.006000|
2236 sv_pvbyten_force||5.006000|
2237 sv_pvbyten||5.006000|
2238 sv_pvbyte||5.006000|
2239 sv_pvn_force_flags|5.007002||p
2240 sv_pvn_force|||
2241 sv_pvn_nomg|5.007003|5.005000|p
2242 sv_pvn||5.005000|
2243 sv_pvutf8n_force||5.006000|
2244 sv_pvutf8n||5.006000|
2245 sv_pvutf8||5.006000|
2246 sv_pv||5.006000|
2247 sv_recode_to_utf8||5.007003|
2248 sv_reftype|||
2249 sv_release_COW|||
2250 sv_replace|||
2251 sv_report_used|||
2252 sv_reset|||
2253 sv_rvweaken||5.006000|
2254 sv_setiv_mg|5.004050||p
2255 sv_setiv|||
2256 sv_setnv_mg|5.006000||p
2257 sv_setnv|||
2258 sv_setpv_mg|5.004050||p
2259 sv_setpvf_mg_nocontext|||pvn
2260 sv_setpvf_mg|5.006000|5.004000|pv
2261 sv_setpvf_nocontext|||vn
2262 sv_setpvf||5.004000|v
2263 sv_setpviv_mg||5.008001|
2264 sv_setpviv||5.008001|
2265 sv_setpvn_mg|5.004050||p
2266 sv_setpvn|||
2267 sv_setpvs|5.009004||p
2268 sv_setpv|||
2269 sv_setref_iv|||
2270 sv_setref_nv|||
2271 sv_setref_pvn|||
2272 sv_setref_pv|||
2273 sv_setref_uv||5.007001|
2274 sv_setsv_cow|||
2275 sv_setsv_flags||5.007002|
2276 sv_setsv_mg|5.004050||p
2277 sv_setsv_nomg|5.007002||p
2278 sv_setsv|||
2279 sv_setuv_mg|5.004050||p
2280 sv_setuv|5.004000||p
2281 sv_tainted||5.004000|
2282 sv_taint||5.004000|
2283 sv_true||5.005000|
2284 sv_unglob|||
2285 sv_uni_display||5.007003|
2286 sv_unmagic|||
2287 sv_unref_flags||5.007001|
2288 sv_unref|||
2289 sv_untaint||5.004000|
2290 sv_upgrade|||
2291 sv_usepvn_flags||5.009004|
2292 sv_usepvn_mg|5.004050||p
2293 sv_usepvn|||
2294 sv_utf8_decode||5.006000|
2295 sv_utf8_downgrade||5.006000|
2296 sv_utf8_encode||5.006000|
2297 sv_utf8_upgrade_flags_grow||5.011000|
2298 sv_utf8_upgrade_flags||5.007002|
2299 sv_utf8_upgrade_nomg||5.007002|
2300 sv_utf8_upgrade||5.007001|
2301 sv_uv|5.005000||p
2302 sv_vcatpvf_mg|5.006000|5.004000|p
2303 sv_vcatpvfn||5.004000|
2304 sv_vcatpvf|5.006000|5.004000|p
2305 sv_vsetpvf_mg|5.006000|5.004000|p
2306 sv_vsetpvfn||5.004000|
2307 sv_vsetpvf|5.006000|5.004000|p
2308 sv_xmlpeek|||
2309 svtype|||
2310 swallow_bom|||
2311 swap_match_buff|||
2312 swash_fetch||5.007002|
2313 swash_get|||
2314 swash_init||5.006000|
2315 sys_init3||5.010000|n
2316 sys_init||5.010000|n
2317 sys_intern_clear|||
2318 sys_intern_dup|||
2319 sys_intern_init|||
2320 sys_term||5.010000|n
2321 taint_env|||
2322 taint_proper|||
2323 tmps_grow||5.006000|
2324 toLOWER|||
2325 toUPPER|||
2326 to_byte_substr|||
2327 to_uni_fold||5.007003|
2328 to_uni_lower_lc||5.006000|
2329 to_uni_lower||5.007003|
2330 to_uni_title_lc||5.006000|
2331 to_uni_title||5.007003|
2332 to_uni_upper_lc||5.006000|
2333 to_uni_upper||5.007003|
2334 to_utf8_case||5.007003|
2335 to_utf8_fold||5.007003|
2336 to_utf8_lower||5.007003|
2337 to_utf8_substr|||
2338 to_utf8_title||5.007003|
2339 to_utf8_upper||5.007003|
2340 token_free|||
2341 token_getmad|||
2342 tokenize_use|||
2343 tokeq|||
2344 tokereport|||
2345 too_few_arguments|||
2346 too_many_arguments|||
2347 uiv_2buf|||n
2348 unlnk|||
2349 unpack_rec|||
2350 unpack_str||5.007003|
2351 unpackstring||5.008001|
2352 unshare_hek_or_pvn|||
2353 unshare_hek|||
2354 unsharepvn||5.004000|
2355 unwind_handler_stack|||
2356 update_debugger_info|||
2357 upg_version||5.009005|
2358 usage|||
2359 utf16_to_utf8_reversed||5.006001|
2360 utf16_to_utf8||5.006001|
2361 utf8_distance||5.006000|
2362 utf8_hop||5.006000|
2363 utf8_length||5.007001|
2364 utf8_mg_pos_cache_update|||
2365 utf8_to_bytes||5.006001|
2366 utf8_to_uvchr||5.007001|
2367 utf8_to_uvuni||5.007001|
2368 utf8n_to_uvchr|||
2369 utf8n_to_uvuni||5.007001|
2370 utilize|||
2371 uvchr_to_utf8_flags||5.007003|
2372 uvchr_to_utf8|||
2373 uvuni_to_utf8_flags||5.007003|
2374 uvuni_to_utf8||5.007001|
2375 validate_suid|||
2376 varname|||
2377 vcmp||5.009000|
2378 vcroak||5.006000|
2379 vdeb||5.007003|
2380 vdie_common|||
2381 vdie_croak_common|||
2382 vdie|||
2383 vform||5.006000|
2384 visit|||
2385 vivify_defelem|||
2386 vivify_ref|||
2387 vload_module|5.006000||p
2388 vmess||5.006000|
2389 vnewSVpvf|5.006000|5.004000|p
2390 vnormal||5.009002|
2391 vnumify||5.009000|
2392 vstringify||5.009000|
2393 vverify||5.009003|
2394 vwarner||5.006000|
2395 vwarn||5.006000|
2396 wait4pid|||
2397 warn_nocontext|||vn
2398 warner_nocontext|||vn
2399 warner|5.006000|5.004000|pv
2400 warn|||v
2401 watch|||
2402 whichsig|||
2403 write_no_mem|||
2404 write_to_stderr|||
2405 xmldump_all|||
2406 xmldump_attr|||
2407 xmldump_eval|||
2408 xmldump_form|||
2409 xmldump_indent|||v
2410 xmldump_packsubs|||
2411 xmldump_sub|||
2412 xmldump_vindent|||
2413 yyerror|||
2414 yylex|||
2415 yyparse|||
2416 yywarn|||
2417 );
2418  
2419 3 ▶if (exists $opt{'list-unsupported'}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $opt{"list-unsupported"}) 0 3 3
2420 0 my $f;
2421 0 for $f (sort { lc $a cmp lc $b } keys %API) {
2422 0 ▶ next unless $API{$f}{todo};
Branch: 1 branch
BranchTrueFalseTotal
unless $API{$f}{"todo"} 0 0 0
2423 0 print "$f ", '.'x(40-length($f)), " ", format_version($API{$f}{todo}), "\n";
2424 }
2425 0 exit 0;
2426 }
2427  
2428 # Scan for possible replacement candidates
2429  
2430 3 my(%replace, %need, %hints, %warnings, %depends);
2431 3 my $replace = 0;
2432 3 my($hint, $define, $function);
2433  
2434 sub find_api
2435 1169 ▶{
Subroutine find_api: called CC=1 SCAR=0.0
2436 1169 my $code = shift;
2437 1169 $code =~ s{
2438 / (?: \*[^*]*\*+(?:[^$ccs][^*]*\*+)* / | /[^\r\n]*)
2439 | "[^"\\]*(?:\\.[^"\\]*)*"
2440 | '[^'\\]*(?:\\.[^'\\]*)*' }{}egsx;
2441 1169 grep { exists $API{$_} } $code =~ /(\w+)/mg;
2442 }
2443  
2444 3 ▶while (<DATA>) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined($_ = readline DATA)) 11499 3 11502
2445 11499 ▶ if ($hint) {
Branch: 1 branch
BranchTrueFalseTotal
if ($hint) 186 11313 11499
2446 186 ▶ my $h = $hint->[0] eq 'Hint' ? \%hints : \%warnings;
Branch: 1 branch
BranchTrueFalseTotal
$hint->[0] eq 'Hint' ? : 126 60 186
2447 186 ▶ if (m{^\s*\*\s(.*?)\s*$}) {
Branch: 1 branch
BranchTrueFalseTotal
if (/^\s*\*\s(.*?)\s*$/) { } 144 42 186
2448 144 for (@{$hint->[1]}) {
2449 441 ▶ $h->{$_} ||= ''; # suppress warning with older perls
Condition100%2/2
$h->{$_} ||= ""
l!l
37269
MC/DC100%1/1
$h->{$_} ||= ""
$h->{$_}
Truth table100%2/2
A
A= $h->{$_}
Aresult
11
00
2450 441 $h->{$_} .= "$1\n";
2451 }
2452 }
2453 42 else { undef $hint }
2454 }
2455  
2456 11499 ▶ $hint = [$1, [split /,?\s+/, $2]]
Branch: 1 branch
BranchTrueFalseTotal
if /^\s*$rccs\s+(Hint|Warning):\s+(\w+(?:,?\s+\w+)*)\s*$/ 42 11457 11499
2457 if m{^\s*$rccs\s+(Hint|Warning):\s+(\w+(?:,?\s+\w+)*)\s*$};
2458  
2459 11499 ▶ if ($define) {
Branch: 1 branch
BranchTrueFalseTotal
if ($define) 2496 9003 11499
2460 2496 ▶ if ($define->[1] =~ /\\$/) {
Branch: 1 branch
BranchTrueFalseTotal
if ($define->[1] =~ /\\$/) { } 549 1947 2496
2461 549 $define->[1] .= $_;
2462 }
2463 else {
2464 1947 ▶ if (exists $API{$define->[0]} && $define->[1] !~ /^DPPP_\(/) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $API{$define->[0]} and not $define->[1] =~ /^DPPP_\(/) 1668 279 1947
Condition100%3/3
exists $API{$define->[0]} and not $define->[1] =~ /^DPPP_\(/
!ll&&!rl&&r
201781668
MC/DC100%2/2
exists $API{$define->[0]} and not $define->[1] =~ /^DPPP_\(/
exists $API{$define->[0]} not $define->[1] =~ /^DPPP_\(/
Truth table100%3/3
A and not(B)
A= exists $API{$define->[0]}B= not $define->[1] =~ /^DPPP_\(/
ABresult
0X0
100
111
2465 1668 my @n = find_api($define->[1]);
2466 1668 ▶ push @{$depends{$define->[0]}}, @n if @n
Branch: 1 branch
BranchTrueFalseTotal
if @n 600 1068 1668
2467 }
2468 1947 undef $define;
2469 }
2470 }
2471  
2472 11499 ▶ $define = [$1, $2] if m{^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(.*)};
Branch: 1 branch
BranchTrueFalseTotal
if /^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(.*)/ 1947 9552 11499
2473  
2474 11499 ▶ if ($function) {
Branch: 1 branch
BranchTrueFalseTotal
if ($function) 2451 9048 11499
2475 2451 ▶ if (/^}/) {
Branch: 1 branch
BranchTrueFalseTotal
if (/^}/) { } 84 2367 2451
2476 84 ▶ if (exists $API{$function->[0]}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $API{$function->[0]}) 84 0 84
2477 84 my @n = find_api($function->[1]);
2478 84 ▶ push @{$depends{$function->[0]}}, @n if @n
Branch: 1 branch
BranchTrueFalseTotal
if @n 75 9 84
2479 }
2480 84 undef $function;
2481 }
2482 else {
2483 2367 $function->[1] .= $_;
2484 }
2485 }
2486  
2487 11499 ▶ $function = [$1, ''] if m{^DPPP_\(my_(\w+)\)};
Branch: 1 branch
BranchTrueFalseTotal
if /^DPPP_\(my_(\w+)\)/ 84 11415 11499
2488  
2489 11499 ▶ $replace = $1 if m{^\s*$rccs\s+Replace:\s+(\d+)\s+$rcce\s*$};
Branch: 1 branch
BranchTrueFalseTotal
if /^\s*$rccs\s+Replace:\s+(\d+)\s+$rcce\s*$/ 30 11469 11499
2490 11499 ▶ $replace{$2} = $1 if $replace and m{^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(\w+)};
Branch: 1 branch
BranchTrueFalseTotal
if $replace and /^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(\w+)/ 159 11340 11499
Condition100%3/3
$replace and /^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(\w+)/
!ll&&!rl&&r
1124496159
MC/DC100%2/2
$replace and /^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(\w+)/
$replace /^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(\w+)/
Truth table100%3/3
A and B
A= $replaceB= /^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(\w+)/
ABresult
0X0
100
111
2491 11499 ▶ $replace{$2} = $1 if m{^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(\w+).*$rccs\s+Replace\s+$rcce};
Branch: 1 branch
BranchTrueFalseTotal
if /^\s*#\s*define\s+(\w+)(?:\([^)]*\))?\s+(\w+).*$rccs\s+Replace\s+$rcce/ 3 11496 11499
2492 11499 ▶ $replace{$1} = $2 if m{^\s*$rccs\s+Replace (\w+) with (\w+)\s+$rcce\s*$};
Branch: 1 branch
BranchTrueFalseTotal
if /^\s*$rccs\s+Replace (\w+) with (\w+)\s+$rcce\s*$/ 6 11493 11499
2493  
2494 11499 ▶ if (m{^\s*$rccs\s+(\w+(\s*,\s*\w+)*)\s+depends\s+on\s+(\w+(\s*,\s*\w+)*)\s+$rcce\s*$}) {
Branch: 1 branch
BranchTrueFalseTotal
if (/^\s*$rccs\s+(\w+(\s*,\s*\w+)*)\s+depends\s+on\s+(\w+(\s*,\s*\w+)*)\s+$rcce\s*$/) 9 11490 11499
2495 9 my @deps = map { s/\s+//g; $_ } split /,/, $3;
2496 9 my $d;
2497 9 for $d (map { s/\s+//g; $_ } split /,/, $1) {
2498 36 push @{$depends{$d}}, @deps;
2499 }
2500 }
2501  
2502 11499 ▶ $need{$1} = 1 if m{^#if\s+defined\(NEED_(\w+)(?:_GLOBAL)?\)};
Branch: 1 branch
BranchTrueFalseTotal
if /^#if\s+defined\(NEED_(\w+)(?:_GLOBAL)?\)/ 174 11325 11499
2503 }
2504  
2505 3 for (values %depends) {
2506 639 my %s;
2507 639 $_ = [sort grep !$s{$_}++, @$_];
2508 }
2509  
2510 3 ▶if (exists $opt{'api-info'}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $opt{"api-info"}) 0 3 3
2511 0 my $f;
2512 0 my $count = 0;
2513 0 ▶ my $match = $opt{'api-info'} =~ m!^/(.*)/$! ? $1 : "^\Q$opt{'api-info'}\E\$";
Branch: 1 branch
BranchTrueFalseTotal
$opt{'api-info'} =~ m[^/(.*)/$] ? : 0 0 0
2514 0 for $f (sort { lc $a cmp lc $b } keys %API) {
2515 0 ▶ next unless $f =~ /$match/;
Branch: 1 branch
BranchTrueFalseTotal
unless $f =~ /$match/ 0 0 0
2516 0 print "\n=== $f ===\n\n";
2517 0 my $info = 0;
2518 0 ▶ if ($API{$f}{base} || $API{$f}{todo}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($API{$f}{"base"} or $API{$f}{"todo"}) 0 0 0
Condition0%0/3
$API{$f}{"base"} or $API{$f}{"todo"}
l!l&&r!l&&!r
000
MC/DC0%0/2
$API{$f}{"base"} or $API{$f}{"todo"}
$API{$f}{"base"} $API{$f}{"todo"}
Truth table0%0/3
A or B
A= $API{$f}{"base"}B= $API{$f}{"todo"}
ABresult
1X1
011
000
2519 0 ▶ my $base = format_version($API{$f}{base} || $API{$f}{todo});
Condition0%0/3
$API{$f}{'base'} || $API{$f}{'todo'}
l!l&&r!l&&!r
000
MC/DC0%0/2
$API{$f}{'base'} || $API{$f}{'todo'}
$API{$f}{'base'} $API{$f}{'todo'}
Truth table0%0/3
A || B
A= $API{$f}{'base'}B= $API{$f}{'todo'}
ABresult
1X1
011
000
2520 0 print "Supported at least starting from perl-$base.\n";
2521 0 $info++;
2522 }
2523 0 ▶ if ($API{$f}{provided}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($API{$f}{"provided"}) 0 0 0
2524 0 ▶ my $todo = $API{$f}{todo} ? format_version($API{$f}{todo}) : "5.003";
Branch: 1 branch
BranchTrueFalseTotal
$API{$f}{'todo'} ? : 0 0 0
2525 0 print "Support by $ppport provided back to perl-$todo.\n";
2526 0 ▶ print "Support needs to be explicitly requested by NEED_$f.\n" if exists $need{$f};
Branch: 1 branch
BranchTrueFalseTotal
if exists $need{$f} 0 0 0
2527 0 ▶ print "Depends on: ", join(', ', @{$depends{$f}}), ".\n" if exists $depends{$f};
Branch: 1 branch
BranchTrueFalseTotal
if exists $depends{$f} 0 0 0
2528 0 ▶ print "\n$hints{$f}" if exists $hints{$f};
Branch: 1 branch
BranchTrueFalseTotal
if exists $hints{$f} 0 0 0
2529 0 ▶ print "\nWARNING:\n$warnings{$f}" if exists $warnings{$f};
Branch: 1 branch
BranchTrueFalseTotal
if exists $warnings{$f} 0 0 0
2530 0 $info++;
2531 }
2532 0 ▶ print "No portability information available.\n" unless $info;
Branch: 1 branch
BranchTrueFalseTotal
unless $info 0 0 0
2533 0 $count++;
2534 }
2535 0 ▶ $count or print "Found no API matching '$opt{'api-info'}'.";
Branch: 1 branch
BranchTrueFalseTotal
$count or print qq[Found no API matching '$opt{"api-info"}'.] 0 0 0
2536 0 print "\n";
2537 0 exit 0;
2538 }
2539  
2540 3 ▶if (exists $opt{'list-provided'}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $opt{"list-provided"}) 0 3 3
2541 0 my $f;
2542 0 for $f (sort { lc $a cmp lc $b } keys %API) {
2543 0 ▶ next unless $API{$f}{provided};
Branch: 1 branch
BranchTrueFalseTotal
unless $API{$f}{"provided"} 0 0 0
2544 0 my @flags;
2545 0 ▶ push @flags, 'explicit' if exists $need{$f};
Branch: 1 branch
BranchTrueFalseTotal
if exists $need{$f} 0 0 0
2546 0 ▶ push @flags, 'depend' if exists $depends{$f};
Branch: 1 branch
BranchTrueFalseTotal
if exists $depends{$f} 0 0 0
2547 0 ▶ push @flags, 'hint' if exists $hints{$f};
Branch: 1 branch
BranchTrueFalseTotal
if exists $hints{$f} 0 0 0
2548 0 ▶ push @flags, 'warning' if exists $warnings{$f};
Branch: 1 branch
BranchTrueFalseTotal
if exists $warnings{$f} 0 0 0
2549 0 ▶ my $flags = @flags ? ' ['.join(', ', @flags).']' : '';
Branch: 1 branch
BranchTrueFalseTotal
@flags ? : 0 0 0
2550 0 print "$f$flags\n";
2551 }
2552 0 exit 0;
2553 }
2554  
2555 3 my @files;
2556 3 my @srcext = qw( .xs .c .h .cc .cpp -c.inc -xs.inc );
2557 3 my $srcext = join '|', map { quotemeta $_ } @srcext;
2558  
2559 3 ▶if (@ARGV) {
Branch: 1 branch
BranchTrueFalseTotal
if (@ARGV) { } 0 3 3
2560 0 my %seen;
2561 0 for (@ARGV) {
2562 0 ▶ if (-e) {
Branch: 1 branch
BranchTrueFalseTotal
if (-e $_) { } 0 0 0
2563 0 ▶ if (-f) {
Branch: 1 branch
BranchTrueFalseTotal
if (-f $_) { } 0 0 0
2564 0 ▶ push @files, $_ unless $seen{$_}++;
Branch: 1 branch
BranchTrueFalseTotal
unless $seen{$_}++ 0 0 0
2565 }
2566 0 else { warn "'$_' is not a file.\n" }
2567 }
2568 else {
2569 0 ▶ my @new = grep { -f } glob $_
Branch: 1 branch
BranchTrueFalseTotal
my(@new) = grep({-f $_;} glob($_)) or warn "'${_}' does not exist.\n" 0 0 0
2570 3 ▶ or warn "'$_' does not exist.\n";
Subroutine BEGIN: called CC=1 SCAR=0.0
2571 0 push @files, grep { !$seen{$_}++ } @new;
2572 }
2573 }
2574 }
2575 else {
2576 3 eval {
2577 3 require File::Find;
2578 589 ▶ File::Find::find(sub {
Subroutine __ANON__: called CC=2 SCAR=6.9
2579 589 ▶ $File::Find::name =~ /($srcext)$/i
Branch: 1 branch
BranchTrueFalseTotal
$File::Find::name =~ /($srcext)$/i and push @files, $File::Find::name 5 3 8
2580 and push @files, $File::Find::name;
2581 3 }, '.');
2582 };
2583 3 ▶ if ($@) {
Branch: 1 branch
BranchTrueFalseTotal
if ($@) 0 3 3
2584 0 @files = map { glob "*$_" } @srcext;
2585 }
2586 }
2587  
2588 3 ▶if (!@ARGV || $opt{filter}) {
Branch: 1 branch
BranchTrueFalseTotal
if (not @ARGV or $opt{"filter"}) 3 0 3
Condition33%1/3
not @ARGV or $opt{"filter"}
l!l&&r!l&&!r
300
MC/DC0%0/2
not @ARGV or $opt{"filter"}
not @ARGV $opt{"filter"}
Truth table33%1/3
not(A) or B
A= not @ARGVB= $opt{"filter"}
ABresult
1X1
011
000
2589 3 my(@in, @out);
2590 3 ▶ my %xsc = map { /(.*)\.xs$/ ? ("$1.c" => 1, "$1.cc" => 1) : () } @files;
Branch: 1 branch
BranchTrueFalseTotal
/(.*)\.xs$/ ? : 2 3 5
2591 3 for (@files) {
2592 5 ▶ my $out = exists $xsc{$_} || /\b\Q$ppport\E$/i || !/($srcext)$/i;
Condition66%4/6
exists $xsc{$_} || /\b\Q$ppport\E$/i || !/($srcext)$/i
l!l&&r!l&&!r
302
exists $xsc{$_} or /\b\Q$ppport\E$/i
l!l&&r!l&&!r
032
MC/DC33%1/3
exists $xsc{$_} || /\b\Q$ppport\E$/i || !/($srcext)$/i
exists $xsc{$_} /\b\Q$ppport\E$/i !/($srcext)$/i
Truth table50%2/4
A or B || not(C)
A= exists $xsc{$_}B= /\b\Q$ppport\E$/iC= !/($srcext)$/i
ABCresult
1XX1
01X1
0011
0000
2593 5 ▶ push @{ $out ? \@out : \@in }, $_;
Branch: 1 branch
BranchTrueFalseTotal
$out ? : 3 2 5
2594 }
2595 3 ▶ if (@ARGV && @out) {
Branch: 1 branch
BranchTrueFalseTotal
if (@ARGV and @out) 0 3 3
Condition33%1/3
@ARGV and @out
!ll&&!rl&&r
300
MC/DC0%0/2
@ARGV and @out
@ARGV @out
Truth table33%1/3
A and B
A= @ARGVB= @out
ABresult
0X0
100
111
2596 0 warning("Skipping the following files (use --nofilter to avoid this):\n| ", join "\n| ", @out);
2597 }
2598 3 @files = @in;
2599 }
2600  
2601 3 ▶die "No input files given!\n" unless @files;
Branch: 1 branch
BranchTrueFalseTotal
unless @files 1 2 3
2602  
2603 2 my(%files, %global, %revreplace);
2604 2 %revreplace = reverse %replace;
2605 2 my $filename;
2606 2 my $patch_opened = 0;
2607  
2608 2 for $filename (@files) {
2609 2 ▶ unless (open IN, "<$filename") {
Branch: 1 branch
BranchTrueFalseTotal
unless (open IN, "<$filename") 0 2 2
2610 0 warn "Unable to read from $filename: $!\n";
2611 0 next;
2612 }
2613  
2614 2 info("Scanning $filename ...");
2615  
2616 2 my $c = do { local $/; <IN> };
2617 2 close IN;
2618  
2619 2 my %file = (orig => $c, changes => 0);
2620  
2621 # Temporarily remove C/XS comments and strings from the code
2622 2 my @ccom;
2623  
2624 2 $c =~ s{
2625 ( ^$HS*\#$HS*include\b[^\r\n]+\b(?:\Q$ppport\E|XSUB\.h)\b[^\r\n]*
2626 | ^$HS*\#$HS*(?:define|elif|if(?:def)?)\b[^\r\n]* )
2627 | ( ^$HS*\#[^\r\n]*
2628 | "[^"\\]*(?:\\.[^"\\]*)*"
2629 | '[^'\\]*(?:\\.[^'\\]*)*'
2630 | / (?: \*[^*]*\*+(?:[^$ccs][^*]*\*+)* / | /[^\r\n]* ) )
2631 4 ▶ }{ defined $2 and push @ccom, $2;
Branch: 1 branch
BranchTrueFalseTotal
defined $2 and push @ccom, $2 2 2 4
2632 4 ▶ defined $1 ? $1 : "$ccs$#ccom$cce" }mgsex;
Branch: 1 branch
BranchTrueFalseTotal
defined $1 ? : 2 2 4
2633  
2634 2 $file{ccom} = \@ccom;
2635 2 $file{code} = $c;
2636 2 $file{has_inc_ppport} = $c =~ /^$HS*#$HS*include[^\r\n]+\b\Q$ppport\E\b/m;
2637  
2638 2 my $func;
2639  
2640 2 for $func (keys %API) {
2641 3940 my $match = $func;
2642 3940 ▶ $match .= "|$revreplace{$func}" if exists $revreplace{$func};
Branch: 1 branch
BranchTrueFalseTotal
if exists $revreplace{$func} 110 3830 3940
2643 3940 ▶ if ($c =~ /\b(?:Perl_)?($match)\b/) {
Branch: 1 branch
BranchTrueFalseTotal
if ($c =~ /\b(?:Perl_)?($match)\b/) 0 3940 3940
2644 0 ▶ $file{uses_replace}{$1}++ if exists $revreplace{$func} && $1 eq $revreplace{$func};
Branch: 1 branch
BranchTrueFalseTotal
if exists $revreplace{$func} and $1 eq $revreplace{$func} 0 0 0
Condition0%0/3
exists $revreplace{$func} and $1 eq $revreplace{$func}
!ll&&!rl&&r
000
MC/DC0%0/2
exists $revreplace{$func} and $1 eq $revreplace{$func}
exists $revreplace{$func} $1 eq $revreplace{$func}
Truth table0%0/3
A and B
A= exists $revreplace{$func}B= $1 eq $revreplace{$func}
ABresult
0X0
100
111
2645 0 ▶ $file{uses_Perl}{$func}++ if $c =~ /\bPerl_$func\b/;
Branch: 1 branch
BranchTrueFalseTotal
if $c =~ /\bPerl_$func\b/ 0 0 0
2646 0 ▶ if (exists $API{$func}{provided}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $API{$func}{"provided"}) 0 0 0
2647 0 $file{uses_provided}{$func}++;
2648 0 ▶ if (!exists $API{$func}{base} || $API{$func}{base} > $opt{'compat-version'}) {
Branch: 1 branch
BranchTrueFalseTotal
if (not exists $API{$func}{"base"} or $API{$func}{"base"} > $opt{"compat-version"}) 0 0 0
Condition0%0/3
not exists $API{$func}{"base"} or $API{$func}{"base"} > $opt{"compat-version"}
l!l&&r!l&&!r
000
MC/DC0%0/2
not exists $API{$func}{"base"} or $API{$func}{"base"} > $opt{"compat-version"}
not exists $API{$func}{"base"} $API{$func}{"base"} > $opt{"compat-version"}
Truth table0%0/3
not(A) or B
A= not exists $API{$func}{"base"}B= $API{$func}{"base"} > $opt{"compat-version"}
ABresult
1X1
011
000
2649 0 $file{uses}{$func}++;
2650 0 my @deps = rec_depend($func);
2651 0 ▶ if (@deps) {
Branch: 1 branch
BranchTrueFalseTotal
if (@deps) 0 0 0
2652 0 $file{uses_deps}{$func} = \@deps;
2653 0 for (@deps) {
2654 0 ▶ $file{uses}{$_} = 0 unless exists $file{uses}{$_};
Branch: 1 branch
BranchTrueFalseTotal
unless exists $file{"uses"}{$_} 0 0 0
2655 }
2656 }
2657 0 for ($func, @deps) {
2658 0 ▶ $file{needs}{$_} = 'static' if exists $need{$_};
Branch: 1 branch
BranchTrueFalseTotal
if exists $need{$_} 0 0 0
2659 }
2660 }
2661 }
2662 0 ▶ if (exists $API{$func}{todo} && $API{$func}{todo} > $opt{'compat-version'}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $API{$func}{"todo"} and $API{$func}{"todo"} > $opt{"compat-version"}) 0 0 0
Condition0%0/3
exists $API{$func}{"todo"} and $API{$func}{"todo"} > $opt{"compat-version"}
!ll&&!rl&&r
000
MC/DC0%0/2
exists $API{$func}{"todo"} and $API{$func}{"todo"} > $opt{"compat-version"}
exists $API{$func}{"todo"} $API{$func}{"todo"} > $opt{"compat-version"}
Truth table0%0/3
A and B
A= exists $API{$func}{"todo"}B= $API{$func}{"todo"} > $opt{"compat-version"}
ABresult
0X0
100
111
2663 0 ▶ if ($c =~ /\b$func\b/) {
Branch: 1 branch
BranchTrueFalseTotal
if ($c =~ /\b$func\b/) 0 0 0
2664 0 $file{uses_todo}{$func}++;
2665 }
2666 }
2667 }
2668 }
2669  
2670 2 ▶ while ($c =~ /^$HS*#$HS*define$HS+(NEED_(\w+?)(_GLOBAL)?)\b/mg) {
Branch: 1 branch
BranchTrueFalseTotal
if ($c =~ /^$HS*#$HS*define$HS+(NEED_(\w+?)(_GLOBAL)?)\b/gm) 0 2 2
2671 0 ▶ if (exists $need{$2}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $need{$2}) { } 0 0 0
2672 0 ▶ $file{defined $3 ? 'needed_global' : 'needed_static'}{$2}++;
Branch: 1 branch
BranchTrueFalseTotal
defined $3 ? : 0 0 0
2673 }
2674 0 else { warning("Possibly wrong #define $1 in $filename") }
2675 }
2676  
2677 2 for (qw(uses needs uses_todo needed_global needed_static)) {
2678 10 for $func (keys %{$file{$_}}) {
2679 0 push @{$global{$_}{$func}}, $filename;
2680 }
2681 }
2682  
2683 2 $files{$filename} = \%file;
2684 }
2685  
2686 # Globally resolve NEED_'s
2687 2 my $need;
2688 2 for $need (keys %{$global{needs}}) {
2689 0 ▶ if (@{$global{needs}{$need}} > 1) {
Branch: 1 branch
BranchTrueFalseTotal
if (@{$global{"needs"}{$need};} > 1) 0 0 0
2690 0 my @targets = @{$global{needs}{$need}};
2691 0 my @t = grep $files{$_}{needed_global}{$need}, @targets;
2692 0 ▶ @targets = @t if @t;
Branch: 1 branch
BranchTrueFalseTotal
if @t 0 0 0
2693 0 @t = grep /\.xs$/i, @targets;
2694 0 ▶ @targets = @t if @t;
Branch: 1 branch
BranchTrueFalseTotal
if @t 0 0 0
2695 0 my $target = shift @targets;
2696 0 $files{$target}{needs}{$need} = 'global';
2697 0 for (@{$global{needs}{$need}}) {
2698 0 ▶ $files{$_}{needs}{$need} = 'extern' if $_ ne $target;
Branch: 1 branch
BranchTrueFalseTotal
if $_ ne $target 0 0 0
2699 }
2700 }
2701 }
2702  
2703 2 for $filename (@files) {
2704 2 ▶ exists $files{$filename} or next;
Branch: 1 branch
BranchTrueFalseTotal
exists $files{$filename} or next 2 0 2
2705  
2706 2 info("=== Analyzing $filename ===");
2707  
2708 2 my %file = %{$files{$filename}};
2709 2 my $func;
2710 2 my $c = $file{code};
2711 2 my $warnings = 0;
2712  
2713 2 for $func (sort keys %{$file{uses_Perl}}) {
2714 0 ▶ if ($API{$func}{varargs}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($API{$func}{'varargs'}) { } 0 0 0
2715 0 ▶ unless ($API{$func}{nothxarg}) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($API{$func}{"nothxarg"}) 0 0 0
2716 0 my $changes = ($c =~ s{\b(Perl_$func\s*\(\s*)(?!aTHX_?)(\)|[^\s)]*\))}
2717 0 ▶ { $1 . ($2 eq ')' ? 'aTHX' : 'aTHX_ ') . $2 }ge);
Branch: 1 branch
BranchTrueFalseTotal
$2 eq ')' ? : 0 0 0
2718 0 ▶ if ($changes) {
Branch: 1 branch
BranchTrueFalseTotal
if ($changes) 0 0 0
2719 0 warning("Doesn't pass interpreter argument aTHX to Perl_$func");
2720 0 $file{changes} += $changes;
2721 }
2722 }
2723 }
2724 else {
2725 0 warning("Uses Perl_$func instead of $func");
2726 0 $file{changes} += ($c =~ s{\bPerl_$func(\s*)\((\s*aTHX_?)?\s*}
2727 {$func$1(}g);
2728 }
2729 }
2730  
2731 2 for $func (sort keys %{$file{uses_replace}}) {
2732 0 warning("Uses $func instead of $replace{$func}");
2733 0 $file{changes} += ($c =~ s/\b$func\b/$replace{$func}/g);
2734 }
2735  
2736 2 for $func (sort keys %{$file{uses_provided}}) {
2737 0 ▶ if ($file{uses}{$func}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($file{"uses"}{$func}) 0 0 0
2738 0 ▶ if (exists $file{uses_deps}{$func}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $file{'uses_deps'}{$func}) { } 0 0 0
2739 0 diag("Uses $func, which depends on ", join(', ', @{$file{uses_deps}{$func}}));
2740 }
2741 else {
2742 0 diag("Uses $func");
2743 }
2744 }
2745 0 $warnings += hint($func);
2746 }
2747  
2748 2 ▶ unless ($opt{quiet}) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($opt{"quiet"}) 2 0 2
2749 2 for $func (sort keys %{$file{uses_todo}}) {
2750 print "*** WARNING: Uses $func, which may not be portable below perl ",
2751 0 format_version($API{$func}{todo}), ", even with '$ppport'\n";
2752 0 $warnings++;
2753 }
2754 }
2755  
2756 2 for $func (sort keys %{$file{needed_static}}) {
2757 0 my $message = '';
2758 0 ▶ if (not exists $file{uses}{$func}) {
Branch: 2 branches
BranchTrueFalseTotal
if (not exists $file{'uses'}{$func}) { } 0 0 0
elsif (exists $file{'needs'}{$func} and $file{'needs'}{$func} ne 'static') { } 0 0 0
2759 0 $message = "No need to define NEED_$func if $func is never used";
2760 }
2761 ▶ elsif (exists $file{needs}{$func} && $file{needs}{$func} ne 'static') {
Condition0%0/3
exists $file{"needs"}{$func} and $file{"needs"}{$func} ne "static"
!ll&&!rl&&r
000
MC/DC0%0/2
exists $file{"needs"}{$func} and $file{"needs"}{$func} ne "static"
exists $file{"needs"}{$func} $file{"needs"}{$func} ne "static"
Truth table0%0/3
A and B
A= exists $file{"needs"}{$func}B= $file{"needs"}{$func} ne "static"
ABresult
0X0
100
111
2762 0 $message = "No need to define NEED_$func when already needed globally";
2763 }
2764 0 ▶ if ($message) {
Branch: 1 branch
BranchTrueFalseTotal
if ($message) 0 0 0
2765 0 diag($message);
2766 0 $file{changes} += ($c =~ s/^$HS*#$HS*define$HS+NEED_$func\b.*$LF//mg);
2767 }
2768 }
2769  
2770 2 for $func (sort keys %{$file{needed_global}}) {
2771 0 my $message = '';
2772 0 ▶ if (not exists $global{uses}{$func}) {
Branch: 2 branches
BranchTrueFalseTotal
if (not exists $global{'uses'}{$func}) { } 0 0 0
elsif (exists $file{'needs'}{$func}) { } 0 0 0
2773 0 $message = "No need to define NEED_${func}_GLOBAL if $func is never used";
2774 }
2775 elsif (exists $file{needs}{$func}) {
2776 0 ▶ if ($file{needs}{$func} eq 'extern') {
Branch: 2 branches
BranchTrueFalseTotal
if ($file{'needs'}{$func} eq 'extern') { } 0 0 0
elsif ($file{'needs'}{$func} eq 'static') { } 0 0 0
2777 0 $message = "No need to define NEED_${func}_GLOBAL when already needed globally";
2778 }
2779 elsif ($file{needs}{$func} eq 'static') {
2780 0 $message = "No need to define NEED_${func}_GLOBAL when only used in this file";
2781 }
2782 }
2783 0 ▶ if ($message) {
Branch: 1 branch
BranchTrueFalseTotal
if ($message) 0 0 0
2784 0 diag($message);
2785 0 $file{changes} += ($c =~ s/^$HS*#$HS*define$HS+NEED_${func}_GLOBAL\b.*$LF//mg);
2786 }
2787 }
2788  
2789 2 $file{needs_inc_ppport} = keys %{$file{uses}};
2790  
2791 2 ▶ if ($file{needs_inc_ppport}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($file{'needs_inc_ppport'}) { } 0 2 2
2792 0 my $pp = '';
2793  
2794 0 for $func (sort keys %{$file{needs}}) {
2795 0 my $type = $file{needs}{$func};
2796 0 ▶ next if $type eq 'extern';
Branch: 1 branch
BranchTrueFalseTotal
if $type eq "extern" 0 0 0
2797 0 ▶ my $suffix = $type eq 'global' ? '_GLOBAL' : '';
Branch: 1 branch
BranchTrueFalseTotal
$type eq 'global' ? : 0 0 0
2798 0 ▶ unless (exists $file{"needed_$type"}{$func}) {
Branch: 1 branch
BranchTrueFalseTotal
unless (exists $file{"needed_$type"}{$func}) 0 0 0
2799 0 ▶ if ($type eq 'global') {
Branch: 1 branch
BranchTrueFalseTotal
if ($type eq 'global') { } 0 0 0
2800 0 diag("Files [@{$global{needs}{$func}}] need $func, adding global request");
2801 }
2802 else {
2803 0 diag("File needs $func, adding static request");
2804 }
2805 0 $pp .= "#define NEED_$func$suffix\n";
2806 }
2807 }
2808  
2809 0 ▶ if ($pp && ($c =~ s/^(?=$HS*#$HS*define$HS+NEED_\w+)/$pp/m)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($pp and $c =~ s/^(?=$HS*#$HS*define$HS+NEED_\w+)/$pp/m) 0 0 0
Condition0%0/3
$pp and $c =~ s/^(?=$HS*#$HS*define$HS+NEED_\w+)/$pp/m
!ll&&!rl&&r
000
MC/DC0%0/2
$pp and $c =~ s/^(?=$HS*#$HS*define$HS+NEED_\w+)/$pp/m
$pp $c =~ s/^(?=$HS*#$HS*define$HS+NEED_\w+)/$pp/m
Truth table0%0/3
A and B
A= $ppB= $c =~ s/^(?=$HS*#$HS*define$HS+NEED_\w+)/$pp/m
ABresult
0X0
100
111
2810 0 $pp = '';
2811 0 $file{changes}++;
2812 }
2813  
2814 0 ▶ unless ($file{has_inc_ppport}) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($file{"has_inc_ppport"}) 0 0 0
2815 0 diag("Needs to include '$ppport'");
2816 0 $pp .= qq(#include "$ppport"\n)
2817 }
2818  
2819 0 ▶ if ($pp) {
Branch: 1 branch
BranchTrueFalseTotal
if ($pp) 0 0 0
2820 0 ▶ $file{changes} += ($c =~ s/^($HS*#$HS*define$HS+NEED_\w+.*?)^/$1$pp/ms)
Condition0%0/9
$c =~ s/^($HS*#$HS*define$HS+NEED_\w+.*?)^/$1$pp/ms || $c =~ s/^(?=$HS*#$HS*include.*\Q$ppport\E)/$pp/m || $c =~ s/^($HS*#$HS*include.*XSUB.*\s*?)^/$1$pp/m || $c =~ s/^/$pp/
l!l&&r!l&&!r
000
$c =~ s/^($HS*#$HS*define$HS+NEED_\w+.*?)^/$1$pp/ms or $c =~ s/^(?=$HS*#$HS*include.*\Q$ppport\E)/$pp/m or $c =~ s/^($HS*#$HS*include.*XSUB.*\s*?)^/$1$pp/m
l!l&&r!l&&!r
000
$c =~ s/^($HS*#$HS*define$HS+NEED_\w+.*?)^/$1$pp/ms or $c =~ s/^(?=$HS*#$HS*include.*\Q$ppport\E)/$pp/m
l!l&&r!l&&!r
000
MC/DC0%0/4
$c =~ s/^($HS*#$HS*define$HS+NEED_\w+.*?)^/$1$pp/ms || $c =~ s/^(?=$HS*#$HS*include.*\Q$ppport\E)/$pp/m || $c =~ s/^($HS*#$HS*include.*XSUB.*\s*?)^/$1$pp/m || $c =~ s/^/$pp/
$c =~ s/^($HS*#$HS*define$HS+NEED_\w+.*?)^/$1$pp/ms $c =~ s/^(?=$HS*#$HS*include.*\Q$ppport\E)/$pp/m $c =~ s/^($HS*#$HS*include.*XSUB.*\s*?)^/$1$pp/m $c =~ s/^/$pp/
Truth table0%0/5
A or B or C || D
A= $c =~ s/^($HS*#$HS*define$HS+NEED_\w+.*?)^/$1$pp/msB= $c =~ s/^(?=$HS*#$HS*include.*\Q$ppport\E)/$pp/mC= $c =~ s/^($HS*#$HS*include.*XSUB.*\s*?)^/$1$pp/mD= $c =~ s/^/$pp/
ABCDresult
1XXX1
01XX1
001X1
00011
00000
2821 || ($c =~ s/^(?=$HS*#$HS*include.*\Q$ppport\E)/$pp/m)
2822 || ($c =~ s/^($HS*#$HS*include.*XSUB.*\s*?)^/$1$pp/m)
2823 || ($c =~ s/^/$pp/);
2824 }
2825 }
2826 else {
2827 2 ▶ if ($file{has_inc_ppport}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($file{"has_inc_ppport"}) 1 1 2
2828 1 diag("No need to include '$ppport'");
2829 1 $file{changes} += ($c =~ s/^$HS*?#$HS*include.*\Q$ppport\E.*?$LF//m);
2830 }
2831 }
2832  
2833 # put back in our C comments
2834 2 my $ix;
2835 2 my $cppc = 0;
2836 2 my @ccom = @{$file{ccom}};
2837 2 for $ix (0 .. $#ccom) {
2838 2 ▶ if (!$opt{cplusplus} && $ccom[$ix] =~ s!^//!!) {
Branch: 1 branch
BranchTrueFalseTotal
if (not $opt{'cplusplus'} and $ccom[$ix] =~ s[^//][]) { } 0 2 2
Condition33%1/3
not $opt{"cplusplus"} and $ccom[$ix] =~ s[^//][]
!ll&&!rl&&r
020
MC/DC0%0/2
not $opt{"cplusplus"} and $ccom[$ix] =~ s[^//][]
not $opt{"cplusplus"} $ccom[$ix] =~ s[^//][]
Truth table33%1/3
not(A) and B
A= not $opt{"cplusplus"}B= $ccom[$ix] =~ s[^//][]
ABresult
0X0
100
111
2839 0 $cppc++;
2840 0 $file{changes} += $c =~ s/$rccs$ix$rcce/$ccs$ccom[$ix] $cce/;
2841 }
2842 else {
2843 2 $c =~ s/$rccs$ix$rcce/$ccom[$ix]/;
2844 }
2845 }
2846  
2847 2 ▶ if ($cppc) {
Branch: 1 branch
BranchTrueFalseTotal
if ($cppc) 0 2 2
2848 0 ▶ my $s = $cppc != 1 ? 's' : '';
Branch: 1 branch
BranchTrueFalseTotal
$cppc != 1 ? : 0 0 0
2849 0 warning("Uses $cppc C++ style comment$s, which is not portable");
2850 }
2851  
2852 2 ▶ my $s = $warnings != 1 ? 's' : '';
Branch: 1 branch
BranchTrueFalseTotal
$warnings != 1 ? : 2 0 2
2853 2 ▶ my $warn = $warnings ? " ($warnings warning$s)" : '';
Branch: 1 branch
BranchTrueFalseTotal
$warnings ? : 0 2 2
2854 2 info("Analysis completed$warn");
2855  
2856 2 ▶ if ($file{changes}) {
Branch: 1 branch
BranchTrueFalseTotal
if ($file{'changes'}) { } 1 1 2
2857 1 ▶ if (exists $opt{copy}) {
Branch: 2 branches
BranchTrueFalseTotal
if (exists $opt{'copy'}) { } 0 1 1
elsif (exists $opt{'patch'} or $opt{'changes'}) { } 1 0 1
2858 0 my $newfile = "$filename$opt{copy}";
2859 0 ▶ if (-e $newfile) {
Branch: 1 branch
BranchTrueFalseTotal
if (-e $newfile) { } 0 0 0
2860 0 error("'$newfile' already exists, refusing to write copy of '$filename'");
2861 }
2862 else {
2863 0 local *F;
2864 0 ▶ if (open F, ">$newfile") {
Branch: 1 branch
BranchTrueFalseTotal
if (open F, ">$newfile") { } 0 0 0
2865 0 info("Writing copy of '$filename' with changes to '$newfile'");
2866 0 print F $c;
2867 0 close F;
2868 }
2869 else {
2870 0 error("Cannot open '$newfile' for writing: $!");
2871 }
2872 }
2873 }
2874 ▶ elsif (exists $opt{patch} || $opt{changes}) {
Condition33%1/3
exists $opt{"patch"} or $opt{"changes"}
l!l&&r!l&&!r
010
MC/DC0%0/2
exists $opt{"patch"} or $opt{"changes"}
exists $opt{"patch"} $opt{"changes"}
Truth table33%1/3
A or B
A= exists $opt{"patch"}B= $opt{"changes"}
ABresult
1X1
011
000
2875 1 ▶ if (exists $opt{patch}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $opt{'patch'}) { } 0 1 1
2876 0 ▶ unless ($patch_opened) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($patch_opened) 0 0 0
2877 0 ▶ if (open PATCH, ">$opt{patch}") {
Branch: 1 branch
BranchTrueFalseTotal
if (open PATCH, ">$opt{'patch'}") { } 0 0 0
2878 0 $patch_opened = 1;
2879 }
2880 else {
2881 0 error("Cannot open '$opt{patch}' for writing: $!");
2882 0 delete $opt{patch};
2883 0 $opt{changes} = 1;
2884 0 goto fallback;
2885 }
2886 }
2887 0 mydiff(\*PATCH, $filename, $c);
2888 }
2889 else {
2890 1 fallback:
2891 info("Suggested changes:");
2892 1 mydiff(\*STDOUT, $filename, $c);
2893 }
2894 }
2895 else {
2896 0 ▶ my $s = $file{changes} == 1 ? '' : 's';
Branch: 1 branch
BranchTrueFalseTotal
$file{'changes'} == 1 ? : 0 0 0
2897 0 info("$file{changes} potentially required change$s detected");
2898 }
2899 }
2900 else {
2901 1 info("Looks good");
2902 }
2903 }
2904  
2905 2 ▶close PATCH if $patch_opened;
Branch: 1 branch
BranchTrueFalseTotal
if $patch_opened 0 2 2
2906  
2907 2 exit 0;
2908  
2909  
2910 584 ▶sub try_use { eval "use @_;"; return $@ eq '' }
Subroutine try_use: called CC=1 SCAR=0.0
2911  
2912 sub mydiff
2913 1 ▶{
Subroutine mydiff: called CC=7 SCAR=22.0
2914 3 local *F = shift;
2915 1 my($file, $str) = @_;
2916 1 my $diff;
2917  
2918 1 ▶ if (exists $opt{diff}) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $opt{"diff"}) 0 1 1
2919 1 $diff = run_diff($opt{diff}, $file, $str);
2920 }
2921  
2922 1 ▶ if (!defined $diff and try_use('Text::Diff')) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $diff and try_use("Text::Diff")) 1 0 1
Condition33%1/3
not defined $diff and try_use("Text::Diff")
!ll&&!rl&&r
001
MC/DC0%0/2
not defined $diff and try_use("Text::Diff")
not defined $diff try_use("Text::Diff")
Truth table33%1/3
not(A) and B
A= not defined $diffB= try_use("Text::Diff")
ABresult
0X0
100
111
2923 1 $diff = Text::Diff::diff($file, \$str, { STYLE => 'Unified' });
2924 0 $diff = <<HEADER . $diff;
2925 --- $file
2926 +++ $file.patched
2927 HEADER
2928 }
2929  
2930 1 ▶ if (!defined $diff) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $diff) 0 1 1
2931 1 $diff = run_diff('diff -u', $file, $str);
2932 }
2933  
2934 1 ▶ if (!defined $diff) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $diff) 0 1 1
2935 1 $diff = run_diff('diff', $file, $str);
2936 }
2937  
2938 0 ▶ if (!defined $diff) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $diff) 0 1 1
2939 1 error("Cannot generate a diff. Please install Text::Diff or use --copy.");
2940 0 return;
2941 }
2942  
2943 1 print F $diff;
2944 }
2945  
2946 sub run_diff
2947 1 ▶{
Subroutine run_diff: called CC=5 SCAR=33.1
2948 0 my($prog, $file, $str) = @_;
2949 0 my $tmp = 'dppptemp';
2950 1 my $suf = 'aaa';
2951 0 my $diff = '';
2952 0 local *F;
2953  
2954 0 ▶ while (-e "$tmp.$suf") { $suf++ }
Branch: 1 branch
BranchTrueFalseTotal
if (-e "$tmp.$suf") 0 0 0
2955 0 $tmp = "$tmp.$suf";
2956  
2957 0 ▶ if (open F, ">$tmp") {
Branch: 1 branch
BranchTrueFalseTotal
if (open F, ">$tmp") { } 0 0 0
2958 0 print F $str;
2959 0 close F;
2960  
2961 0 ▶ if (open F, "$prog $file $tmp |") {
Branch: 1 branch
BranchTrueFalseTotal
if (open F, "$prog $file $tmp |") 0 0 0
2962 0 ▶ while (<F>) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined($_ = readline F)) 0 0 0
2963 0 s/\Q$tmp\E/$file.patched/;
2964 0 $diff .= $_;
2965 }
2966 0 close F;
2967 0 unlink $tmp;
2968 0 return $diff;
2969 }
2970  
2971 0 unlink $tmp;
2972 }
2973 else {
2974 0 error("Cannot open '$tmp' for writing: $!");
2975 }
2976  
2977 0 return undef;
2978 }
2979  
2980 sub rec_depend
2981 0 ▶{
Subroutine rec_depend: not called CC=4 SCAR=30.0
2982 0 my($func, $seen) = @_;
2983 0 ▶ return () unless exists $depends{$func};
Branch: 1 branch
BranchTrueFalseTotal
unless exists $depends{$func} 0 0 0
2984 0 ▶ $seen = {%{$seen||{}}};
Condition0%0/2
$seen || {}
l!l
00
MC/DC0%0/1
$seen || {}
$seen
Truth table0%0/2
A
A= $seen
Aresult
11
00
2985 0 ▶ return () if $seen->{$func}++;
Branch: 1 branch
BranchTrueFalseTotal
if $seen->{$func}++ 0 0 0
2986 0 my %s;
2987 0 grep !$s{$_}++, map { ($_, rec_depend($_, $seen)) } @{$depends{$func}};
2988 }
2989  
2990 sub parse_version
2991 0 ▶{
Subroutine parse_version: not called CC=7 SCAR=40.3
2992 0 my $ver = shift;
2993  
2994 0 ▶ if ($ver =~ /^(\d+)\.(\d+)\.(\d+)$/) {
Branch: 2 branches
BranchTrueFalseTotal
if ($ver =~ /^(\d+)\.(\d+)\.(\d+)$/) { } 0 0 0
elsif (not $ver =~ /^\d+\.[\d_]+$/) { } 0 0 0
2995 0 return ($1, $2, $3);
2996 }
2997 elsif ($ver !~ /^\d+\.[\d_]+$/) {
2998 0 die "cannot parse version '$ver'\n";
2999 }
3000  
3001 0 $ver =~ s/_//g;
3002 0 $ver =~ s/$/000000/;
3003  
3004 0 my($r,$v,$s) = $ver =~ /(\d+)\.(\d{3})(\d{3})/;
3005  
3006 0 $v = int $v;
3007 0 $s = int $s;
3008  
3009 0 ▶ if ($r < 5 || ($r == 5 && $v < 6)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($r < 5 or $r == 5 and $v < 6) 0 0 0
Condition0%0/6
$r < 5 or $r == 5 and $v < 6
l!l&&r!l&&!r
000
$r == 5 and $v < 6
!ll&&!rl&&r
000
MC/DC0%0/3
$r < 5 or $r == 5 and $v < 6
$r < 5 $r == 5 $v < 6
Truth table0%0/4
A or B and C
A= $r < 5B= $r == 5C= $v < 6
ABCresult
1XX1
0111
00X0
0100
3010 0 ▶ if ($s % 10) {
Branch: 1 branch
BranchTrueFalseTotal
if ($s % 10) 0 0 0
3011 0 die "cannot parse version '$ver'\n";
3012 }
3013 }
3014  
3015 0 return ($r, $v, $s);
3016 }
3017  
3018 sub format_version
3019 0 ▶{
Subroutine format_version: not called CC=6 SCAR=37.4
3020 0 my $ver = shift;
3021  
3022 0 $ver =~ s/$/000000/;
3023 0 my($r,$v,$s) = $ver =~ /(\d+)\.(\d{3})(\d{3})/;
3024  
3025 0 $v = int $v;
3026 0 $s = int $s;
3027  
3028 0 ▶ if ($r < 5 || ($r == 5 && $v < 6)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($r < 5 or $r == 5 and $v < 6) 0 0 0
Condition0%0/6
$r < 5 or $r == 5 and $v < 6
l!l&&r!l&&!r
000
$r == 5 and $v < 6
!ll&&!rl&&r
000
MC/DC0%0/3
$r < 5 or $r == 5 and $v < 6
$r < 5 $r == 5 $v < 6
Truth table0%0/4
A or B and C
A= $r < 5B= $r == 5C= $v < 6
ABCresult
1XX1
0111
00X0
0100
3029 0 ▶ if ($s % 10) {
Branch: 1 branch
BranchTrueFalseTotal
if ($s % 10) 0 0 0
3030 0 die "invalid version '$ver'\n";
3031 }
3032 0 $s /= 10;
3033  
3034 0 $ver = sprintf "%d.%03d", $r, $v;
3035 0 ▶ $s > 0 and $ver .= sprintf "_%02d", $s;
Branch: 1 branch
BranchTrueFalseTotal
$s > 0 and $ver .= sprintf("_%02d", $s) 0 0 0
3036  
3037 0 return $ver;
3038 }
3039  
3040 0 return sprintf "%d.%d.%d", $r, $v, $s;
3041 }
3042  
3043 sub info
3044 4 ▶{
Subroutine info: called CC=2 SCAR=7.2
3045 4 ▶ $opt{quiet} and return;
Branch: 1 branch
BranchTrueFalseTotal
$opt{"quiet"} and return 0 8 8
3046 4 print @_, "\n";
3047 }
3048  
3049 sub diag
3050 4 ▶{
Subroutine diag: called CC=3 SCAR=14.2
3051 0 ▶ $opt{quiet} and return;
Branch: 1 branch
BranchTrueFalseTotal
$opt{"quiet"} and return 0 1 1
3052 4 ▶ $opt{diag} and print @_, "\n";
Branch: 1 branch
BranchTrueFalseTotal
$opt{"diag"} and print @_, "\n" 1 0 1
3053 }
3054  
3055 sub warning
3056 1 ▶{
Subroutine warning: called CC=2 SCAR=9.2
3057 4 ▶ $opt{quiet} and return;
Branch: 1 branch
BranchTrueFalseTotal
$opt{"quiet"} and return 0 0 0
3058 1 print "*** ", @_, "\n";
3059 }
3060  
3061 sub error
3062 0 ▶{
Subroutine error: not called CC=1 SCAR=0.0
3063 1 print "*** ERROR: ", @_, "\n";
3064 }
3065  
3066 0 my %given_hints;
3067 0 my %given_warnings;
3068 sub hint
3069 0 ▶{
Subroutine hint: not called CC=7 SCAR=40.3
3070 0 ▶ $opt{quiet} and return;
Branch: 1 branch
BranchTrueFalseTotal
$opt{"quiet"} and return 0 0 0
3071 0 my $func = shift;
3072 0 my $rv = 0;
3073 0 ▶ if (exists $warnings{$func} && !$given_warnings{$func}++) {
Branch: 1 branch
BranchTrueFalseTotal
if (exists $warnings{$func} and not $given_warnings{$func}++) 0 0 0
Condition0%0/3
exists $warnings{$func} and not $given_warnings{$func}++
!ll&&!rl&&r
000
MC/DC0%0/2
exists $warnings{$func} and not $given_warnings{$func}++
exists $warnings{$func} not $given_warnings{$func}++
Truth table0%0/3
A and not(B)
A= exists $warnings{$func}B= not $given_warnings{$func}++
ABresult
0X0
100
111
3074 0 my $warn = $warnings{$func};
3075 0 $warn =~ s!^!*** !mg;
3076 0 print "*** WARNING: $func\n", $warn;
3077 0 $rv++;
3078 }
3079 0 ▶ if ($opt{hints} && exists $hints{$func} && !$given_hints{$func}++) {
Branch: 1 branch
BranchTrueFalseTotal
if ($opt{"hints"} and exists $hints{$func} and not $given_hints{$func}++) 0 0 0
Condition0%0/6
$opt{"hints"} and exists $hints{$func} and not $given_hints{$func}++
!ll&&!rl&&r
000
$opt{"hints"} and exists $hints{$func}
!ll&&!rl&&r
000
MC/DC0%0/3
$opt{"hints"} and exists $hints{$func} and not $given_hints{$func}++
$opt{"hints"} exists $hints{$func} not $given_hints{$func}++
Truth table0%0/4
A and B and not(C)
A= $opt{"hints"}B= exists $hints{$func}C= not $given_hints{$func}++
ABCresult
0XX0
10X0
1100
1111
3080 0 my $hint = $hints{$func};
3081 0 $hint =~ s/^/ /mg;
3082 0 print " --- hint for $func ---\n", $hint;
3083 }
3084 0 $rv;
3085 }
3086  
3087 sub usage
3088 0 ▶{
Subroutine usage: not called CC=1 SCAR=6.9
3089 0 my($usage) = do { local(@ARGV,$/)=($0); <> } =~ /^=head\d$HS+SYNOPSIS\s*^(.*?)\s*^=/ms;
3090 0 my %M = ( 'I' => '*' );
3091 0 $usage =~ s/^\s*perl\s+\S+/$^X $0/;
3092 0 $usage =~ s/([A-Z])<([^>]+)>/$M{$1}$2$M{$1}/g;
3093  
3094 0 print <<ENDUSAGE;
3095  
3096 Usage: $usage
3097  
3098 See perldoc $0 for details.
3099  
3100 ENDUSAGE
3101  
3102 0 exit 2;
3103 }
3104  
3105 sub strip
3106 0 ▶{
Subroutine strip: not called CC=4 SCAR=30.0
3107 0 my $self = do { local(@ARGV,$/)=($0); <> };
3108 0 my($copy) = $self =~ /^=head\d\s+COPYRIGHT\s*^(.*?)^=\w+/ms;
3109 0 $copy =~ s/^(?=\S+)/ /gms;
3110 0 $self =~ s/^$HS+Do NOT edit.*?(?=^-)/$copy/ms;
3111 0 $self =~ s/^SKIP.*(?=^__DATA__)/SKIP
3112 if (\@ARGV && \$ARGV[0] eq '--unstrip') {
3113 eval { require Devel::PPPort };
3114 \$@ and die "Cannot require Devel::PPPort, please install.\\n";
3115 if (eval \$Devel::PPPort::VERSION < $VERSION) {
3116 die "$0 was originally generated with Devel::PPPort $VERSION.\\n"
3117 . "Your Devel::PPPort is only version \$Devel::PPPort::VERSION.\\n"
3118 . "Please install a newer version, or --unstrip will not work.\\n";
3119 }
3120 Devel::PPPort::WriteFile(\$0);
3121 exit 0;
3122 }
3123 print <<END;
3124  
3125 Sorry, but this is a stripped version of \$0.
3126  
3127 To be able to use its original script and doc functionality,
3128 please try to regenerate this file using:
3129  
3130 \$^X \$0 --unstrip
3131  
3132 END
3133 /ms;
3134 0 my($pl, $c) = $self =~ /(.*^__DATA__)(.*)/ms;
3135 0 $c =~ s{
3136 / (?: \*[^*]*\*+(?:[^$ccs][^*]*\*+)* / | /[^\r\n]*)
3137 | ( "[^"\\]*(?:\\.[^"\\]*)*"
3138 | '[^'\\]*(?:\\.[^'\\]*)*' )
3139 0 ▶ | ($HS+) }{ defined $2 ? ' ' : ($1 || '') }gsex;
Branch: 1 branch
BranchTrueFalseTotal
defined $2 ? : 0 0 0
Condition0%0/2
$1 or ""
l!l
00
MC/DC0%0/1
$1 or ""
$1
Truth table0%0/2
A
A= $1
Aresult
11
00
3140 0 $c =~ s!\s+$!!mg;
3141 0 $c =~ s!^$LF!!mg;
3142 0 $c =~ s!^\s*#\s*!#!mg;
3143 0 $c =~ s!^\s+!!mg;
3144  
3145 0 ▶ open OUT, ">$0" or die "cannot strip $0: $!\n";
Branch: 1 branch
BranchTrueFalseTotal
open OUT, ">$0" or die "cannot strip $0: $!\n" 0 0 0
3146 0 print OUT "$pl$c\n";
3147  
3148 0 exit 0;
3149 }
3150  
3151 __DATA__
↑ Summary blib/lib/Test/PPPort.pm »