Text this: MODULARITY AND FUNCTIONAL CORRECTNESS EVALUATION OF DESIGN PATTERNS