Produces one mutant per deletable statement, removing each x <- expr
assignment or standalone f(...) call from the source. Surviving mutants
reveal untested side effects or dead assignments.
Details
Function definitions (x <- function(...) { ... }) are left untouched to
avoid producing structurally broken mutants.
Examples
delete_statement()
#> Mutator: <statement> →
#> Query: [(program (binary_operator operator: _ @op (#match? @op "^(<-|<<-|=)$")) @stmt) (braced_expression (binary_operator operator: _ @op (#match? @op "^(<-|<<-|=)$")) @stmt) (program (call) @stmt) (braced_expression (call) @stmt)]