跳到内容

使用情况

How developers use AI.
While code generation still comes first, it's interesting to note that code review (a new option this year) has jumped straight to third place. After all, someone will eventually need to read through the 30k lines of codes the intern vibe-coded over the week-end…
您使用 AI 工具做什么?
多选
0%
20%
40%
60%
80%
100%
01
代码生成
5,771
02
代码审查与协助
+8
4,359
03
学习与研究
-1
4,356
04
Debugging
4,277
05
总结
-1
3,623
06
文本生成
-3
3,502
07
翻译
-2
2,761
08
图像生成
-2
2,388
09
计算机视觉
-2
949
10
语音识别
-2
831
0%
20%
40%
60%
80%
100%
受访者百分比

AI 代码生成

The difference with last year is striking here. Back then the average respondent was using AI sporadically to generate a small percentage of their code, but today that same developer is much more likely to rely on AI for the bulk of their coding.
您编写的代码中有多少比例是 AI 生成的?
0%
20%
40%
60%
80%
100%
1
0% AI
532
2
|
688
3
|
798
4
|
404
5
50%
629
6
|
523
7
|
1,145
8
|
1,203
9
100% AI
498
0%
20%
40%
60%
80%
100%
受访者百分比

AI 代码重构

Similarly, using AI-generated code without having to refactor it first is no longer the exception, with many respondents reporting only needing to refactor around 25% of AI output.
在使用 AI 生成代码时,您在使用前重写或重构的比例是多少?
0%
20%
40%
60%
80%
100%
1
0% 重构
312
2
|
825
3
|
1,184
4
|
565
5
50%
990
6
|
521
7
|
956
8
|
486
9
100% 重构
288
0%
20%
40%
60%
80%
100%
受访者百分比
When respondents do need to refactor AI-generated code, the culprits tend to be poor code style and hallucinations. Interestingly, variable renaming does not seem to be as much of a factor anymore, pointing to the fact that LLMs are getting better at following instructions and learning from existing codebases.
需要您重构 AI 生成代码的主要原因是什么?
多选
0%
20%
40%
60%
80%
100%
01
糟糕的代码风格
+9
3,197
02
幻觉和不准确
+6
3,121
03
可读性差
-2
2,816
04
过度重复
-1
2,543
05
错误的代码
+2
2,336
06
变量重命名
-4
1,862
07
性能问题
-2
1,412
08
过时的导入
-4
1,179
09
安全问题
-3
1,154
10
architectural_issues
0%
20%
40%
60%
80%
100%
受访者百分比

代码生成频率

It seems clear that AI has become embedded in our work, with a majority of respondents using it multiple times per day, and a growing segment using it constantly.
您多久使用一次 AI 工具来生成或重构代码?
0%
20%
40%
60%
80%
100%
1
从不
503
2
每年几次
266
3
每月几次
525
4
每周几次
1,191
5
每天几次
1,776
6
每小时几次
774
7
经常
1,366
0%
20%
40%
60%
80%
100%
受访者百分比

其他任务频率

While the main focus of this survey is coding, other AI uses are also seeing increased used compared to last edition. After all if you trust AI with the main part of your job, it does seems logical to trust it with everything else, too.
除了代码生成之外,您多久使用一次 AI 工具处理其他任务?
0%
20%
40%
60%
80%
100%
1
从不
483
2
每年几次
237
3
每月几次
645
4
每周几次
1,873
5
每天几次
2,200
6
每小时几次
378
7
经常
622
0%
20%
40%
60%
80%
100%
受访者百分比

生成的代码

Almost every type of generated code saw an increase compared to last survey, with tests in particular becoming a key reason to use AI.
您使用 AI 工具生成什么样的代码?
多选
0%
20%
40%
60%
80%
100%
01
辅助函数
4,715
02
前端组件
4,434
03
测试
+1
4,416
04
文档和注释
-1
4,066
05
核心应用逻辑
3,730
06
API 集成代码
3,701
07
Scripting
+1
3,500
08
CSS 代码
-1
3,460
09
配置代码
2,807
10
数据库查询
+1
2,774
11
422
12
all_of_the_above
13
其他答案
141
0%
20%
40%
60%
80%
100%
受访者百分比
The proportion of respondents enjoying the benefits of AI without personally having to spend their hard-earned cash has dramatically shrunken year-over-year; while the $100-$500 monthly spend demographic is seeing significant growth. This may be due to the rise of coding agents, which often carry heavier financial costs compared to simple chatbots.
您个人每月在 AI 工具上花费多少(美元)?
0%
20%
40%
60%
80%
100%
1
$0
2,532
2
$1-$20
1,428
3
$20-$50
1,232
4
$50-$100
447
5
$100-$500
669
6
$500-$1000
41
7
$1000-$5000
23
8
过滤掉的答案
-2
6
0%
20%
40%
60%
80%
100%
受访者百分比
Don't hesitate to use our built-in Query Builder on any other chart to filter these survey results according to any specific industry sector.
你在哪个行业工作?
多选
0%
20%
40%
60%
80%
100%
01
编程和技术工具
2,900
02
咨询服务
1,525
03
电子商务与零售
749
04
金融
662
05
营销/销售/分析工具
+1
538
06
教育
-1
516
07
卫生保健
347
08
娱乐
338
09
政府
+1
267
10
新闻、媒体和博客
-1
228
0%
20%
40%
60%
80%
100%
受访者百分比
More and more respondents have tried local AI models, and while they aren't as powerful as their cloud-based cousins right now, there is strong potential for disruption as they provide a cheaper alternative to traditional frontier labs models.
您尝试过在自己的机器上本地运行 AI 模型吗?
0%
20%
40%
60%
80%
100%
1
不,不感兴趣
1,291
2
不,但感兴趣
2,012
3
是的
3,118
4
其他答案
35
0%
20%
40%
60%
80%
100%
受访者百分比
Sentry MCP

Sentry MCP

Sentry MCP plugs Sentry's API directly into your LLM, letting you ask questions about your data in natural language.
感谢合作伙伴对我们的支持! 了解更多。