Davy Landman – Exploring the Limits of Domain Model Recovery

Davy’s aim is to try to reconstruct a domain model from source code. For this, he has manually (!) constructed a reference model from two existing Java systems: OpenPM and Endeavour. He built the model by inspecting the UI. For instance, in the UI below, there is an iteration button on project, so there should be a relation between Project and Iteration in the domain model.

20130924_140425

Subsequently, he compares this model with the model as extracting from the code. He found that a significant part of the reference model can be reconstructed from the code and that the systems do not contain much junk.

Therefore, Davy concludes that domain knowledge is recoverable from “modern legacy” code and therefore domain model recovery could be a valuable component of a domain re-engineering process.

Pre-print is available.

1 Comment

  1. Davy Landman

    Hi Felienne,

    Thanks for the live-blog!

    Just to correct a small detail, the reference model was created from PMBOK, a book in the Project Management literature.
    The UI was used to know what was implemented by the implication, i.e. what should be recoverable from source code.

    Cheers,
    Davy

Comments are closed.