Code Quality and Tipster

1,802 views
1,752 views

Published on

Slides for a talk I gave at work on the importance of code quality and some things we can do to help protect us from repeating mistakes made in the past.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,802
On SlideShare
0
From Embeds
0
Number of Embeds
369
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • This is a presentation on code quality
  • So, I was hanging out at work one day
  • Fixing code and stuff
  • When I came across this file, yes, that’s really the file.
  • Wat!?
  • This was the first method I saw
  • And I was so confused, I didn’t know what was going on.
  • And this… wait… that’s not so bad
  • Nevermind….
  • Now, nothing in this world is making sense
  • And, I just keep thinking… How did this happen?
  • Let’s get to the bottom of this
  • This shouldn’t be allowed
  • We need something to protect us from this
  • Show Radiator
  • The key here is to evaluate the risk of a checkin in real time.
  • What heuristics are we using?
  • Any test code at all?
  • Churn
  • Complexity
  • Contributor Diversity
  • Code Coverage
  • You can run this locally, so you know what you are getting in to
  • Show Risk Report
  • Writing clean and maintainable code will push you in to the pit of success
  • Questions?
  • Code Quality and Tipster

    1. 1. ./scripts/checkin.sh <3
    2. 2. Questions?Search: Ratcheting on Confluence

    ×