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
CK Design Metrics Review
Search
Sudhir Mishra
November 17, 2015
Technology
72
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CK Design Metrics Review
Sudhir Mishra
November 17, 2015
Transcript
21 slides
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...
More Decks by Sudhir Mishra
See All by Sudhir Mishra
APOGEE 2016 Demo
sudhirmishra
0
43
SQA Testing Review
sudhirmishra
0
39
BETA RELEASE
sudhirmishra
0
70
KT and Design Presentation
sudhirmishra
0
100
Cocomo Cost Estimation
sudhirmishra
0
70
Sprint #2 R & R
sudhirmishra
0
64
ALPHA RELEASE
sudhirmishra
0
98
Requirements Traceability
sudhirmishra
0
70
Product Backlog Presentation
sudhirmishra
0
180
Other Decks in Technology
See All in Technology
技術同人誌を作る方法
yoshimura_datam
0
110
AWS re:Invent 2026 FSI Pre-Event Networking Night
junjikoide
0
330
Webメール開発を大幅に変えたJMAPというゲームチェンジャー
tascript
9
5.8k
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
370
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
2
260
対話 AI プラットフォーム「アイブリー」で実践する自然言語処理と事業開発
ivry_presentationmaterials
0
140
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
260
想定外の利用がプロダクトの価値を広げる
lycorptech_jp
PRO
0
130
AIフレンドリーなGenerative UIをJSXで
uhyo
2
870
セキュリティチームは どのコンテナイメージの脆弱性対応を優先すべきか 〜CISA新指針とSCCで作る脆弱性トリアージ〜
swdtkuy
0
360
社内アプリ基盤「Quartz」による、 非エンジニアとAIに本番デプロイを 任せても壊れないプラットフォームの設計
staka121
PRO
1
260
NutanixへのSSHアクセスの今後について
shadowhat
0
190
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Evolving SEO for Evolving Search Engines
ryanjones
0
380
The SEO Collaboration Effect
kristinabergwall1
1
630
From π to Pie charts
rasagy
1
460
Speed Design
sergeychernyshev
33
2.3k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
690
The Cost Of JavaScript in 2023
addyosmani
56
10k
How to Ace a Technical Interview
jacobian
280
24k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k