Code quality (its structure in particular) and productivity are largely dependent upon the available functional knowledge.
This is why one of the main stakes in maintenance performance improvement resides in the ability to capitalize upon and increase the available knowledge.
The general approach consists in using the power of the Refinetm CBMS model to compute, represent and restore functional knowledge in the form of metadata: