You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Jonathan Hsieh <jo...@cloudera.com> on 2013/06/05 19:21:47 UTC

Nifty code summaries.

I found this and its related pages to be some nice visualizations and
pretty interesting info. (HBase is >500k lines of java now.. ).

https://www.ohloh.net/p/hbase

-- 
// Jonathan Hsieh (shay)
// Software Engineer, Cloudera
// jon@cloudera.com

Re: Nifty code summaries.

Posted by Luke Lu <ll...@vicaya.com>.
My sloccount shows Hadoop has over 51% in xml in branch-2 as well :) The
truth is, of course, the thing is counting all the auto generated jdiffs
since 0.17.


On Wed, Jun 5, 2013 at 10:29 AM, Todd Lipcon <to...@cloudera.com> wrote:

>
> Also, it thinks Hadoop is 46% written in XML. We're so 1995 chic!
> https://www.ohloh.net/p/Hadoop
>
> -Todd
>

Re: Nifty code summaries.

Posted by Todd Lipcon <to...@cloudera.com>.
interesting, my sloccount program shows about half of that:
SLOC    Directory       SLOC-by-Language (Sorted)
199611  hbase-server    java=193938,ruby=3834,jsp=870,xml=768,python=108,
                        ansic=93
30341   hbase-client    java=30179,xml=162
14527   hbase-common    java=13233,xml=1267,sh=27
12676   src             xml=12676
6172    hbase-prefix-tree java=6116,xml=56
3328    hbase-it        java=3027,xml=301
2969    hbase-examples  java=1570,cpp=388,php=204,ruby=191,xml=191,perl=190,
                        python=179,sh=56
2112    hbase-hadoop1-compat java=1992,xml=120
2063    hbase-hadoop2-compat java=1909,xml=154
1725    dev-support     sh=1248,xml=477
1698    bin             sh=1103,ruby=595
1680    top_dir         xml=1680
774     hbase-hadoop-compat java=702,xml=72
239     hbase-assembly  xml=239
73      hbase-protocol  xml=73
36      conf            xml=35,sh=1
0       hbase-webapps   (none)
0       logs            (none)


Totals grouped by language (dominant language first):
java:        252666 (90.23%)
xml:          18271 (6.52%)
ruby:          4620 (1.65%)
sh:            2435 (0.87%)
jsp:            870 (0.31%)
cpp:            388 (0.14%)
python:         287 (0.10%)
php:            204 (0.07%)
perl:           190 (0.07%)
ansic:           93 (0.03%)


Also, it thinks Hadoop is 46% written in XML. We're so 1995 chic!
https://www.ohloh.net/p/Hadoop

-Todd

On Wed, Jun 5, 2013 at 10:21 AM, Jonathan Hsieh <jo...@cloudera.com> wrote:
> I found this and its related pages to be some nice visualizations and
> pretty interesting info. (HBase is >500k lines of java now.. ).
>
> https://www.ohloh.net/p/hbase
>
> --
> // Jonathan Hsieh (shay)
> // Software Engineer, Cloudera
> // jon@cloudera.com



-- 
Todd Lipcon
Software Engineer, Cloudera