Explorer les Livres électroniques
Catégories
Explorer les Livres audio
Catégories
Explorer les Magazines
Catégories
Explorer les Documents
Catégories
/ 17
Sommaire
Introduction
Terminologie
Objectifs et avantages de mtriques
UH1
FSTS
/ 17
1.
2.
3.
4.
/ 17
/ 17
UH1
FSTS
/ 17
=1 ( )
( )
=1
UH1
FSTS
AHF=
=1 ( )
( )
=1
/ 17
UH1
FSTS
/ 17
MIF=
=1 ( )
( )
=1
UH1
FSTS
AIF=
=1 ( )
( )
=1
/ 17
/ 17
PF=
=1 ( )
[
=1
( )]
Limites:
PF mesure seulement le polymorphisme d la redfinition des mthodes. Et il
ne prend pas en considration la surcharge de mthodes ou le polymorphisme
d limplmentation des interfaces.
UH1
FSTS
10 / 17
UH1
FSTS
11 / 17
CF=
=1 =1 _( , )
2 2
=1 ( )
_( , ): accde un attribut ou
une mthode de .
: nombre de classes descendantes de
UH1
FSTS
12 / 17
UH1
FSTS
13 / 17
UH1
FSTS
OHEF
AHEF
IIF
PPF
14 / 17
Outils de mesure
Understand
Jmetric
CCCC: C/C++
Code Counter
Project Analyzer
.
UH1
FSTS
15 / 17
Rfrences
1. Chidamber S.R., Kemerer C.F.: A metrics suite for object oriented design; IEEE Transactions
on Software Engineering, Vol. 20, No. 6, June 1994
2. Misra & Bhavsar: Relationships Between Selected Software Measures and Latent BugDensity: Guidelines for Improving Quality. SpringerVerlag 2003. A study where an increase
in MHF and PF was found to decrease bug density in 30 C++ projects.
3. Fernando Brito e Abreu & WaDaniela Glasberg, Khaled El Emam, Walcelio Melo, Nazim
Madhavji: Validating Object-Oriented Design Metrics on a CommercialJava Application.
2000.
4. Houari A. Sahraoui, Robert Godin, Thierry Miceli: Can Metrics Help Bridging the Gap
Between the Improvement of OO Design Quality and Its Automation?
http://www.iro.umontreal.ca/~sahraouh/papers/ICSM00.pdf
5. Bindu S. Gupta: A Critique of Cohesion Measures in the Object-Oriented Paradigm. Master
of Science Thesis. Michigan Technological University, Department of Computer Science.
1997.
6. Fernando Brito e Abreu & Walclio Melo: Evaluating the Impact of ObjectOriented Design
on Software Quality. 3rd Intl S/W Metrics Symposium, March 1996, Berlin, Germany.
7. Fernando Brito e Abreu: Using OCL to formalize object oriented metrics definitions.
Technical Report ES007/2001 (version 1.0 June 2001). Includes definition of MOOD2.
UH1
FSTS
16 / 17
17 / 17