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
59
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
33
SQA Testing Review
sudhirmishra
0
24
BETA RELEASE
sudhirmishra
0
54
KT and Design Presentation
sudhirmishra
0
70
Cocomo Cost Estimation
sudhirmishra
0
50
Sprint #2 R & R
sudhirmishra
0
52
ALPHA RELEASE
sudhirmishra
0
80
Requirements Traceability
sudhirmishra
0
49
Product Backlog Presentation
sudhirmishra
0
170
Other Decks in Technology
See All in Technology
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
240
Tokyo_reInforce_2025_recap_iam_access_analyzer
hiashisan
0
180
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
0
110
プライベートクラウドでの効率的な証明書配布戦略 / Efficient Certificate Distribution Strategy in Private Cloud
lycorptech_jp
PRO
0
110
Model Mondays S2E03: SLMs & Reasoning
nitya
0
350
American airlines ®️ USA Contact Numbers: Complete 2025 Support Guide
airhelpsupport
0
360
Zephyr RTOSを使った開発コンペに参加した件
iotengineer22
1
200
AI導入の理想と現実~コストと浸透〜
oprstchn
0
190
事業成長の裏側:エンジニア組織と開発生産性の進化 / 20250703 Rinto Ikenoue
shift_evolve
PRO
2
20k
ドメイン特化なCLIPモデルとデータセットの紹介
tattaka
2
580
LangChain Interrupt & LangChain Ambassadors meetingレポート
os1ma
2
290
20250705 Headlamp: 專注可擴展性的 Kubernetes 用戶界面
pichuang
0
240
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
52k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Making Projects Easy
brettharned
116
6.3k
4 Signs Your Business is Dying
shpigford
184
22k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Designing for humans not robots
tammielis
253
25k
How GitHub (no longer) Works
holman
314
140k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Automating Front-end Workflow
addyosmani
1370
200k
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...