Planning software reuse: a disciplined scoping approach for software product lines