🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili
Advanced

Comprehensive Code Review

#code-review #security #refactoring

Analyze code for bugs, security issues, and suggest refactoring for readability.

Perform a comprehensive line-by-line analysis of the following Python function: def calc(a,b): return a/b. Identify potential security vulnerabilities (such as division by zero), performance bottlenecks, and violations of PEP-8 standards. Then, provide a refactored version of the function that addresses all issues, including type hinting and docstrings explaining the changes made.