what types of evaluation methods could have helpedprevent th

what types of evaluation methods could have helpedprevent the bug, and what (if any) would be the pitfalls of using such methodologies? for the 1- FREAK Vulnerability2- Heartbleed Vulnerability( i need u to tell me what kind of evaluation method to prevent this attack and the consequences of this method)there are 5 evaluation method which is . Manual testing•Static analysis•Taint analysis•Dynamic analysis•Fuzzing