@Override
        public String toString() {
            return String.format(
                "%-45s --> touched= %5d (%3.0f%%), neededInputs = %2d, enoughInputs = %5d (%3.0f%%), used = %5d (%3.0f%%) %s%s%s",
                "Rule.(" + name + ")",
                touched,      100.0 * ((double)touched/tests),
                neededInputs,
                enoughInputs, touched      == 0 ? 0.0 : 100.0 * ((double)enoughInputs/touched),
                used,         enoughInputs == 0 ? 0.0 : 100.0 * ((double) used /enoughInputs),
                touched      ==  0              ? "~~~"               : "",
                enoughInputs >   0 && used == 0 ? "<-- NEVER USED "   : "",
                enoughInputs > 100 && used == 0 ? ">> SEVERE CASE <<" : "");
        }
Run all the test_cases available.

@return true if all tests were successful.
analyzer/src/main/java/nl/basjes/parse/useragent/debug/UserAgentStringMatchMakerTester.java