Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #13677 > unrolled thread

How does code metrics affect your motivation? Academic survey

Started byRLC <lustik.cohen@googlemail.com>
First post2012-01-31 11:54 -0800
Last post2012-02-09 10:10 +0100
Articles 12 — 9 participants

Back to article view | Back to comp.lang.c++


Contents

  How does code metrics affect your motivation? Academic survey RLC <lustik.cohen@googlemail.com> - 2012-01-31 11:54 -0800
    Re: How does code metrics affect your motivation? Academic survey Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-02-01 06:31 -0800
      Re: How does code metrics affect your motivation? Academic survey Victor Bazarov <v.bazarov@comcast.invalid> - 2012-02-01 10:56 -0500
        Re: How does code metrics affect your motivation? Academic survey Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-02-01 18:02 +0000
          Re: How does code metrics affect your motivation? Academic survey Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-02-02 03:52 -0800
            Re: How does code metrics affect your motivation? Academic survey Miles Bader <miles@gnu.org> - 2012-02-03 14:05 +0900
              Re: How does code metrics affect your motivation? Academic survey "Bill Davy" <Bill@SynectixLtd.com> - 2012-02-04 12:20 +0000
            Re: How does code metrics affect your motivation? Academic survey jgk@panix.com (Joe keane) - 2012-02-04 13:26 +0000
              Re: How does code metrics affect your motivation? Academic survey Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-02-05 04:36 -0800
                Re: How does code metrics affect your motivation? Academic survey "ILostMyKeys" <unlock.the.door.plz@its.cold.outside> - 2012-02-08 00:04 -0600
                  Re: How does code metrics affect your motivation? Academic survey Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-02-09 01:02 -0800
                    Re: How does code metrics affect your motivation? Academic survey Henrik Faber <hfaber@invalid.net> - 2012-02-09 10:10 +0100

#13677 — How does code metrics affect your motivation? Academic survey

FromRLC <lustik.cohen@googlemail.com>
Date2012-01-31 11:54 -0800
SubjectHow does code metrics affect your motivation? Academic survey
Message-ID<c69d66c0-0819-4f0f-994e-2cbdbcfd8b9f@v14g2000vbc.googlegroups.com>
I am conducting research on the effects source code quality
measurements have on developers’ general motivation and well-being.

If you write code for a living, please give us just a few minutes of
your time and respond to this questionnaire.

http://www.smart-survey.co.uk/v.asp?i=46061csldl


Many thanks,

Roi

[toc] | [next] | [standalone]


#13690

FromNick Keighley <nick_keighley_nospam@hotmail.com>
Date2012-02-01 06:31 -0800
Message-ID<224f6d37-d1ce-4792-94db-9077fe00c05d@t30g2000vbx.googlegroups.com>
In reply to#13677
On Jan 31, 7:54 pm, RLC <lustik.co...@googlemail.com> wrote:

> I am conducting research on the effects source code quality
> measurements have on developers’ general motivation and well-being.
>
> If you write code for a living, please give us just a few minutes of
> your time and respond to this questionnaire.
>
> http://www.smart-survey.co.uk/v.asp?i=46061csldl

the examples they give arefrom a particular tool. It smells like
advertising for the particular tool.

[toc] | [prev] | [next] | [standalone]


#13691

FromVictor Bazarov <v.bazarov@comcast.invalid>
Date2012-02-01 10:56 -0500
Message-ID<jgbnav$dbs$1@dont-email.me>
In reply to#13690
On 2/1/2012 9:31 AM, Nick Keighley wrote:
> On Jan 31, 7:54 pm, RLC<lustik.co...@googlemail.com>  wrote:
>
>> I am conducting research on the effects source code quality
>> measurements have on developers’ general motivation and well-being.
>>
>> If you write code for a living, please give us just a few minutes of
>> your time and respond to this questionnaire.
>>
>> http://www.smart-survey.co.uk/v.asp?i=46061csldl
>
> the examples they give arefrom a particular tool. It smells like
> advertising for the particular tool.

The advertising is probably very immaturely made, then.  I've gone 
there, answered questions, and I can't recall either the name of the 
tool or their publisher...  Nor do I care for those, really.

V
-- 
I do not respond to top-posted replies, please don't ask

[toc] | [prev] | [next] | [standalone]


#13694

FromJorgen Grahn <grahn+nntp@snipabacken.se>
Date2012-02-01 18:02 +0000
Message-ID<slrnjiivig.1ls.grahn+nntp@frailea.sa.invalid>
In reply to#13691
On Wed, 2012-02-01, Victor Bazarov wrote:
> On 2/1/2012 9:31 AM, Nick Keighley wrote:
>> On Jan 31, 7:54 pm, RLC<lustik.co...@googlemail.com>  wrote:
>>
>>> I am conducting research on the effects source code quality
>>> measurements have on developers? general motivation and well-being.
>>>
>>> If you write code for a living, please give us just a few minutes of
>>> your time and respond to this questionnaire.
>>>
>>> http://www.smart-survey.co.uk/v.asp?i=46061csldl
>>
>> the examples they give arefrom a particular tool. It smells like
>> advertising for the particular tool.
>
> The advertising is probably very immaturely made, then.  I've gone 
> there, answered questions, and I can't recall either the name of the 
> tool or their publisher...  Nor do I care for those, really.

I went there, answered questions ... and wondered how well *percieved*
quality and metrics from some tool correlate.  Sure, I want more focus
on code quality, but I think I'd prefer to have myself and my coworkers
say what's acceptable and what's not.

/Jorgen

-- 
  // Jorgen Grahn <grahn@  Oo  o.   .     .
\X/     snipabacken.se>   O  o   .

[toc] | [prev] | [next] | [standalone]


#13703

FromNick Keighley <nick_keighley_nospam@hotmail.com>
Date2012-02-02 03:52 -0800
Message-ID<7bf245ef-26e1-4d78-af90-a7a6f3b97594@o14g2000vbo.googlegroups.com>
In reply to#13694
On Feb 1, 6:02 pm, Jorgen Grahn <grahn+n...@snipabacken.se> wrote:
> On Wed, 2012-02-01, Victor Bazarov wrote:
> > On 2/1/2012 9:31 AM, Nick Keighley wrote:
> >> On Jan 31, 7:54 pm, RLC<lustik.co...@googlemail.com>  wrote:


> >>> I am conducting research on the effects source code quality
> >>> measurements have on developers? general motivation and well-being.
>
> >>> If you write code for a living, please give us just a few minutes of
> >>> your time and respond to this questionnaire.
>
> >>>http://www.smart-survey.co.uk/v.asp?i=46061csldl
>
> >> the examples they give arefrom a particular tool. It smells like
> >> advertising for the particular tool.
>
> > The advertising is probably very immaturely made, then.  I've gone
> > there, answered questions, and I can't recall either the name of the
> > tool or their publisher...  Nor do I care for those, really.
>
> I went there, answered questions ... and wondered how well *percieved*
> quality and metrics from some tool correlate.  Sure, I want more focus
> on code quality, but I think I'd prefer to have myself and my coworkers
> say what's acceptable and what's not.

I've got similar opinions. Such metrics might be handy for spotting
potential problems; "list all the methods that are >100 LOC" or exceed
some value for "complexity". But when I've had such things readily
available I didn't make great use of them. I can also imagine the
reaction to making such things compulsary (moaning and whining,
followed by malicious compliance)

[toc] | [prev] | [next] | [standalone]


#13726

FromMiles Bader <miles@gnu.org>
Date2012-02-03 14:05 +0900
Message-ID<buofweso6a9.fsf@dhlpc061.dev.necel.com>
In reply to#13703
Nick Keighley <nick_keighley_nospam@hotmail.com> writes:
> I've got similar opinions. Such metrics might be handy for spotting
> potential problems; "list all the methods that are >100 LOC" or exceed
> some value for "complexity". But when I've had such things readily
> available I didn't make great use of them.

Hmm, that's a nice-sounding metric, as it's really simple to calculate
for typical programming languages, and probably is useful for the
purpose you state.

You're right that most people aren't going to be tracking such info
constantly, but still, every once in a while one tends to go into
"spring-cleaning mode", and it's nice to have such tools available then.

-Miles

-- 
80% of success is just showing up.  --Woody Allen

[toc] | [prev] | [next] | [standalone]


#13736

From"Bill Davy" <Bill@SynectixLtd.com>
Date2012-02-04 12:20 +0000
Message-ID<9p4m4qF268U1@mid.individual.net>
In reply to#13726
"Miles Bader" <miles@gnu.org> wrote in message 
news:buofweso6a9.fsf@dhlpc061.dev.necel.com...
> Nick Keighley <nick_keighley_nospam@hotmail.com> writes:
>> I've got similar opinions. Such metrics might be handy for spotting
>> potential problems; "list all the methods that are >100 LOC" or exceed
>> some value for "complexity". But when I've had such things readily
>> available I didn't make great use of them.
>
> Hmm, that's a nice-sounding metric, as it's really simple to calculate
> for typical programming languages, and probably is useful for the
> purpose you state.
>
> You're right that most people aren't going to be tracking such info
> constantly, but still, every once in a while one tends to go into
> "spring-cleaning mode", and it's nice to have such tools available then.
>
> -Miles
>
> -- 
> 80% of success is just showing up.  --Woody Allen


I use http://www.campwoodsw.com/sourcemonitor.html (donations welcome) if I 
have time.  It is easy to set up and use.  Then just check the functions 
with the worst stats.  I wish there was some way of making it happier about 
large switch statemenst (as used to implement FSM quite cleanly and simply).

And although it does not produce "metrics" as such (imho), PC-Lint is a very 
worthwhile tool as well. 

[toc] | [prev] | [next] | [standalone]


#13737

Fromjgk@panix.com (Joe keane)
Date2012-02-04 13:26 +0000
Message-ID<jgjbms$kj5$1@reader1.panix.com>
In reply to#13703
In article <7bf245ef-26e1-4d78-af90-a7a6f3b97594@o14g2000vbo.googlegroups.com>,
Nick Keighley  <nick_keighley_nospam@hotmail.com> wrote:
>I've got similar opinions. Such metrics might be handy for spotting
>potential problems; "list all the methods that are >100 LOC" or exceed
>some value for "complexity".

As well; "nm -s" works fine for me.  I'm not a big fan of 'all gt <NoIS>
are wrong'; some functions should be, but it is nice to point out when
asomething has escaped your notice.

[toc] | [prev] | [next] | [standalone]


#13790

FromNick Keighley <nick_keighley_nospam@hotmail.com>
Date2012-02-05 04:36 -0800
Message-ID<0c614da6-62a5-4ac9-b6d6-0131253b8caa@eb6g2000vbb.googlegroups.com>
In reply to#13737
On Feb 4, 1:26 pm, j...@panix.com (Joe keane) wrote:
> In article <7bf245ef-26e1-4d78-af90-a7a6f3b97...@o14g2000vbo.googlegroups.com>,
> Nick Keighley  <nick_keighley_nos...@hotmail.com> wrote:
>
> >I've got similar opinions. Such metrics might be handy for spotting
> >potential problems; "list all the methods that are >100 LOC" or exceed
> >some value for "complexity".
>
> As well; "nm -s" works fine for me.  I'm not a big fan of 'all gt <NoIS>
> are wrong'; some functions should be, but it is nice to point out when
> asomething has escaped your notice.

what I meant to be my point. A 100LOC function isn't neccesarily
wrong. But its a warning notice and should be looked at hard.

[toc] | [prev] | [next] | [standalone]


#13835

From"ILostMyKeys" <unlock.the.door.plz@its.cold.outside>
Date2012-02-08 00:04 -0600
Message-ID<jgt3a0$fpp$1@speranza.aioe.org>
In reply to#13790
Nick Keighley wrote:
> On Feb 4, 1:26 pm, j...@panix.com (Joe keane) wrote:
>> In article
>> <7bf245ef-26e1-4d78-af90-a7a6f3b97...@o14g2000vbo.googlegroups.com>,
>> Nick Keighley <nick_keighley_nos...@hotmail.com> wrote:
>>
>>> I've got similar opinions. Such metrics might be handy for spotting
>>> potential problems; "list all the methods that are >100 LOC" or
>>> exceed some value for "complexity".
>>
>> As well; "nm -s" works fine for me. I'm not a big fan of 'all gt
>> <NoIS>
>> are wrong'; some functions should be, but it is nice to point out
>> when asomething has escaped your notice.
>
> what I meant to be my point. A 100LOC function isn't neccesarily
> wrong. But its a warning notice and should be looked at hard.

Why are you here? 

[toc] | [prev] | [next] | [standalone]


#13867

FromNick Keighley <nick_keighley_nospam@hotmail.com>
Date2012-02-09 01:02 -0800
Message-ID<572e964a-d728-4e9e-910e-c3de41a466c1@bs8g2000vbb.googlegroups.com>
In reply to#13835
On Feb 8, 6:04 am, "ILostMyKeys"
<unlock.the.door....@its.cold.outside> wrote:
> Nick Keighley wrote:
> > On Feb 4, 1:26 pm, j...@panix.com (Joe keane) wrote:
> >> In article
> >> <7bf245ef-26e1-4d78-af90-a7a6f3b97...@o14g2000vbo.googlegroups.com>,
> >> Nick Keighley <nick_keighley_nos...@hotmail.com> wrote:


> >>> I've got similar opinions. Such metrics might be handy for spotting
> >>> potential problems; "list all the methods that are >100 LOC" or
> >>> exceed some value for "complexity".
>
> >> As well; "nm -s" works fine for me. I'm not a big fan of 'all gt
> >> <NoIS>
> >> are wrong'; some functions should be, but it is nice to point out
> >> when asomething has escaped your notice.
>
> > what I meant to be my point. A 100LOC function isn't neccesarily
> > wrong. But its a warning notice and should be looked at hard.
>
> Why are you here?

to learn a bit of C, to share my knowledge of C, to discuss
programming issues based around C. There are some very smart
programmers on this ng.

Why are you here?

[toc] | [prev] | [next] | [standalone]


#13868

FromHenrik Faber <hfaber@invalid.net>
Date2012-02-09 10:10 +0100
Message-ID<jh02ho$cnt$1@speranza.aioe.org>
In reply to#13867
On 09.02.2012 10:02, Nick Keighley wrote:
> On Feb 8, 6:04 am, "ILostMyKeys"
> <unlock.the.door....@its.cold.outside> wrote:
>> Nick Keighley wrote:
>>
>> Why are you here?
> 
> to learn a bit of C, to share my knowledge of C, to discuss
> programming issues based around C. There are some very smart
> programmers on this ng.
> 
> Why are you here?

That's kind of obvious. He lost his keys and is looking in this NG.

Henrik

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web