Oloh is a a really cool site that analyzes the source code from thousands of open source projects. This is not just a static analysis either. They track every checkin and know how many new lines of code are added over time, in what language and who added them. This enormous database lets them see some interesting trends, like these from their PHP Eats Rails for Breakfast article:
Best of all, this fantastic resource was written in Ruby on Rails!