Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In case anyone else was wondering, SQLite is about 156k lines of code with 92,000k lines of test code.


Do you have a source for that?


Why do you need a source? You can clone SQLite3 and count the lines yourself.


The test code of sqlite is not public.


Yes and no. Part of it is public, just not the "best" part: https://www.sqlite.org/testing.html


Thanks for the link. It looks like the public part is 27k lines of code (vs the 92,000k lines of code in the proprietary closed-source part).


So three orders of magnitude more tests than code. Yikes, if that is what 100% branch coverage looks like then count me out!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: