<commit_before>#!/usr/bin/perl 

my $headerline= `find ./src -name \*.h | xargs cat | wc -l`;
print "headerline in ./src dir = ".$headerline;

my $sourceline= `find ./src -name \*.c | xargs cat | wc -l`;
print "sourceline in ./src dir = ".$sourceline;

my $totalline = $headerline + $sourceline;
print "totalline  in ./src dir = ".$totalline;
print "\n";<commit_msg>modify line counting script<commit_after>#!/usr/bin/perl 

my $headerline= `find ./src -name \*.h | xargs cat | wc -l`;
print "header line in ./src dir = ".$headerline;

my $sourceline= `find ./src -name \*.c | xargs cat | wc -l`;
print "source line in ./src dir = ".$sourceline;

my $testhdrline = `find ./libortp/test -name \*.h | xargs cat | wc -l`;
print "header line in ./libortp/test dir = ".$testhdrline;
my $testsrcline = `find ./libortp/test -name \*.c | xargs cat | wc -l`;
print "source line in ./libortp/test dir = ".$testsrcline;

my $totalline = $headerline + $sourceline + $testhdrline + $testsrcline;
print "totalline  in ./src dir = ".$totalline;
print "\n";
{'fraction_non_alphanumeric': 0.1844380403458213, 'fraction_numerical': 0.0, 'mean_word_length': 3.323651452282158, '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': '3046319', 'n_tokens_mistral': 420, 'n_tokens_neox': 407, 'n_words': 130}