微信开发 Java SDK ,支持包括微信支付,开放平台,小程序,企业微信,视频号,公众号等的后端开发
This report summarizes scanner evidence for binarywang/WxJava, a Java project with 33,170 GitHub stars. SynthScan examined 440,880 lines of code across 5052 source files, recording 40 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 0.4 (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? 25 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 8 finding(s).
Which changes need focused human review? 40 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 40 distinct pattern matches across 4 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 | …va/me/chanjar/weixin/cp/api/WxCpMessageRouterTest.java | 35 | router.setMessageDuplicateChecker(new me.chanjar.weixin.common.api.WxMessageInMemoryDuplicateChecker()); | CODE |
| CRITICAL | …ixin/cp/util/crypto/WxCpIntelligentRobotCryptUtil.java | 42 | byte[] bytes = me.chanjar.weixin.common.util.crypto.PKCS7Encoder.decode( | CODE |
| CRITICAL | …ring/starter/wxjava/pay/example/WxPayMultiExample.java | 180 | new com.github.binarywang.wxpay.bean.request.WxPayRefundV3Request(); | CODE |
| CRITICAL | …ring/starter/wxjava/pay/example/WxPayMultiExample.java | 187 | new com.github.binarywang.wxpay.bean.request.WxPayRefundV3Request.Amount(); | CODE |
| CRITICAL | …t/java/me/chanjar/weixin/mp/api/WxMpBusyRetryTest.java | 29 | throw new WxErrorException(me.chanjar.weixin.common.error.WxError.builder() | CODE |
| CRITICAL | …wxpay/service/LegacyEcommerceApiCompatibilityTest.java | 38 | com.github.binarywang.wxpay.bean.ecommerce.SignatureHeader.builder() | CODE |
| CRITICAL | …wxpay/service/LegacyEcommerceApiCompatibilityTest.java | 45 | Assert.assertNotNull(com.github.binarywang.wxpay.bean.ecommerce.SignatureHeader.class.getConstructor( | CODE |
| CRITICAL | …wxpay/service/LegacyEcommerceApiCompatibilityTest.java | 66 | new com.github.binarywang.wxpay.bean.ecommerce.SignatureHeader("timestamp-1", "nonce", "signed", "serial-no"); | CODE |
| CRITICAL | …wxpay/service/LegacyEcommerceApiCompatibilityTest.java | 68 | new com.github.binarywang.wxpay.bean.ecommerce.SignatureHeader("timestamp-2", "nonce", "signed", "serial-no"); | CODE |
| CRITICAL | …n/java/com/github/binarywang/wxpay/util/SignUtils.java | 107 | return me.chanjar.weixin.common.util.SignUtils.createHmacSha256Sign(toSign.toString(), signKey); | CODE |
| CRITICAL | …n/java/com/github/binarywang/wxpay/util/SignUtils.java | 191 | return me.chanjar.weixin.common.util.SignUtils.createHmacSha256Sign(toSign.toString(), signKey); | CODE |
| CRITICAL | …/com/github/binarywang/wxpay/service/WxPayService.java | 137 | throw new me.chanjar.weixin.common.error.WxRuntimeException("子类需要实现此方法"); | CODE |
| CRITICAL | …/java/cn/binarywang/wx/miniapp/test/ApiTestModule.java | 32 | WxMaService wxService = new cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl(); | CODE |
| CRITICAL | …va/me/chanjar/weixin/qidian/api/WxMpBusyRetryTest.java | 28 | throw new WxErrorException(me.chanjar.weixin.common.error.WxError.builder() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ixin/cp/tp/service/impl/WxCpTpServiceJoddHttpImpl.java | 101 | // public WxCpConfigStorage getWxCpConfigStorage() { | COMMENT |
| LOW | …p/tp/service/impl/WxCpTpServiceHttpComponentsImpl.java | 101 | // @Override | COMMENT |
| LOW | …n/java/com/binarywang/wxjava/store/enums/SendTime.java | 41 | // FOUTEEN_DAY("SendTime_FOUTEEN_DAY", "14天内发货"), | COMMENT |
| LOW | …narywang/wxjava/store/api/impl/WxStoreServiceImpl.java | 21 | // * @deprecated 请使用 {@link BaseWxStoreServiceImpl#setConfig(WxStoreConfig) } 替代 | COMMENT |
| LOW | …anjar/weixin/mp/api/impl/WxMpDraftServiceImplTest.java | 161 | COMMENT | |
| LOW | …arywang/wxpay/bean/payscore/WxPayScoreRequestTest.java | 21 | .build(); | COMMENT |
| LOW | …/wxpay/bean/payscore/WxPartnerPayScoreRequestTest.java | 21 | .device(new Device("deviceId","deviceId","212323232")) | COMMENT |
| LOW | …ay/service/impl/MarketingBusiFavorServiceImplTest.java | 201 | request.setComment("买价值984元3大罐送价值316元2小罐"); | COMMENT |
| LOW | …ub/binarywang/wxpay/example/NewTransferApiExample.java | 341 | // 3. 发起单笔转账(默认模式) | COMMENT |
| LOW | …ang/wxpay/bean/marketing/FavorStocksCreateRequest.java | 581 | * </pre> | COMMENT |
| LOW | …ang/wxpay/bean/marketing/FavorStocksCreateRequest.java | 601 | // @SerializedName(value = "fix_available_time") | COMMENT |
| LOW | …ang/wxpay/bean/marketing/FavorStocksCreateRequest.java | 621 | // private Boolean secondDayAvailable; | COMMENT |
| LOW | …ang/wxpay/bean/marketing/FavorStocksCreateRequest.java | 641 | // @NoArgsConstructor | COMMENT |
| LOW | …ang/wxpay/bean/marketing/FavorStocksCreateRequest.java | 661 | // * 变量名:begin_time | COMMENT |
| LOW | …ain/java/me/chanjar/weixin/channel/enums/SendTime.java | 41 | // FOUTEEN_DAY("SendTime_FOUTEEN_DAY", "14天内发货"), | COMMENT |
| LOW | …me/chanjar/weixin/channel/api/WxChannelVipService.java | 21 | // String VIP_USER_LIST_URL = "https://api.weixin.qq.com/channels/ec/vip/user/list/get"; | COMMENT |
| LOW | …njar/weixin/channel/api/impl/WxChannelServiceImpl.java | 21 | // * @deprecated 请使用 {@link BaseWxChannelServiceImpl#setConfig(WxChannelConfig) } 替代 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …in/common/util/http/hc/InputStreamResponseHandler.java | 15 | public class InputStreamResponseHandler extends AbstractHttpClientResponseHandler<InputStream> { | CODE |
| LOW | …ixin/common/util/http/hc/ByteArrayResponseHandler.java | 14 | public class ByteArrayResponseHandler extends AbstractHttpClientResponseHandler<byte[]> { | CODE |
| LOW | …ar/weixin/common/util/http/hc/Utf8ResponseHandler.java | 18 | public class Utf8ResponseHandler extends AbstractHttpClientResponseHandler<String> { | CODE |
| LOW | …r/weixin/common/util/http/hc/BasicResponseHandler.java | 10 | public class BasicResponseHandler extends BasicHttpClientResponseHandler { | CODE |
| LOW | …ommon/util/http/apache/InputStreamResponseHandler.java | 15 | public class InputStreamResponseHandler extends AbstractResponseHandler<InputStream> { | CODE |
| LOW | …ommon/util/http/apache/ApacheBasicResponseHandler.java | 5 | public class ApacheBasicResponseHandler extends BasicResponseHandler { | CODE |
| LOW | …/common/util/http/apache/ByteArrayResponseHandler.java | 9 | public class ByteArrayResponseHandler extends AbstractResponseHandler<byte[]> { | CODE |
| LOW | …eixin/common/util/http/apache/Utf8ResponseHandler.java | 16 | public class Utf8ResponseHandler extends AbstractResponseHandler<String> { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ava/me/chanjar/weixin/cp/bean/oa/doc/WxCpFormInfo.java | 78 | @SerializedName("placeholder") | CODE |