• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jiangxincode / ApkToolBoxGUI / #1230

20 Sep 2025 02:05AM UTC coverage: 2.89% (-0.002%) from 2.892%
#1230

push

jiangxincode
[sonar issues]Fix sonar issues: Disable access to external entities in XML parsing.

0 of 8 new or added lines in 3 files covered. (0.0%)

248 of 8582 relevant lines covered (2.89%)

0.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/edu/jiangxin/apktoolbox/utils/SAXBuilderHelper.java
1
package edu.jiangxin.apktoolbox.utils;
2

3
import org.jdom2.input.SAXBuilder;
4

NEW
5
public class SAXBuilderHelper {
×
6
    public static void setSecurityFeatures(SAXBuilder builder) {
NEW
7
        builder.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
×
NEW
8
        builder.setFeature("http://xml.org/sax/features/external-general-entities", false);
×
NEW
9
        builder.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
×
NEW
10
    }
×
11
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc