Project infrastructure improvements: CI/CD, security, documentation, and code coverage #153
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Comprehensive infrastructure modernization addressing technical debt in CI/CD, security practices, documentation, and code quality tooling. Zero breaking changes to core parsing functionality.
Type of Change
Related Issue
N/A - Proactive infrastructure improvements
Changes Made
CI/CD Modernization
checkout@v2→v4,setup-java@v2→v4,codeql-action@v2→v3GITHUB_TOKENscoping)Security & Compliance
SECURITY.md: Vulnerability disclosure process, supported versions, security best practicesCode Coverage
Documentation Suite
CONTRIBUTING.md: Development setup, code style, testing guidelines, commit conventionsREADME.md: Added build status, license, Java version badges; key features sectionCode Quality Fixes
package-info.javafiles for Javadoc complianceSystem.out.printlncalls from test code.editorconfig: Consistent formatting across IDEs (Java/XML/YAML/Markdown).gitattributes: Comprehensive file type handling, line ending normalizationmaven-jar-plugin: 3.4.2 → 3.5.0Testing
mvn test)Test Cases Added
No functional test cases added - infrastructure changes only
Quality Checks
mvn checkstyle:check)mvn spotbugs:check)mvn pmd:check)Screenshots (if applicable)
N/A - Infrastructure changes
Additional Notes
All 8,282 existing tests pass. Coverage reporting shows 150 classes analyzed. Pre-existing quality violations (135 Checkstyle, 117 SpotBugs, 1,337 PMD) are not addressed in this PR - those require separate focused efforts.
GPG signing in
mvn verifyintentionally skipped (release-only requirement).Checklist
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
checkstyle.org/opt/hostedtoolcache/CodeQL/2.23.3/x64/codeql/tools/linux64/java/bin/java -jar /opt/hostedtoolcache/CodeQL/2.23.3/x64/codeql/xml/tools/xml-extractor.jar --fileList=/home/REDACTED/work/htmlunit-neko/.codeql-scratch/dbs/java/working/files-to-index2568982846446643573.list --sourceArchiveDir=/home/REDACTED/work/htmlunit-neko/.codeql-scratch/dbs/java/src --outputDir=/home/REDACTED/work/htmlunit-neko/.codeql-scratch/dbs/java/trap/java(dns block)/opt/hostedtoolcache/CodeQL/2.23.3/x64/codeql/tools/linux64/java/bin/java -jar /opt/hostedtoolcache/CodeQL/2.23.3/x64/codeql/xml/tools/xml-extractor.jar --fileList=/home/REDACTED/work/htmlunit-neko/.codeql-scratch/dbs/java/working/files-to-index7918104962141531559.list --sourceArchiveDir=/home/REDACTED/work/htmlunit-neko/.codeql-scratch/dbs/java/src --outputDir=/home/REDACTED/work/htmlunit-neko/.codeql-scratch/dbs/java/trap/java(dns block)junit.org/usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.11/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.11/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.11 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.11/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/htmlunit-neko/htmlunit-neko org.codehaus.plexus.classworlds.launcher.Launcher clean verify(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.