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
Tim Ruffles
July 22, 2013
Technology
0
280
Code Metrics
Lightning talk given at London Web Standards July 2013
Tim Ruffles
July 22, 2013
Tweet
Share
More Decks by Tim Ruffles
See All by Tim Ruffles
CoffeeScript - Rescuing JS from the accidents of its birth
timruffles
1
87
Other Decks in Technology
See All in Technology
【実演版】カンファレンス登壇者・スタッフにこそ知ってほしいマイクの使い方 / 大吉祥寺.pm 2025
arthur1
1
870
MCPで変わる Amebaデザインシステム「Spindle」の開発
spindle
PRO
3
3.3k
DroidKaigi 2025 Androidエンジニアとしてのキャリア
mhidaka
2
310
これでもう迷わない!Jetpack Composeの書き方実践ガイド
zozotech
PRO
0
860
TS-S205_昨年対比2倍以上の機能追加を実現するデータ基盤プロジェクトでのAI活用について
kaz3284
1
170
実践!カスタムインストラクション&スラッシュコマンド
puku0x
0
420
[ JAWS-UG 東京 CommunityBuilders Night #2 ]SlackとAmazon Q Developerで 運用効率化を模索する
sh_fk2
3
430
スマートファクトリーの第一歩 〜AWSマネージドサービスで 実現する予知保全と生成AI活用まで
ganota
2
220
Firestore → Spanner 移行 を成功させた段階的移行プロセス
athug
1
480
20250910_障害注入から効率的復旧へ_カオスエンジニアリング_生成AIで考えるAWS障害対応.pdf
sh_fk2
3
260
2025年になってもまだMySQLが好き
yoku0825
8
4.8k
大「個人開発サービス」時代に僕たちはどう生きるか
sotarok
20
10k
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Side Projects
sachag
455
43k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
520
Raft: Consensus for Rubyists
vanstee
140
7.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Navigating Team Friction
lara
189
15k
GitHub's CSS Performance
jonrohan
1032
460k
A designer walks into a library…
pauljervisheath
207
24k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
112
20k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
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