The Code Christmas Tree: Selling the Investment for Technical Debt

19
Selling The Investment To Pay Down Technical Debt The Code Christmas Tree Mike Kaiser @kaisermike Guy Royse @guyroyse

description

How Michael Kaiser and I convinced our business partners to invest in paying down technical debt with large red and green charts.

Transcript of The Code Christmas Tree: Selling the Investment for Technical Debt

Page 1: The Code Christmas Tree: Selling the Investment for Technical Debt

Selling The Investment To Pay Down Technical Debt

The Code Christmas Tree

Mike Kaiser@kaisermike

Guy Royse@guyroyse

Page 2: The Code Christmas Tree: Selling the Investment for Technical Debt
Page 3: The Code Christmas Tree: Selling the Investment for Technical Debt
Page 4: The Code Christmas Tree: Selling the Investment for Technical Debt
Page 5: The Code Christmas Tree: Selling the Investment for Technical Debt

Mike Kaiser Guy Royse

Page 6: The Code Christmas Tree: Selling the Investment for Technical Debt

TechnicalDebt

Page 7: The Code Christmas Tree: Selling the Investment for Technical Debt
Page 8: The Code Christmas Tree: Selling the Investment for Technical Debt

CodeChristmas

Tree

Page 9: The Code Christmas Tree: Selling the Investment for Technical Debt

0

50

100

150

200

250

300

0 1 2 3 4 5 6 7 8

Number of IFs

Cycl

omati

c Co

mpl

exity

Page 10: The Code Christmas Tree: Selling the Investment for Technical Debt
Page 11: The Code Christmas Tree: Selling the Investment for Technical Debt
Page 12: The Code Christmas Tree: Selling the Investment for Technical Debt

Reactions

Page 13: The Code Christmas Tree: Selling the Investment for Technical Debt
Page 14: The Code Christmas Tree: Selling the Investment for Technical Debt
Page 15: The Code Christmas Tree: Selling the Investment for Technical Debt
Page 16: The Code Christmas Tree: Selling the Investment for Technical Debt

SonarMicrosoft

Tree Mapper

0

50

100

150

200

250

300

0 1 2 3 4 5 6 7 8

Number of IFs

Cycl

omati

c Co

mpl

exity

BVM

Page 17: The Code Christmas Tree: Selling the Investment for Technical Debt

Lessons Learned

• Make it visible – location matters, size matters• Use charts to enable the conversation• Color can bring about different reactions• Non-developers can understand aspects of the

code if you present it graphically

Page 18: The Code Christmas Tree: Selling the Investment for Technical Debt

Questions?Comments?

Page 19: The Code Christmas Tree: Selling the Investment for Technical Debt

ContactMike Kaiser@[email protected]

Guy Royse@guyroyse

[email protected]

LinksBVMhttp://github.com/guyroyse/bvm or gem install bvm

Sonarhttp://sonarsource.org

Treemapper

http://research.microsoft.com/en-us/downloads/3f3ed95e-26d8-4616-a06c-b609df29756f/default.aspx