Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
300
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
98
Other Decks in Technology
See All in Technology
「大丈夫そう?」をObservabilityで確かめる
mrmtsu
0
110
ScotSecure West 2026 - Glasgow
raybugg
0
160
サーバーレスをどこまで使う? WebRTC対戦ゲームで選んだVPSとの共存設計
kaidouji85
0
400
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
12k
LLMに渡さなかった仕事
nanaism
0
1.4k
リアーキテクチャ後の障害ゼロを目指したShadow Testingの取り組み
nihonbuson
PRO
1
180
認知負荷を吸収し、プロダクトをまたぐPR Preview基盤の設計事例
taiki45
2
160
AIに賢く動いてもらうためのコンテキスト〜Snowflake女子会 vol.8
snowwmn0824
0
170
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
8
5.6k
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
3k
CLIライブラリ開発を支える技術
htnabe
0
150
事業課題から技術的負債に向き合う
sansantech
PRO
2
2.3k
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3k
Navigating Weather and Climate Data
rabernat
0
530
What's in a price? How to price your products and services
michaelherold
247
13k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.1k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Evolving SEO for Evolving Search Engines
ryanjones
0
300
Designing for humans not robots
tammielis
254
26k
Abbi's Birthday
coloredviolet
4
10k
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