summaryrefslogtreecommitdiff
path: root/coverage/parser.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Properly deal with files encoded as UTF-8 with BOM. Fixes #179.Ned Batchelder2012-05-141-0/+4
|
* Split out and improve the ad-hoc parsing and disassembly toolNed Batchelder2011-08-021-155/+5
|
* A test and a fix for issue #122, maybe?Ned Batchelder2011-07-041-1/+1
|
* WIP for partial branch exclusion. #113Ned Batchelder2011-05-171-6/+18
|
* Deal more gracefully with unexpectedly-not-python source during reporting.Ned Batchelder2011-04-081-2/+3
|
* Pylint 0.23.0 'deprecated' disable-msg.Ned Batchelder2011-02-011-1/+1
|
* A couple more places to use open_source instead of open(fname, 'rU')Ned Batchelder2011-01-301-1/+1
|
* A bunch more places where a file close should be in a finally clause.Ned Batchelder2011-01-301-4/+8
|
* Isolate the open/tokenize.open distinction into backward.pyNed Batchelder2011-01-301-4/+2
|
* Open source files with the proper encoding.Brett Cannon2011-01-281-2/+4
|
* Silence one lint warningNed Batchelder2010-09-041-4/+3
|
* I guess this is the first opcode I've used that isn't available in all Pythons.Ned Batchelder2010-07-011-1/+7
|
* Python 3.2 has a new opcode: SETUP_WITHNed Batchelder2010-07-011-1/+3
|
* Empty python files (like __init__.py) are shown as having zero statements, ↵Ned Batchelder2010-06-271-1/+4
| | | | not one. Fixes #1.
* Fail early, and with an intelligible message, if the current Python ↵Ned Batchelder2010-05-211-0/+10
| | | | implementation can't analyze code.
* Properly record multiple exits separately. Fixes #62.Ned Batchelder2010-04-271-15/+21
|
* Jumps to jumps could make loops look like they go places they really don't, ↵Ned Batchelder2009-12-201-1/+14
| | | | so start new chunks for every absolute jump. Fixes issue #39.
* version_info is a nicer way to check Python versions than hexversion is.Ned Batchelder2009-12-131-1/+1
|
* Massive eol whitespace clean-up.Ned Batchelder2009-12-021-79/+79
|
* Mark some code as not covered.Ned Batchelder2009-11-301-3/+3
|
* Update CHANGES for 3.2b3Ned Batchelder2009-11-231-0/+1
|
* ByteParser now recognizes synthetic 'return None' blocks and treats them ↵Ned Batchelder2009-11-231-0/+27
| | | | correctly.
* I don't like accidental pragmas in the code.Ned Batchelder2009-11-211-1/+1
|
* Merged rozza's fixNed Batchelder2009-11-211-2/+4
|\
| * Ensuring that Class definitions exit counts are correct when you use ↵rozza@x103086.gcapmedia.com2009-11-201-2/+4
| | | | | | | | #pragma: no cover for the class
* | Don't count branches to excluded code. Tests don't pass yet.Ned Batchelder2009-11-211-1/+6
| |
* | Denis Otkidach puts a fine point on it.Ned Batchelder2009-11-201-1/+3
|/
* Ignore the branch of an except clause testing its type, since these aren't ↵Ned Batchelder2009-11-171-3/+17
| | | | conceptually branches. Fixes #35.
* Classes shouldn't be marked as branches. Fixes #32.Ned Batchelder2009-11-161-7/+21
|
* Some per-instance caching to speed code parsing and analysis.Ned Batchelder2009-11-101-1/+3
|
* Clean up.Ned Batchelder2009-11-081-1/+3
|
* Don't include excluded lines when reporting exit counts.Ned Batchelder2009-11-081-1/+8
|
* Dict literals shouldn't count as many different exits.Ned Batchelder2009-11-081-5/+26
|
* CodeParser couldn't deal with being passed the text directly.Ned Batchelder2009-11-021-1/+2
|
* Refactor Chunk to the top level.Ned Batchelder2009-10-301-19/+34
|
* Didn't deal with internal returns properly.Ned Batchelder2009-10-271-4/+4
|
* Pylint is a stern taskmasterNed Batchelder2009-10-251-1/+3
|
* Treat missing source files nicer.Ned Batchelder2009-10-251-4/+8
|
* Cleanup, and write doc strings.Ned Batchelder2009-10-241-51/+73
|
* Everything should derive from object.Ned Batchelder2009-10-241-2/+2
|
* Tidy up long linesNed Batchelder2009-10-241-10/+18
|
* Properly shift multiline references to the first line of the statement. ↵Ned Batchelder2009-10-231-12/+32
| | | | This code is sloppy, I just want it to work first.
* More complexity in figuring out where finally clauses might go.Ned Batchelder2009-10-211-5/+18
|
* More exception flow testing. This stuff is kind of involved...Ned Batchelder2009-10-201-6/+15
|
* Start testing exceptions with arc measurements.Ned Batchelder2009-10-191-2/+21
|
* Correct handling of breaks and continues.Ned Batchelder2009-10-161-17/+36
|
* Ad-hoc discovery of opcodes that need to be parsed. BREAK_LOOP is implicit? ↵Ned Batchelder2009-10-161-8/+8
| | | | yikes...
* Start unit testing the arc measurement. In arcs, -1 means enter or exit.Ned Batchelder2009-10-161-13/+13
|
* More refactoring of the use of analysis objects.Ned Batchelder2009-10-151-2/+15
|
* Incomprehensible text-based drawing of code arcsNed Batchelder2009-10-151-11/+43
|