The one I am currently working with
- Multiple calls to the database (a lot of times in a loop)
- Rather than reference, or variable passing, DB id is passed as a parameter to functions, so multiple calls to the database for a single object per API call
- Database design was normalized initially, for "optimization" most of the database has been denormalized.
- Queries without index
- If we were to create an index, probably have to create index on every column
- one of the function has more than 36 if else (including nested if else)
- Does not work with database partitioned or multiple databases
- OLAP like queries running wild on OLTP systems, just because we can
- Fastest API call - 1 second, slowest -
It started as an outsourced project and the same codebase is being dragged on, with features being added every day and with no coherent plan.
I've been patching a configuration user interface web application that uses the same codebase for a bunch of different product categories. Some 40 files totaling 15000 lines of HTML/js combining filepp preprocessing (a C-like build time pre-processor) and SSI (server-side includes and conditional rendering with directives snuck into HTML comments) split over several repositories that are all tightly interdependent. Adding to that, obviously no one wants to claim ownership over this codebase and changes are frequently made by people that understandably don't know exactly what they're doing and reviewed by other people shooting from their hips. Any change to it has to be considered for every product that uses it, which I've never seen a full list of.
Not too many LOC but the badness/LOC ratio is terribly high.
If SAP is how Lucifer interacts with our world then Biztalk is how Cthulhu seeks to enter our world by contaminating the minds of innocents with its eldritch horrors.
Mind you, it may have got better than my experiences with it, which as you can probably guess weren't very positive.
ADP Retirement Services first generation of PES (Plan Entry System) program. It was/is an internal tool with all the horror stories that you hear about internal tools. The people who made it wrote obscure logic with encrypted variable naming with the main purpose of having job security, it's a core tool in their business model but treated like gutter trash, built with visual basic and embedded angular code to make it look more modern, the supposed rewrite talk went on for 8 years, and to put icing on the top it was QAd/maintained by underqualified offshore old-school contractors (you cant even call this group devs/engineers).
Comments (578) 119 threads
Earlier commentsNot too many LOC but the badness/LOC ratio is terribly high.
Mind you, it may have got better than my experiences with it, which as you can probably guess weren't very positive.
All comments shown.
Couldn't load more comments. Check your connection and try again.