diff --git a/scripts/func_coverage.py b/scripts/func_coverage.py index 754fcd5..3dbb060 100755 --- a/scripts/func_coverage.py +++ b/scripts/func_coverage.py @@ -53,11 +53,12 @@ for cnt, filename in sorted(mostest, key=operator.itemgetter(0)): for funcname in filefuncs: print(" {}".format(funcname)) +totfuncs = len(funcs.keys()) +covfuncs = len(covered) + print( "Total coverage: {} of {} functions ({:.2f}%)".format( - len(uncovered.keys()), - len(funcs.keys()), - 100.0*len(uncovered.keys())/len(funcs.keys()) + covfuncs, totfuncs, 100.0*covfuncs/totfuncs ) ) diff --git a/version.scad b/version.scad index e1fb40f..80044ff 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,23]; +BOSL_VERSION = [2,0,24]; // Section: BOSL Library Version Functions