From e0ccb31492029204c8b2bb9e186fe8303df81d2e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 3 Nov 2009 06:30:12 -0500 Subject: Make the naming of Results attributes more consistent. --- coverage/htmlfiles/index.html | 10 +++++----- coverage/htmlfiles/pyfile.html | 4 ++-- coverage/results.py | 16 ++++++++-------- coverage/summary.py | 7 ++++--- 4 files changed, 19 insertions(+), 18 deletions(-) (limited to 'coverage') diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index 1e11e9e..646851a 100644 --- a/coverage/htmlfiles/index.html +++ b/coverage/htmlfiles/index.html @@ -10,7 +10,7 @@ @@ -31,23 +31,23 @@ {{file.cu.name}} {{file.nums.n_statements}} - {{file.nums.n_run}} + {{file.nums.n_executed}} {{file.nums.n_excluded}} {% if arcs %} {{file.par}} {% endif %} - {{file.nums.percent_covered|format_pct}}% + {{file.nums.pc_covered|format_pct}}% {% endfor %} Total {{totals.n_statements}} -{{totals.n_run}} +{{totals.n_executed}} {{totals.n_excluded}} {% if arcs %} {{total_par}} {% endif %} -{{totals.percent_covered|format_pct}}% +{{totals.pc_covered|format_pct}}% diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 5c9509b..8ae27ea 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -23,11 +23,11 @@ function toggle_lines(btn, cls) {