红联Linux门户
Linux帮助

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

发布时间:2012-02-27 09:25:20来源:红联作者:xyxzfj
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."
文章评论

共有 3 条评论

  1. niumingchao 于 2012-03-04 12:23:02发表:

    呵呵,有对比好

  2. lyapurov 于 2012-02-28 00:31:18发表:

    楼上的不是“好人”,不是给人家找难堪呢吗?

  3. Kttlon 于 2012-02-27 11:10:11发表:

    期望看到微软的报告