Measuring the Effects of Design Patterns by David Kemp
Upcoming SlideShare
Loading in...5
×
 

Measuring the Effects of Design Patterns by David Kemp

on

  • 1,943 views

 

Statistics

Views

Total Views
1,943
Views on SlideShare
1,931
Embed Views
12

Actions

Likes
1
Downloads
16
Comments
0

3 Embeds 12

http://melbournepatterns.org 7
http://www.slideshare.net 3
http://melbournepatterns.wordpress.com 2

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Measuring the Effects of Design Patterns by David Kemp Measuring the Effects of Design Patterns by David Kemp Presentation Transcript

  • Code Metrics & Design Patterns Measuring the effects of Design Patterns David Kemp Melbourne Patterns, March 2007
  • Code Metrics & Design Patterns
    • What are code metrics?
    • Example metrics.
    • Limitations.
    • Examples of measuring before & after refactoring to a pattern.
    • Metrics tools.
    • References
  • Code Metrics
    • Measuring software:
    • Size
    • Complexity
    • Coupling and cohesion
    • (Not to be confused with project metrics)
  • Examples
    • Fanout
    • % Code duplication
  • Limitations
    • Not all aspects of design are measurable
    • Opinions differ on “good design”
    • Unintended effects of measuring
  • Code Metrics & Design Patterns
    • Examples taken from:
    • Brian Huston,
    • The effects of design pattern application
    • on metric scores.
    • The Journal of Systems and Software, 2001.
  • Mediator
  • Bridge
  • Visitor
  • Stack Before Refactoring
  • Stack After Refactoring
  • References & Resources
    • Books & Articles:
    • Brian Huston, The effects of design pattern application on metric scores. The Journal of Systems and Software, 2001.
    • Michele Lanza, Radu Marinescu, Object-Oriented Metrics in Practice
    • Tools:
    • Eclipse Metrics (http://www.eclipseplugincentral.com/)
    • Complexian (http://www.martyandrews.net/resources/complexian.html)
    • Simian (http://www.redhillconsulting.com.au/products/simian/)
    • IPlasma (http://loose.upt.ro/iplasma/).
    • JHawk (http://www.virtualmachinery.com/jhawkprod.htm)
    • Checkstyle (http://checkstyle.sourceforge.net/)