summaryrefslogtreecommitdiff
path: root/coverage/results.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor: specialize exceptionsnedbat/exceptionsNed Batchelder2021-11-141-2/+2
| | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better.
* style: convert more string formatting to f-stringsNed Batchelder2021-11-111-1/+1
|
* fix: don't report branches to exclusions as missing. #1271Ned Batchelder2021-11-051-1/+2
|
* refactor: more directNed Batchelder2021-10-251-3/+2
|
* refactor: remove globals from NumbersNed Batchelder2021-06-011-31/+24
|
* fix: --fail-under=100 could report 100 is less than 100.Ned Batchelder2021-05-311-7/+17
| | | | | | | Use the same rounding rules for the fail-under message that are used for totals everywhere else, so that it won't say: total of 100 is less than fail-under=100
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+2
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-2/+2
|
* refactor: remove more unneeded backward.py shimsNed Batchelder2021-05-011-5/+4
| | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS
* fix: don't report branches to missing lines. #1065Ned Batchelder2021-02-281-1/+1
| | | | | Fixes: #1065 Fixes: #955
* refactor: remove unneeded codeNed Batchelder2021-02-261-5/+2
|
* Experimental: relative_files to support relative file names.Ned Batchelder2019-12-011-2/+2
|
* Create a JSON reportMatt Bachmann2019-08-311-1/+2
|
* Contracts and privacy for Analysis methodsNed Batchelder2018-12-261-5/+11
|
* Simplify format_lines a littleNed Batchelder2018-12-261-2/+2
|
* Sort the text missing results by line number, not kindNed Batchelder2018-12-251-36/+42
|
* Move code to where it belongsNed Batchelder2018-12-241-1/+39
|
* Tweaks to the fail_under limitingNed Batchelder2018-12-241-4/+5
|
* Disallow impossible values for fail_underMike Fiedler2018-12-231-0/+4
| | | | | | | | | Since there's no way were likely to achieve greater than 100% code coverage, disallow usage of any value above 100. Resolves #743 Signed-off-by: Mike Fiedler <miketheman@gmail.com>
* SimpleReprMixin is a better nameNed Batchelder2018-09-091-2/+2
|
* Improved debuggingNed Batchelder2018-08-041-1/+2
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* fail_under can now be a float. #631.Ned Batchelder2018-01-211-15/+9
|
* Make should_fail_under an even more pure function.Ned Batchelder2017-03-081-5/+6
|
* More docstring.Ned Batchelder2017-03-051-0/+3
|
* Move the logic for fail-under to a testable functionNed Batchelder2017-03-041-0/+20
|
* No need to mention object.Ned Batchelder2016-06-231-1/+1
|
* A SimpleRepr class to inherit a simple __repr__ implementation.Ned Batchelder2016-06-231-2/+2
|
* Use ->exit for missed branches in the textual report. #469Ned Batchelder2016-04-181-1/+1
|
* Drive-by cleanupNed Batchelder2016-02-041-5/+3
|
* Make sure FileReporters are called once for their data.Ned Batchelder2015-08-091-8/+9
|
* Rename .statements and .excluded_statements to .lines and .excluded_linesNed Batchelder2015-08-091-2/+2
|
* Correct the handling of IndentationError and TokenErrorNed Batchelder2015-08-091-2/+2
|
* .arcs() doesn't have to sort its results.Ned Batchelder2015-08-091-1/+1
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-0/+3
|
* CoverageData.lines() and CoverageData.arcs() now distinguish between ↵Ned Batchelder2015-07-191-2/+2
| | | | unmeasured, and measured, but nothing ran
* is better thanNed Batchelder2015-07-141-2/+2
|
* More simplification of the data apiNed Batchelder2015-07-121-2/+2
|
* Analysis doesn't need a Coverage object, it needs a CoverageData object.Ned Batchelder2015-07-111-6/+6
|
* Make the summary return 0 instead.Ionel Cristian Maries2015-06-281-1/+1
|
* Make fail_under fail if there is no coverage data.Ionel Cristian Maries2015-06-281-1/+1
|
* Merge issue-324 fixNed Batchelder2015-04-201-0/+3
|\
| * Fix branch coverage for yield statements. #308 #324Ned Batchelder2015-04-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | Turns out the "call" and "return" trace events are really "start frame" and "end frame". They happen not only when functions are entered and left, but when generators yield and resume. We aren't interested in arcs into and out of yield statements, so the trace functions look more closely to see what's really happening, and record an arc in human-friendly terms. Thanks for Mickie Betz for pushing on this bug, although her code is no longer here. :(
* | Remove every last trace of CodeUnit, and bring me a glass of vodkaNed Batchelder2015-02-221-3/+3
|/
* Start formalizing the FileReporter interface to simplify thingsNed Batchelder2015-01-021-18/+12
|
* Use json for html status file instead of pickle.Ned Batchelder2014-10-271-0/+7
|
* Filtering now computes coverage percentages properly.Ned Batchelder2014-10-221-2/+9
|
* Make the text report branch column match the HTML reportNed Batchelder2014-10-201-2/+3
|
* More plugin re-shapingNed Batchelder2014-10-191-2/+1
|
* Improve branch summarizationNed Batchelder2014-07-081-4/+6
| | | | | It failed completely on more than one file! Removed the Branches label, and no longer report missing branches implied by missing lines.