由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Open-Source Python Code Sets New Standard for Quality
相关主题
BT实战阅读scala中
python + IM ?谁知道这个嵌套的Python if 是啥意思?
哪种open source software 可以画这种地理分布图python 有什么好书可以读一读?
感觉用python的人,属于程序员中的文艺青年那类的强人工智能实现的那一天就是大部分人开始死亡的那一天
看C码工写Python真是捉急搞 Clojure 的几位怎么看 is Clojure dying 这个近期梗
python要把@当作矩阵乘法算符小札所谓的基本收入会加剧AI的危害。
Java is back《PostGIS 实战》(PostGIS in Action)[PDF]
学python的一点小感觉哈这类和数学有关的面试题怎么解决? (转载)
相关话题的讨论汇总
话题: python话题: coverity话题: code话题: defects话题: source
进入Programming版参与讨论
1 (共1页)
s*****V
发帖数: 21731
1
http://www.eweek.com/developer/open-source-python-code-sets-new
The defect density in Python programming language code improved to 0.005
defects per thousand lines of code, a new study finds.
The open-source Python programming language has continued to steadily
improve its code quality in recent years and now surpasses that of its open-
source and proprietary peers, according to a study published by development
testing vendor Coverity.
"The Coverity platform is part of the Python build system," Zack Samocha,
senior director of product management at Coverity, told eWEEK. "As their
code changes, a new build is submitted to the Scan service and new defects
are then sent to Python to be fixed."
Coverity's code-scanning system for open-source projects, including Python,
has been in place since 2006, when the effort was first funded by the U.S.
Department of Homeland Security (DHS). The original DHS funding grant was
only for a three-year term, and since its expiration, Coverity has been
funding the open-source code scanning on its own.
According to Coverity, the average defect density across all the open-source
software that it measures is 0.69 defects per thousand lines of code.
Python, which does better than the average, comes in at 0.005 defects per
thousand lines of code. So far in 2013, Coverity's scanning technology has
analyzed more than 396,000 lines of code in the latest builds of Python 3.3.
2. That analysis has led to 181 new defects being identified. For the year
to date, Python developers have already fixed 278 defects.
- See more at: http://www.eweek.com/developer/open-source-python-code-sets-new-standard-for-quality-study.html#sthash.y9V3zKVh.dpuf
V*********r
发帖数: 666
2
这个跟Coverity分析Python的能力有关。跟静态语言不一样,Python程序的很多bugs/
defects要runtime才能暴露出来,Coverity不一定对Python程序具备这样的静态分析能
力。这样的比较不见得是公平的。

open-
development

【在 s*****V 的大作中提到】
: http://www.eweek.com/developer/open-source-python-code-sets-new
: The defect density in Python programming language code improved to 0.005
: defects per thousand lines of code, a new study finds.
: The open-source Python programming language has continued to steadily
: improve its code quality in recent years and now surpasses that of its open-
: source and proprietary peers, according to a study published by development
: testing vendor Coverity.
: "The Coverity platform is part of the Python build system," Zack Samocha,
: senior director of product management at Coverity, told eWEEK. "As their
: code changes, a new build is submitted to the Scan service and new defects

1 (共1页)
进入Programming版参与讨论
相关主题
这类和数学有关的面试题怎么解决? (转载)看C码工写Python真是捉急
good C++ open source project?python要把@当作矩阵乘法算符
How to see the content of a library fileJava is back
Source Control/Issue Tracking software? (转载)学python的一点小感觉哈
BT实战阅读scala中
python + IM ?谁知道这个嵌套的Python if 是啥意思?
哪种open source software 可以画这种地理分布图python 有什么好书可以读一读?
感觉用python的人,属于程序员中的文艺青年那类的强人工智能实现的那一天就是大部分人开始死亡的那一天
相关话题的讨论汇总
话题: python话题: coverity话题: code话题: defects话题: source