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
CK Design Metrics Review
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sudhir Mishra
November 17, 2015
Technology
0
64
CK Design Metrics Review
Sudhir Mishra
November 17, 2015
Tweet
Share
More Decks by Sudhir Mishra
See All by Sudhir Mishra
APOGEE 2016 Demo
sudhirmishra
0
35
SQA Testing Review
sudhirmishra
0
27
BETA RELEASE
sudhirmishra
0
61
KT and Design Presentation
sudhirmishra
0
79
Cocomo Cost Estimation
sudhirmishra
0
55
Sprint #2 R & R
sudhirmishra
0
55
ALPHA RELEASE
sudhirmishra
0
87
Requirements Traceability
sudhirmishra
0
54
Product Backlog Presentation
sudhirmishra
0
180
Other Decks in Technology
See All in Technology
AIエージェント×GitHubで実現するQAナレッジの資産化と業務活用 / QA Knowledge as Assets with AI Agents & GitHub
tknw_hitsuji
0
160
欠陥分析(ODC分析)における生成AIの活用プロセスと実践事例 / 20260320 Suguru Ishii & Naoki Yamakoshi & Mayu Yoshizawa
shift_evolve
PRO
0
290
Cortex Code CLI と一緒に進めるAgentic Data Engineering
__allllllllez__
0
590
Phase04_ターミナル基礎
overflowinc
0
1.5k
スピンアウト講座04_ルーティン処理
overflowinc
0
730
新規事業×QAの挑戦:不確実性を乗りこなす!フェーズごとに求められるQAの役割変革
hacomono
PRO
0
150
Copilot 宇宙へ 〜生成AIで「専門データの壁」を壊す方法〜
nakasho
0
150
Agent Skill 是什麼?對軟體產業帶來的變化
appleboy
0
190
ABEMAのバグバウンティの取り組み
kurochan
1
390
The Rise of Browser Automation: AI-Powered Web Interaction in 2026
marcthompson_seo
0
290
モジュラモノリス導入から4年間の総括:アーキテクチャと組織の相互作用について / Architecture and Organizational Interaction
nazonohito51
3
1.4k
スケールアップ企業でQA組織が機能し続けるための組織設計と仕組み〜ボトムアップとトップダウンを両輪としたアプローチ〜
tarappo
3
310
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
160
Odyssey Design
rkendrick25
PRO
2
550
Code Review Best Practice
trishagee
74
20k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
How GitHub (no longer) Works
holman
316
150k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
160
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Marketing to machines
jonoalderson
1
5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
The Limits of Empathy - UXLibs8
cassininazir
1
270
Balancing Empowerment & Direction
lara
5
960
Transcript
N Li8 Presents CK Metric Presented By: Lavina Tekwani Li8
Technologies
▪N li8 Schematic ▪ Metrics only for Java Classes. SourceCodeMetrics
- plugin in Netbeans.
Weighted Methods Per Class ▪ Number of methods in each
class, weighted by the complexity of each.
Website ▪WMC = 84 (total) ▪WMC = 4.2 (mean) App:
▪WMC =10.234 (mean)
None
App
Weighted Methods Per Class ▪ The larger the value, the
greater the complexity. ▪ Threshold: 0-15 ▪ N Li8 App: 10.234 (is a little above half of the accepted threshold of 15) ▪ Objective: Low
Depth of Inheritance Tree ▪ Number of discrete levels in
the inheritance tree. ▪ DIT = 4.14 (mean)
Depth of Inheritance Tree ▪ The larger the value, the
greater the complexity. ▪ Threshold: 0 - 6 ▪ N LI8 = 4.149 ▪ ▪Objective: Trade-off
App
Number of Children ▪Immediate subclasses of a class ▪NOC =
3 (total) ▪NOC = 0.47 (mean)
Number of Children ▪ The larger the value, ▪ The
greater the RE-USE. ▪ The more difficult is to TEST. ▪ Threshold: 0 - 6 ▪ N Li8 : 0.47 (mean) ▪ Objective: Trade-off
Coupling Between Object Classes ▪ Classes are coupled when methods
in one classes use methods in another
Coupling Between Object Classes ▪ Small values of CBO Improve
MODULARITY and promote ENCAPSULATION ▪ Threshold: 0 - 8 ▪ N Li8: 6.95(mean) ▪ Objective: Low
App
Lack of Cohesion in Methods ▪ Difference between number of
method pairs without shared attributes vs. number of method pairs with shared attributes ▪ LCOM = 0.228 (mean)
Website
App
None
N Li8 - In a nutshell Metric N LI8 Value
N LI8 WMC Low Not at all complex DIT Medium More reusable components NOC Medium Slightly difficult to test. CBO Medium Moderately modular not very dependent RFC Medium Testing and maintenance is good. LCOM Low Not so complex,good Encapsulation.
Thank You...