Click here to Skip to main content
15,510,087 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Objective measures of code quality? Pin
Sascha Lefèvre31-Mar-15 10:16
professionalSascha Lefèvre31-Mar-15 10:16 
GeneralRe: Objective measures of code quality? Pin
Sander Rossel31-Mar-15 11:39
professionalSander Rossel31-Mar-15 11:39 
GeneralRe: Objective measures of code quality? Pin
Sascha Lefèvre31-Mar-15 11:52
professionalSascha Lefèvre31-Mar-15 11:52 
GeneralRe: Objective measures of code quality? Pin
Sander Rossel31-Mar-15 11:57
professionalSander Rossel31-Mar-15 11:57 
GeneralRe: Objective measures of code quality? Pin
Sascha Lefèvre31-Mar-15 12:01
professionalSascha Lefèvre31-Mar-15 12:01 
GeneralRe: Objective measures of code quality? Pin
Jörgen Andersson31-Mar-15 12:57
professionalJörgen Andersson31-Mar-15 12:57 
GeneralRe: Objective measures of code quality? Pin
Sascha Lefèvre31-Mar-15 13:21
professionalSascha Lefèvre31-Mar-15 13:21 
GeneralRe: Objective measures of code quality? Pin
Paul M Watt31-Mar-15 10:38
mentorPaul M Watt31-Mar-15 10:38 
As others have said, quality is subjective.

The most objective ways to measure are using the existing tools that have been created:

Memory Leak Testing:
- Valgrind

Performance Tuning:
- Cachegrind
- Callgrind
- The profiling tools in Visual Studio

There are a number of static analysis tools:

Klocwork: You configure the tool with a coding standard, such as JSF++, MISRA, or your own custom rules and it analyzes for potential issues.

Lattix: Evaluates the coupling of the different modules and reports how modularly your code is organized.

Lines of code is useful if you combine that information with other statistics that you maintain, such as the number of defects, the volatility of the code for particular modules and the amount of time a developer spends modifying code in those modules.

Tools can help you identify issues, and sometimes even point towards possible solutions.
However, I have mostly witnessed people expecting to run the tools, and like a magic wand everything is fixed.

Tools cannot fix a social problem.

Ultimately, the value you get from the tools is related to how much time you want to invest in learning them and effectively using them.

GeneralRe: Objective measures of code quality? Pin
Marc Clifton31-Mar-15 11:41
mvaMarc Clifton31-Mar-15 11:41 
GeneralRe: Objective measures of code quality? Pin
Duncan Edwards Jones31-Mar-15 11:46
professionalDuncan Edwards Jones31-Mar-15 11:46 
GeneralRe: Objective measures of code quality? Pin
Marc Clifton31-Mar-15 11:49
mvaMarc Clifton31-Mar-15 11:49 
GeneralRe: Objective measures of code quality? Pin
PIEBALDconsult31-Mar-15 12:16
professionalPIEBALDconsult31-Mar-15 12:16 
GeneralRe: Objective measures of code quality? Pin
Eddy Vluggen31-Mar-15 14:19
professionalEddy Vluggen31-Mar-15 14:19 
GeneralRe: Objective measures of code quality? Pin
Sascha Lefèvre31-Mar-15 11:58
professionalSascha Lefèvre31-Mar-15 11:58 
GeneralRe: Objective measures of code quality? Pin
pl.21-Apr-15 4:49
professionalpl.21-Apr-15 4:49 
GeneralRe: Objective measures of code quality? Pin
Pete O'Hanlon31-Mar-15 11:46
mvaPete O'Hanlon31-Mar-15 11:46 
GeneralRe: Objective measures of code quality? Pin
Kirk 103898211-Apr-15 5:42
Kirk 103898211-Apr-15 5:42 
GeneralRe: Objective measures of code quality? Pin
Duncan Edwards Jones1-Apr-15 6:16
professionalDuncan Edwards Jones1-Apr-15 6:16 
GeneralRe: Objective measures of code quality? Pin
SeattleC++1-Apr-15 10:30
SeattleC++1-Apr-15 10:30 
GeneralWhy iMacs are the best dev machines Pin
Chris Maunder31-Mar-15 8:56
cofounderChris Maunder31-Mar-15 8:56 
JokeRe: Why iMacs are the best dev machines Pin
Tom Deketelaere31-Mar-15 9:04
professionalTom Deketelaere31-Mar-15 9:04 
GeneralRe: Why iMacs are the best dev machines Pin
ZurdoDev31-Mar-15 9:10
professionalZurdoDev31-Mar-15 9:10 
GeneralRe: Why iMacs are the best dev machines Pin
Slacker00731-Mar-15 9:15
professionalSlacker00731-Mar-15 9:15 
GeneralRe: Why iMacs are the best dev machines Pin
TheGreatAndPowerfulOz31-Mar-15 10:01
TheGreatAndPowerfulOz31-Mar-15 10:01 
GeneralRe: Why iMacs are the best dev machines Pin
Eddy Vluggen31-Mar-15 10:14
professionalEddy Vluggen31-Mar-15 10:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   505 votes