3 ms·
In case anyone else was wondering, SQLite is about 156k lines of code with 92,000k lines of test code.
by 0cf8612b2e1e 2y ago
In case anyone else was wondering, SQLite is about 156k lines of code with 92,000k lines of test code.
- vitiral 2y agoSo three orders of magnitude more tests than code. Yikes, if that is what 100% branch coverage looks like then count me out!
- noname120 2y agoDo you have a source for that?
- cryptonector 2y agoWhy do you need a source? You can clone SQLite3 and count the lines yourself.
- delifue 2y agoThe test code of sqlite is not public.
- Aissen 2y agoYes and no. Part of it is public, just not the "best" part: https://www.sqlite.org/testing.html https://www.sqlite.org/testing.html
- noname120 2y agoThanks 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).