你好,游客 登录 注册 搜索
背景:
阅读新闻

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

[日期:2012-02-27] 来源:Linux人社区  作者:Linux [字体:大 中 小]

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 行代码。”

coverity penguin 

英文原文:

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
相关资讯       Linux资料 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款