| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
from Felix Wiemann. Closes patch #934971.
|
|
|
|
|
|
|
|
| |
globaltrace_countfuncs() into file_module_function_of().
In that function use Michael Hudson's suggestion of gc.get_referrers() to
back up from the code object to a function, then to a class's dict and
finally to a class object if one exists.
|
|
|
|
|
| |
relationships at program exit. Output is a bit prettier than that for
--listfuncs but won't parse as easily using downstream postprocessing tools.
|
|
|
|
|
| |
right; (2) write_results_file() didn't return a tuple of two ints when
it couldn't create the file. Will backport.
|
|
|
|
| |
From SF patch #852334.
|
|
|
|
| |
(Contributed by George Yoshida.)
|
|
|
|
|
| |
Remove fallback code that tries to read marshal data from a results
file, since this module never writes marshal data.
|
| |
|
|
|
|
|
| |
module existed in the current directory. Fix this. Backport
candidate (I presume).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fix bug in computation of coverage percentage: Only count a line if it
was executed or if we print the >>>>>> marker.
|
| |
|
|
|
|
| |
directory.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove "." in coverage output for lines with comments.
Silence complaints in coverage output about unexecuted docstrings.
Eliminate use of inspect module in favor of direct access to frame and
code objects. We're in a trace function here: Efficiency counts!
Remove unused code. Reflow long lines.
Remove backwards compatibility for stored trace output from Zooko's
experiment to add calledfuncs to the pickled dict.
Move code to generate per-file coverage stats to a separate routine.
Replace use of parser module with call to compile.
|
| |
|
| |
|
|
There are some problems with this module, but the tool works for
simple tasks and no one else has volunteered a better code coverage
tool. Should cleanup and document before the beta release.
|