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
90
Other Decks in Technology
See All in Technology
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
160
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
100
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
400
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.6k
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
190
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
160
あたらしい上流工程の形。 0日導入からはじめるAI駆動PM
kumaiu
5
760
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.1k
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
46
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Between Models and Reality
mayunak
1
180
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Balancing Empowerment & Direction
lara
5
880
Accessibility Awareness
sabderemane
0
49
Bash Introduction
62gerente
615
210k
Ruling the World: When Life Gets Gamed
codingconduct
0
140
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
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