[Mono-dev] SLOC

Rafael Teixeira monoman at gmail.com
Sun May 27 18:29:24 EDT 2007

Counting only C# code:

mcs;   71,023 total lines
gmcs:  13,089 total lines (add to that the lines from mcs as it reuses
most sources from mcs directory)

What is the runtime for you?

1) The native part:  Won't count C code (headers complicate it)
2) The three most basic managed libraries:
-- corlib :  394,887 total lines
-- System : 243,575 total lines
-- System.Xml :  173,070 total lines
3) The whole lot of managed libraries: (C#) 2,556,535 total lines

To complete SLOC counting for Mono you need to add the various tools
normally packaged with it.

That was some "wc -l" exercise I've done on Mono sources. Better stats
can be obtained in http://www.ohloh.net/projects/3263


On 5/27/07, unrealportal <unrealportal at gmail.com> wrote:
> Hi all,
> what is the current SLOC on the mcs/gmcs, and the Mono runtime,
> individually?
> Regards,
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

Rafael "Monoman" Teixeira
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw

More information about the Mono-devel-list mailing list