Object Oriented Software Engineering   View all facts   Glossary   Help
subject > criterion > quality > software quality > cohesion > layer cohesion
Next cohesionprocedural cohesion    Upcohesion    Previous cohesionfunctional cohesion   

layer cohesion comparison table
Subject allow have example require has definition is a kind of simplify
cohesion   A measure of the extent to which related aspects of a system are kept together in the same module, and unrelated aspects are kept outsoftware quality 
layer cohesionside-effectsThe set of related services which could form a layer might include:
  • Services for computation
  • Services for transmission of messages or data
  • Services for storage of data
  • Services for managing security
  • Services for interacting with users
  • Services provided by an operating system
  • Services provided directly by the hardware
    that the layers must form a hierarchy - higher layers can access services of lower layers, but it is essential that the lower layers do not access higher layersA form of cohesion in which the facilities for providing or accessing a set of services through an API or hardware interface are kept together. There must also be a strict hierarchy in which higher level layers can access only lower-level layers. In other words, the system is effectively divided into layerscohesionsystems

    Next cohesionprocedural cohesion    Upcohesion    Previous cohesionfunctional cohesion