Rewards
Web
Images
Videos
Academic
Dict
Maps
More
Flights
cyclomatic
Web
圈;环形量度之和
Web Definition
1.
圈
"
圈
(
Cyclomatic
)复杂度"是很久之前就已经出现的度量。但直到最近,由于度量工具的涌入,它才在业务领域被广泛作为代码度 …
book.51cto.com
|
Based on 12 pages
2.
环形量度之和
2、 结构性指标:继承深度:继承树的高度方法加权和:每个方法的
环形量度之和
(
cyclomatic
)。软件量度可以衡量重构的效 …
www.360doc.com
|
Based on 7 pages
Sample Sentence
Definition:
All
All
,
圈
圈
,
环形量度之和
环形量度之和
Category:
All
All
,
Oral
Oral
,
Written
Written
,
Title
Title
,
Technical
Technical
Source:
All
All
,
Dictionary
Dictionary
,
Web
Web
Difficulty:
All
All
,
Easy
Easy
,
Middle
Middle
,
Hard
Hard
More sentence filters
Hide sentence filters
1.
I
've
explained
in
previous
articles
in
this
series
that
cyclomatic
complexity
tends to
be
one
of
the harbingers of sticky
code
.
我
在
本
系列
前面
的
文章
中
已经
解释
了
圈
复杂性
,
它
是
令人
讨厌
的
代码
的
一种
先兆
。
wǒ
zài
běn
xì liè
qián mian
de
wén zhāng
zhōng
yǐ jīng
jiě shì
le
quān
fù zá xìng
,
tā
shì
lìng rén
tǎo yàn
de
dài mǎ
de
yī zhǒng
xiān zhào
。
www.ibm.com
2.
The
bottom
of the
figure
indicates
the CheckStyle
cyclomatic
-
complexity
violation
for
a
method
.
该
图
下面
的
部分
指示
出
了
一个
方法
的
CheckStyle
圈
复杂度
违规
。
gāi
tú
xià mian
de
bù fen
zhǐ shì
chū
le
yī gè
fāng fǎ
de
CheckStyle
quān
fù zá dù
wéi guī
。
www.ibm.com
3.
What's more
,
this
tool
also
gathers
the
cyclomatic
complexity
of
every
method
in a
code
base
.
此外
,
此
工具
还
收集
代码
库
中
每个
方法
的
圈
复杂度
。
cǐ wài
,
cǐ
gōng jù
hái
shōu jí
dài mǎ
kù
zhōng
měi gè
fāng fǎ
de
quān
fù zá dù
。
www.ibm.com
4.
Testing
methods
with
high
cyclomatic
complexity
values
is
almost
always
like stepping into
a
maze --
no
easy
exit
in
sight
.
具有
高
圈
复杂
度
值
的
测试
方法
几乎
总是
把
事情
弄得
一团糟
,
无法
轻易
收场
。
jù yǒu
gāo
quān
fù zá
dù
zhí
de
cè shì
fāng fǎ
jī hū
zǒng shì
bǎ
shì qíng
nòng de
yì tuán zāo
,
wú fǎ
qīng yì
shōu chǎng
。
www.ibm.com
5.
Measuring
cyclomatic
complexity
is
,
therefore
,
particularly
valuable
in
situations
where you're
working
with a
legacy
code
base
.
所以
,
在
使用
遗留
代码
库
的
情况下
,
测量
圈
复杂度
特别
有
价值
。
suǒ yǐ
,
zài
shǐ yòng
yí liú
dài mǎ
kù
de
qíng kuàng xià
,
cè liáng
quān
fù zá dù
tè bié
yǒu
jià zhí
。
www.ibm.com
6.
Programs
with
lower
cyclomatic
complexity
are
easier
to
understand
and
less
risky
to modify
.
循环
复杂性
低
的
程序
更
容易
理解
,
编辑
起来
风险
也
更
小
。
xún huán
fù zá xìng
dī
de
chéng xù
gèng
róng yì
lǐ jiě
,
biān jí
qǐ lái
fēng xiǎn
yě
gèng
xiǎo
。
www.ibm.com
7.
Cyclomatic
complexity
isn't the
only
complexity
measurement
for
spotting
high
risk
code
,
however
.
不过
,
圈
复杂性
并不是
确定
高
风险
代码
的
惟一
复杂性
度量
。
bú guò
,
quān
fù zá xìng
bìng bú shì
què dìng
gāo
fēng xiǎn
dài mǎ
de
wéi yī
fù zá xìng
dù liàng
。
www.ibm.com
8.
A
good
rule
of
thumb
is
to
create
a
number
of
test
cases
equal
to the
cyclomatic
complexity
value
of the
code
being
tested
.
一个
好
的
经验
法则
是
创建
数量
与
将
被
测试
代码
的
圈
复杂度
值
相等
的
测试
用例
。
yī gè
hǎo
de
jīng yàn
fǎ zé
shì
chuàng jiàn
shù liàng
yǔ
jiāng
bèi
cè shì
dài mǎ
de
quān
fù zá dù
zhí
xiāng děng
de
cè shì
yòng lì
。
www.ibm.com
9.
This
installment
of
the
series
covers
the
cyclomatic
-
complexity
metric
in
a
discussion
about
testing
.
本
系列
的
这
一
期
在
讨论
测试
时
介绍
了
圈
复杂度
度量
。
běn
xì liè
de
zhè
yī
qī
zài
tǎo lùn
cè shì
shí
jiè shào
le
quān
fù zá dù
dù liàng
。
www.ibm.com
10.
The
total number
of
noncommenting
lines
of
code
and
the
cyclomatic
complexity
per each
method
in the
code
base
.
代码
库
中
每个
方法
的
非
注释
代码
行
的
总数
和
圈
复杂度
。
dài mǎ
kù
zhōng
měi gè
fāng fǎ
de
fēi
zhù shì
dài mǎ
xíng
de
zǒng shù
hé
quān
fù zá dù
。
www.ibm.com
1
2
3
4
5
Bing Dictionary App
Without any ads
Go to website
Download mobile dict apps
iOS
Windows Phone
Android
Download PC apps
Win32 Version
Microsoft Store