Question: Which statement is TRUE regarding refactoring? A. Refactoring improves test coverage B. During refactoring, you should never have a failing test C. Improving code structure

Which statement is TRUE regarding refactoring?

A. Refactoring improves test coverage

B. During refactoring, you should never have a failing test

C. Improving code structure is a primary goal of refactoring

D. Refactoring always reduces the amount of code

While performing high-level exploration of legacy code, which statement can you reasonably expect to be TRUE?

A. You should create tests that capture the way the software works now, even if the tests exercise bugs and ugly features

B. Once you discover important collaborations between classes, you'll be able to stub them

C. Exploration is a reasonable time to fix minor aesthetic problems in the code

D. If design documents are available, you can use them to establish the "ground truth" of how the code should behave

True or False: The main purpose of Haml is to generate HTML code which is efficient to render for the browsers across the various platforms.

A. True

B. False

In method-level refactoring, the ---- code smell is likely to be present if any of the other three are present.

A. long method

B. method does more than one thing

C. method has too many arguments

D. method jumps back and forth between levels of abstraction

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!