🔥 官方推荐 🔥 RuoYi-Vue 全新 Pro 版本,优化重构所有功能。基于 Spring Boot + MyBatis Plus + Vue & Element 实现的后台管理系统 + 微信小程序,支持 RBAC 动态权限、数据权限、SaaS 多租户、Flowable 工作流、三方登录、支付、短信、商城、CRM、ERP、MES、IM、AI 大模型、IoT 物联网等功能。你的 ⭐️ Star ⭐️,是作者生发的动力!
This report summarizes scanner evidence for YunaiV/ruoyi-vue-pro, a Java project with 40,143 GitHub stars. SynthScan examined 738,956 lines of code across 7929 source files, recording 102 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 36 finding(s).
Are imports declared and package/API names verified? 48 finding(s).
Are wrappers, guards, and repeated structures necessary? 26 finding(s).
Which changes need focused human review? 102 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 102 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …/hrm/service/employee/info/HrmEmployeeServiceImpl.java | 1368 | com.mzt.logapi.beans.LogRecord.builder() | CODE |
| CRITICAL | …/hrm/service/employee/info/HrmEmployeeServiceImpl.java | 1382 | com.mzt.logapi.beans.LogRecord.builder() | CODE |
| CRITICAL | …el/core/handler/ColumnWidthMatchStyleStrategyTest.java | 51 | row.setName(cn.hutool.core.util.StrUtil.repeat("测试", 100)); | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 304 | mockDynamicRoutingDataSource(com.google.common.collect.ImmutableMap.of("master", postgresql, "oracle", oracle, " | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 595 | mockDynamicRoutingDataSource(com.google.common.collect.ImmutableMap.of("master", postgresql, "oracle", oracle, " | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 614 | BoundSql boundSql = sqlSource.getBoundSql(com.google.common.collect.ImmutableMap.of("ew", labelWrapper)); | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 627 | boundSql = sqlSource.getBoundSql(com.google.common.collect.ImmutableMap.of("ew", bookingWrapper)); | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 831 | mockDynamicRoutingDataSource(com.google.common.collect.ImmutableMap.of("master", postgresql, "mysql", mysql)); | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 856 | mockDynamicRoutingDataSource(com.google.common.collect.ImmutableMap.of("master", postgresql, "mysql", mysql, "or | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 879 | mockDynamicRoutingDataSource(com.google.common.collect.ImmutableMap.of("master", postgresql, "mysql", mysql)); | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 908 | mockDynamicRoutingDataSource(com.google.common.collect.ImmutableMap.of("master", sqlServer, "h2", h2)); | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 938 | mockDynamicRoutingDataSource(com.google.common.collect.ImmutableMap.of("master", postgresql, "sqlserver", sqlSer | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 974 | mockDynamicRoutingDataSource(com.google.common.collect.ImmutableMap.of("master", mysql, "oracle", oracle, "sqlse | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 1015 | mockDynamicRoutingDataSource(com.google.common.collect.ImmutableMap.of("master", sqlite)); | CODE |
| CRITICAL | …o/framework/mybatis/core/util/SqlDialectUtilsTest.java | 1021 | Exception ex = assertThrows(Exception.class, () -> sqlSource.getBoundSql(com.google.common.collect.ImmutableMap. | CODE |
| CRITICAL | …coder/yudao/framework/mybatis/core/util/JdbcUtils.java | 66 | DbType dbType = com.baomidou.mybatisplus.extension.toolkit.JdbcUtils.getDbType(url); | CODE |
| CRITICAL | …udao/module/pay/convert/channel/PayChannelConvert.java | 26 | @Mapping(target = "config",expression = "java(cn.iocoder.yudao.framework.common.util.json.JsonUtils.toJsonString(bea | CODE |
| CRITICAL | …oller/admin/cal/plan/MesCalPlanTeamControllerTest.java | 55 | when(teamService.getTeamMap(java.util.Arrays.asList(20L, 10L))).thenReturn(com.google.common.collect.ImmutableMa | CODE |
| CRITICAL | …ntroller/admin/pro/task/MesProTaskIssueController.java | 113 | return cn.iocoder.yudao.framework.common.util.collection.CollectionUtils.convertList(list, issue -> { | CODE |
| CRITICAL | …/wm/productsales/MesWmProductSalesLineServiceImpl.java | 120 | return cn.iocoder.yudao.framework.common.pojo.PageResult.empty(); | CODE |
| CRITICAL | …ce/wm/warehouse/MesWmWarehouseLocationServiceImpl.java | 189 | cn.hutool.core.lang.Assert.notNull(warehouse, "虚拟仓库必须存在"); | CODE |
| CRITICAL | …es/service/dv/machinery/MesDvMachineryServiceImpl.java | 205 | new cn.iocoder.yudao.module.mes.controller.admin.dv.machinery.vo.type.MesDvMachineryTypeListReqVO()); | CODE |
| CRITICAL | …es/service/dv/machinery/MesDvMachineryServiceImpl.java | 209 | cn.iocoder.yudao.framework.common.enums.CommonStatusEnum.ENABLE.getStatus()); | CODE |
| CRITICAL | …vice/definition/BpmProcessListenerServiceImplTest.java | 82 | org.flowable.engine.delegate.TaskListener.class.getName()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 49 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 51 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 56 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 58 | # ==================================== | COMMENT |
| MEDIUM | …module-iot-gateway/src/main/resources/application.yaml | 77 | # ==================================== | COMMENT |
| MEDIUM | …module-iot-gateway/src/main/resources/application.yaml | 79 | # ==================================== | COMMENT |
| MEDIUM | …module-iot-gateway/src/main/resources/application.yaml | 90 | # ==================================== | COMMENT |
| MEDIUM | …module-iot-gateway/src/main/resources/application.yaml | 92 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 103 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 105 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 114 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 116 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 125 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 127 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 168 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 170 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 177 | # ==================================== | COMMENT |
| MEDIUM⚡ | …module-iot-gateway/src/main/resources/application.yaml | 179 | # ==================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …oa/controller/admin/contact/vo/OaContactSaveReqVO.java | 35 | @Schema(description = "邮箱", requiredMode = Schema.RequiredMode.REQUIRED, example = "user@example.com") | CODE |
| LOW | …ller/admin/mail/vo/account/OaMailAccountSaveReqVO.java | 23 | @Schema(description = "邮箱地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "user@example.com") | CODE |
| LOW | …ller/admin/mail/vo/account/OaMailAccountSaveReqVO.java | 29 | @Schema(description = "登录用户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "user@example.com") | CODE |
| LOW | …troller/admin/mail/vo/account/OaMailAccountRespVO.java | 16 | @Schema(description = "邮箱地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "user@example.com") | CODE |
| LOW | …troller/admin/mail/vo/account/OaMailAccountRespVO.java | 22 | @Schema(description = "登录用户名", example = "user@example.com") | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 4 | "placeholder": true | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 8 | "placeholder": true | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 12 | "placeholder": true | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 16 | "placeholder": true | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 20 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 24 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 28 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 32 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 36 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 40 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 44 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 48 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 52 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 56 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 60 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 64 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 68 | "placeholder": false | CODE |
| LOW⚡ | …pringai/src/test/resources/provider-api-key-cases.json | 72 | "placeholder": false | CODE |
| LOW | …odule/system/service/mail/MailSendServiceImplTest.java | 82 | AdminUserDO user = randomPojo(AdminUserDO.class, o -> o.setEmail("admin@example.com")); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/module/member/service/auth/MemberAuthServiceTest.java | 61 | // | COMMENT |
| LOW | …/module/member/service/auth/MemberAuthServiceTest.java | 81 | // TODO 芋艿:后续重构这个单测 | COMMENT |
| LOW | …ule/member/service/user/MemberUserServiceImplTest.java | 61 | // userMapper.insert(userDO); | COMMENT |
| LOW | …mework/ai/core/model/ppt/wdd/WenDuoDuoPptApiTests.java | 121 | # Dify:新一代AI应用开发平台 | COMMENT |
| LOW | …mework/ai/core/model/ppt/wdd/WenDuoDuoPptApiTests.java | 141 | #### 1.3.1 早期探索 | COMMENT |
| LOW | …mework/ai/core/model/ppt/wdd/WenDuoDuoPptApiTests.java | 181 | ## 3 Dify的特点和优势 | COMMENT |
| LOW | …mework/ai/core/model/ppt/wdd/WenDuoDuoPptApiTests.java | 201 | #### 3.3.2 快速部署 | COMMENT |
| LOW | …mework/ai/core/model/ppt/wdd/WenDuoDuoPptApiTests.java | 281 | ### 6.2 生态建设 | COMMENT |
| LOW | …a/cn/iocoder/yudao/module/ai/enums/AiChatRoleEnum.java | 21 | COMMENT | |
| LOW | yudao-server/src/main/resources/application-local.yaml | 61 | password: 123456 | COMMENT |
| LOW | yudao-server/src/main/resources/application-local.yaml | 81 | # druid: | COMMENT |
| LOW | yudao-server/src/main/resources/application-dev.yaml | 61 | # driver-class-name: com.taosdata.jdbc.ws.WebSocketDriver | COMMENT |
| LOW | …va/cn/iocoder/yudao/server/YudaoServerApplication.java | 21 | // 如果你碰到启动的问题,请认真阅读 https://doc.iocoder.cn/quick-start/ 文章 | COMMENT |
| LOW | …t/service/category/ProductCategoryServiceImplTest.java | 41 | @Test | COMMENT |
| LOW | …ervice/brokerage/BrokerageWithdrawServiceImplTest.java | 101 | assertEquals(1, pageResult.getList().size()); | COMMENT |
| LOW | …ice/price/calculator/TradePointUsePriceCalculator.java | 101 | // 禁止 0 元购 | COMMENT |
| LOW | …ce/combination/CombinationActivityServiceImplTest.java | 121 | // 测试 name 不匹配 | COMMENT |
| LOW | …ce/seckillactivity/SeckillActivityServiceImplTest.java | 161 | // reqVO.setTimeId(null); | COMMENT |
| LOW | …ervice/seckillconfig/SeckillConfigServiceImplTest.java | 121 | } | COMMENT |
| LOW | …ervice/seckillconfig/SeckillConfigServiceImplTest.java | 141 | // seckillConfigMapper.insert(cloneIgnoreId(dbSeckillConfig, o -> o.setCreateTime(null))); | COMMENT |
| LOW | …ervice/seckillconfig/SeckillConfigServiceImplTest.java | 181 | // reqVO.setCreateTime((new Date[]{})); | COMMENT |
| LOW | …tion/service/reward/RewardActivityServiceImplTest.java | 161 | reqVO.setStatus(CommonStatusEnum.DISABLE.getStatus()); | COMMENT |
| LOW | …tion/service/reward/RewardActivityServiceImplTest.java | 181 | // .setStartTime(now.minusDays(1)).setEndTime(now.plusDays(1))); | COMMENT |
| LOW | …tion/service/reward/RewardActivityServiceImplTest.java | 201 | // | COMMENT |
| LOW | …tion/service/reward/RewardActivityServiceImplTest.java | 221 | // assertEquals(matchRewardActivityList.size(), 2); | COMMENT |
| LOW | …tion/service/reward/RewardActivityServiceImplTest.java | 241 | // */ | COMMENT |
| LOW | …/yudao/module/bpm/service/task/BpmTaskServiceImpl.java | 1041 | processTaskCanceled(task.getId()); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | sql/tools/test_convertor.py | 110 | def test_semicolon_in_comments(self): | CODE |
| LOW⚡ | sql/tools/test_convertor.py | 119 | def test_double_dash_without_space(self): | CODE |
| LOW⚡ | sql/tools/test_convertor.py | 123 | def test_multiple_statements_one_line(self): | CODE |
| LOW | sql/tools/test_convertor.py | 146 | def test_create_table_in_insert_ignored(self): | CODE |
| LOW | sql/tools/test_convertor.py | 162 | def test_comment_from_real_table(self): | CODE |
| LOW | sql/tools/test_convertor.py | 186 | def test_indented_and_same_line_create_table(self): | STRING |
| LOW | sql/tools/test_convertor.py | 204 | def test_multiple_tables_with_inserts(self): | STRING |
| LOW | sql/tools/test_convertor.py | 337 | def test_translate_type_integer_range(self): | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sql/tools/convertor.py | 1137 | CODE |