Apache Commons logo Commons Text

Tag List Report

The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.

Tag Class Total number of occurrences Tag strings used by tag class
Needs Work 7 TODO, FIXME, XXX
Noteable Markers 9 NOTE, NOPMD, NOSONAR

Each tag is detailed below:

Needs Work

Number of occurrences found in the code: 7

org.apache.commons.text.StringEscapeUtilsTest Line
I think this should hold, needs further investigation String unescapedFromEntity = StringEscapeUtils.unescapeHtml4("𝍢"); assertEquals("High Unicode should have been unescaped", original, unescapedFromEntity); 268
refine API for escaping/unescaping specific HTML versions 287
org.apache.commons.text.TextStringBuilderTest Line
Use Commons IO NullAppendable.INSTANCE 206
org.apache.commons.text.lookup.ConstantStringLookup Line
it would be nice to log 129
org.apache.commons.text.similarity.JaroWinklerDistance Line
replace the rest of the code by this in 2.0, see TEXT-104 74
remove this method in 2.0, see TEXT-104 90
org.apache.commons.text.similarity.JaroWinklerDistanceTest Line
replace tests in 2.0. See TEXT-104 for more. assertEquals(0d, distance.apply("", ""), 0.00001d); assertEquals(0d, distance.apply("foo", "foo"), 0.00001d); assertEquals(1 - 0.94166d, distance.apply("foo", "foo "), 0.00001d); assertEquals(1 - 0.90666d, distance.apply("foo", "foo "), 0.00001d); assertEquals(1 - 0.86666d, distance.apply("foo", " foo "), 0.00001d); assertEquals(1 - 0.51111d, distance.apply("foo", " foo"), 0.00001d); assertEquals(1 - 0.92499d, distance.apply("frog", "fog"), 0.00001d); assertEquals(1.0d, distance.apply("fly", "ant"), 0.00000000000000000001d); assertEquals(1 - 0.44166d, distance.apply("elephant", "hippo"), 0.00001d); assertEquals(1 - 0.90666d, distance.apply("ABC Corporation", "ABC Corp"), 0.00001d); assertEquals(1 - 0.95251d, distance.apply("D N H Enterprises Inc", "D & H Enterprises, Inc."), 0.00001d); assertEquals(1 - 0.942d, distance.apply("My Gym Children's Fitness Center", "My Gym. Childrens Fitness"), 0.00001d); assertEquals(1 - 0.898018d, distance.apply("PENNSYLVANIA", "PENNCISYLVNIA"), 0.00001d); assertEquals(1 - 0.971428d, distance.apply("/opt/software1", "/opt/software2"), 0.00001d); assertEquals(1 - 0.941666d, distance.apply("aaabcd", "aaacdb"), 0.00001d); assertEquals(1 - 0.911111d, distance.apply("John Horn", "John Hopkins"), 0.00001d); 49

Noteable Markers

Number of occurrences found in the code: 9

org.apache.commons.text.ExtendedMessageFormat Line
--No comment-- 388
org.apache.commons.text.ExtendedMessageFormatTest Line
FAILING - currently sub-formats not supported 162
FAILING - currently sub-formats not supported 179
org.apache.commons.text.diff.StringsComparator Line
--No comment-- 219
--No comment-- 245
org.apache.commons.text.similarity.LevenshteinDetailedDistance Line
--No comment-- 160
--No comment-- 489
--No comment-- 499
org.apache.commons.text.similarity.LevenshteinDistance Line
--No comment-- 166