Tips for troubleshooting PLC code effectively

When you open someone else’s PLC program to troubleshoot a machine, what helps you understand it quickly?

Is it clear tag names, useful comments, simple logic, a consistent program structure, or something else?

Share one practice that makes troubleshooting easier, or an example of poorly written code that made a simple fault difficult to find.