Final answer:
When test cases are derived by examining the code, the methodology is known as White-box testing, which focuses on the internal structure of the code.
Step-by-step explanation:
If test cases are derived from looking at the code, the type of test design technique being used is White-box testing. White-box testing, also known as clear box testing, structural testing, or code-based testing, involves looking into the structure and implementation of the code to ensure that internal operations are performed according to the specifications. This contrast with black-box testing, where the test cases are derived without looking at the details of the code's internal logic.