On 30/09/2011 13:20, Colin Watson wrote:
On Thu, Sep 29, 2011 at 09:06:08PM +0200, Davide Prina wrote:
in DDTSS I see:
"about what constitutes high or low quality products with an
automated analysis tool."
but these software metrics tools don't measure product quality,
So I think it must be:
"about what constitutes high or low development effort products with an
automated analysis tool."
But CCCC also includes a variety of measurements of flow-control
complexity, comment density, fan-in/fan-out of modules, and so on. They
may not be accurate quality checks, but they certainly aren't measures
of development effort either.
In my opinion if you talk about "quality", in general, you cannot use
automatic tools.
For example a program without comments:
MyTool=0
for i in $(ls *.txt); do echo $i; MyTool=$((MyTool+1)); done
echo $MyTool
can be worst than the same with comments:
# this is a comment!
MyTool=0
# and also this is a comment!
for i in $(ls *.txt); do echo $i; MyTool=$((MyTool+1)); done
# I love comments :-)
echo $MyTool
but comments can be useless and so having this comments type can be
worst than don't have comments! :-(
So all these automatics measurements cannot tell you if you have better
or worst quality, but only check if source respect some criteria you
think programs must have.
I think that you, as user, can build some automatic quality check but
for some very specific tasks and you must build rules to say what is
"quality" for you and what is not. But these personal "quality" checks
can be only on the source code contents and in some case only for a
specific program.
Do you have an alternative suggestion?
I can suggest something like this: "development effort and/or checking
the presence of some source characteristics/contents"
Ciao
Davide
PS: note that I'm not an expert on this filed. These are my opinions as
user of some tools.
--
Dizionari: http://linguistico.sourceforge.net/wiki
Petizione per l'uso di formati accessibili nell'Unione Europea
http://tinyurl.com/y6u4m5
Non autorizzo la memorizzazione del mio indirizzo su outlook
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]