summaryrefslogtreecommitdiff
path: root/coverage/parser.py
Commit message (Collapse)AuthorAgeFilesLines
* Update to pylint 1.7.1Ned Batchelder2017-04-221-1/+0
|
* One more tweak to StopEverythingNed Batchelder2017-01-211-2/+2
|
* More-precise no-coverage pragmasNed Batchelder2017-01-191-1/+1
|
* A few more lines coveredNed Batchelder2017-01-171-1/+1
|
* Properly handle if-statements optimized away. #522Ned Batchelder2017-01-161-9/+95
|
* Slight AST_DUMP improvementsNed Batchelder2017-01-161-3/+3
|
* Reporting doesn't work on Jython, so don't run reporting tests there.Ned Batchelder2017-01-141-4/+4
|
* 2.6 and 2.7 are not different wrt constants in while loopsNed Batchelder2016-12-241-2/+1
|
* Move the test program into the testNed Batchelder2016-12-241-1/+1
|
* also use AST for while constants in python-2.7 #502issue-502-7loic2016-12-151-5/+6
| | | | | | | | The node.id is set to False, True or None is python-2.7: there is no reason to only check for it with python-3. It is more reliable than using the DEFAULT_PARTIAL_ALWAYS regexps on source lines. close #502
* Fix #496, while-true loop with a continue.Ned Batchelder2016-12-181-1/+1
|
* More parser code clean-upNed Batchelder2016-12-181-14/+25
|
* Clean up #493 fixNed Batchelder2016-12-181-0/+2
|
* Merged in dachary/coverage.py/issue-493-2 (pull request #108)Ned Batchelder2016-12-181-14/+52
|\ | | | | | | finally happens before return in a try #493
| * More ast parsing clean-up.Ned Batchelder2016-12-181-8/+19
| |
| * More doc and cleanup of ast parsingNed Batchelder2016-12-181-6/+29
| |
| * Add some to the ArcStart docstring, and remove defaultable argumentsNed Batchelder2016-12-181-5/+9
| |
* | finally happens before return in a try #493issue-493-2loic2016-12-181-5/+7
|/ | | | | | | | | | | | | | | | | | In a try block such as: if expr: try: return finally print pass the print happens before the return and cannot be followed by pass. The general case is that when the body/else/handlers in a try block all have return, break etc., the code behind finally: has no arc to the statement following the try block. close #493
* Conditionalize the ast_dump codeNed Batchelder2016-11-221-55/+60
|
* Downgrading these from TODONed Batchelder2016-10-221-6/+6
|
* Update pylint to 1.5.6Ned Batchelder2016-06-251-0/+1
|
* Better descriptions of missing one-line executables. Part of #475Ned Batchelder2016-03-271-6/+22
|
* Entry arcs now use the negative first line of the code object instead of -1.Ned Batchelder2016-03-021-6/+6
|
* Better branch-missed messages for lambdas.Ned Batchelder2016-02-251-2/+5
|
* Pick off some lintNed Batchelder2016-02-151-7/+15
|
* Add missing branch explanations for while-loopNed Batchelder2016-02-151-4/+6
|
* Clean up new helperNed Batchelder2016-02-151-6/+11
|
* Combine add_arc and add_missing_fragmentsNed Batchelder2016-02-151-39/+19
|
* More missing-branch descriptionsNed Batchelder2016-02-151-11/+19
|
* Make the arc and fragment collection easier to traceNed Batchelder2016-02-141-63/+45
|
* More work on better missing branch descriptionsNed Batchelder2016-02-141-29/+67
|
* Add missing branch descriptions for handling exceptionsNed Batchelder2016-02-131-2/+3
|
* Clean up some of the ArcStart causesNed Batchelder2016-02-131-15/+19
|
* More work on the better missed-branch messagesNed Batchelder2016-02-131-16/+22
|
* missing_arc_description is better than arc_destination_description. One test ↵Ned Batchelder2016-02-081-21/+32
| | | | broken.
* Move AST code togetherNed Batchelder2016-02-071-76/+77
|
* Centralize the no-op-iness of contractsNed Batchelder2016-02-071-5/+4
|
* More work to get better descriptions of arc behaviorNed Batchelder2016-02-071-43/+83
|
* Properly handle {**{'a':1}} literalsNed Batchelder2016-02-071-2/+7
|
* Different annotations on missed branches. I don't like them yet.Ned Batchelder2016-02-061-31/+60
|
* Don't track unhandled exception branchesNed Batchelder2016-01-291-17/+0
|
* How to flag uncaught exception branchesNed Batchelder2016-01-291-0/+5
|
* Simplify a conditionNed Batchelder2016-01-271-6/+5
|
* Fix #466: multi-line statements first in decorated functionsNed Batchelder2016-01-181-7/+25
| | | | Also, leave in the SetSpy tracer we've used before to find things like this.
* Stop treating yield-from and await as function returnsNed Batchelder2016-01-161-17/+0
|
* Class docstrings shouldn't be considered executable. Not sure what happened ↵Ned Batchelder2016-01-111-4/+1
| | | | there...
* Clean up the ast analyzer a littleNed Batchelder2016-01-101-11/+23
|
* Properly handle break/continue/raise/return from except/else clausesNed Batchelder2016-01-101-20/+35
|
* Class docstrings are executable.Ned Batchelder2016-01-101-8/+12
|
* Properly skip lines that are optimized awayNed Batchelder2016-01-091-9/+12
|