From d1cacdfb6edb680c898cba480d378cd523edd820 Mon Sep 17 00:00:00 2001 From: dh00601 <dh00601@surrey.ac.uk> Date: Mon, 1 Nov 2021 17:35:33 +0000 Subject: [PATCH] updated reports --- badges/docstring_coverage.svg | 6 +-- badges/test_coverage.svg | 4 +- .../docstring_coverage/docstring_coverage.svg | 6 +-- .../docstring_coverage/docstring_coverage.txt | 40 +++++++++++++++---- reports/test_coverage/test_coverage.svg | 4 +- 5 files changed, 43 insertions(+), 17 deletions(-) diff --git a/badges/docstring_coverage.svg b/badges/docstring_coverage.svg index 836e4960e..ea63cd22b 100644 --- a/badges/docstring_coverage.svg +++ b/badges/docstring_coverage.svg @@ -8,13 +8,13 @@ </clipPath> <g clip-path="url(#r)"> <rect width="99" height="20" fill="#555"/> - <rect x="99" width="43" height="20" fill="#4c1"/> + <rect x="99" width="43" height="20" fill="#97CA00"/> <rect width="142" height="20" fill="url(#s)"/> </g> <g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="110"> <text x="505" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="890">docstr-coverage</text> <text x="505" y="140" transform="scale(.1)" textLength="890">docstr-coverage</text> - <text x="1195" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)">96%</text> - <text x="1195" y="140" transform="scale(.1)">96%</text> + <text x="1195" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)">91%</text> + <text x="1195" y="140" transform="scale(.1)">91%</text> </g> </svg> \ No newline at end of file diff --git a/badges/test_coverage.svg b/badges/test_coverage.svg index f5af1dbee..dfb99a19b 100644 --- a/badges/test_coverage.svg +++ b/badges/test_coverage.svg @@ -15,7 +15,7 @@ <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text> <text x="31.5" y="14">coverage</text> - <text x="80" y="15" fill="#010101" fill-opacity=".3">72%</text> - <text x="80" y="14">72%</text> + <text x="80" y="15" fill="#010101" fill-opacity=".3">67%</text> + <text x="80" y="14">67%</text> </g> </svg> diff --git a/reports/docstring_coverage/docstring_coverage.svg b/reports/docstring_coverage/docstring_coverage.svg index 836e4960e..ea63cd22b 100644 --- a/reports/docstring_coverage/docstring_coverage.svg +++ b/reports/docstring_coverage/docstring_coverage.svg @@ -8,13 +8,13 @@ </clipPath> <g clip-path="url(#r)"> <rect width="99" height="20" fill="#555"/> - <rect x="99" width="43" height="20" fill="#4c1"/> + <rect x="99" width="43" height="20" fill="#97CA00"/> <rect width="142" height="20" fill="url(#s)"/> </g> <g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="110"> <text x="505" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="890">docstr-coverage</text> <text x="505" y="140" transform="scale(.1)" textLength="890">docstr-coverage</text> - <text x="1195" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)">96%</text> - <text x="1195" y="140" transform="scale(.1)">96%</text> + <text x="1195" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)">91%</text> + <text x="1195" y="140" transform="scale(.1)">91%</text> </g> </svg> \ No newline at end of file diff --git a/reports/docstring_coverage/docstring_coverage.txt b/reports/docstring_coverage/docstring_coverage.txt index 7d7669931..ee1e07565 100644 --- a/reports/docstring_coverage/docstring_coverage.txt +++ b/reports/docstring_coverage/docstring_coverage.txt @@ -1,20 +1,37 @@ +File: "/home/david/projects/binary_c_root/binarycpython_dev/binary_c-python/binarycpython/utils/dicts.py" + - No docstring for `keys_to_floats` + - No docstring for `_nested_set` + - No docstring for `_nested_get` + - No docstring for `_recursive_normalize_floats` + - No docstring for `AutoVivificationDict.__getitem__` + - No docstring for `AutoVivificationDict.__iadd__` + Needed: 20; Found: 14; Missing: 6; Coverage: 70.0% + + File: "/home/david/projects/binary_c_root/binarycpython_dev/binary_c-python/binarycpython/utils/distribution_functions.py" - No docstring for `build_q_table` Needed: 42; Found: 41; Missing: 1; Coverage: 97.6% +File: "/home/david/projects/binary_c_root/binarycpython_dev/binary_c-python/binarycpython/utils/ensemble.py" + - No docstring for `load_ensemble._hook` + Needed: 16; Found: 15; Missing: 1; Coverage: 93.8% + + File: "/home/david/projects/binary_c_root/binarycpython_dev/binary_c-python/binarycpython/utils/functions.py" - - No docstring for `AutoVivificationDict.__getitem__` - - No docstring for `AutoVivificationDict.__iadd__` + - No docstring for `format_number` + - No docstring for `get_ANSI_colours` - No docstring for `imports` - No docstring for `get_username` - Needed: 60; Found: 56; Missing: 4; Coverage: 93.3% + Needed: 43; Found: 39; Missing: 4; Coverage: 90.7% File: "/home/david/projects/binary_c_root/binarycpython_dev/binary_c-python/binarycpython/utils/grid.py" + - No docstring for `Population.delete_grid_variable` - No docstring for `Population._write_gridcode_system_call` - Needed: 50; Found: 49; Missing: 1; Coverage: 98.0% + - No docstring for `Population.vb2print` + Needed: 57; Found: 54; Missing: 3; Coverage: 94.7% File: "/home/david/projects/binary_c_root/binarycpython_dev/binary_c-python/binarycpython/utils/grid_options_defaults.py" @@ -22,7 +39,16 @@ File: "/home/david/projects/binary_c_root/binarycpython_dev/binary_c-python/bina Needed: 5; Found: 4; Missing: 1; Coverage: 80.0% -Overall statistics for 15 files: -Needed: 195 - Found: 188 - Missing: 7 -Total coverage: 96.4% - Grade: Excellent +File: "/home/david/projects/binary_c_root/binarycpython_dev/binary_c-python/binarycpython/utils/spacing_functions.py" + - No docstring for `const_dt._parse_function` + - No docstring for `const_dt._mass_from_time` + - No docstring for `const_dt._time_from_mass` + - No docstring for `const_dt._uniq` + - No docstring for `const_dt._format` + Needed: 11; Found: 6; Missing: 5; Coverage: 54.5% + + +Overall statistics for 17 files: +Needed: 230 - Found: 209 - Missing: 21 +Total coverage: 90.9% - Grade: Great Docstring coverage badge saved to '/home/david/projects/binary_c_root/binarycpython_dev/binary_c-python/reports/docstring_coverage/docstring_coverage.svg' diff --git a/reports/test_coverage/test_coverage.svg b/reports/test_coverage/test_coverage.svg index f5af1dbee..dfb99a19b 100644 --- a/reports/test_coverage/test_coverage.svg +++ b/reports/test_coverage/test_coverage.svg @@ -15,7 +15,7 @@ <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text> <text x="31.5" y="14">coverage</text> - <text x="80" y="15" fill="#010101" fill-opacity=".3">72%</text> - <text x="80" y="14">72%</text> + <text x="80" y="15" fill="#010101" fill-opacity=".3">67%</text> + <text x="80" y="14">67%</text> </g> </svg> -- GitLab