Remote Ruby

Code Metrics with Kevin Murphy


Listen Later

[00:03:15] We start with Andrew telling us he’s not a fan of code coverage metric and talks about a gem everyone uses called SimpleCov and what it does. Kevin dives into code coverage and why he doesn’t believe it’s a holistic measure and how code coverage can lie to you.  

 

[00:05:40] Find out why Kevin love tests, and he explains some other downsides of focusing on code coverage and brings up Coveralls and when is it too much.


[00:08:55] Andrew asks Kevin if there are some metrics that are good to track to provide value for your team. 


[00:15:59] Chris and Kevin chat about tools and Andrew mentions Attractor, from Julian Rubisch and possibly RubyCritic.


[00:17:33] Andrew wonders how important is it that your code base is super dry, and Kevin expresses his opinion on this. He mentions Sandi Metz talking about “duplication is far cheaper than the wrong abstraction.”

 

[00:23:24] Andrew and Kevin discuss the topic of “rules” and why Andrew doesn’t like that term for programming things. 


[00:25:49] The topic of performance is discussed and how it goes back to what is the business value of it. Kevin talks about the tricky things of performance as well.  


[00:32:00] Kevin shares some other things when it comes to measuring “good code.”


[00:33:38] Andrew, Chris, and Jason share the metrics they like, they share examples,  and they talk about using SimpleCov.


[00:42:14] Find out where you can follow Kevin online, and if you need a speaker at your next virtual regional meetup, go ahead and reach out to him. 


Panelists:

Jason Charnes

Chris Oliver

Andrew Mason



Guest:

Kevin Murphy



Sponsor:

Honeybadger



Links:

Ruby Radar Twitter

Kevin Murphy Website

Kevin Murphy RailsConf/RubyConf talks

Kevin Murphy Twitter

The Gnar Company

SimpleCov

Coveralls

Attractor-GitHub

RubyCritic

Sandi Metz Blog-“The Wrong Abstraction”

  • Chris Oliver X/Twitter
  • Andrew Mason X/Twitter
  • Jason Charnes X/Twitter


...more
View all episodesView all episodes
Download on the App Store

Remote RubyBy Chris Oliver, Andrew Mason, David Hill

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

34 ratings


More shows like Remote Ruby

View all
Planet Money by NPR

Planet Money

30,757 Listeners

The Bike Shed by thoughtbot

The Bike Shed

121 Listeners

The Infinite Monkey Cage by BBC Radio 4

The Infinite Monkey Cage

1,977 Listeners

Pivot by New York Magazine

Pivot

9,748 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

623 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

988 Listeners

REWORK by 37signals

REWORK

215 Listeners

Practical AI by Practical AI LLC

Practical AI

210 Listeners

Maintainable by Robby Russell

Maintainable

32 Listeners

The Prof G Pod with Scott Galloway by Vox Media Podcast Network

The Prof G Pod with Scott Galloway

5,683 Listeners

All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

All-In with Chamath, Jason, Sacks & Friedberg

10,264 Listeners

Breaking Change by Justin Searls

Breaking Change

12 Listeners

Prof G Markets by Vox Media Podcast Network

Prof G Markets

1,466 Listeners

IndieRails by Jess Brown & Jeremy Smith

IndieRails

6 Listeners

On Rails by Rails Foundation, Robby Russell

On Rails

9 Listeners