Jonathan Crossland
Posts: 630
Nickname: jonathanc
Registered: Feb, 2004
|
Jonathan Crossland is a software architect for Lucid Ocean Ltd
|
|
|
|
Smegging Code Metrics
|
Posted: Apr 3, 2009 9:06 AM
|
|
|
This post originated from an RSS feed registered with .NET Buzz
by Jonathan Crossland.
|
Original Post: Smegging Code Metrics
Feed Title: Jonathan Crossland Weblog
Feed URL: http://www.jonathancrossland.com/syndication.axd
Feed Description: Design, Frameworks, Patterns and Idioms
|
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Jonathan Crossland
Latest Posts From Jonathan Crossland Weblog
|
|
Traditional Code Metrics such as LOC an CC is absolutely rubbish. It is pretty much as useful as Flesch-Kincaid is for reading. A C# code file measures quite readable.
Also, how strange that doing a search on Wikipedia for Code Metrics takes you to what can only be described as a Microsoft Advert. Its dying... It's dead... Only three or four add-ins for visual studio? Not much competition.
Does anyone think that Code metrics in the traditional form is helpful at all?
The problem is we can't measure code yet. We cannot make judgements on quality. or can we?
Perhaps we can look at code, from architecture. A Service Oriented Architecture has a different quality belief system than Object-Oriented. We know what formulae to create on either. We know that less state in a SOA application is more quality?
or what about patterns. If well known Design Patterns can be found within code, is it better than non well known Patterns, or no discernible pattern?
I think these sorts of questions can begin to get answered properly now. Someone will create that new system/formulae soon. We need a system, and it will be provided, eventually.
Read: Smegging Code Metrics
|
|