Repository Analysis

chinabugotech/hutool

🍬A set of tools that keep Java sweet.

0.4 Likely human-written View on GitHub
0.4
Adjusted Score
0.4
Raw Score
100%
Time Factor
2026-05-27
Last Push
30,287
Stars
Java
Language
312,753
Lines of Code
2339
Files
20
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 9HIGH 0MEDIUM 6LOW 5

Pattern Findings

20 matches across 4 categories. Click a row to expand file-level details.

Hallucination Indicators9 hits · 115 pts
SeverityFileLineSnippet
CRITICAL…core/src/test/java/cn/hutool/core/lang/AssertTest.java15 cn.hutool.core.lang.Assert.isNull(a);
CRITICAL…core/src/test/java/cn/hutool/core/lang/AssertTest.java21 cn.hutool.core.lang.Assert.isNull(a);
CRITICAL…core/src/test/java/cn/hutool/core/lang/AssertTest.java29 cn.hutool.core.lang.Assert.isTrue(i > 0, IllegalArgumentException::new);
CRITICAL…core/src/test/java/cn/hutool/core/lang/AssertTest.java38 cn.hutool.core.lang.Assert.isTrue(i >= 0, IndexOutOfBoundsException::new);
CRITICAL…c/main/java/cn/hutool/log/dialect/tinylog/TinyLog.java76 return this.level <= org.pmw.tinylog.Level.WARNING.ordinal();
CRITICAL…rc/test/java/cn/hutool/extra/mail/MailAccountTest.java29 * 参见 com.sun.mail.util.SocketFetcher.getSocket(java.lang.String, int, java.util.Properties, java.lang.String, boolean)
CRITICAL…/main/java/cn/hutool/poi/excel/ExcelExtractorUtil.java25 extractor = new org.apache.poi.hssf.extractor.ExcelExtractor((HSSFWorkbook) wb);
CRITICAL…i/src/main/java/cn/hutool/poi/excel/ExcelDateUtil.java68 return org.apache.poi.ss.usermodel.DateUtil.isADateFormat(formatIndex, formatString);
CRITICAL…rc/main/java/cn/hutool/poi/excel/sax/ExcelSaxUtil.java238 return DateUtil.date(org.apache.poi.ss.usermodel.DateUtil.getJavaDate(value, false));
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippet
MEDIUMbin/replaceVersion.sh3#-----------------------------------------------------------
MEDIUMbin/replaceVersion.sh5#-----------------------------------------------------------
MEDIUMbin/check_dependency_updates.sh3#--------------------------------------
MEDIUMbin/check_dependency_updates.sh5#--------------------------------------
MEDIUMbin/update_version.sh3#------------------------------------------------
MEDIUMbin/update_version.sh7#------------------------------------------------
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippet
LOW…ol-core/src/main/java/cn/hutool/core/util/XmlUtil.java1441 // This is the PRIMARY defense. If DTDs (doctypes) are disallowed, almost all XML entity attacks are prevented
LOW…e/src/main/java/cn/hutool/core/img/gif/LZWEncoder.java21
LOW…e/src/main/java/cn/hutool/core/img/gif/LZWEncoder.java61 // prefix code / next character combination. We do a variant of Knuth's
LOW.github/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply need
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippet
LOW…l-jwt/src/test/java/cn/hutool/jwt/IssueI5QRUOTest.java26 put("name", "John Doe");