The Code Christmas Tree: Selling the Investment for Technical Debt

Post on 26-Jun-2015

297 views 3 download

Tags:

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

Selling The Investment To Pay Down Technical Debt

The Code Christmas Tree

Mike Kaiser@kaisermike

Guy Royse@guyroyse

Mike Kaiser Guy Royse

TechnicalDebt

CodeChristmas

Tree

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

Reactions

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

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

Questions?Comments?

ContactMike Kaiser@kaisermikekaiserflyer@gmail.com

Guy Royse@guyroyse

guy@guyroyse.com

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