stringutils.java


current inspection = 2010-07-22 15:04:21 (id #4) base = 2010-07-16 16:14:15 (id #1)

Filter Options
History:
+ added
- dropped
U unchanged
Annotation Kind:
pre
presumption
post
unanalyzed
test


  • String filterHTML(String)

  • -/+ Kind Annotation Text Date
    U postinit'ed(return_value)2010-07-16 16:14:15
    U test_vectors: Inverse{null}, Addr_Set{null}2010-07-16 16:14:15

  • String filterNewlines(String)

  • -/+ Kind Annotation Text Date
    U postinit'ed(return_value)2010-07-16 16:14:15
    U test_vectors: Inverse{null}, Addr_Set{null}2010-07-16 16:14:15

  • void net.sourceforge.pebble.util.StringUtils()

  • -/+ Kind Annotation Text Date

  • net.sourceforge.pebble.util.StringUtils__static_init

  • -/+ Kind Annotation Text Date
    U postallowedSchemes == &new ArrayList(StringUtils__ static_init#2)2010-07-16 16:14:15
    U posthtmlEntities == &new HashMap(StringUtils__ static_init#1)2010-07-16 16:14:15
    U postinit'ed(BR_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_A_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_BLOCKQUOTE_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_B_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_EM_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_I_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_LI_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_OL_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_PRE_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_P_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_STRONG_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_SUB_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_SUP_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(CLOSING_UL_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_A_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_BLOCKQUOTE_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_B_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_EM_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_I_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_LI_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_OL_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_PRE_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_P_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_STRONG_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_SUB_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_SUP_TAG_PATTERN)2010-07-16 16:14:15
    U postinit'ed(OPENING_UL_TAG_PATTERN)2010-07-16 16:14:15
    U postnew ArrayList(StringUtils__static_init#2) num objects == 12010-07-16 16:14:15
    U postnew HashMap(StringUtils__static_init#1) num objects == 12010-07-16 16:14:15

  • String replace(String, Pattern, String)

  • -/+ Kind Annotation Text Date
    U prepattern != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:matcher(...)@461 != null2010-07-16 16:14:15
    U postinit'ed(return_value)2010-07-16 16:14:15

  • String stripScriptTags(String)

  • -/+ Kind Annotation Text Date
    U postinit'ed(return_value)2010-07-16 16:14:15
    U test_vectorhtml: Inverse{null}, Addr_Set{null}2010-07-16 16:14:15

  • String transformHTML(String)

  • -/+ Kind Annotation Text Date
    U postinit'ed(return_value)2010-07-16 16:14:15
    U test_vectorjava.lang.String:charAt(...)@357: {34}, {38}, {60}, {62}, {0..33, 35..37, 39..59, 61, 63..216-1}2010-07-16 16:14:15
    U test_vectors: Inverse{null}, Addr_Set{null}2010-07-16 16:14:15

  • String transformToHTMLSubset(String)

  • -/+ Kind Annotation Text Date
    U presumptionjava.lang.String:indexOf(...)@430 + java.lang.String:length(...)@432 in -231..232-12010-07-16 16:14:15
    U presumptionjava.lang.String:indexOf(...)@436 + java.lang.String:length(...)@438 in -231..232-12010-07-16 16:14:15
    U presumptionjava.lang.String:indexOf(...)@436 + java.lang.String:length(...)@439 in -231..232-12010-07-16 16:14:15
    U presumptionjava.util.regex.Matcher:replaceAll(...)@462 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@45 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@46 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@47 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@48 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@49 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@50 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@51 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@52 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@53 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@54 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@55 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@56 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@57 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@58 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@59 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@60 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@61 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@62 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@63 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@64 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@65 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@66 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@67 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@68 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@69 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@70 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:compile(...)@71 != null2010-07-16 16:14:15
    U presumptionjava.util.regex.Pattern:matcher(...)@420 != null2010-07-16 16:14:15
    U postinit'ed(return_value)2010-07-16 16:14:15
    U unanalyzedcall on java.lang.String:startsWith2010-07-16 16:14:15
    U unanalyzedcall on java.util.Collection:iterator2010-07-16 16:14:15
    U unanalyzedcall on java.util.regex.Matcher:replaceAll2010-07-16 16:14:15
    U unanalyzedcall on java.util.regex.Pattern:matcher2010-07-16 16:14:15
    U test_vectorjava.lang.String:indexOf(...)@430: {-231. .-1}, {0..232-1}2010-07-16 16:14:15
    U test_vectorjava.lang.String:indexOf(...)@436: {-231. .-1}, {0..232-1}2010-07-16 16:14:15
    U test_vectorjava.util.regex.Matcher:find(...)@425: {1}, {0}2010-07-16 16:14:15
    U test_vectors: Inverse{null}, Addr_Set{null}2010-07-16 16:14:15

  • String truncate(String)

  • -/+ Kind Annotation Text Date
    U postreturn_value != null2010-07-16 16:14:15
    U unanalyzedcall on java.lang.String:length2010-07-16 16:14:15
    U unanalyzedcall on java.lang.String:replaceAll2010-07-16 16:14:15
    U unanalyzedcall on java.lang.String:split2010-07-16 16:14:15
    U unanalyzedcall on java.lang.String:substring2010-07-16 16:14:15

  • String truncate(String, int)

  • -/+ Kind Annotation Text Date
    U presumptionwords.length@524 <= 232-12010-07-16 16:14:15
    U presumptionwords[i]@524 != null2010-07-16 16:14:15
    U postreturn_value != null2010-07-16 16:14:15
    U unanalyzedcall on java.lang.String:replaceAll2010-07-16 16:14:15
    U test_vectorjava.lang.String:length(...)@530: {0..20}, {21..232-1}2010-07-16 16:14:15

  • String unescapeHTMLEntities(String)

  • -/+ Kind Annotation Text Date
    U pre(soft) source != null2010-07-16 16:14:15
    U presumptionjava.util.Map:keySet(...)@559 != null2010-07-16 16:14:15
    U postreturn_value != null2010-07-16 16:14:15
    U test_vectorjava.util.Iterator:hasNext(...)@561: {1}, {0}2010-07-16 16:14:15

  • String validateUrl(String)

  • -/+ Kind Annotation Text Date
    U pre(soft) url != null2010-07-16 16:14:15
    U post(soft) return_value != null2010-07-16 16:14:15
    U postreturn_value == One-of{url, &""}2010-07-16 16:14:15
    U test_vectorjava.lang.String:startsWith(...)@573: {0}, {1}2010-07-16 16:14:15
    U test_vectorjava.util.Iterator:hasNext(...)@572: {1}, {0}2010-07-16 16:14:15