Has anyone used the ABC label to measure application size?

It has a few nice things (for example, it encapsulates the Cyclomatic complexity concept), and I was wondering if anyone had used it in real life. If so, what are your experiences? Is this a useful measure of size (unlike KLOC or function points)?

For those who are wondering what I smoked: Here is a link to some information about this: http://c2.com/cgi/wiki/Wiki?AbcMetric

+4
source share
1 answer

File size The β€œsize” of an application can be safely measured in LOC or any other metrics you might think about if you use the same approach throughout your application.

However, size alone matters only when you talk about re-factorization and code base support. This almost mandatory use of the size metric is useful in combination with coverage statistics.

But in most cases, functional points or similar concepts give you a much better idea of ​​how big your application is.

those. as an example, if it has 10 FP, it is tiny, if it has 200, it's probably big.

But if he has 100 KLOC, what does that tell me on his own, except that I will probably spend some time reading these lines? Almost nothing, I have to take a huge number of other factors into account in order to understand this metric.

Obviously, FP has a significant drawback to being costly to correctly calculate.

+2
source

Source: https://habr.com/ru/post/1277234/


All Articles