Documenting Components for Reuse

  • Difficult to reuse appropriate software components.
  • Proper documentation is required.(assumptions, post conditions etc)and also (how and where component can be used)
  • Information provides correct reuse context for component.
  • Interested in Contractual semantics rather than implementation.

    Primary steps for documentation for reuse
  • Identfying and Extract Primary Artifacts.
  • Identify and Extract all related and Secondary Artifacts.
  • Document the Internal Component Functionality
  • Document and categorize the External Component Functionality
  • Parameterize any Dependencies if neccesary
  • Catalogue the Component.