| blib/lib/App/CPAN/SBOM.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 95 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 145 | 0 | 0 | 0 | defined $options{'server-url'} and defined $options{'api-key'} |
| 358 | 0 | 0 | 0 | $dependency->{'phase'} eq "runtime" and $dependency->{'relationship'} eq "requires" |
| 381 | 0 | 0 | 0 | defined $resources->{'repository'} and $resources->{'repository'}{'url'} |
| 387 | 0 | 0 | 0 | defined $resources->{'bugtracker'} and $resources->{'bugtracker'}{'web'} |
| 552 | 0 | 0 | 0 | $dependency->{'phase'} eq "runtime" and $dependency->{'relationship'} eq "requires" |
| line | l | !l | condition |
|---|---|---|---|
| 43 | 0 | 0 | $code || 1 |
| 108 | 0 | 0 | $options{'maxdepth'} //= 1 |
| 109 | 0 | 0 | $options{'validate'} //= 1 |
| 132 | 0 | 0 | $options{'output'} // "bom.json" |
| 178 | 0 | 0 | $params{'options'} || {} |
| 184 | 0 | 0 | $options->{'project-type'} || 'library' |
| 188 | 0 | 0 | $options->{'project-version'} || 0 |
| 191 | 0 | 0 | $options->{'project-author'} || [] |
| 299 | 0 | 0 | $params{'options'} || {} |
| 440 | 0 | 0 | $params{'version'} || 0 |
| 444 | 0 | 0 | $params{'depth'} || 1 |
| 445 | 0 | 0 | $params{'maxdepth'} || 1 |
| 446 | 0 | 0 | $params{'add_vulns'} || 0 |
| 587 | 0 | 0 | $advisory->{'severity'} || 'unknown' |
| 616 | 0 | 0 | $params{'options'} || {} |
| 630 | 0 | 0 | $options->{'project-version'} || 'main' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 93 | 0 | 0 | 0 | $options{'project-meta'} //= $options{'meta'} |
| 104 | 0 | 0 | 0 | $options{'distribution'} or $options{'project-meta'} |
| 0 | 0 | 0 | $options{'distribution'} or $options{'project-meta'} or $options{'project-directory'} | |
| 126 | 0 | 0 | 0 | defined $options{'project-directory'} or defined $options{'project-meta'} |
| 186 | 0 | 0 | 0 | $options->{'project-meta'} || $options->{'meta'} |
| 187 | 0 | 0 | 0 | $options->{'project-name'} || basename($project_directory) |
| 463 | 0 | 0 | 0 | $author //= $module_data->author |
| 493 | 0 | 0 | 0 | $author //= $dist_data->author |
| 618 | 0 | 0 | 0 | $options->{'server-url'} //= $ENV{'DTRACK_URL'} |
| 619 | 0 | 0 | 0 | $options->{'api-key'} //= $ENV{'DTRACK_API_KEY'} |
| 620 | 0 | 0 | 0 | $options->{'project-id'} //= $ENV{'DTRACK_PROJECT_ID'} |
| 621 | 0 | 0 | 0 | $options->{'project-name'} //= $ENV{'DTRACK_PROJECT_NAME'} |
| 622 | 0 | 0 | 0 | $options->{'project-version'} //= $ENV{'DTRACK_PROJECT_VERSION'} |
| 623 | 0 | 0 | 0 | $options->{'parent-project-id'} //= $ENV{'DTRACK_PARENT_PROJECT_ID'} |
| 624 | 0 | 0 | 0 | $options->{'skip-tls-check'} //= $ENV{'DTRACK_SKIP_TLS_CHECK'} |
| 629 | 0 | 0 | 0 | $options->{'project-name'} || basename($project_directory) |