Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Code Metrics
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Tim Ruffles
July 22, 2013
Technology
290
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Code Metrics
Lightning talk given at London Web Standards July 2013
Tim Ruffles
July 22, 2013
More Decks by Tim Ruffles
See All by Tim Ruffles
CoffeeScript - Rescuing JS from the accidents of its birth
timruffles
1
94
Other Decks in Technology
See All in Technology
グローバル基準のSREは、運用現場でどう機能したか:成熟度アセスメントの実践 / SRE NEXT 2026
sorawatanabe
0
170
DatadogのBits Chatが開発組織にもたらしたもの / What Bits Chat Has Brought Us
sms_tech
1
170
Pavlokで始める電撃駆動開発
sgrsn
0
180
Cursor Meetup Sapporo - Cursor物語 続編
cocacola917
0
140
AIは実装を速くする。では、私たちは何を今作るべきか?-立場を越えてリリースに向き合ったチーム開発の実践 / 20260801 Hiromi Nakaya and Naoki Takahashi
shift_evolve
PRO
3
460
トヨタ⽣産⽅式(TPS)⼊⾨
recruitengineers
PRO
3
690
20分でわかるセキュアAPI
nwiizo
2
220
今こそ聞きたいソフトウェア設計 ドメイン駆動設計再入門
masuda220
PRO
17
7k
【CEDEC2026】『GRANBLUE FANTASY: Relink - Endless Ragnarok』のバトル制作事例 ~最高のキャラゲーを目指して~
cygames
PRO
0
230
組織にどうSREを根付かせるか?〜IVRyの場合〜
abnoumaru
0
340
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.8k
変化の早いClaude Codeを 書籍に落とし込む
oikon48
7
1.4k
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
450
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Bash Introduction
62gerente
615
220k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
360
The Limits of Empathy - UXLibs8
cassininazir
1
600
Code Review Best Practice
trishagee
74
20k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
390
Raft: Consensus for Rubyists
vanstee
141
7.6k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
590
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Transcript
Allergy statement: certified meme-free Code metrics @timruffles sidekickjs.com
Code is a liability
Functionality is an asset
Metrics?
Method length
Coverage
Cyclomatic
Decisions + 1
if x: ... else: ... if y: ... else: ...
Cylcomatic 3 Lines 2 Paths 4 Test for 100% coverage
Measured == managed?
Weight the airplane
Gaming
How?
Responsibly
∞-junior, idiot-savant
Conversation starter
Wall o’metrics
Stay proud of your team’s code
You’re the expert