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
270
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
79
Other Decks in Technology
See All in Technology
AIQ株式会社 エンジニア向け会社紹介資料
aiqlab
0
380
アプリがつくるNOT A HOTELブランド
hokuts
1
450
ここが嬉しいABAC ここが辛いよABAC #再解説+補足編
masahirokawahara
0
230
Databricksを活用してDELISH KITCHENのレシピレコメンドを開発した話
furu8
0
250
転移学習とドメイン適応の基礎
kmatsui
2
570
2024/4/26 コンピュータ歴史博物館解説告知
toshi_atsumi
0
200
Algyan イベント振り返り
linyixian
0
190
Databricks:『生成AI World Cup』のご案内
databricksjapan
2
150
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
200
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
150
株式会社EventHub・エンジニア採用資料
eventhub
0
1.9k
Cloud Native Java with Spring Boot (CNCF Aarhus, April 2024)
thomasvitale
1
130
Featured
See All Featured
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
Optimizing for Happiness
mojombo
370
69k
Building a Modern Day E-commerce SEO Strategy
aleyda
16
6.4k
A designer walks into a library…
pauljervisheath
199
23k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
15
1.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
Designing the Hi-DPI Web
ddemaree
276
33k
Building Flexible Design Systems
yeseniaperezcruz
318
37k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
60
14k
BBQ
matthewcrist
80
8.7k
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