gdtyra

Refactoring

Identify problematic areas by measuring churn

Arguably it makes sense to approach refactoring not with the goal identifying and fixing poor design, but rather by identifying code that is causing actual problems or friction. Messy code that works reliably, performs well, and has no reason to change is not necessarily a problem.

Git history can be used to to help identify files, classes, and functions that have frequent, large changes. This signals either an important code path which might benefit from

One can also look at 2-3 recent features or bug fixes to find ares where substantial or complex changes were needed.

Read through and actively consider what is confusing

Consider classic "code smell" signals

Consider computable metrics