Ohloh

Ohloh [1] is a social network for open source developers. In addition to the community-oriented social features, Ohloh provides an API and tools for comparing languages and project metrics [2].

[1] www.ohloh.net
[2] www.ohloh.net/tools