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
60
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
26
BETA RELEASE
sudhirmishra
0
56
KT and Design Presentation
sudhirmishra
0
72
Cocomo Cost Estimation
sudhirmishra
0
52
Sprint #2 R & R
sudhirmishra
0
53
ALPHA RELEASE
sudhirmishra
0
83
Requirements Traceability
sudhirmishra
0
51
Product Backlog Presentation
sudhirmishra
0
170
Other Decks in Technology
See All in Technology
あなたの知らない Linuxカーネル脆弱性の世界
recruitengineers
PRO
3
130
難しいセキュリティ用語をわかりやすくしてみた
yuta3110
0
360
Introdução a Service Mesh usando o Istio
aeciopires
1
280
CoRL 2025 Survey
harukiabe
1
240
アウトプットから始めるOSSコントリビューション 〜eslint-plugin-vueの場合〜 #vuefes
bengo4com
3
150
AI時代、“平均値”ではいられない
uhyo
8
2.1k
Railsの話をしよう
yahonda
0
170
Copilot Studio ハンズオン - 生成オーケストレーションモード
tomoyasasakimskk
0
190
「魔法少女まどか☆マギカ Magia Exedra」のIPのキャラクターを描くための3Dルック開発
gree_tech
PRO
0
140
Data Hubグループ 紹介資料
sansan33
PRO
0
2.2k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
12
81k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.8k
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
Code Reviewing Like a Champion
maltzj
526
40k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
920
The World Runs on Bad Software
bkeepers
PRO
72
11k
Thoughts on Productivity
jonyablonski
70
4.9k
A better future with KSS
kneath
239
18k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Mobile First: as difficult as doing things right
swwweet
225
10k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Music & Morning Musume
bryan
46
6.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...