Stryker

url.js - Stryker report

File / Directory
Mutation score
# Killed
# Survived
# Timeout
# No coverage
# Runtime errors
# Transpile errors
Total detected
Total undetected
Total mutants
url.js
100.00 %
100.00 2 0 0 0 0 0 2 0 2
Expand all
function isUrl (text) 0{
  return 1text.match(/^(http|localhost|[0-9][0-9]?[0-9]?\.)/) !== null
}

module.exports = isUrl

# Mutator State Location Original Replacement
0 BlockStatement Killed 0 : 22 { ... } { }
1 BinaryOperator Killed 1 : 9 . ...) !== . ...) ===