什么是沼泽图? [英] What is a Swamp Diagram?

查看:130
本文介绍了什么是沼泽图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人告诉我有关沼泽图的说明,它们通过测量给定产品的缺陷输入率和缺陷修复率来预测代码质量.

不幸的是,我无法在这些图中找到更多信息,并且我想知道这是否是一个公司专有的术语.

你能解释什么是沼泽图吗?

解决方案

您可以在本文中看到有关"

(CESR是康奈尔电子存储环,旨在提供碰撞的电子束和正电子束,最高至16 GeV的质心能.)
(显然,我只是从此处的文章中复制内容,我只是一个编码员,而不是物理学家;))

现在,关于沼泽图的有趣之处在于 分配比方面 ,这是您可以轻松查看两个轴上的数据组(沼泽")的方式. /p>

如果您的两个轴是:

  • 缺陷进入率和
  • 外发修复率

您可以形象地看到修复的性质:发现或发现许多错误时,修复过程是否有效?
这可以告诉您很多缺陷的性质(由于很多文件中反复出现愚蠢的错字并易于纠正,因此很多"或沼泽"可以指许多非常简单的错误,但其他缺陷同样重要,但修复得很慢可能表明存在更多结构性问题,可能会影响您的应用程序的体系结构选择:您希望专注于该沼泽)

最后,不,它不是某些公司的内部术语,只是一个旧术语,指的是给定领土上的实际地理沼泽分区的旧图表. (如本文中有关"


正如David Segonds在评论中说的那样,现代名称将是" 二项式趋势线 "(尽管在这种情况下,比率方面往往会有所遗漏)图).
您可以在
按年龄划分的投票人数图表中查看示例.

沼泽图的另一个现代示例是图表,该图表将每个县都显示为椭圆形,并且在两次选举中,椭圆的大小与县的人口成正比(更确切地说是选民的投票率). (很奇怪,似乎只出现了与这种数据表示有关的政治例子;)

[免责声明:以下仅是示例,在这里绝不说明任何政治观点;)]

Someone told me about swamp diagrams explaning that they were useful to predict code quality by measuring the rate of incoming defects and outgoing fixes on a given product.

Unfortunately, I am unable to find additional information on those diagrams and I am wondering if it is a jargon term specific to one company.

Can you explain what a swamp diagram is?

解决方案

You can see an example of a "swamp diagram" in this article about the "THE COMMISSIONING AND PERFORMANCE CHARACTERISTICS OF CESR", page 5 of the pdf or p. 1988 of that document.

(CESR is the Cornell Electron Storage Ring, designed to provide colliding electron and positron beams up to center-ofmass energy of 16 GeV.)
(obviously, I am just copying stuff from the article here, I am just a coder, not a physicist ;) )

Now what is interesting about a swamp diagram is the repartition ratio aspect, the way you can easily see groups ("swamps") of data against two axis.

If your two axes are:

  • the rate of incoming defects and
  • the rate of outgoing fixes

You can visualize the nature of the fixing: is that fixing process efficient when a lot of bugs are found or not ?
And that can tell you a lot on the nature of the defects found (that 'lot' or swamp can refers to many very easy bugs due to a stupid typo repeated in lots of file and easily corrected, but that other lot quite as important but fixed really slowly may indicate a more structural problem affecting perhaps the architectural choices of your application: you want to focus on that swamp)

Finally, no, it is not an internal term from some company, just an old term referring to old diagrams of... actual geographic swamp repartition over a given territory. (as this article about "Forest destruction by early Polynesians" from 1977 shows, go back a few pages to see that map)


As David Segonds says in a comment, the modern name would be a "binomial trendline" (although the ratio aspect tends to get a bit lost in that kind of diagram).
You can see an example in this Graph of voter turnout by age.

Another modern example of a swamp diagram would be this diagram showing each county as an ellipse, with the size of the ellipse proportional to the population of the county (more precisely, the voter turnout) in the two elections. (weird, only political examples seem to pop-up in relation with that kind of data representation ;)

[Disclaimer: the following is just an example, and in no way illustrates any kind of political opinion here ;) ]

这篇关于什么是沼泽图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆