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
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
大規模ECサイトのあるバッチのパフォーマンスを改善するために僕たちのチームがしてきたこと
panda_program
1
340
品質を経営にどう語るか #jassttokyo / Communicating the Strategic Value of Quality to Executive Leadership
kyonmm
PRO
2
1.1k
スピンアウト講座01_GitHub管理
overflowinc
0
860
モジュラモノリス導入から4年間の総括:アーキテクチャと組織の相互作用について / Architecture and Organizational Interaction
nazonohito51
3
1.4k
Tebiki Engineering Team Deck
tebiki
0
27k
AlloyDB 奮闘記
hatappi
0
190
DDD×仕様駆動で回す高品質開発のプロセス設計
littlehands
4
2k
SLI/SLO 導入で 避けるべきこと3選
yagikota
0
140
Astro Islandsの 内部実装を 「日本で一番わかりやすく」 ざっくり解説!
knj
0
180
夢の無限スパゲッティ製造機 #phperkaigi
o0h
PRO
0
330
Phase03_ドキュメント管理
overflowinc
0
1.7k
詳解 強化学習 / In-depth Guide to Reinforcement Learning
prinlab
0
360
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
150
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
What does AI have to do with Human Rights?
axbom
PRO
1
2k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Believing is Seeing
oripsolob
1
90
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
270
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
150
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Side Projects
sachag
455
43k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
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...