Your SlideShare is downloading. ×
0
Good Metrics for TDD
Good Metrics for TDD
Good Metrics for TDD
Good Metrics for TDD
Good Metrics for TDD
Good Metrics for TDD
Good Metrics for TDD
Good Metrics for TDD
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Good Metrics for TDD

3,132

Published on

Often companies who are new to TDD ask us, what should we measure to know if we are headed in the right direction with regards to TDD. Here are some things you might consider. My take is, less is …

Often companies who are new to TDD ask us, what should we measure to know if we are headed in the right direction with regards to TDD. Here are some things you might consider. My take is, less is more. Don't measure 100 things, focus on a few at a time and move on.

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,132
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
50
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Good Metrics for a TDD Program “Less is More” Naresh Jain naresh@industriallogic.com Copyright © 2011, Industrial Logic, Inc. All Rights Reserved. 1
  • 2. C3 - TreeMap• Coverage• Complexity• Churn Copyright © 2011, Industrial Logic, Inc. All Rights Reserved. 2
  • 3. Test vs. Production Code Src LOC Test LOC60,00045,00030,00015,000 0 15 Feb 2 Mar 17 Mar 1 Apr 18 Apr 1 May 16 May 31 May 15 Jun 30 Jun Usually Test Driven code has more Test Code than Production Code Copyright © 2011, Industrial Logic, Inc. All Rights Reserved. 3
  • 4. Test Run Trend with every CI Build # of Failing Test # of Passing300225150 75 0 B1 B2 B3 B4 B5 B6 B7 B8 Each Build Copyright © 2011, Industrial Logic, Inc. All Rights Reserved. 4
  • 5. Test Balance• # of commits that include Tests over time (weekly) Commits With Tests Commits Without Tests150.0112.5 75.0 37.5 0 W1 W2 W3 W4 W5 W6 W7 Copyright © 2011, Industrial Logic, Inc. All Rights Reserved. 5
  • 6. Test Churn• # of tests added/removed over time (weekly) Tests Added Tests Removed60453015 0 W1 W2 W3 W4 W5 W6 Copyright © 2011, Industrial Logic, Inc. All Rights Reserved. 6
  • 7. Satisfaction Rating from Developers and Testers Devs Testers70.052.5%35.017.5 0 June 6th June 13th June 20th June 27th July 4th July 11th July 18th Weekly Copyright © 2011, Industrial Logic, Inc. All Rights Reserved. 7
  • 8. Thank You!More Interesting Material at :http://industriallogic.com/shop Copyright © 2011, Industrial Logic, Inc. All Rights Reserved. 8

×