Skip to Content
Software Design X-Rays
book

Software Design X-Rays

by Adam Tornhill
March 2018
Intermediate to advanced content levelIntermediate to advanced
276 pages
7h 11m
English
Pragmatic Bookshelf
Content preview from Software Design X-Rays

Solutions: Identify Code with High Interest Rates

Here are the solutions to the exercises in Chapter 2, Identify Code with High Interest Rates.

Find Refactoring Candidates in Docker

From the perspective of test automation, the code that drives the test execution from the command line has evolved into two hotspots: integration-cli/docker_ cli_build_test.go and integration-cli/docker_cli_run_test.go. Their complexity trends show a steep upward drift and, combined with the pure size of the files, these hotspots make great refactoring candidates.

Follow Up on Improvements to Rails

The historic hotspots activerecord/lib/active_record/base.rb and activerecord/lib/active_ record/associations.rb both show a dramatic reduction in size and code complexity ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Righting Software

Righting Software

Juval Lowy
Design It!

Design It!

Michael Keeling
Flow Architectures

Flow Architectures

James Urquhart

Publisher Resources

ISBN: 9781680505795Errata Page