Text this: Optimal metrics for evaluating reusability in web applications