Automated code security, performance, and quality improvements