Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Linus's law
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|1999 claim by Eric S. Raymond about software development, named after Linus Torvalds}} In [[software development]], '''Linus's law''' is the assertion that "given enough eyeballs, all [[software bug|bug]]s are shallow". The law was formulated by [[Eric S. Raymond]] in his essay and book ''[[The Cathedral and the Bazaar]]'' (1999), and was named in honor of [[Linus Torvalds]].<ref>{{cite web |title=The Cathedral and the Bazaar |first=Eric S. |last=Raymond |author-link=Eric S. Raymond | work=catb.org |url=http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/ar01s04.html}}</ref><ref>{{cite book |title=The Cathedral and the Bazaar |first=Eric S. |last=Raymond |year=1999 |page=30 | publisher=[[O'Reilly Media]] |isbn=1-56592-724-9 |url=https://books.google.com/books?id=F6qgFtLwpJgC&pg=PA30}}</ref> A more formal statement is: "Given a large enough [[beta test|beta-tester]] and co-[[programmer|developer]] base, almost every problem will be characterized quickly and the fix obvious to someone." Presenting the code to multiple developers with the purpose of reaching consensus about its acceptance is a simple form of [[software review]]ing. Researchers and practitioners have repeatedly shown the effectiveness of reviewing processes in finding bugs and security issues.<ref>{{cite book| first1=Charles P. |last1=Pfleeger|first2= Shari Lawrence |last2=Pfleeger|title=Security in Computing, 4th Ed. |isbn=0-13-239077-9 |pages=154β157 |publisher=[[Prentice Hall]] PTR |year=2003 |url=https://books.google.com/books?id=O3VB-zspJo4C&pg=PA154 }}</ref> == Validity == In ''Facts and Fallacies about Software Engineering,'' [[Robert L. Glass|Robert Glass]] refers to the law as a "mantra" of the [[Open-source model|open source]] movement, but calls it a fallacy due to the lack of supporting evidence and because research has indicated that the rate at which additional bugs are uncovered does not scale linearly with the number of reviewers; rather, there is a small maximum number of useful reviewers, between two and four, and additional reviewers above this number uncover bugs at a much lower rate.<ref>{{cite book |last=Glass |first=Robert L. |title=Facts and Fallacies of Software Engineering |isbn=0-321-11742-5 |year=2003 |publisher=[[Addison-Wesley]] |page=174 |url=https://books.google.com/books?id=3Ntz-UJzZN0C&pg=PA174}} {{ISBN|978-0321117427}}.</ref> While closed-source practitioners also promote stringent, independent [[code analysis]] during a software project's development, they focus on in-depth review by a few and not primarily the number of "eyeballs".<ref>{{cite book|last1=Howard |first1=Michael |last2=LeBlanc |first2=David |title=Writing Secure Code, 2nd. Ed. |pages=44β45, 615, 726 |isbn=0-7356-1722-8 |publisher=[[Microsoft Press]] |year=2003 |url=https://books.google.com/books?id=Uafp7m2wPcMC&q=Writing+Secure+Code }}</ref> The persistence of the [[Heartbleed]] security bug in a critical piece of code for two years has been considered as a refutation of Raymond's dictum.<ref>{{cite web |first=Bruce |last=Byfield |title=Does Heartbleed Disprove 'Open Source is Safer'? |work=[[Datamation]] |date=April 14, 2014 |url=https://www.datamation.com/open-source/does-heartbleed-disprove-open-source-is-safer-1.html }}</ref><ref>{{cite journal |doi=10.1038/scientificamerican0714-14 |first1=Edward W. |last1=Felten |first2=Joshua A. |last2=Kroll |title=Help Wanted on Internet Security |journal=Scientific American |year=2014 |volume=311 |issue=1 |page=14 |pmid=24974688 |bibcode=2014SciAm.311a..14F }}</ref><ref name="Bugs Aren't Shallow" /><ref name="Heartbleed matter" /> Larry Seltzer suspects that the availability of source code may cause some developers and researchers to perform less extensive tests than they would with [[closed source]] software, making it easier for bugs to remain.<ref name="Heartbleed matter">{{Cite web|url=https://www.zdnet.com/article/did-open-source-matter-for-heartbleed/ |date=April 14, 2014 |title=Did open source matter for Heartbleed?|first=Larry|last=Seltzer|website=ZDNet}}</ref> In 2015, the [[Linux Foundation]]'s executive director Jim Zemlin argued that the complexity of modern software has increased to such levels that specific resource allocation is desirable to improve its security. Regarding some of 2014's largest global open source [[software vulnerabilities]], he says, "In these cases, the eyeballs weren't really looking".<ref name="Bugs Aren't Shallow">{{cite web | title=Why All Linux (Security) Bugs Aren't Shallow | date=February 20, 2015 | first=Sean Michael | last=Kerner | publisher=eSecurity Planet | url=http://www.esecurityplanet.com/open-source-security/why-all-linux-security-bugs-arent-shallow.html | access-date=February 21, 2015}}</ref> Large scale experiments or peer-reviewed surveys to test how well the mantra holds in practice have not been performed.<ref>{{Cite journal |last=Arceneaux |first=Kevin |last2=Gerber |first2=Alan S. |last3=Green |first3=Donald P. |date=January 2006 |title=Comparing Experimental and Matching Methods Using a Large-Scale Voter Mobilization Experiment |url=https://www.cambridge.org/core/journals/political-analysis/article/abs/comparing-experimental-and-matching-methods-using-a-largescale-voter-mobilization-experiment/E7B43806BEE0FB3000EE6627A9C03720 |journal=Political Analysis |language=en |volume=14 |issue=1 |pages=37β62 |doi=10.1093/pan/mpj001 |issn=1047-1987}}</ref> Empirical support of the validity of Linus's law<ref>{{cite arXiv |last1=Amit |first1=Idan |last2=Feitelson |first2=Dror G.|date=2020 |title=The Corrective Commit Probability Code Quality Metric |class=cs.SE |eprint=2007.10912}}</ref> was obtained by comparing popular and unpopular projects of the same organization. Popular projects are projects with the top 5% of [[GitHub]] stars (7,481 stars or more). Bug identification was measured using the corrective commit probability, the ratio of commits determined to be related to fixing bugs. The analysis showed that popular projects had a higher ratio of bug fixes (e.g., Google's popular projects had a 27% higher bug fix rate than Google's less popular projects). Since it is unlikely that Google lowered its code quality standards in more popular projects, this is an indication of increased bug detection efficiency in popular projects. == See also == {{Portal|Free and open-source software}} {{div col|colwidth=25em}} * [[Code audit]] * [[Crowdsourcing]] * [[List of eponymous laws]] * [[Software peer review]] * [[Wisdom of the crowd]] * [[XZ Utils backdoor]] {{div col end}} == References == {{Reflist|30em}} == Further reading == *{{cite conference|conference=Int. Conf. on Collaboration Technologies and Systems (CTS), Philadelphia, PA |conference-url=https://ieeexplore.ieee.org/xpl/mostRecentIssue.jsp?punumber=5875054 |author1=Jing Wang |author2=J.M. Carroll |title=Behind Linus's law: A preliminary analysis of open source software peer review practices in Mozi |doi=10.1109/CTS.2011.5928673 |pages=117β124 |publisher=IEEE Xplore Digital Library |date=2011-05-27 }} {{Linux}} {{Computer laws}} [[Category:Computer architecture statements]] [[Category:Computer-related introductions in 1999]] [[Category:Computing culture]] [[Category:Free software culture and documents]] [[Category:Linus Torvalds]] [[Category:Linux]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Cite arXiv
(
edit
)
Template:Cite book
(
edit
)
Template:Cite conference
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Computer laws
(
edit
)
Template:Div col
(
edit
)
Template:Div col end
(
edit
)
Template:ISBN
(
edit
)
Template:Linux
(
edit
)
Template:Portal
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Search
Search
Editing
Linus's law
Add topic