Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Templite: a lightweight template class to use when making HTML reports. | Ned Batchelder | 2009-04-19 | 1 | -0/+81 |
| | |||||
* | Line length < 80. | Ned Batchelder | 2009-04-19 | 3 | -7/+9 |
| | |||||
* | Annotated files are only created for source files relative to the current ↵ | Ned Batchelder | 2009-04-19 | 2 | -13/+40 |
| | | | | | | | | directory. When writing to a separate file, annotation file names include the directory hierarchy flattened, so that same-named files won't collide. --HG-- rename : test/farm/annotate/gold_anno_dir/a.py,cover => test/farm/annotate/gold_anno_dir/a_a.py,cover rename : test/farm/annotate/gold_anno_dir/b.py,cover => test/farm/annotate/gold_anno_dir/b_b.py,cover | ||||
* | More docstrings. | Ned Batchelder | 2009-04-19 | 1 | -9/+17 |
| | |||||
* | Remove debugging trace. | Ned Batchelder | 2009-04-18 | 1 | -1/+0 |
| | |||||
* | More annotate tests, but something is amiss. | Ned Batchelder | 2009-04-18 | 1 | -0/+3 |
| | |||||
* | New more flexible data storage. | Ned Batchelder | 2009-04-18 | 2 | -17/+48 |
| | |||||
* | Testing and clean up for data.py | Ned Batchelder | 2009-04-18 | 1 | -10/+11 |
| | |||||
* | Refactor the file name stuff in CoverageData, and start its own test file. | Ned Batchelder | 2009-04-17 | 2 | -16/+32 |
| | |||||
* | Remove an unused parameter, and other small cleanups to data storage | Ned Batchelder | 2009-04-16 | 2 | -10/+15 |
| | |||||
* | If a module was loaded from a .pyc, report its file as .py | Ned Batchelder | 2009-04-15 | 2 | -3/+3 |
| | |||||
* | It's ok to ask the data module about files that were never measured. Fixes ↵ | Ned Batchelder | 2009-04-14 | 1 | -2/+6 |
| | | | | <<issue 2>>. | ||||
* | Pylint tweaks | Ned Batchelder | 2009-04-12 | 2 | -2/+6 |
| | |||||
* | Move the open outside the try, since the finally is only needed once the ↵ | Ned Batchelder | 2009-04-07 | 1 | -1/+1 |
| | | | | file is successfully opened. | ||||
* | Use pickle to store coverage data instead of marshal. Marshal is not ↵ | Ned Batchelder | 2009-04-05 | 1 | -3/+4 |
| | | | | guaranteed compatible across versions, although it is faster. | ||||
* | A technicality: if should_trace returned a non-string, it would leak. | Ned Batchelder | 2009-04-05 | 1 | -3/+11 |
| | |||||
* | No need to incref None, and we can use tuple operations w/o error checking. | Ned Batchelder | 2009-04-05 | 1 | -3/+2 |
| | |||||
* | Remove debug printf of calls to should_trace: it's only called when I ↵ | Ned Batchelder | 2009-04-05 | 1 | -5/+0 |
| | | | | thought it was being called. | ||||
* | Use a finally clause to ensure that coverage measurement is stopped no ↵ | Ned Batchelder | 2009-04-04 | 2 | -2/+17 |
| | | | | matter how the main program terminates. | ||||
* | Even better execution of main files. | Ned Batchelder | 2009-04-04 | 2 | -10/+26 |
| | |||||
* | Remove unneeded import | Ned Batchelder | 2009-04-03 | 1 | -1/+1 |
| | |||||
* | Factor execfile out of cmdline, so that we can call python main programs ↵ | Ned Batchelder | 2009-04-03 | 2 | -3/+13 |
| | | | | properly: now they get the correct value for __file__. | ||||
* | The cmdline code now returns a status code. | Ned Batchelder | 2009-03-15 | 1 | -3/+10 |
| | |||||
* | Not sure exactly why, but having a bogus attribute reference in the trace ↵ | Ned Batchelder | 2009-03-14 | 1 | -1/+1 |
| | | | | function didn't seem to affect it at all... | ||||
* | No need for coverage.analysis to return the filename, it's a property on the ↵ | Ned Batchelder | 2009-03-13 | 3 | -12/+13 |
| | | | | CodeUnit passed in. | ||||
* | CodeAnalyzer was a terminology conflict with coverage.analysis, and it's ↵ | Ned Batchelder | 2009-03-13 | 2 | -17/+17 |
| | | | | | | | really more of a parser anyway. --HG-- rename : coverage/analyzer.py => coverage/parser.py | ||||
* | Start moving common reporter functionality into Reporter. | Ned Batchelder | 2009-03-13 | 3 | -18/+54 |
| | |||||
* | Use write instead of print | Ned Batchelder | 2009-03-13 | 1 | -11/+12 |
| | |||||
* | Refactor the annotate code into annotate.py | Ned Batchelder | 2009-03-13 | 4 | -69/+95 |
| | |||||
* | Add a docstring. | Ned Batchelder | 2009-03-12 | 1 | -1/+6 |
| | |||||
* | Refactor the reporting function into the SummaryReporter class. | Ned Batchelder | 2009-03-12 | 3 | -55/+75 |
| | |||||
* | Simplify the chain of analysis functions, remove the analysis cache. Do we ↵ | Ned Batchelder | 2009-03-12 | 1 | -33/+16 |
| | | | | really need that part to be so speedy? If so, I'll put it back later. | ||||
* | Wondering about the mechanics of running the user's script. | Ned Batchelder | 2009-03-12 | 1 | -2/+6 |
| | |||||
* | Move format_lines into misc.py since it doesn't need to be a method of coverage. | Ned Batchelder | 2009-03-12 | 2 | -34/+34 |
| | |||||
* | Convert the last of the document-style comments to a docstring. | Ned Batchelder | 2009-03-12 | 1 | -7/+11 |
| | |||||
* | pylint is right about this one: don't overload builtin names if you don't ↵ | Ned Batchelder | 2009-03-12 | 1 | -10/+10 |
| | | | | have to. | ||||
* | Don't call things morfs that are not morfs. | Ned Batchelder | 2009-03-11 | 1 | -19/+18 |
| | |||||
* | Defaulting report and annotate to all files now happens inside coverage, ↵ | Ned Batchelder | 2009-03-11 | 3 | -8/+7 |
| | | | | rather than in CoverageScript. | ||||
* | FileLocator is a better name than FileWrangler. | Ned Batchelder | 2009-03-11 | 3 | -15/+15 |
| | |||||
* | Split out the filename operations; Morf -> CodeUnit. | Ned Batchelder | 2009-03-11 | 5 | -128/+156 |
| | | | | | --HG-- rename : coverage/morf.py => coverage/codeunit.py | ||||
* | Yank morfs into their own class. This doesn't work yet. | Ned Batchelder | 2009-03-10 | 3 | -62/+72 |
| | |||||
* | Scooch the version number since I posted 3.0b1 already. | Ned Batchelder | 2009-03-10 | 1 | -1/+1 |
| | |||||
* | Initial coverage.py 3.0 beta 1 | Ned Batchelder | 2009-03-05 | 8 | -0/+1328 |