<commit_before>find . -type f \( -iname \*.gcno -or -iname \*.gcda \) -exec cp {} . \;
lcov --directory . --capture --output-file coverage.info # capture coverage info
lcov --remove coverage.info '/usr/*' \
     '*_test.*' \
     '/home/dealii/BART/inc/*' \
     '/home/dealii/dealii.9/*' \
     '/home/dealii/libs/*' \
     --output-file coverage.info # filter out system and includes
lcov --list coverage.info #debug info
<commit_msg>added commandline argument to coverage.sh -r that genrates html report, added delete for gcda files<commit_after>find . -type f \( -iname \*.gcno -or -iname \*.gcda \) -exec cp {} . \;
lcov --directory . --capture --output-file coverage.info # capture coverage info
lcov --remove coverage.info '/usr/*' \
     '*_test.*' \
     '/home/dealii/BART/inc/*' \
     '/home/dealii/dealii.9/*' \
     '/home/dealii/libs/*' \
     --output-file coverage.info # filter out system and includes
lcov --list coverage.info #debug info
if [ $1 = "-r" ]
then
    genhtml coverage.info --branch-coverage --output-directory ./code_coverage_report/
fi
rm *.gcda *.gcno

{'fraction_non_alphanumeric': 0.1766329346826127, 'fraction_numerical': 0.0027598896044158236, 'mean_word_length': 2.464968152866242, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3246796', 'n_tokens_mistral': 378, 'n_tokens_neox': 364, 'n_words': 103}