diff --git a/scripts/code.py b/scripts/code.py index 1515a9c..55020e5 100755 --- a/scripts/code.py +++ b/scripts/code.py @@ -81,7 +81,7 @@ def main(**args): results = [ ( result['file'], result['function'], - int(result['size'])) + int(result['code_size'])) for result in r] total = 0 @@ -95,7 +95,7 @@ def main(**args): prev_results = [ ( result['file'], result['function'], - int(result['size'])) + int(result['code_size'])) for result in r] prev_total = 0 @@ -106,7 +106,7 @@ def main(**args): if args.get('output'): with open(args['output'], 'w') as f: w = csv.writer(f) - w.writerow(['file', 'function', 'size']) + w.writerow(['file', 'function', 'code_size']) for file, func, size in sorted(results): w.writerow((file, func, size)) diff --git a/scripts/coverage.py b/scripts/coverage.py index efe075f..b2af52f 100755 --- a/scripts/coverage.py +++ b/scripts/coverage.py @@ -88,8 +88,8 @@ def main(**args): results = [ ( result['file'], result['function'], - int(result['hits']), - int(result['count'])) + int(result['coverage_hits']), + int(result['coverage_count'])) for result in r] total_hits, total_count = 0, 0 @@ -104,8 +104,8 @@ def main(**args): prev_results = [ ( result['file'], result['function'], - int(result['hits']), - int(result['count'])) + int(result['coverage_hits']), + int(result['coverage_count'])) for result in r] prev_total_hits, prev_total_count = 0, 0 @@ -117,7 +117,7 @@ def main(**args): if args.get('output'): with open(args['output'], 'w') as f: w = csv.writer(f) - w.writerow(['file', 'function', 'hits', 'count']) + w.writerow(['file', 'function', 'coverage_hits', 'coverage_count']) for file, func, hits, count in sorted(results): w.writerow((file, func, hits, count)) diff --git a/scripts/data.py b/scripts/data.py index 78d9985..bb2c617 100755 --- a/scripts/data.py +++ b/scripts/data.py @@ -81,7 +81,7 @@ def main(**args): results = [ ( result['file'], result['function'], - int(result['size'])) + int(result['data_size'])) for result in r] total = 0 @@ -95,7 +95,7 @@ def main(**args): prev_results = [ ( result['file'], result['function'], - int(result['size'])) + int(result['data_size'])) for result in r] prev_total = 0 @@ -106,7 +106,7 @@ def main(**args): if args.get('output'): with open(args['output'], 'w') as f: w = csv.writer(f) - w.writerow(['file', 'function', 'size']) + w.writerow(['file', 'function', 'data_size']) for file, func, size in sorted(results): w.writerow((file, func, size)) diff --git a/scripts/stack.py b/scripts/stack.py index 014a92f..52c9d8c 100755 --- a/scripts/stack.py +++ b/scripts/stack.py @@ -129,8 +129,8 @@ def main(**args): results = [ ( result['file'], result['function'], - int(result['frame']), - float(result['limit'])) # note limit can be inf + int(result['stack_frame']), + float(result['stack_limit'])) # note limit can be inf for result in r] total_frame = 0 @@ -146,8 +146,8 @@ def main(**args): prev_results = [ ( result['file'], result['function'], - int(result['frame']), - float(result['limit'])) + int(result['stack_frame']), + float(result['stack_limit'])) for result in r] prev_total_frame = 0 @@ -160,7 +160,7 @@ def main(**args): if args.get('output'): with open(args['output'], 'w') as f: w = csv.writer(f) - w.writerow(['file', 'function', 'frame', 'limit']) + w.writerow(['file', 'function', 'stack_frame', 'stack_limit']) for file, func, frame, limit in sorted(results): w.writerow((file, func, frame, limit))