# 动态代码分析

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/clion/llms.txt).

动态代码分析   是一种在应用程序执行期间对其进行分析的方法。 这种方法有助于暴露只能在  运行时 发现的漏洞和错误，例如内存泄漏、未初始化的访问、并发问题、未定义行为情况等。

在使用动态分析时，请记住：

* 动态分析工具可能会导致应用程序性能 变慢 。

* 动态测试只能发现实际执行的代码中的缺陷，因此应单独解决 全覆盖问题 。

CLion 集成了多个动态分析工具，为这些工具提供可视化输出和便捷功能，帮助探索结果。 有关更多信息，请参阅相关文章：

* [Valgrind Memcheck](memory-profiling-with-valgrind.html)

* [Google Sanitizers](google-sanitizers.html)

* [CPU Profiler](cpu-profiler.html)

* [Code Coverage](code-coverage-clion.html)

