Preparing for the 0.2 draft
Adam Hawthorne
adam.hawthorne at gmail.com
Thu Feb 4 14:16:00 PST 2010
Hi,
We have a project implementing a legacy language platform in Java. The
project began in 1998 and our codebase is 1.6MLOC. Neal's program gives
stats below. I've elided names of classes in our codebase, but I've left
references to classes and interfaces from public libraries.
I'd be happy to run a program that produces statistics requested by Alex
also. I'll attempt to write something if no one has such a program, but I
can't promise it will be soon.
HTH,
Adam
Total anonymous classes: 1420
But with no constructor args: 1264
And defining only one method: 1092
And where the type is a SAM type: 943
Those that are recursive: 0
Those that reference 'this': 6
Those that reference an enclosing 'this': 133
Those that are interfaces: 829
Those that are classes: 114
Total distinct interfaces: 58
[snip]
com.google.common.base.Function
com.google.gwt.event.dom.client.ClickHandler
com.google.gwt.event.dom.client.KeyDownHandler
com.google.gwt.event.dom.client.KeyPressHandler
com.google.gwt.event.dom.client.MouseDownHandler
com.google.gwt.event.dom.client.MouseOutHandler
com.google.gwt.event.dom.client.MouseOverHandler
com.google.gwt.event.dom.client.MouseUpHandler
com.google.gwt.event.logical.shared.CloseHandler
com.google.gwt.event.logical.shared.ResizeHandler
java.awt.event.AWTEventListener
java.awt.event.ActionListener
java.awt.event.HierarchyListener
java.awt.event.ItemListener
java.awt.image.ImageObserver
java.awt.print.Printable
java.beans.ExceptionListener
java.beans.PropertyChangeListener
java.io.FileFilter
java.io.FilenameFilter
java.lang.Runnable
java.lang.reflect.InvocationHandler
java.net.URLStreamHandlerFactory
java.security.PrivilegedAction
java.security.PrivilegedExceptionAction
java.util.Comparator
java.util.concurrent.Callable
javax.swing.UIDefaults.ActiveValue
javax.swing.UIDefaults.LazyValue
javax.swing.event.ChangeListener
javax.swing.event.HyperlinkListener
javax.swing.event.ListSelectionListener
javax.swing.event.TableModelListener
javax.swing.event.TreeSelectionListener
javax.swing.event.UndoableEditListener
org.netbeans.editor.Acceptor
org.netbeans.editor.TextBatchProcessor
org.openide.filesystems.FileSystem.AtomicAction
org.openide.util.actions.ActionPerformer
Total distinct classes: 21
[snip]
com.google.gwt.user.client.Timer
java.awt.event.FocusAdapter
java.awt.event.KeyAdapter
java.io.InputStream
java.util.HashMap
java.util.TimerTask
javax.swing.AbstractAction
javax.swing.AbstractListModel
org.openide.util.datatransfer.PasteType
More information about the lambda-dev
mailing list