Android Open Source Project (AOSP) Community Stats

Last modified : 12 July, 2017

Here’s a thought. How open-source is Android really? To find out, I went through the instructions of downloading the entire AOSP source code. I’ve always wondered what people who have worked for Google think about having all the source code under a single repository. I’m guessing some probably like it. I don’t know if its painful but not painful enough to actually fix it. Or do the vast majority like it? I could see it both ways.

Anyway, after 54G of code repositories being downloaded, I ran this

AOSP $ for i in `find $(pwd) -name .git -type d`; do cd ${i}; cd ..; git log | grep Author | head -n 100 >> ~/androidauthors; done

Basically find the last 100 (non-distinct) authors in each of the git repositories and dump them to a file. I know this is inaccurate. The number of commits is not a good measure of level of contribution. And what if the repo has < 100 commits? And what if the timeframes were wildly different across repos. etc. etc. But I wanted a query that would be fast and approximate. Please let me know if you’d like a better query.

Now for finding the contribution per company.

~ $ cat androidauthors | cut -d\@ -f2 | cut -d\> -f1 | sort | uniq -c | sort -r -n | head -n 15
  26819 google.com
   1648 android.com
    972 gmail.com
    931 intel.com
    544 chromium.org
    315 codeaurora.org
    228 linaro.org
    179 ittiam.com
    167 behdad.org
    157 sonymobile.com
    153 redhat.com
    112 users.noreply.github.com
    112 arm.com
    101 kernel.org
     98 ad8eed46-c659-4a31-e19d-951d88f54425

How about individuals?

[raviprak@mydesk ~]$ cat androidauthors | cut -d\: -f2 | cut -d\< -f1 | sort | uniq -c | sort -r -n | head -n 50
   1444  Bill Yi 
   1416  Treehugger Robot 
    864  Baligh Uddin 
    785  Geoff Mendal 
    771  Paul Duffin 
    696  Colin Cross 
    688  Elliott Hughes 
    558  Dan Willemsen 
    441  Chih-Hung Hsieh 
    292  Steven Moreland 
    283  The Android Open Source Project 
    274  Dan Albert 
    244  Lorenzo Colitti 
    242  Christopher Ferris 
    239  Marco Nelissen 
    237  Jean-Baptiste Queru 
    235  Narayan Kamath 
    223  Kenny Root 
    216  Android Build Merger (Role) 
    201  Alex Deymo 
    184  Ying Wang 
    172  Alex Klyubin 
    170  Yifan Hong 
    168  Chih-hung Hsieh 
    167  Haojian Zhuang 
    167  Behdad Esfahbod 
    165  Roshan Pius 
    164  Neil Fuller 
    162  Stephen Hines 
    161  The Android Automerger 
    159  Thierry Strudel 
    155  Harish Mahendrakar 
    144  Andreas Gampe 
    143  Chris Craik 
    140  Glenn Kasten 
    138  Andrey Ponomarenko 
    130  Tri Vo 
    128  Aurimas Liutikas 
    122  Ben Murdoch 
    118  Miao Wang 
    116  Eric Fischer 
    115  Jakub Pawlowski 
    114  Dmitry Shmidt 
    113  Luis Hector Chavez 
    111  Tao Bao 
    110  Hridya Valsaraju 
    110  Chia-chi Yeh 
    109  Vijay Venkatraman 
    108  Etan Cohen 
    106  Yuexi Ma 

Please add comments here:

All content on this website is licensed as Creative Commons-Attribution-ShareAlike 4.0 License. Opinions expressed are solely my own.