 One method is called mutation testing which changes existing lines of code so that they contain faults.A simple example of this technique could be changing codice_1 to codice_2

Code mutation produces faults which are very similar to those unintentionally added by programmers.A refinement of code mutation is "Code Insertion Fault Injection" which adds code, rather than modifying existing code.