Professional Documents
Culture Documents
DEVELOPMENT
Presented by
Abitha.D
1st M.Sc.CS(SF)
9.4 COROLLARIES
AXIOM 1 & AXIOM 2
9.4.1.2 COHESION
Coupling deals with interactions between
objects or software components.
Cohesion deals with interactions within a
single object or software component.
Class Cohesion:
It means that all the class’s method and
attributes must be cohesive, because that is used
by internal methods or derived classes methods.
Inheritance cohesion
Cont..
Inheritance Cohesion:
Inheritance Cohesion is concerned with the
following questions:
Methods:
Guideline:
Keep the following guidelines:
“The smaller are your classes, the better are your
chance of reusing them in other projects. Large and
complex classes are too specialized to be reused.”
9.4.4. Corollary 4: Strong Mapping
NOTE: There must be strong association between the physical system
(analysis’s object) & logical design (design’s object)
Some shortfall:
• However class libraries are not
always well documented and updated.
Solution:
• Making a repository of Design
Patterns can give some solutions to all
these problems.
9.4.5. Corollary 5:
Standardization(cont..)
Goodness:
Class Libraries must be easily searched,
based on some user’s criteria.