| blib/lib/SignalWire/Agents/Skills/SkillManager.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 28 | 67.8 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 12 | 0 | unless ($skill_class) |
| 21 | 1 | 11 | unless ($factory) |
| 34 | 0 | 11 | if ($@) |
| 41 | 1 | 10 | if (exists $self->loaded_skills->{$instance_key}) |
| 42 | 1 | 0 | unless ($instance->supports_multiple_instances) |
| 48 | 0 | 10 | unless ($instance->validate_env_vars) |
| 54 | 0 | 10 | if ($@ or not $ok) |
| 61 | 0 | 10 | if ($@) |
| 67 | 1 | 9 | if ($hints and @$hints) |
| 73 | 0 | 10 | if ($gdata and %$gdata) |
| 79 | 8 | 2 | if ($sections and @$sections) |
| 84 | 8 | 0 | $sec->{'bullets'} ? : |
| 96 | 1 | 0 | if ($instance) |
| 110 | 3 | 2 | exists $self->loaded_skills->{$key} ? : |