summaryrefslogtreecommitdiff
path: root/coverage
Commit message (Collapse)AuthorAgeFilesLines
* Templite: a lightweight template class to use when making HTML reports.Ned Batchelder2009-04-191-0/+81
|
* Line length < 80.Ned Batchelder2009-04-193-7/+9
|
* Annotated files are only created for source files relative to the current ↵Ned Batchelder2009-04-192-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 Batchelder2009-04-191-9/+17
|
* Remove debugging trace.Ned Batchelder2009-04-181-1/+0
|
* More annotate tests, but something is amiss.Ned Batchelder2009-04-181-0/+3
|
* New more flexible data storage.Ned Batchelder2009-04-182-17/+48
|
* Testing and clean up for data.pyNed Batchelder2009-04-181-10/+11
|
* Refactor the file name stuff in CoverageData, and start its own test file.Ned Batchelder2009-04-172-16/+32
|
* Remove an unused parameter, and other small cleanups to data storageNed Batchelder2009-04-162-10/+15
|
* If a module was loaded from a .pyc, report its file as .pyNed Batchelder2009-04-152-3/+3
|
* It's ok to ask the data module about files that were never measured. Fixes ↵Ned Batchelder2009-04-141-2/+6
| | | | <<issue 2>>.
* Pylint tweaksNed Batchelder2009-04-122-2/+6
|
* Move the open outside the try, since the finally is only needed once the ↵Ned Batchelder2009-04-071-1/+1
| | | | file is successfully opened.
* Use pickle to store coverage data instead of marshal. Marshal is not ↵Ned Batchelder2009-04-051-3/+4
| | | | guaranteed compatible across versions, although it is faster.
* A technicality: if should_trace returned a non-string, it would leak.Ned Batchelder2009-04-051-3/+11
|
* No need to incref None, and we can use tuple operations w/o error checking.Ned Batchelder2009-04-051-3/+2
|
* Remove debug printf of calls to should_trace: it's only called when I ↵Ned Batchelder2009-04-051-5/+0
| | | | thought it was being called.
* Use a finally clause to ensure that coverage measurement is stopped no ↵Ned Batchelder2009-04-042-2/+17
| | | | matter how the main program terminates.
* Even better execution of main files.Ned Batchelder2009-04-042-10/+26
|
* Remove unneeded importNed Batchelder2009-04-031-1/+1
|
* Factor execfile out of cmdline, so that we can call python main programs ↵Ned Batchelder2009-04-032-3/+13
| | | | properly: now they get the correct value for __file__.
* The cmdline code now returns a status code.Ned Batchelder2009-03-151-3/+10
|
* Not sure exactly why, but having a bogus attribute reference in the trace ↵Ned Batchelder2009-03-141-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 Batchelder2009-03-133-12/+13
| | | | CodeUnit passed in.
* CodeAnalyzer was a terminology conflict with coverage.analysis, and it's ↵Ned Batchelder2009-03-132-17/+17
| | | | | | | really more of a parser anyway. --HG-- rename : coverage/analyzer.py => coverage/parser.py
* Start moving common reporter functionality into Reporter.Ned Batchelder2009-03-133-18/+54
|
* Use write instead of printNed Batchelder2009-03-131-11/+12
|
* Refactor the annotate code into annotate.pyNed Batchelder2009-03-134-69/+95
|
* Add a docstring.Ned Batchelder2009-03-121-1/+6
|
* Refactor the reporting function into the SummaryReporter class.Ned Batchelder2009-03-123-55/+75
|
* Simplify the chain of analysis functions, remove the analysis cache. Do we ↵Ned Batchelder2009-03-121-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 Batchelder2009-03-121-2/+6
|
* Move format_lines into misc.py since it doesn't need to be a method of coverage.Ned Batchelder2009-03-122-34/+34
|
* Convert the last of the document-style comments to a docstring.Ned Batchelder2009-03-121-7/+11
|
* pylint is right about this one: don't overload builtin names if you don't ↵Ned Batchelder2009-03-121-10/+10
| | | | have to.
* Don't call things morfs that are not morfs.Ned Batchelder2009-03-111-19/+18
|
* Defaulting report and annotate to all files now happens inside coverage, ↵Ned Batchelder2009-03-113-8/+7
| | | | rather than in CoverageScript.
* FileLocator is a better name than FileWrangler.Ned Batchelder2009-03-113-15/+15
|
* Split out the filename operations; Morf -> CodeUnit.Ned Batchelder2009-03-115-128/+156
| | | | | --HG-- rename : coverage/morf.py => coverage/codeunit.py
* Yank morfs into their own class. This doesn't work yet.Ned Batchelder2009-03-103-62/+72
|
* Scooch the version number since I posted 3.0b1 already.Ned Batchelder2009-03-101-1/+1
|
* Initial coverage.py 3.0 beta 1Ned Batchelder2009-03-058-0/+1328