Source StatisticsI gathered some statistics on OpenEdit's source code. I wonder how these will change over the next few years? Commands Used lines: find openedit/src/ -iname '*.java' | xargs wc -l files: find openedit/src/ -iname '*.java' | wc -l biggest: find openedit/src/ -iname '*.java' | xargs wc -l | sort -n Data openedit (core) java source: 25055 total lines in 161 files biggest: 932 lines: openedit/src/java/com/openedit/users/filesystem/FileSystemUserManager.java openedit editor java source: 32730 total lines in 190 files biggest: 1269 lines: openedit-editor/src/com/openedit/modules/admin/users/UserManagerModule.java openedit cart java source: 24131 total lines in 111 files biggest: 1607 lines: openedit-cart/src/org/openedit/store/modules/CatalogEditModule.java openedit archive java source: 8036 total lines in 46 files biggest: 665 lines: openedit-archive/src/com/openedit/archive/collection/CollectionModule.java openedit-blog java source: 2586 total lines in 15 files biggest: 520 lines: openedit-blog/src/org/openedit/blog/modules/BlogModule.java Posted by Axis Sivitz Tue, Jul 29 2008 3:11 PM
|
Most Recent Posts
OpenEdit Weekly Update
(0 comments)
OpenEdit Updates
(0 comments)
OpenEdit Development 8-14-08
(1 comments)
8 Deployments a Day..
(0 comments)
A List Apart Survey, 2008
(1 comments)
OpenEdit Development 8-10-08
(0 comments)
OpenEdit Development 8-1-08
(0 comments)
New Ideas
(2 comments)
Source Statistics
(2 comments)
OpenEdit Development 7-24-08
(0 comments) Archive
Log in
Syndicate:
|
Copyright 2008 OpenEdit Inc. All rights reserved. last modified: Jul 29 2008

Interesting stuff. So 523 Java files and 92,538 lines of Java code.
I just ran code coverage on the core ( com.openedit.AllTests -- 100 unit tests) using EclEmma and src/java has 33.6% code coverage on 28K instructions.
OE 4.0 core release had a little over 80% code coverage. I think this is because OE 4.0 only had about 12K instructions though. For instance, the user / group code that is now in the core used to live in a different project.