parameters: (code)
return_statement: return ' ' not in code and ('%20' in code or code.count('%') > 3)
docstring: Detects if a scriptlet is urlencoded.
docstring_summary: Detects if a scriptlet is urlencoded.
docstring_tokens: Detects if a scriptlet is urlencoded .
function: def detect(code):
      """Detects if a scriptlet is urlencoded."""
      # the fact that script doesn't contain any space, but has %20 instead
      # should be sufficient check for now.
      return ' ' not in code and ('%20' in code or code.count('%') > 3)
function_tokens: def detect ( code ) : # the fact that script doesn't contain any space, but has %20 instead # should be sufficient check for now. return ' ' not in code and ( '%20' in code or code . count ( '%' ) > 3 )