web/cgi-bin/yatt.lib/YATT.pm

filter: Statementstmt 95.2% 20 / 21 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 14 / 16 Podpod 0.0% 0 / 10 totaltotal 70.5% 36 / 51 CC 2 SCAR 1.6
CC
2
Cov
88%
BEGIN
2.5
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« web/cgi-bin/yatt.lib/YATT/Util/redundant_sprintf.pm ↑ Summary web/cgi-bin/yatt.lib/YATT/Inc.pm »
1 #!/usr/bin/perl -w
2 # -*- mode: perl; coding: utf-8 -*-
3 package YATT;
4 10 require 5.007_001; # For sprintf reordering.
5  
6 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 10 ▶use warnings qw(FATAL all NONFATAL misc);
Subroutine BEGIN: called CC=1 SCAR=0.0
8 10 our $VERSION = '0.0.10';
9 10 ▶use File::Basename;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 10 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=9.2
12 10 ▶ unless (caller(2)) {
Branch: 1 branch
BranchTrueFalseTotal
unless (caller 2) 0 10 10
13 0 unshift @INC, dirname(__PACKAGE__);
14 }
15 }
16  
17 10 ▶use YATT::Util qw(escape decode_args attr named_attr);
Subroutine BEGIN: called CC=1 SCAR=0.0
18 10 ▶use YATT::Util::Finalizer qw(capture);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 # for user
21 5 ▶sub breakpoint {}
Subroutine breakpoint: called CC=1 SCAR=0.0
Pod undocumented
22  
23 # for YATT itself.
24 18 ▶sub break_rc {}
Subroutine break_rc: called CC=1 SCAR=0.0
Pod undocumented
25 18 ▶sub break_after_rc {}
Subroutine break_after_rc: called CC=1 SCAR=0.0
Pod undocumented
26 141 ▶sub break_handler {}
Subroutine break_handler: called CC=1 SCAR=0.0
Pod undocumented
27 0 ▶sub break_dispatch {}
Subroutine break_dispatch: not called CC=1 SCAR=0.0
Pod undocumented
28 0 ▶sub break_run {}
Subroutine break_run: not called CC=1 SCAR=0.0
Pod undocumented
29  
30 146 ▶sub break_translator {}
Subroutine break_translator: called CC=1 SCAR=0.0
Pod undocumented
31 4 ▶sub break_parser {}
Subroutine break_parser: called CC=1 SCAR=0.0
Pod undocumented
32 4 ▶sub break_cursor {}
Subroutine break_cursor: called CC=1 SCAR=0.0
Pod undocumented
33  
34 457 ▶sub break_eval {}
Subroutine break_eval: called CC=1 SCAR=0.0
Pod undocumented
35  
36 10 ▶unless (caller) {
Branch: 1 branch
BranchTrueFalseTotal
unless (caller) 0 10 10
37 # XXX: To be written. It will become general purpose command dispatcher.
38 }
39  
40 10 1;
41 __END__
« web/cgi-bin/yatt.lib/YATT/Util/redundant_sprintf.pm ↑ Summary web/cgi-bin/yatt.lib/YATT/Inc.pm »