Difference between revisions of "Modularization more goals"
From Apache OpenOffice Wiki
(New page: ==Goals of Modularization== ===Reducing dependencies === #implementation dependencies (improve maintainability, testability, correctness) <br> #build time dependencies (reduce build effort...) |
B michaelsen (Talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
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] | ||
+ | [[Category:Modularization]] |
Latest revision as of 00:33, 16 March 2010
Contents
Goals of Modularization
Reducing dependencies
- implementation dependencies (improve maintainability, testability, correctness)
- build time dependencies (reduce build effort, also accelerate development)
- run time dependencies (improve runtime efficiency)
Maintainability
- clear points of responsibility - one piece of code for each task
- changes have less risk, because they most times only affect a clearly separated amount of code
- code is easier to understand, if module's tasks and interfaces are clearly defined
Testability
- modules can be tested in isolation
Runtime efficiency
- only needed modules are loaded, leading to less memory usage and faster startup
Correctness
- less regression, because changes have fewer side effects
- better tests, because tests can concentrate on sharply separated units