Skip to content

Commit ed4fe4a

Browse files
Merge pull request #29 from bernardladenthin/claude/explore-feature-improvements-FBjSo
Add statistics tracking and configurable max allocation size to StreamBuffer
2 parents ecc1e5b + f91fcb3 commit ed4fe4a

4 files changed

Lines changed: 3155 additions & 45 deletions

File tree

.github/workflows/maven.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,27 @@ jobs:
6161
- name: Run mutation tests with PIT
6262
run: mvn -B test-compile org.pitest:pitest-maven:mutationCoverage -Dmaven.javadoc.skip=true --file pom.xml
6363

64+
- name: Extract Pitest Survivors with Context
65+
if: always()
66+
run: |
67+
echo "=== PIT Survived Mutations ==="
68+
echo ""
69+
70+
# Loop through all HTML files in pit-reports
71+
for html_file in $(find target/pit-reports -name "*.html" -type f | sort); do
72+
echo "Processing: $html_file"
73+
74+
# Extract lines containing SURVIVED with context (2 before, 3 after)
75+
if grep -q "SURVIVED" "$html_file"; then
76+
echo "Found survivors in $html_file:"
77+
grep -B 2 -A 3 "SURVIVED" "$html_file"
78+
echo ""
79+
fi
80+
done
81+
82+
echo "=== Count unique survivors ==="
83+
echo "Check the 'Found survivors' sections above - each unique location with SURVIVED is one uncovered mutation"
84+
6485
- name: Upload PIT report
6586
if: always()
6687
uses: actions/upload-artifact@v4

pom.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
</execution>
117117
</executions>
118118
</plugin>
119-
<plugin>
119+
<!-- <plugin>
120120
<groupId>org.apache.maven.plugins</groupId>
121121
<artifactId>maven-javadoc-plugin</artifactId>
122122
<version>3.12.0</version>
@@ -131,8 +131,8 @@
131131
</goals>
132132
</execution>
133133
</executions>
134-
</plugin>
135-
<plugin>
134+
</plugin> -->
135+
<!-- <plugin>
136136
<groupId>org.apache.maven.plugins</groupId>
137137
<artifactId>maven-gpg-plugin</artifactId>
138138
<version>3.2.8</version>
@@ -145,13 +145,13 @@
145145
</goals>
146146
</execution>
147147
</executions>
148-
</plugin>
149-
<plugin>
148+
</plugin> -->
149+
<!-- <plugin>
150150
<groupId>com.github.hazendaz.maven</groupId>
151151
<artifactId>coveralls-maven-plugin</artifactId>
152152
<version>5.0.0</version>
153-
</plugin>
154-
<plugin>
153+
</plugin> -->
154+
<!-- <plugin>
155155
<groupId>org.jacoco</groupId>
156156
<artifactId>jacoco-maven-plugin</artifactId>
157157
<version>0.8.14</version>
@@ -170,7 +170,7 @@
170170
</goals>
171171
</execution>
172172
</executions>
173-
</plugin>
173+
</plugin> -->
174174
<plugin>
175175
<groupId>org.pitest</groupId>
176176
<artifactId>pitest-maven</artifactId>
@@ -190,6 +190,7 @@
190190
<param>net.ladenthin.streambuffer.*</param>
191191
</targetTests>
192192
<mutationThreshold>100</mutationThreshold>
193+
<timeoutConstant>30000</timeoutConstant>
193194
</configuration>
194195
</plugin>
195196
</plugins>

0 commit comments

Comments
 (0)