Originally posted by mudskipper
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Programmer productivity metrics
Collapse
X
-
Down with racism. Long live miscegenation! -
#define fastcopy(x,y,z)
fastcopy(array1, array2, size);
fastcopy(array1, array2, size);
fastcopy(array1, array2, size);
fastcopy(array1, array2, size);
fastcopy(array1, array2, size);
fastcopy(array1, array2, size);
fastcopy(array1, array2, size);
fastcopy(array1, array2, size);
fastcopy(array1, array2, size);
fastcopy(array1, array2, size);
/* Copy'n'paste 'fastcopy(array1, array2, size);' which does nothing as many times as required.
Scatter liberally through files and within methods to taste -
no nosy line manager peeking at version control checkins will dare delete or question such lines */Comment
-
Function points.
Did a course once. Useful. Some companies price their contracts using them.
They are language independent. But you have to work out how to convert function points to pounds using your own empirical evidence from the tool set you are using.Signed sealed and delivered.Comment
-
As others have suggested, lines of code is not a useful metric. That's because, in any given function, usually only one line is actually coming up with the calculated value - the "return" statement. Getting a report of the number of "return" statements written would be much more useful.
I said "usually" there's only one return statement per function, but especially good programmers sometimes put multiple return statements in a single function. This is basically killing two birds with one stone, so those should count double.
hth
tlComment
-
Originally posted by BusinessAnalyst2012 View PostWhat is a good metric of productivity of programmers? I get the impression some of my dev team are slacking off and have asked the lead to send me a weekly report by developer of how many Lines Of Code each has written. However I am getting strong push back on this so I need an alternative.
What does the panel recommend. Also, what is so wrong with LOC as a metric. If I was running a potato factory I would want to know how many spuds each worker had peeled, same difference in my view.
Fecking prima donnasContracting: more of the money, less of the sh1tComment
-
There are enough code metric tools especially for Java - if you want metrics incorporate Checkstyle and Findbugs in your build script. Combined they will highlight duplicity cut n paste, inefficient code, security problems etc etc. By all means use LOC but only after they have passed checking by Checkstyle and FindBugs.Comment
-
Originally posted by chinglish View PostThere are enough code metric tools especially for Java - if you want metrics incorporate Checkstyle and Findbugs in your build script. Combined they will highlight duplicity cut n paste, inefficient code, security problems etc etc. By all means use LOC but only after they have passed checking by Checkstyle and FindBugs.merely at clientco for the entertainmentComment
-
Very poor troll IMHO....my quagmire of greed....my cesspit of laziness and unfairness....all I am doing is sticking two fingers up at nurses, doctors and other hard working employed professionals...
Comment
-
Originally posted by thunderlizard View PostAs others have suggested, lines of code is not a useful metric. That's because, in any given function, usually only one line is actually coming up with the calculated value - the "return" statement. Getting a report of the number of "return" statements written would be much more useful.
I said "usually" there's only one return statement per function, but especially good programmers sometimes put multiple return statements in a single function. This is basically killing two birds with one stone, so those should count double.
hth
tlComment
-
Originally posted by Bunk View PostWhat if the function's type is void?
I've seen entire programs with that probably for that exact reason.merely at clientco for the entertainmentComment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Are CVs medieval or just being misused? Today 05:05
- Are CVs medieval or just being misused? Yesterday 21:05
- IR35: Mutuality Of Obligations — updated for 2025/26 Yesterday 05:22
- Only proactive IT contractors can survive recruitment firm closures Sep 22 07:32
- How should a creditors’ meeting ideally pan out for unpaid suppliers? Sep 19 07:16
- How should a creditors’ meeting ideally pan out for unpaid suppliers? Sep 18 21:16
- IR35: Substitution — updated for 2025/26 Sep 18 05:45
- Payment request to bust recruitment agency — free template Sep 16 21:04
- Why licensing umbrella companies must be key to 2027’s regulation Sep 16 13:55
- Top 5 Chapter 11 JSL myths contractors should know Sep 15 03:46
Comment