summaryrefslogtreecommitdiff
path: root/coverage/parser.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the old bytecode-based branch analyzerNed Batchelder2016-01-061-359/+2
| | | | | --HG-- branch : ast-branch
* Name the dispatched-to methods more unusuallyNed Batchelder2016-01-061-34/+34
| | | | | --HG-- branch : ast-branch
* More uniform dispatch: use methods for everything, and handle defaults in ↵Ned Batchelder2016-01-061-54/+66
| | | | | | | the dispatch instead of calling another method. --HG-- branch : ast-branch
* Clean up some TODO's and code pathsNed Batchelder2016-01-061-14/+10
| | | | | --HG-- branch : ast-branch
* Add some tests for uncovered casesNed Batchelder2016-01-061-7/+10
| | | | | --HG-- branch : ast-branch
* Support while-elseNed Batchelder2016-01-051-5/+7
| | | | | --HG-- branch : ast-branch
* Support comprehensions betterNed Batchelder2016-01-041-12/+3
| | | | | --HG-- branch : ast-branch
* Clean up some lintNed Batchelder2016-01-031-27/+29
| | | | | --HG-- branch : ast-branch
* Fix arcs for function and class decoratorsNed Batchelder2016-01-031-10/+33
| | | | | --HG-- branch : ast-branch
* Merge in the default branchNed Batchelder2016-01-021-1/+4
|\ | | | | | | | | --HG-- branch : ast-branch
| * Non-ascii characters work again in config regexes. Fixes #455.Ned Batchelder2015-12-241-1/+5
| |
* | Support returning through a finallyNed Batchelder2016-01-021-4/+4
| | | | | | | | | | --HG-- branch : ast-branch
* | Better exception support, include except-except arcs, and except-elseNed Batchelder2016-01-021-21/+60
| | | | | | | | | | --HG-- branch : ast-branch
* | Coding declarations are a pain in the assNed Batchelder2016-01-021-2/+3
| | | | | | | | | | --HG-- branch : ast-branch
* | Deal with a few more cases the test suite didn't turn upNed Batchelder2016-01-021-4/+22
| | | | | | | | | | --HG-- branch : ast-branch
* | Handle yield-from and await. All tests passNed Batchelder2016-01-021-28/+60
| | | | | | | | | | --HG-- branch : ast-branch
* | check_coverage now assumes empty missing and unpredicted, and uses branch alwaysNed Batchelder2016-01-011-2/+6
| | | | | | | | | | --HG-- branch : ast-branch
* | test_arcs now passes for all Python versionsNed Batchelder2016-01-011-1/+6
| | | | | | | | | | --HG-- branch : ast-branch
* | All test_arcs.py tests pass on py27 and py35Ned Batchelder2016-01-011-9/+21
| | | | | | | | | | --HG-- branch : ast-branch
* | Support 'with'Ned Batchelder2016-01-011-9/+17
| | | | | | | | | | --HG-- branch : ast-branch
* | Support classdef and some async keywordsNed Batchelder2015-12-311-17/+41
| | | | | | | | | | --HG-- branch : ast-branch
* | Support exception arcs on py2, where the ast still has separate TryExcept ↵Ned Batchelder2015-12-311-17/+27
| | | | | | | | | | | | | | and TryFinally nodes --HG-- branch : ast-branch
* | Make other comprehensions work on py2 and py3Ned Batchelder2015-12-311-8/+12
| | | | | | | | | | --HG-- branch : ast-branch
* | Exception tests pass on py3Ned Batchelder2015-12-311-30/+113
| | | | | | | | | | --HG-- branch : ast-branch
* | Execution flows from the end of exception handlers to the finallyNed Batchelder2015-12-281-2/+2
| | | | | | | | | | --HG-- branch : ast-branch
* | A start on try/except/finallyNed Batchelder2015-12-241-2/+22
| | | | | | | | | | --HG-- branch : ast-branch
* | WIP: measure branches with ast instead of bytecodeNed Batchelder2015-12-241-2/+228
|/ | | | | --HG-- branch : ast-branch
* Pragmas on decorators apply to the entire function or class. #131Ned Batchelder2015-11-281-12/+27
|
* Clean up PythonParser a bit.Ned Batchelder2015-11-281-42/+44
|
* Properly handle filenames with non-ASCII characters. #432Ned Batchelder2015-10-251-2/+2
|
* Finish the plugin docstrings.Ned Batchelder2015-08-151-5/+5
|
* Use @expensive at the FileReporter interface.Ned Batchelder2015-08-111-7/+2
|
* Make sure FileReporters are called once for their data.Ned Batchelder2015-08-091-9/+15
|
* Correct the handling of IndentationError and TokenErrorNed Batchelder2015-08-091-12/+15
|
* .arcs() doesn't have to sort its results.Ned Batchelder2015-08-091-2/+2
|
* Remove an unneeded base class, left over from pre-plugin daysNed Batchelder2015-08-061-18/+3
|
* Fixing spellingNed Batchelder2015-08-041-1/+1
|
* Better spelling.Ned Batchelder2015-07-251-1/+1
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-1/+4
|
* All Python source is Unicode internally.Ned Batchelder2015-05-171-11/+5
| | | | | Unfortunately, this meant hacking around a silly Python 2 restriction (can't compile a Unicode string containing an encoding declaration).
* Fix branch coverage for yield statements. #308 #324Ned Batchelder2015-04-201-12/+25
| | | | | | | | | | | 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. :(
* Put all chunk/arc logic in one place.Ned Batchelder2015-04-181-9/+7
|
* Including generator yield statements when doing end of code calculations ↵Mickie Betz2015-04-141-1/+1
| | | | issue 324
* Move python source understanding into python.pyNed Batchelder2015-01-011-1/+1
|
* A few more filenames as %s instead of %rNed Batchelder2014-12-281-1/+1
|
* Further consolidation of code reading Python source.Ned Batchelder2014-12-281-7/+7
|
* Unify and clarify reading Python source. Probably broke .pyw filesNed Batchelder2014-12-261-10/+5
|
* Move some code, and fix pep8 thingsNed Batchelder2014-12-141-34/+7
|
* Source is always Unicode in HTML code. More refactoring to come.Ned Batchelder2014-12-121-10/+13
|
* Don't be confused by files with missing final newlines. #293Ned Batchelder2014-11-291-6/+8
|