% CC-TEST-REPORTER-SUM-COVERAGE(1) User Manuals % Code Climate hello@codeclimate.com % February 2017
This is a sub-command of cc-test-reporter(1).
cc-test-reporter-sum-coverage --parts=<number> [--output=<path>] FILE [FILE, ...]
Combine (sum) multiple pre-formatted coverage payloads into one.
Output to PATH. If - is given, content will be written to stdout. Defaults to coverage/codeclimate.json.
Expect NUMBER payloads to sum. If this many arguments are not present, command will error. This ensures you don't accidentally sum incomplete results.
Input files to combine. These are expected to be pre-formatted coverage payloads. Passing a single file will return it unprocessed.
The following must be true for payloads to be sum-able. If these conditions are not met, an error will be returned:
- The value for git.head is equal across all payloads
- All source_files[].coverage arrays for the same name are the same length
None
cc-test-reporter-format-coverage(1).