Newsgroups: comp.lang.apl
Path: watmath!watserv2.uwaterloo.ca!torn!cs.utexas.edu!uunet!utcsri!geac!jtsv16!itcyyz!yrloc!hui
From: hui@yrloc.ipsa.reuter.COM (Roger Hui)
Subject: J Statistics
Message-ID: <1992Nov15.031503.7923@yrloc.ipsa.reuter.COM>
Organization: Iverson Software Inc.
Date: Sun, 15 Nov 92 03:15:03 GMT
Lines: 31

Analysis of the J implementation as it stands on 1992 10 26
(i.e. J version 6) yields the following statistics.  Session manager
source files, header files, and variables without functions are excluded.
 
C Fns              793       Lines                4521
Lines             4521       +/ Line lengths    143481
Average lines/fn     5.7     Average chars/line     31.7
Min                  1       Min                     1
Max                 81       Max                    89
Median               1       Median                 28
One-liners         435       One-character lines   293
 
440 of the 793 functions are APL functions.  (An "APL function" is one
which accepts one or two array arguments, and returns an array result.)
 
The same statistics as of 1990 2 22 were as follows (from Hui, Iverson,
McDonnell, and Whitney, APL\?, APL 90 Conference Proceedings):
 
C Fns              240       Lines                1345
Lines             1345       +/ Line lengths     44722
Average lines/fn     5.6     Average chars/line     33.3
Min                  1       Min                     1
Max                 40       Max                    89
Median               1       Median                 32
One-liners         125       One-character lines    91
 
181 of the 240 functions are APL functions.

------------------------------------
Roger Hui, Iverson Software Inc., 33 Major Street, Toronto, Ontario  M5S 2K9
Phone: (416) 925 6096;  Fax: (416) 488 7559
