Difference between revisions of "Modularization more goals"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: ==Goals of Modularization== ===Reducing dependencies === #implementation dependencies (improve maintainability, testability, correctness) <br> #build time dependencies (reduce build effort...)
 
Line 15: Line 15:
 
#less regression, because changes have fewer side effects <br>
 
#less regression, because changes have fewer side effects <br>
 
#better tests, because tests can concentrate on sharply separated units <br>
 
#better tests, because tests can concentrate on sharply separated units <br>
 +
 +
 +
[http://wiki.services.openoffice.org/wiki/Modularization GoBack]

Revision as of 01:33, 8 April 2009

Goals of Modularization

Reducing dependencies

  1. implementation dependencies (improve maintainability, testability, correctness)
  2. build time dependencies (reduce build effort, also accelerate development)
  3. run time dependencies (improve runtime efficiency)

Maintainability

  1. clear points of responsibility - one piece of code for each task
  2. changes have less risk, because they most times only affect a clearly separated amount of code
  3. code is easier to understand, if module's tasks and interfaces are clearly defined

Testability

  1. modules can be tested in isolation

Runtime efficiency

  1. only needed modules are loaded, leading to less memory usage and faster startup

Correctness

  1. less regression, because changes have fewer side effects
  2. better tests, because tests can concentrate on sharply separated units


GoBack

Personal tools