diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:41 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:41 +0200 |
| commit | ae4e87df37ed8904de92c7cf2f3a11128cda2a21 (patch) | |
| tree | 5333f2930165cc6e4083ce15154799626ddb3d03 /scripts/stats.pl | |
| parent | 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 (diff) | |
tagging ychat-0.7.4.1ychat-0.7.4.1
Diffstat (limited to 'scripts/stats.pl')
| -rwxr-xr-x | scripts/stats.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/stats.pl b/scripts/stats.pl index 0eea04d..e5cc2b3 100755 --- a/scripts/stats.pl +++ b/scripts/stats.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -# The yChat Project (2003 - 2005) +# The yChat Project (2003 - 2004) # # This script generates source code and project statistics @@ -71,12 +71,12 @@ sub filestats { $stats{"Number of gfx files"}++; } - elsif ( $shift =~ /(\.pl|\.pm|\.sh|configure.*|Makefile.*)$/ ) + elsif ( $shift =~ /(\.pl|\.sh|configure.*|Makefile.*)$/ ) { $stats{"Number of script files"}++; $stats{"Lines of scripts"} += countlines($shift); } - elsif ( $shift =~ /(\.txt|[A-Z]+)$/ ) + elsif ( $shift =~ /(\.txt|README|INSTALL|COPYING|NEWS|SNAPSHOT|ChangeLog)$/ ) { $stats{"Number of text files"}++; $stats{"Lines of text"} += countlines($shift); |
