summaryrefslogtreecommitdiff
path: root/scripts/stats.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stats.pl')
-rwxr-xr-xscripts/stats.pl6
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);