in reply to
Re: Programs/Methods for analyzing an existing Perl based system
in thread Programs/Methods for analyzing an existing Perl based system
There's something fundamentally wrong with measuring complexity based
on low level analyses of code and using the outcome to judge the
quality of code.
Most people will agree the grammar of the musings of Shakespeare is
much more complex than Dr Suess books. Does that mean the childrens
books have a higher quality than the plays?
There are other problems as well. Such analyses can only focus on a
particular implementation. It doesn't cast any judgement on a proper
algorithm. It will favour a linear seach of a sorted array over a
binary search, because the linear search requires less conditions to
It doesn't mean you shouldn't use such a tool. It just means that you
have to be very careful with what you do with its results.