🏠 Startseite
Vergleiche
📊 Alle Benchmarks 🦖 Dinosaurier v1 🦖 Dinosaurier v2 ✅ To-Do-Listen-Apps 🎨 Kreative freie Seiten 🎯 FSACB - Ultimatives Showcase 🌍 Übersetzungs-Benchmark
Modelle
🏆 Top 10 Modelle 🆓 Kostenlose Modelle 📋 Alle Modelle ⚙️ Kilo Code
Ressourcen
💬 Prompt-Bibliothek 📖 KI-Glossar 🔗 Nützliche Links
hard

Comprehensive Code Audit and Refactoring

#coding #security #refactoring

Requests a deep dive into code logic, security vulnerabilities, and performance optimization.

Act as a Principal Software Engineer and Security Auditor. Review the provided code snippet. First, identify any logical errors and potential runtime exceptions. Second, pinpoint security vulnerabilities (e.g., SQL injection, XSS) and suggest mitigation strategies. Third, evaluate the algorithmic complexity (Big O) and propose optimizations for better performance. Finally, provide a refactored version of the code that incorporates your fixes and adheres to SOLID principles.