getNumberOfMutations() public method

Returns the number of assignment instructions that mutated a variable
public getNumberOfMutations ( string $variable ) : integer
$variable string
return integer
Exemplo n.º 1
0
 /**
  * Returns the number of expected mutations for a variable
  *
  * @param string $variable
  * @return int
  */
 public function getExpectedMutations($variable)
 {
     if ($this->localContext) {
         return $this->localContext->getNumberOfMutations($variable);
     }
     return 0;
 }