Know the Cognitive Advantages of Good Names

Back in Mining Hibernate, you created a code offender profile of Hibernate. The resulting hotspots presented a different view of the system than what you normally see. Buried deep within 400,000 lines of code, the hotspot analysis flagged a number of potential design issues you needed to be aware of.

As you can see in the following figure, the top five hotspots still account for 10,000 lines of code. It’s much better than 400,000, but it’s still plenty of code.

images/Chp5_TopHotspotsSize.png

This ratio between hotspots and total code size is quite typical across systems. Hotspots typically account for around 4 to 6 percent of the ...

Get Your Code as a Crime Scene now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.