Skip to content

Commit 3284f80

Browse files
committed
Update VeracodeReader.java
Minor bug fix.
1 parent d50bcc8 commit 3284f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/owasp/benchmark/score/parsers/VeracodeReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private TestCaseResult parseVeracodeVulnerability(Node flaw) {
120120
tcr.setEvidence( getAttributeValue( "categoryname", flaw ) );
121121

122122
String testcase = getAttributeValue( "sourcefile", flaw );
123-
if ( testcase.startsWith( "Benchmark" ) ) {
123+
if ( testcase.startsWith( "BenchmarkTest" ) ) {
124124
String testno = testcase.substring( "BenchmarkTest".length(), testcase.length() -5 );
125125
tcr.setNumber( Integer.parseInt( testno ) );
126126
return tcr;

0 commit comments

Comments
 (0)