The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Code Metrics, Code smells and Refactoring in Practice

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Maruis Marais

Posts: 290
Nickname: maruis
Registered: Aug, 2005

Ruby rocks, what else can I say...
Code Metrics, Code smells and Refactoring in Practice Posted: Feb 28, 2006 11:49 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Maruis Marais.
Original Post: Code Metrics, Code smells and Refactoring in Practice
Feed Title: exceptionz
Feed URL: http://feeds.feedburner.com/Exceptionz
Feed Description: I am an XP, TDD, OO and .NET enthusiast. Things like Design Patterns makes my pulse race, I love learning exciting new things and to share my thoughts and techniques with the world. So join me and together we can explore the awesome world of software development
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Maruis Marais
Latest Posts From exceptionz

Advertisement
In this article I describe how our team uses metrics to identify code smells and apply refactorings to correct these code smells. This example is real simple but it shows exactly how some of the eXtreme programming practices are helping our team to maintain our code. Sample Image - TitleImage600.jpg

Our team uses eXtreme programming practices to manage development on a mission critical system for a large retail chain. We have not adopted all the practices, but use the majority of the practices.

Here is a list of the practices we use:

Every morning at the standup meeting the team lead will report on the nightly integration build.

This report includes the following metrics:

  • Unit tests passed, failed, ignored
  • Fit test passed, failed, ignored, exceptions
  • Test Coverage (Should be more than 80%)
  • Cyclomatic complexity (Should be less than 10)
  • Code Instructions (Should be less than a 100)
  • FxCop rule validations

Each day metrics are compared to the previous day and overall the project manager tracks these metrics to get an overall feel for the health of the project.

You can find the rest of the article here.

Read: Code Metrics, Code smells and Refactoring in Practice

Topic: Four things meme Previous Topic   Next Topic Topic: [INETA] Neue User Group sucht Mitglieder

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use