An unmaintained library is usually more difficult to fix because fixes are no longer committed back or released. At that point you can choose to vendor and maintain your own copy, or replace it with something else. And at either of those points you’re no longer in context.
My point wasn’t really geared at debugging a piece of code. A library, my own, or a coworkers are roughly comparable. The cost to fix is a lot higher in a library though.
It’s not a universal rule, despite the way I originally phrased it.
On the flip side, I have found libraries that are unmaintained and are pleasant enough to understand. I've forked those and used them, happy that:
1. I can quickly fix any bugs that I face
2. Someone else can make use of my maintenance.
The amount of people who uses a product does not determine is quality.
However stars can determine to an extend whether it's a project worth looking at or not.
> 4. It has traction ie >10k downloads preferably >50k
Why ? Your home-made code probably don't check those boxes.