Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

[News] Analysis of Millions of Lines of Kernel Code

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

5 things you didn’t know about linux kernel code metrics

,----[ Quote ]
| I started with writing a small script that:
| 
|    1. downloads a 2.6.0 kernel, analyzes it using SLOCCount written by David 
|       Wheeler 
|    2. patches to one step newer kernel and analyzes it using the same tool.
|    3. goes to number 2 until patches run out at 2.6.26
| 
| Just in case I also used a different tool called cloc to analyze the same 
| code. Word of comment on tools used is at the end of this post. 
| 
| This script ate 477MB of disk space with tarballs and bzipped patches.
| 1. The kernel has just reached 6 millions lines with 2.6.26!
| Linux kernel lines of code
| 
| Linux kernel lines of code
| 
| Yes, indeed, with 2.6.26 we’ve reached over 6 million lines of code. You can 
| see that on the chart on the right (click for a normal size version). 
| 
| Both SLOCCount and CLOC show similar results. What is interesting here is 
| that: 
| 
|     * there’s over a million of blank lines,
|     * and a million lines of comments (which are of course important too),
|     * the code shows a faster-than-linear growth characteristic,
|     * if current speed is maintained I predict we might get 7 million with 
|       2.6.30 and 8 million with 2.6.33, just look at the forecast. 
`----

http://linuxator.wordpress.com/2008/07/22/5-things-you-didnt-know-about-linux-kernel-code-metrics/
http://tinyurl.com/5p5cqh


Related:

Linux contributor base broadens

,----[ Quote ]
| With more companies funding Linux work, the core hackers now delegate 
| 70% of the coding
`----

http://www.linuxworld.com/news/2007/062807-linux-contributor-base.html


Amazing 3D view of linux kernels..

,----[ Quote ]
| These are 3D renderings of dependencies in the Linux kernel source code.
`----

http://kerneltrap.org/node/14727

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiO1V8ACgkQU4xAY3RXLo7+bgCgmNjziMAMkaXKuaPZH5x5lhIJ
a7UAnj5gIcE6nobbaYZ5WxwOF/kwr39q
=KAdT
-----END PGP SIGNATURE-----

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index