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
86
Other Decks in Technology
See All in Technology
CursorによるPMO業務の代替 / Automating PMO Tasks with Cursor
motoyoshi_kakaku
2
800
mrubyと micro-ROSが繋ぐロボットの世界
kishima
2
380
プロダクトエンジニアリング組織への歩み、その現在地 / Our journey to becoming a product engineering organization
hiro_torii
0
140
AWS テクニカルサポートとエンドカスタマーの中間地点から見えるより良いサポートの活用方法
kazzpapa3
2
610
AI専用のリンターを作る #yumemi_patch
bengo4com
4
2.1k
asken AI勉強会(Android)
tadashi_sato
0
140
KubeCon + CloudNativeCon Japan 2025 に行ってきた! & containerd の新機能紹介
honahuku
0
120
生まれ変わった AWS Security Hub (Preview) を紹介 #reInforce_osaka / reInforce New Security Hub
masahirokawahara
0
370
20250625 Snowflake Summit 2025活用事例 レポート / Nowcast Snowflake Summit 2025 Case Study Report
kkuv
1
370
Delegating the chores of authenticating users to Keycloak
ahus1
0
130
Lambda Web Adapterについて自分なりに理解してみた
smt7174
5
140
Tokyo_reInforce_2025_recap_iam_access_analyzer
hiashisan
0
140
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
How to Ace a Technical Interview
jacobian
277
23k
Raft: Consensus for Rubyists
vanstee
140
7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
17
950
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Unsuck your backbone
ammeep
671
58k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
How to Think Like a Performance Engineer
csswizardry
24
1.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