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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
91
Other Decks in Technology
See All in Technology
Phase06_ClaudeCode実践
overflowinc
0
2.2k
AIエージェント時代に必要な オペレーションマネージャーのロールとは
kentarofujii
0
150
DMBOKを使ってレバレジーズのデータマネジメントを評価した
leveragestech
0
410
モジュラモノリス導入から4年間の総括:アーキテクチャと組織の相互作用について / Architecture and Organizational Interaction
nazonohito51
8
4.2k
The essence of decision-making lies in primary data
kaminashi
0
120
タスク管理も1on1も、もう「管理」じゃない - KiroとBedrock AgentCoreで変わった“判断の仕事”
yusukeshimizu
0
110
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
Phase02_AI座学_応用
overflowinc
0
3.1k
FlutterでPiP再生を実装した話
s9a17
0
210
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
260
【Oracle Cloud ウェビナー】データ主権はクラウドで守れるのか?NTTデータ様のOracle Alloyで実現するソブリン対応クラウドの最適解
oracle4engineer
PRO
3
100
VSCode中心だった自分がターミナル沼に入門した話
sanogemaru
0
770
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
150
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
120
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
250
Designing for Timeless Needs
cassininazir
0
170
WENDY [Excerpt]
tessaabrams
9
37k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
For a Future-Friendly Web
brad_frost
183
10k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
89
A designer walks into a library…
pauljervisheath
210
24k
Tell your own story through comics
letsgokoyo
1
870
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.2k
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