Measuring Software Complexity: What Metrics to Use?
31–40 of 87 posts
Re: Measuring Software Complexity: What Metrics to Use?
#32Earlier quoted context omitted.
I think you applying that definition in your way to the issue of source code complexity is outlandish.
Why is it outlandish? You're confusing the reliability of using source lines of code as a metric for measuring the productivity of developers with measuring the complexity of a system. It's a bad metric for measuring productivity but a good metric for measuring complexity. The problem with using lines of code as a metric for developer productivity is precisely that it leads to developers introducing unnecessary compl…
Re: Measuring Software Complexity: What Metrics to Use?
#33This talks about code complexity a lot. This, however, is not the chief source of complexity in many code bases. The number of tools needed to build things is the bane of the modern software developer. Also, the use of microservices where none are needed results in and enormous increase in complexity. Code complexity is relatively easy to fix compared to all of this.
Re: Measuring Software Complexity: What Metrics to Use?
#34No mention of function points.
Re: Measuring Software Complexity: What Metrics to Use?
#35This talks about code complexity a lot. This, however, is not the chief source of complexity in many code bases. The number of tools needed to build things is the bane of the modern software developer. Also, the use of microservices where none are needed results in and enormous increase in complexity. Code complexity is relatively easy to fix compared to all of this.
Quite literally, software engineers today spend most of their time fighting dependencies and poorly built delivery machines.
Re: Measuring Software Complexity: What Metrics to Use?
#36Earlier quoted context omitted.
Why is it outlandish? You're confusing the reliability of using source lines of code as a metric for measuring the productivity of developers with measuring the complexity of a system. It's a bad metric for measuring productivity but a good metric for measuring complexity. The problem with using lines of code as a metric for developer productivity is precisely that it leads to developers introducing unnecessary compl…
I've never proposed using LOC as a measure of productivity. I won't entertain your dishonesty any further.
IMO, lines of code is even better at measuring complexity than compiled bytecode because it accounts for complexity from the developer's point of view (which is what the question is asking).
While some lines of code require more effort from a typical developer to understand than other lines, it doesn't matter so much once they're averaged out over thousands of lines and thousands of different developers (each with their own slightly different perception of complexity). It's reasonable to factor out individual perception of complexity.
Re: Measuring Software Complexity: What Metrics to Use?
#37This talks about code complexity a lot. This, however, is not the chief source of complexity in many code bases. The number of tools needed to build things is the bane of the modern software developer. Also, the use of microservices where none are needed results in and enormous increase in complexity. Code complexity is relatively easy to fix compared to all of this.