SQLite. and for this reason alone! https://www.sqlite.org/testing.html As of version 3.23.0 (2018-04-02), the SQLite library consists of approximately 128.9 KSLOC of C code. (KSLOC means thousands of "Source Lines Of Code" or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 711 times as much test code and test scripts - 91772.0 KSLOC.
Ask HN: What open source project, in your opinion, has the highest code quality?
61–70 of 294 posts
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#62The Quake 3 source was fairly good...
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#63SQLite. and for this reason alone! https://www.sqlite.org/testing.html As of version 3.23.0 (2018-04-02), the SQLite library consists of approximately 128.9 KSLOC of C code. (KSLOC means thousands of "Source Lines Of Code" or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 711 times as much test code and test scripts - 91772.0 KSLOC.
Inversely, this is counteracted by the logic to not use Git: https://sqlite.org/whynotgit.html
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#64Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#65LLVM and associated projects such as clang. Bazel is good too. OkHttp and Retrofit by Square.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#66I was going to say the GNU version of /bin/false and /bin/true, but I actually took a look at the source and it is terrible.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#67Dolphin Emulator https://dolphin-emu.org/
e.g. The most recent https://dolphin-emu.org/blog/2018/09/01/dolphin-progress-rep...
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#68Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#69This is great for open source, because you can easily discover and navigate to the part you want, and change it. You might need to understand the plugin interface - or you might not. This flat architecture makes it easy for people to contribute, an important aspect of a successful open source project.
But it's not the ideal architecture for every project. In some cases, a cleverer, harder to understand approach is more elegant, shorter, more efficient, simpler.
Of course... one might argue that ease of understanding is more important than anything else.
Re: Ask HN: What open source project, in your opinion, has the highest code quality?
#70Therefore the highest code quality is likely to be in projects where I do not have to go under the hood, e.g. the Chromium project where all contributors are vastly more educated and capable than myself.