line |
true |
false |
branch |
60
|
0 |
22 |
if @_ < 1
|
64
|
0 |
38 |
if @_ < 3
|
|
0 |
38 |
if @_ > 3
|
|
0 |
20 |
unless ${my $v = bless( {"coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"frozen" => 1,"name" => "__ANON__","type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"display_name" => "Enum[\"resolve\",\"reject\"]","name" => "__ANON__","uniq" => 193,"values" => ["reject","resolve"]}, 'Type::Tiny::Enum' );$v->{"coercion"}{"type_constraint"} = $v;$v->{"compiled_type_constraint"} = $v->{"coercion"}{"_compiled_type_constraint_check"}; \$v}->check($method)
|
65
|
0 |
20 |
if &is_Promise($data)
|
69
|
0 |
20 |
if @_ < 5
|
|
0 |
20 |
if @_ > 5
|
|
0 |
20 |
unless ${my $v = bless( {"coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"frozen" => 1,"name" => "__ANON__","type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"display_name" => "Maybe[CodeLike]","inlined" => sub { ;},"name" => "__ANON__","parameters" => [bless( {"_default_message" => sub { ;},"_overload_coderef" => sub { ;},"_sub_quoted" => 64,"compiled_type_constraint" => sub ($) { ;},"constraint" => sub { ;},"display_name" => "CodeLike","inlined" => sub { ;},"library" => "Types::TypeTiny","name" => "CodeLike","uniq" => 92}, 'Type::Tiny' )],"parent" => bless( {"_is_core" => 1,"_overload_coderef" => sub { ;},"coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"display_name" => "to_Maybe","frozen" => 1,"name" => "__ANON__","type_coercion_map" => [],"type_constraint" => {}}, 'Type::Coercion' ),"coercion_generator" => sub { ;},"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"constraint_generator" => sub { ;},"deep_explanation" => sub { ;},"display_name" => "Maybe","inline_generator" => sub { ;},"library" => "Types::Standard","name" => "Maybe","name_generator" => sub { ;},"parent" => bless( {"_is_core" => 1,"_overload_coderef" => sub { ;},"coercion" => bless( {"_compiled_type_constraint_check" => do{my $o},"display_name" => "to_Item","frozen" => 1,"name" => "__ANON__","type_coercion_map" => [],"type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => do{my $o},"display_name" => "Item","inlined" => sub { ;},"library" => "Types::Standard","name" => "Item","parent" => bless( {"_is_core" => 1,"_overload_coderef" => sub { ;},"_sub_quoted" => 2,"coercion" => bless( {"_compiled_type_constraint_check" => do{my $o},"display_name" => "to_Any","frozen" => 1,"name" => "__ANON__","type_coercion_map" => [],"type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => do{my $o},"display_name" => "Any","inlined" => sub { ;},"library" => "Types::Standard","name" => "Any","uniq" => 1}, 'Type::Tiny' ),"uniq" => 2}, 'Type::Tiny' ),"uniq" => 23}, 'Type::Tiny' ),"uniq" => 98}, 'Type::Tiny' );$v->{"coercion"}{"type_constraint"} = $v;$v->{"compiled_type_constraint"} = $v->{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"coercion"}{"type_constraint"} = $v->{"parent"};$v->{"parent"}{"compiled_type_constraint"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"coercion"}{"_compiled_type_constraint_check"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"coercion"}{"type_constraint"} = $v->{"parent"}{"parent"};$v->{"parent"}{"parent"}{"compiled_type_constraint"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"constraint"} = $v->{"parent"}{"constraint"};$v->{"parent"}{"parent"}{"parent"}{"coercion"}{"_compiled_type_constraint_check"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"parent"}{"coercion"}{"type_constraint"} = $v->{"parent"}{"parent"}{"parent"};$v->{"parent"}{"parent"}{"parent"}{"compiled_type_constraint"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"parent"}{"constraint"} = $v->{"parent"}{"constraint"}; \$v}->check($then)
|
|
0 |
20 |
unless ${my $v = bless( {"coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"frozen" => 1,"name" => "__ANON__","type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"display_name" => "Maybe[CodeLike]","inlined" => sub { ;},"name" => "__ANON__","parameters" => [bless( {"_default_message" => sub { ;},"_overload_coderef" => sub { ;},"_sub_quoted" => 64,"compiled_type_constraint" => sub ($) { ;},"constraint" => sub { ;},"display_name" => "CodeLike","inlined" => sub { ;},"library" => "Types::TypeTiny","name" => "CodeLike","uniq" => 92}, 'Type::Tiny' )],"parent" => bless( {"_is_core" => 1,"_overload_coderef" => sub { ;},"coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"display_name" => "to_Maybe","frozen" => 1,"name" => "__ANON__","type_coercion_map" => [],"type_constraint" => {}}, 'Type::Coercion' ),"coercion_generator" => sub { ;},"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"constraint_generator" => sub { ;},"deep_explanation" => sub { ;},"display_name" => "Maybe","inline_generator" => sub { ;},"library" => "Types::Standard","name" => "Maybe","name_generator" => sub { ;},"parent" => bless( {"_is_core" => 1,"_overload_coderef" => sub { ;},"coercion" => bless( {"_compiled_type_constraint_check" => do{my $o},"display_name" => "to_Item","frozen" => 1,"name" => "__ANON__","type_coercion_map" => [],"type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => do{my $o},"display_name" => "Item","inlined" => sub { ;},"library" => "Types::Standard","name" => "Item","parent" => bless( {"_is_core" => 1,"_overload_coderef" => sub { ;},"_sub_quoted" => 2,"coercion" => bless( {"_compiled_type_constraint_check" => do{my $o},"display_name" => "to_Any","frozen" => 1,"name" => "__ANON__","type_coercion_map" => [],"type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => do{my $o},"display_name" => "Any","inlined" => sub { ;},"library" => "Types::Standard","name" => "Any","uniq" => 1}, 'Type::Tiny' ),"uniq" => 2}, 'Type::Tiny' ),"uniq" => 23}, 'Type::Tiny' ),"uniq" => 98}, 'Type::Tiny' );$v->{"coercion"}{"type_constraint"} = $v;$v->{"compiled_type_constraint"} = $v->{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"coercion"}{"type_constraint"} = $v->{"parent"};$v->{"parent"}{"compiled_type_constraint"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"coercion"}{"_compiled_type_constraint_check"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"coercion"}{"type_constraint"} = $v->{"parent"}{"parent"};$v->{"parent"}{"parent"}{"compiled_type_constraint"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"constraint"} = $v->{"parent"}{"constraint"};$v->{"parent"}{"parent"}{"parent"}{"coercion"}{"_compiled_type_constraint_check"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"parent"}{"coercion"}{"type_constraint"} = $v->{"parent"}{"parent"}{"parent"};$v->{"parent"}{"parent"}{"parent"}{"compiled_type_constraint"} = $v->{"parent"}{"coercion"}{"_compiled_type_constraint_check"};$v->{"parent"}{"parent"}{"parent"}{"constraint"} = $v->{"parent"}{"constraint"}; \$v}->check($catch)
|
|
0 |
25 |
unless ${my $v = bless( {"coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"frozen" => 1,"name" => "__ANON__","type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"display_name" => "Enum[\"resolve\",\"reject\"]","name" => "__ANON__","uniq" => 193,"values" => ["reject","resolve"]}, 'Type::Tiny::Enum' );$v->{"coercion"}{"type_constraint"} = $v;$v->{"compiled_type_constraint"} = $v->{"coercion"}{"_compiled_type_constraint_check"}; \$v}->check($method)
|
70
|
0 |
25 |
unless $then or $catch
|
74
|
0 |
25 |
if @_ < 3
|
|
1 |
24 |
if @_ > 3
|
|
6 |
0 |
unless ${my $v = bless( {"coercion" => bless( {"_compiled_type_constraint_check" => sub ($) { ;},"frozen" => 1,"name" => "__ANON__","type_constraint" => {}}, 'Type::Coercion' ),"compiled_type_constraint" => do{my $o},"constraint" => sub { ;},"display_name" => "Enum[\"resolve\",\"reject\"]","name" => "__ANON__","uniq" => 193,"values" => ["reject","resolve"]}, 'Type::Tiny::Enum' );$v->{"coercion"}{"type_constraint"} = $v;$v->{"compiled_type_constraint"} = $v->{"coercion"}{"_compiled_type_constraint_check"}; \$v}->check($method)
|
75
|
6 |
18 |
if ($self->_exhausted)
|
78
|
0 |
11 |
if (my $next_promise = $self->_next_promise) { }
|
79
|
0 |
3 |
ref $data eq 'ARRAY' ? :
|
92
|
0 |
11 |
if @_ < 1
|
107
|
0 |
27 |
if @_ < 1
|
|
0 |
65 |
if @_ > 1
|
108
|
23 |
42 |
if $self->_exhausted and not @{$self->_values_queue;}
|
110
|
18 |
6 |
if (my $value = shift @{$self->_values_queue;}) { }
|
130
|
0 |
3 |
if @_ < 1
|
|
0 |
3 |
if @_ > 1
|
131
|
0 |
3 |
if $self->_exhausted
|
146
|
0 |
11 |
if @_ < 2
|
|
0 |
11 |
if @_ > 3
|