Package org.zaproxy.addon.commonlib
Class DiceMatcher
java.lang.Object
org.zaproxy.addon.commonlib.DiceMatcher
A
DiceMatcher that implements the Dice algorithm to measure the similarity between two
strings- Since:
- 1.3.0
-
Method Summary
-
Method Details
-
getMatchPercentage
- Parameters:
a- The first string to be comparedb- The second string to be compared- Returns:
- The match percentage of the two strings, rounded off to the nearest integer
-