I'm maintaining a scheduling web-application we use in our intranet. When I've been asked if I could remove an agent from the scheduler I thought, sure why not.
When I took a look into the source code I figured out that every hour of this agent's day was coded separately. So was every day of his week. And so was every week of every agent of this region. And so was every region of about 5 regions.
Html fies that hold asp-code all over the place.
One day I took some time to guess how many lines of code are in these various files and I estimated about 300000. Three-hundred thousand lines of code of once handwritten and then copy and pasted code.
But this number convinced my manager pretty quickly that we would need a new scheduling app very quickly.