summaryrefslogtreecommitdiff
path: root/coverage/summary.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Update skip_covered handling, add info when files are skipped. Tests.garar2015-08-141-1/+10
|/ /
* | Do not raise an exception for empty summary when using skip_covered.garar2015-08-121-1/+1
|/
* Remove should_be_python from the FileReporter interfaceNed Batchelder2015-08-091-0/+2
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-0/+3
|
* Remove the last vestige of FileReporter.nameNed Batchelder2015-07-041-3/+3
|
* Add missing import. Add assertions for 'No data to report.' in output.Ionel Cristian Maries2015-06-281-1/+1
|
* Make return codes consistent: 1 for no data and 2 for fail_under. Now the ↵Ionel Cristian Maries2015-06-281-1/+2
| | | | `report` command will properly report `No data to report` if there's no data.
* Make the summary return 0 instead.Ionel Cristian Maries2015-06-281-1/+1
|
* Remove every last trace of CodeUnit, and bring me a glass of vodkaNed Batchelder2015-02-221-7/+7
|
* Refactor some of the encoding detectionNed Batchelder2014-12-271-1/+1
|
* Unify and clarify reading Python source. Probably broke .pyw filesNed Batchelder2014-12-261-1/+1
|
* Remove needless KeyboardInterrupt catchingNed Batchelder2014-11-231-2/+0
|
* Clean up the --skip-covered pull request.Ned Batchelder2014-11-231-3/+11
|
* Add skip-covered option.Krystian Kichewko2014-11-191-0/+3
|
* Make the text report branch column match the HTML reportNed Batchelder2014-10-201-3/+3
|
* Pylint upgrade and cleanup.Ned Batchelder2014-09-211-1/+1
|
* Improve branch summarizationNed Batchelder2014-07-081-7/+6
| | | | | It failed completely on more than one file! Removed the Branches label, and no longer report missing branches implied by missing lines.
* Fix formatting when no missing lines; improve testsSteve2014-05-261-3/+7
|
* Add branch misses to stdout reportSteve2014-05-231-0/+4
|
* Switch to our own prama syntax, so the tests can use the std without getting ↵Ned Batchelder2012-12-011-1/+1
| | | | mixed up.
* Branch coverage is computed more accurately, #156.Ned Batchelder2012-11-191-1/+1
|
* The reporting functions now return a float, the total percentage covered.Ned Batchelder2012-11-031-0/+2
|
* Test (and fix) the summary reporting failures due to not being able to parse ↵Ned Batchelder2012-04-201-1/+1
| | | | the file.
* Refactor reporters so the config is part of construction, and is then ↵Ned Batchelder2012-04-191-11/+9
| | | | available everywhere.
* Don't complain about files that can't be parsed as Python if they didn't ↵Ned Batchelder2012-04-181-1/+6
| | | | seem like Python at all. #82.
* Pass config objects around to limit the sprawl of argument lists.Ned Batchelder2010-09-021-3/+4
|
* New config setting: [report]precision lets you specify the number of digits ↵Ned Batchelder2010-08-241-2/+3
| | | | after the decimal point in coverage percentages. Finishes issue #16.
* Unify formatting of coverage percentages, and don't show zero or 100 as a ↵Ned Batchelder2010-08-221-3/+3
| | | | result of rounding. Fixes #41 and #70.
* Omit and include are now filename patterns rather than prefixes. BACKWARD ↵Ned Batchelder2010-05-231-4/+2
| | | | INCOMPATIBLE change.
* Format the code to pylint's liking, and fix up the docstrings for omit and ↵Ned Batchelder2010-05-151-6/+5
| | | | include.
* Change 'requires' to 'include'.Ned Batchelder2010-05-151-4/+4
|
* add a --require option to specify directories which are required to be at ↵Zooko Ofsimplegeo2010-04-191-3/+9
| | | | | | | | | the beginning of the path for any file that is going to be included in code coverage make the --omit and --require options apply to code coverage generation as well as to reporting; This speeds up tests from 6 seconds to 1 second on my system, as well as making the resulting .coverage db include *only* the code that I care about, which helps with my code coverage progression/regression tool. --HG-- extra : transplant_source : %1F.4%81%E8%DA%0B%D0%D5%9D%89%DE%E1vY%E6%CD%1A%EB%C9
* Reports now emphasize missed lines over executed lines, since those are more ↵Ned Batchelder2010-03-131-6/+6
| | | | helpful for directing developers to improved test coverage.
* It helps if you exclude the proper pragma comment.Ned Batchelder2009-12-201-1/+1
|
* Massive eol whitespace clean-up.Ned Batchelder2009-12-021-3/+3
|
* Added branch stats to results, and the summary report includes them.Ned Batchelder2009-11-081-15/+23
|
* Make the naming of Results attributes more consistent.Ned Batchelder2009-11-031-3/+4
|
* Factor out Analysis and Numbers into their own file: imports were getting ↵Ned Batchelder2009-11-021-1/+1
| | | | circular.
* Some lint cleanupNed Batchelder2009-11-021-2/+7
|
* A Numbers class to handle the interrelationships of counts and percentages, ↵Ned Batchelder2009-11-021-16/+7
| | | | including in rolled-up presentations.
* Commonalize the computation of total coverage percentage for a file.Ned Batchelder2009-10-241-4/+1
|
* Refactor the analysis results so we aren't passing so many tuples around.Ned Batchelder2009-10-151-4/+4
|
* Print reporting error message so that it fits better.Ned Batchelder2009-05-261-1/+1
|
* coverage._analyze is a non-public function.Ned Batchelder2009-05-171-1/+1
|
* When printing exceptions in a report, just use the name of the exception.Ned Batchelder2009-05-171-1/+1
|
* How quickly can I fix, re-break, and re-fix a bug?Ned Batchelder2009-05-111-1/+1
|
* Remove some lambdasNed Batchelder2009-05-111-1/+1
|
* Reporting on nothing is OK.Ned Batchelder2009-05-111-1/+1
|
* No need for coverage.analysis to return the filename, it's a property on the ↵Ned Batchelder2009-03-131-1/+1
| | | | CodeUnit passed in.
* Start moving common reporter functionality into Reporter.Ned Batchelder2009-03-131-11/+18
|