开发者

What does the duplicates cost is Team City mean?

开发者 https://www.devze.com 2023-02-05 13:25 出处:网络
We are using Team City, and running a duplicates test. It has found several duplicates, but I am wondering how the cost is calculat开发者_C百科ed and if we should use that to prioritise fixing the du

We are using Team City, and running a duplicates test.

It has found several duplicates, but I am wondering how the cost is calculat开发者_C百科ed and if we should use that to prioritise fixing the duplicates?

Here are some examples:

cost 246, 2 duplicates in 1 file cost 75, 14 duplicates in 14 files cost 73, 2 duplicates in 1 file


The number is a synthetic one reflecting "complexity" of the code snippet involved. The more the number, the more complex/long the code is.

It usually makes sense to fight with the duplicates with greater cost first.

0

精彩评论

暂无评论...
验证码 换一张
取 消