为何说Linux是高质量代码的典范?

最新ubuntu/linux/开源新闻或者其它IT相关资讯
回复
头像
vikyzhang
帖子: 677
注册时间: 2010-10-18 14:39
联系:

为何说Linux是高质量代码的典范?

#1

帖子 vikyzhang » 2012-02-27 9:25

Linux.com 报告了来自软件测试数据统计与分析公司Coverity 的最新缺陷统计。“2011年,在Linux 2.6 被扫描的6,849,378 行代码中,4,261 个突出缺陷被检测出,1,283 个已被修复。Linux 2.6 缺陷密度为 .62;PHP 5.3 为 .20,PostgreSQL 9.1为 .21。需要注意的是,PHP 5.3 的代码量——537,871 代码行——只是Linux 2.6 的沧海一粟;而PostgreSQL 9.1 也只有1,105,634 行代码。”

图片

转载请注明:Linux人社区>英文资讯翻译专版.编译

英文原文:
Why Linux Is a Model Citizen of Quality Code (Linux.com)
[Development] Posted Feb 24, 2012 22:51 UTC (Fri) by corbet
Linux.com reportson the latest defect statistics from Coverity. "With 6,849,378 linesof Linux 2.6 code scanned, 4,261 outstanding defects were detected and1,283 were fixed in 2011. The defect density of Linux 2.6 is .62, comparedto .20 for PHP 5.3 and .21 for PostgreSQL 9.1. Keep in mind that thecodebase for PHP 5.3 — 537,871 lines of code — is a fraction of that ofLinux 2.6, and PostgreSQL 9.1 has 1,105,634 lines of code."
Linux人社区开源新闻资讯翻译专版小编。翻译来自互联网上最新的英文开源资讯,提供给大家最迅即、最忠实于原文的开源业界动态、软件更新、有用技能等等。不至之处欢迎指正![email protected]
回复