Non-Fiction, AI Operator, Quality Assurance, Code Guide

Code Smell Detector Primer

Identify anti-patterns, duplicate code, and overly

by Dobson Jenni

  • English
  • 141 pages
  • 2026
  • SamEnrico

Identify anti-patterns, duplicate code, and overly complex methods using AI-powered static analysis. Includes severity rating, refactoring suggestions, and complexity trend tracking.

Formats

About this book

Identify anti-patterns, duplicate code, and overly complex methods using AI-powered static analysis. Includes severity rating, refactoring suggestions, and complexity trend tracking.

Free sample

Chapter 1: The Million-Dollar Mess--The bug took three weeks to find. Not because it was subtle in the way that race conditions or memory leaks are subtle, but because no one could figure out which file contained the actual logic. The symptom was simple: every Friday afternoon, the invoice system doubled customer charges. The cause, once discovered, was mortifying. Three different developers had independently implemented the same discount calculation in three different places. Two of them had bugs. One of them was correct but unused. The accounting team had been manually refunding overcharged customers for eleven months.When the post-mortem finally arrived, the engineering manager said something that should frighten anyone who has ever written code for a living: "We knew the code was bad. We just didn't know where the bad code was."That manager was not incompetent. She was not lazy. She was running a team of seventeen engineers on a codebase that had grown, over seven years, to nearly 800,000 lines of Java and Kotlin. They had linters. They had code review. They had a style guide. What they did not have was a way to answer a simple question: which parts of our code are quietly destroying our productivity?This book exists because that question is now answerable. Not through heroic effort, not through expensive consultants, not through a multi-year rewrite. Through a combination of classical software engineering wisdom and artificial intelligence that has become, in the last thirty-six months, accessible to any team with a modest budget and a willingness to learn.Before we build that answer, however, we must understand the problem. And the problem, despite decades of hand-wringing about "technical debt," is not what most developers think it is.The Arithmetic of Bad Code Let us begin with a thought experiment. You are presented with two codebases. Codebase A is a masterpiece of clean, idiomatic design. Every function does one thing. Every class has a single responsibility. Names are chosen with the care of a poet. Codebase B is a nightmare. Methods stretch to five hundred lines. Variables are named x, y, tmp, and foo. The same logic…

This is the end of the free sample. Get the eBook to keep going. Buy now

Read a sample →

Contents

  1. Chapter 1
  2. Chapter 2
  3. Chapter 3
  4. Chapter 4
  5. Chapter 5
  6. Chapter 6
  7. Chapter 7
  8. Chapter 8
  9. Chapter 9
  10. Chapter 10
  11. Chapter 11
  12. Chapter 12

Details

Author
Dobson Jenni
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, AI Operator, Quality Assurance, Code Guide
Released
2026-06-02
Pages (approx.)
141
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Dobson Jenni

See all