Do you find cyclomatic complexity a useful measure?

后端 未结 15 1285
傲寒
傲寒 2020-12-12 22:03

I\'ve been playing around with measuring the cyclomatic complexity of a big code base.

Cyclomatic complexity is the number of linearly independent paths through a pr

15条回答
  •  无人及你
    2020-12-12 22:14

    You'll know complexity when you see it. The main thing this kind of tool is useful for is flagging the parts of the code that were escaping your attention.

提交回复
热议问题