File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
plugin/src/main/java/org/owasp/benchmarkutils/tools Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public String toString() {
8282 // Optionally add the vuln type if this codeblock is a SINK
8383 + ("SINK" .equals (type ) ? " (" + vulnCat + ")" : "" )
8484 + ", name: "
85- + name
85+ + (( "DATAFLOW" . equals ( type ) && "" . equals ( name )) ? "NoDataFlow" : name )
8686 + ", truePositive: "
8787 + truePositive
8888 + ", True Positive - used: "
@@ -103,7 +103,7 @@ public String toStringIgnoringUnsupportedSinks() {
103103 // Optionally add the vuln type if this codeblock is a SINK
104104 + ("SINK" .equals (type ) ? " (" + vulnCat + ")" : "" )
105105 + ", name: "
106- + name
106+ + (( "DATAFLOW" . equals ( type ) && "" . equals ( name )) ? "NoDataFlow" : name )
107107 + ", truePositive: "
108108 + truePositive
109109 + ", Ignoring unsupported sinks: TPs - used: "
@@ -124,7 +124,7 @@ public String toStringForFalsePositiveSinks() {
124124 // Optionally add the vuln type if this codeblock is a SINK
125125 + ("SINK" .equals (type ) ? " (" + vulnCat + ")" : "" )
126126 + ", name: "
127- + name
127+ + (( "DATAFLOW" . equals ( type ) && "" . equals ( name )) ? "NoDataFlow" : name )
128128 + ", truePositive: "
129129 + truePositive
130130 /* + ", True Positive - used: "
You can’t perform that action at this time.
0 commit comments