LOC of different version control systems
Alexander Belchenko
bialix at ukr.net
Mon Dec 1 13:00:56 CST 2008
Gabor Grothendieck пишет:
> According to:
>
> http://www.ohloh.net/projects/compare?metric=Codebase&project_0=Mercurial&project_1=Git&project_2=Bazaar+Version+Control
>
> Git, Bazaar and Mercurial have 350k, 150k and 50k lines of souce
> code respectively.
>
> Initially I made the above comparison between just Git and Mercurial and figured
> it might be accounted for by the fact that Git is in C and Mercurial
> is in Python
> but then I added Bazaar and it is also written in Python.
>
> Other possibilities might be how extensions are counted or just plain error in
> measurement.
>
> Does anyone understand the differences between these systems sufficiently
> to explain these seemingly large differences?
More than half of Bazaar codebase is actually tests and benchmarks.
You need to exclude bzrlib/tests and bzrlib/benchmarks to get info about actual code.
Also Bazaar supports more concepts, more features/workflows and tows support
for numerous old repo formats. I think this explains its codebase size.
More information about the Mercurial
mailing list