Branch Coverage

File:blib/lib/App/GHGen/CostEstimator.pm
Coverage:97.4%

line%coveragebranch
129100TF$total_minutes > $free_tier ? :
341100TF@$workflows ? :
347100TFif ($issue->{'type'} eq 'performance') { }
100TFelsif ($issue->{'type'} eq 'cost') { }
348100TFif ($issue->{'message'} =~ /caching/u)
356100TFif ($issue->{'message'} =~ /concurrency/u) { }
100TFelsif ($issue->{'message'} =~ /triggers/u) { }
359100TFif ($current_usage) { }
369100TFif ($current_usage) { }
378100TFif ($saving > 0)
389100TFif ($current_usage and $current_usage->{'total_minutes'} > 0) { }
100TFelsif ($savings{'minutes'} > 0) { }
402100TFunless my $on = $workflow->{'on'}
407100TFif (ref $on eq 'ARRAY') { }
100TFelsif (ref $on eq 'HASH') { }
437100TFif ($config and ref $config eq "HASH")
439100TFif ($config->{'branches'})
444100TFif ($config->{'paths'})
453100TFunless my $jobs = $workflow->{'jobs'}
461100TFif $job->{'needs'}
467100TFif ($has_dependencies) { }
472100TFif $duration > $max_parallel_duration
476100TF$has_dependencies ? :
485100TFunless my $steps = $job->{'steps'}
491100TFif ($step->{'uses'}) { }
100TFelsif ($step->{'run'}) { }
495100TFif ($uses =~ /checkout/u) { }
100TFelsif ($uses =~ /setup-(?:node|python|go|ruby)/u) { }
100TFelsif ($uses =~ /cache/u) { }
510100TFif ($run =~ /npm (?:install|ci)/u) { }
100TFelsif ($run =~ /pip install/u) { }
100TFelsif ($run =~ /cargo build/u) { }
100TFelsif ($run =~ /(?:npm|pytest|cargo|go) test/u) { }
53250TFunless my $jobs = $workflow->{'jobs'}
537100TFunless $job->{'strategy'}
53850TFunless $job->{'strategy'}{'matrix'}
545100TFif $key eq "include" or $key eq "exclude"
547100TFif (ref $values eq "ARRAY")
552100TFif $size > $max_matrix_size