Click here to Skip to main content
15,892,298 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 9:16
professionalSascha Lefèvre31-Mar-15 9:16 
GeneralRe: Objective measures of code quality? Pin
Sander Rossel31-Mar-15 10:39
professionalSander Rossel31-Mar-15 10:39 
GeneralRe: Objective measures of code quality? Pin
Sascha Lefèvre31-Mar-15 10:52
professionalSascha Lefèvre31-Mar-15 10:52 
GeneralRe: Objective measures of code quality? Pin
Sander Rossel31-Mar-15 10:57
professionalSander Rossel31-Mar-15 10:57 
GeneralRe: Objective measures of code quality? Pin
Sascha Lefèvre31-Mar-15 11:01
professionalSascha Lefèvre31-Mar-15 11:01 
GeneralRe: Objective measures of code quality? Pin
Jörgen Andersson31-Mar-15 11:57
professionalJörgen Andersson31-Mar-15 11:57 
GeneralRe: Objective measures of code quality? Pin
Sascha Lefèvre31-Mar-15 12:21
professionalSascha Lefèvre31-Mar-15 12:21 
GeneralRe: Objective measures of code quality? Pin
Paul M Watt31-Mar-15 9:38
mentorPaul M Watt31-Mar-15 9: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 10:41
mvaMarc Clifton31-Mar-15 10:41 
GeneralRe: Objective measures of code quality? Pin
Duncan Edwards Jones31-Mar-15 10:46
professionalDuncan Edwards Jones31-Mar-15 10:46 
GeneralRe: Objective measures of code quality? Pin
Marc Clifton31-Mar-15 10:49
mvaMarc Clifton31-Mar-15 10:49 
GeneralRe: Objective measures of code quality? Pin
PIEBALDconsult31-Mar-15 11:16
mvePIEBALDconsult31-Mar-15 11:16 
GeneralRe: Objective measures of code quality? Pin
Eddy Vluggen31-Mar-15 13:19
professionalEddy Vluggen31-Mar-15 13:19 
GeneralRe: Objective measures of code quality? Pin
Sascha Lefèvre31-Mar-15 10:58
professionalSascha Lefèvre31-Mar-15 10:58 
GeneralRe: Objective measures of code quality? Pin
pl.21-Apr-15 3:49
professionalpl.21-Apr-15 3:49 
GeneralRe: Objective measures of code quality? Pin
Pete O'Hanlon31-Mar-15 10:46
mvePete O'Hanlon31-Mar-15 10:46 
GeneralRe: Objective measures of code quality? Pin
Kirk 103898211-Apr-15 4:42
Kirk 103898211-Apr-15 4:42 
GeneralRe: Objective measures of code quality? Pin
Duncan Edwards Jones1-Apr-15 5:16
professionalDuncan Edwards Jones1-Apr-15 5:16 
GeneralRe: Objective measures of code quality? Pin
SeattleC++1-Apr-15 9:30
SeattleC++1-Apr-15 9:30 
GeneralWhy iMacs are the best dev machines PinPopular
Chris Maunder31-Mar-15 7:56
cofounderChris Maunder31-Mar-15 7:56 
JokeRe: Why iMacs are the best dev machines Pin
Tom Deketelaere31-Mar-15 8:04
professionalTom Deketelaere31-Mar-15 8:04 
GeneralRe: Why iMacs are the best dev machines Pin
ZurdoDev31-Mar-15 8:10
professionalZurdoDev31-Mar-15 8:10 
GeneralRe: Why iMacs are the best dev machines Pin
Slacker00731-Mar-15 8:15
professionalSlacker00731-Mar-15 8:15 
GeneralRe: Why iMacs are the best dev machines Pin
TheGreatAndPowerfulOz31-Mar-15 9:01
TheGreatAndPowerfulOz31-Mar-15 9:01 
GeneralRe: Why iMacs are the best dev machines Pin
Eddy Vluggen31-Mar-15 9:14
professionalEddy Vluggen31-Mar-15 9: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.