Parametry/Paramer.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond 100% 2 / 2 MC/DCmcdc 100% 1 / 1 Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 17 / 17 CC 2 SCAR 3.4
CC
2
Cov
100%
AUTOLOAD
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« Parametry.pm ↑ Summary
1 package Mojolicious::Plugin::Parametry::Paramer;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 our $VERSION = '1.001002'; # VERSION
7  
8 sub __THIS_ISNT_THE_PARAM_YOU_SHOULD_BE_LOOKING_FOR_BLARGGRGTRKASDFHJKTRDHSYTSD
9 2 ▶ { bless { _c => $_[1] }, $_[0] }
Subroutine __THIS_ISNT_THE_PARAM_YOU_SHOULD_BE_LOOKING_FOR_BLARGGRGTRKASDFHJKTRDHSYTSD: called CC=1 SCAR=0.0
10  
11 4 ▶sub AUTOLOAD {
Subroutine AUTOLOAD: called CC=2 SCAR=6.9
12 ($_[0]->{_c}->param(
13 4 ▶ $Mojolicious::Plugin::Parametry::Paramer::AUTOLOAD =~ s/.*:://r
Condition100%2/2
$_[0]{"_c"}->param($Mojolicious::Plugin::Parametry::Paramer::AUTOLOAD =~ s/.*:://r) // ""
l!l
13
MC/DC100%1/1
$_[0]{"_c"}->param($Mojolicious::Plugin::Parametry::Paramer::AUTOLOAD =~ s/.*:://r) // ""
$_[0]{"_c"}->param($Mojolicious::Plugin::Parametry::Paramer::AUTOLOAD =~ s/.*:://r)
Truth table100%2/2
A
A= $_[0]{"_c"}->param($Mojolicious::Plugin::Parametry::Paramer::AUTOLOAD =~ s/.*:://r)
Aresult
11
00
14 ) // '') =~ s/^\s+|\s+$//gr
15 }
16  
17 3 1;
18  
19 __END__
« Parametry.pm ↑ Summary