1 Introduction  
2 Code Generation Evaluation Metrics  
2.1 Evaluation Based on Similarity  
2.2 Execution-Based Evaluation  
2.3 Feedback-Based Evaluation  
3 Code Generation Evaluation Benchmarks  
3.1 Code Correctness  
3.2 Code Efficiency Evaluation  
3.3 Practicality Assessment of Code Generation Models  
4 Challenges and Future Directions of Code Evaluation  
4.1 The Limitations of Current Code Evaluation  
4.2 Future Directions in Code Evaluation for Large Language Models  
5 Conclusion