--- data: tables: - headers: coverable: caption: Coverable f: "%d" fs: '' coverage: caption: Coverage f: "%.1f%%" fs: "%.1f%%" covered: caption: Covered f: "%d" fs: '' criterion: caption: Criterion class: head f: "%s" fs: "%s" headers_order: - criterion - coverable - covered - coverage label: "Coverage summary:" rows: - coverable: 9 coverage: class: c0 v: 0 covered: 0 criterion: Statement - coverable: 1 coverage: class: c0 v: 0 covered: 0 criterion: Subroutine - coverable: 1 coverage: class: c0 v: 0 covered: 0 criterion: POD - coverable: 6 coverage: class: c0 v: 0 covered: 0 criterion: Branch - coverable: 6 coverage: class: c0 v: 0 covered: 0 criterion: Condition summary: - coverage: class: c0 v: 0 criterion: Overall coverage - headers: branch: caption: Br. f: "%d%%" fs: "%.1f%%" command: caption: Command class: file f: "%s" fs: "%s" condition: caption: Cond. f: "%d%%" fs: "%.1f%%" pod: caption: POD f: "%d%%" fs: "%.1f%%" run: caption: Run class: head f: "%d" fs: "%d" statement: caption: St. f: "%d%%" fs: "%.1f%%" subroutine: caption: Sub. f: "%d%%" fs: "%.1f%%" time: caption: Time f: "%.3fs" fs: "%.3fs" headers_order: - run - statement - subroutine - pod - branch - condition - time - command label: "Covered by:" rows: - branch: class: c0 href: lib-Sample-Simple-Foo-pm-1253384591.6375.39890-branch v: 0 command: href: lib-Sample-Simple-Foo-pm-1253384591.6375.39890 v: t/Foo.t condition: class: c0 href: lib-Sample-Simple-Foo-pm-1253384591.6375.39890-condition v: 0 pod: class: c0 v: 0 run: 1 statement: class: c0 v: 0 subroutine: class: c0 href: lib-Sample-Simple-Foo-pm-1253384591.6375.39890-subroutine v: 0 time: class: c0 v: ~ summary: - branch: class: c0 v: 0 command: Total coverage condition: class: c0 v: 0 pod: class: c0 v: 0 run: 2 statement: class: c0 v: 0 subroutine: class: c0 v: 0 time: class: c0 v: ~ - headers: branch: caption: Br. f: "%d" fs: "%.1f%%" condition: caption: Cond. f: "%d" fs: "%.1f%%" line: caption: Line class: head f: "%d" fs: "%d" pod: caption: POD f: "%d" fs: "%.1f%%" source: caption: Source code class: src f: "%s" fs: "%s" statement: caption: St. f: "%d" fs: "%.1f%%" subroutine: caption: Sub. f: "%d" fs: "%.1f%%" time: caption: Time f: "%.3fs" fs: "%.3fs" vcs_author: caption: Author class: vcs f: "%s" fs: "%s" vcs_rev: caption: VCS Id class: vcs f: "%s" fs: "%s" headers_order: - line - statement - subroutine - pod - branch - condition - time - source label: "Overall file coverage:" rows: - branch: [] condition: [] line: 1 pod: [] source: "package Sample::Simple::Foo;\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 2 pod: [] source: "# This file should get NO coverage at all, it is not mentioned anywhere in unit tests.\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 3 pod: [] source: "\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 4 pod: [] source: "sub foo {\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 5 pod: - class: c0 v: 0 source: " my ($a, $b) = @_;\n" statement: - class: c0 v: 0 subroutine: - anchor: 5 class: c0 href: lib-Sample-Simple-Foo-pm-subroutine v: 0 time: [] - branch: [] condition: [] line: 6 pod: [] source: "\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 7 pod: [] source: " my $c;\n" statement: - class: c0 v: 0 subroutine: [] time: [] - branch: [] condition: [] line: 8 pod: [] source: "\n" statement: [] subroutine: [] time: [] - branch: - anchor: 9 class: c0 href: lib-Sample-Simple-Foo-pm-branch v: 0 condition: - anchor: 9 class: c0 href: lib-Sample-Simple-Foo-pm-condition v: 0 line: 9 pod: [] source: " if ($a or $b) {\n" statement: - class: c0 v: 0 subroutine: [] time: [] - branch: - anchor: 10 class: c0 href: lib-Sample-Simple-Foo-pm-branch v: 0 condition: [] line: 10 pod: [] source: " if ($a) {\n" statement: - class: c0 v: 0 subroutine: [] time: [] - branch: [] condition: [] line: 11 pod: [] source: " $c = $a;\n" statement: - class: c0 v: 0 subroutine: [] time: [] - branch: [] condition: [] line: 12 pod: [] source: " }\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 13 pod: [] source: " else {\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 14 pod: [] source: " $c = $b;\n" statement: - class: c0 v: 0 subroutine: [] time: [] - branch: [] condition: [] line: 15 pod: [] source: " }\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 16 pod: [] source: " }\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 17 pod: [] source: "\n" statement: [] subroutine: [] time: [] - branch: - anchor: 18 class: c0 href: lib-Sample-Simple-Foo-pm-branch v: 0 condition: - anchor: 18 class: c0 href: lib-Sample-Simple-Foo-pm-condition v: 0 line: 18 pod: [] source: " if ($c > 5 and $c < 10) {\n" statement: - class: c0 v: 0 subroutine: [] time: [] - branch: [] condition: [] line: 19 pod: [] source: " $c = 10 * $c;\n" statement: - class: c0 v: 0 subroutine: [] time: [] - branch: [] condition: [] line: 20 pod: [] source: " }\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 21 pod: [] source: "\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 22 pod: [] source: " return $c;\n" statement: - class: c0 v: 0 subroutine: [] time: [] - branch: [] condition: [] line: 23 pod: [] source: "}\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 24 pod: [] source: "\n" statement: [] subroutine: [] time: [] - branch: [] condition: [] line: 25 pod: [] source: "1;\n" statement: [] subroutine: [] time: [] summary: - branch: class: c0 v: 0 condition: class: c0 v: 0 line: 25 pod: class: c0 v: 0 src: Total coverage statement: class: c0 v: 0 subroutine: class: c0 v: 0 time: class: c0 v: ~ metadata: title: "Coverage: lib/Sample/Simple/Foo.pm" version: 0.05