1App::Yath::Plugin::CoveUrs(e3r)Contributed Perl DocumentAaptpi:o:nYath::Plugin::Cover(3)
2
3
4
6 App::Yath::Plugin::Cover - Plugin to collect and report basic coverage
7 data
8
10 Simple coverage data, file and sub coverage only. Use Devel::Cover if
11 you want deep coverage stats.
12
14 COMMAND OPTIONS
15 Cover Options
16
17 --cover-aggregator ByTest
18 --cover-aggregator ByRun
19 --cover-aggregator +Custom::Aggregator
20 --cover-agg ByTest
21 --cover-agg ByRun
22 --cover-agg +Custom::Aggregator
23 --no-cover-aggregator
24 Choose a custom aggregator subclass
25
26 --cover-class ARG
27 --cover-class=ARG
28 --no-cover-class
29 Choose a Test2::Plugin::Cover subclass
30
31 --cover-dirs ARG
32 --cover-dirs=ARG
33 --cover-dir ARG
34 --cover-dir=ARG
35 --no-cover-dirs
36 NO DESCRIPTION - FIX ME
37
38 Can be specified multiple times
39
40 --cover-exclude-private
41 --no-cover-exclude-private
42 --cover-files
43 --no-cover-files
44 Use Test2::Plugin::Cover to collect coverage data for what files
45 are touched by what tests. Unlike Devel::Cover this has very little
46 performance impact (About 4% difference)
47
48 --cover-from path/to/log.jsonl
49 --cover-from http://example.com/coverage
50 --cover-from path/to/coverage.jsonl
51 --no-cover-from
52 This can be a test log, a coverage dump (old style json or new
53 jsonl format), or a url to any of the previous. Tests will not be
54 run if the file/url is invalid.
55
56 --cover-from-type json
57 --cover-from-type jsonl
58 --cover-from-type log
59 --no-cover-from-type
60 File type for coverage source. Usually it can be detected, but when
61 it cannot be you should specify. "json" is old style single-blob
62 coverage data, "jsonl" is the new by-test style, "log" is a logfile
63 from a previous run.
64
65 --cover-manager My::Coverage::Manager
66 --no-cover-manager
67 Coverage 'from' manager to use when coverage data does not provide
68 one
69
70 --cover-maybe-from path/to/log.jsonl
71 --cover-maybe-from http://example.com/coverage
72 --cover-maybe-from path/to/coverage.jsonl
73 --no-cover-maybe-from
74 This can be a test log, a coverage dump (old style json or new
75 jsonl format), or a url to any of the previous. Tests will coninue
76 if even if the coverage file/url is invalid.
77
78 --cover-maybe-from-type json
79 --cover-maybe-from-type jsonl
80 --cover-maybe-from-type log
81 --no-cover-maybe-from-type
82 Same as "from_type" but for "maybe_from". Defaults to "from_type"
83 if that is specified, otherwise auto-detect
84
85 --cover-metrics
86 --no-cover-metrics
87 --cover-types ARG
88 --cover-types=ARG
89 --cover-type ARG
90 --cover-type=ARG
91 --no-cover-types
92 NO DESCRIPTION - FIX ME
93
94 Can be specified multiple times
95
96 --cover-write
97 --cover-write=coverage.jsonl
98 --cover-write=coverage.json
99 --no-cover-write
100 Create a json or jsonl file of all coverage data seen during the
101 run (This implies --cover-files).
102
104 The source code repository for Test2-Harness can be found at
105 http://github.com/Test-More/Test2-Harness/.
106
108 Chad Granum <exodist@cpan.org>
109
111 Chad Granum <exodist@cpan.org>
112
114 Copyright 2020 Chad Granum <exodist7@gmail.com>.
115
116 This program is free software; you can redistribute it and/or modify it
117 under the same terms as Perl itself.
118
119 See http://dev.perl.org/licenses/
120
121
122
123perl v5.34.1 2022-07-11 App::Yath::Plugin::Cover(3)