You need to ensure that it is easy to test and obtain high code coverage

You are planning to develop a new application.
You want to be able to measure the quality of the code you create.
You need to ensure that it is easy to test and obtain high code coverage.
What should you do?

You are planning to develop a new application.
You want to be able to measure the quality of the code you create.
You need to ensure that it is easy to test and obtain high code coverage.
What should you do?

A.
Ensure that each class has only one responsibility.

B.
Ensure that concrete classes depend only on otherconcrete classes.

C.
Create as few abstract classes and interfaces as possible.

D.
Create as many static methods as possible.



Leave a Reply 0

Your email address will not be published. Required fields are marked *