From 5ba944cbfa8511188440034369985155a804dcd0 Mon Sep 17 00:00:00 2001 From: Freddie Ridell Date: Wed, 25 Mar 2026 15:38:08 +0000 Subject: [PATCH] add lang go --- Cargo.lock | 13 + corpus/go/add-assign/3428a8724040.go | 1 + .../go/add-assign/3428a8724040.mutation.json | 36 +++ corpus/go/add-assign/368b05e637cd.go | 1 + .../go/add-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/add-assign/38896b113109.go | 1 + .../go/add-assign/38896b113109.mutation.json | 36 +++ corpus/go/add-assign/5b0f1f78a373.go | 1 + .../go/add-assign/5b0f1f78a373.mutation.json | 36 +++ corpus/go/add-assign/5f447bc4df98.go | 1 + .../go/add-assign/5f447bc4df98.mutation.json | 36 +++ corpus/go/add-assign/base.go | 1 + corpus/go/add-assign/ef83feb43f1d.go | 1 + .../go/add-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/array-decl-inline/06cbcbd0d5ee.go | 1 + .../06cbcbd0d5ee.mutation.json | 36 +++ corpus/go/array-decl-inline/1c38e3b53a42.go | 1 + .../1c38e3b53a42.mutation.json | 36 +++ corpus/go/array-decl-inline/1fcb4b2549d9.go | 1 + .../1fcb4b2549d9.mutation.json | 36 +++ corpus/go/array-decl-inline/3500cfecfb14.go | 1 + .../3500cfecfb14.mutation.json | 36 +++ corpus/go/array-decl-inline/45e37dfcf594.go | 1 + .../45e37dfcf594.mutation.json | 36 +++ corpus/go/array-decl-inline/4b71501e18a0.go | 1 + .../4b71501e18a0.mutation.json | 36 +++ corpus/go/array-decl-inline/59e0f173d795.go | 1 + .../59e0f173d795.mutation.json | 36 +++ corpus/go/array-decl-inline/840ffae4533b.go | 1 + .../840ffae4533b.mutation.json | 36 +++ corpus/go/array-decl-inline/8625e52a59da.go | 1 + .../8625e52a59da.mutation.json | 36 +++ corpus/go/array-decl-inline/a27220f5c3b3.go | 1 + .../a27220f5c3b3.mutation.json | 36 +++ corpus/go/array-decl-inline/base.go | 1 + corpus/go/bin-op-add/0e2bbde5474c.go | 1 + .../go/bin-op-add/0e2bbde5474c.mutation.json | 36 +++ corpus/go/bin-op-add/90a231cec219.go | 1 + .../go/bin-op-add/90a231cec219.mutation.json | 36 +++ corpus/go/bin-op-add/base.go | 1 + corpus/go/bin-op-and/0d65eb86c761.go | 1 + .../go/bin-op-and/0d65eb86c761.mutation.json | 36 +++ corpus/go/bin-op-and/base.go | 1 + corpus/go/bin-op-bit-and/501fe5366c20.go | 1 + .../bin-op-bit-and/501fe5366c20.mutation.json | 36 +++ corpus/go/bin-op-bit-and/bace9b2f33bc.go | 1 + .../bin-op-bit-and/bace9b2f33bc.mutation.json | 36 +++ corpus/go/bin-op-bit-and/base.go | 1 + corpus/go/bin-op-bit-or/501fe5366c20.go | 1 + .../bin-op-bit-or/501fe5366c20.mutation.json | 36 +++ corpus/go/bin-op-bit-or/97d4fbb8dd33.go | 1 + .../bin-op-bit-or/97d4fbb8dd33.mutation.json | 36 +++ corpus/go/bin-op-bit-or/base.go | 1 + corpus/go/bin-op-bit-xor/97d4fbb8dd33.go | 1 + .../bin-op-bit-xor/97d4fbb8dd33.mutation.json | 36 +++ corpus/go/bin-op-bit-xor/bace9b2f33bc.go | 1 + .../bin-op-bit-xor/bace9b2f33bc.mutation.json | 36 +++ corpus/go/bin-op-bit-xor/base.go | 1 + corpus/go/bin-op-div/0e2bbde5474c.go | 1 + .../go/bin-op-div/0e2bbde5474c.mutation.json | 36 +++ corpus/go/bin-op-div/90a231cec219.go | 1 + .../go/bin-op-div/90a231cec219.mutation.json | 36 +++ corpus/go/bin-op-div/base.go | 1 + corpus/go/bin-op-eq/base.go | 1 + corpus/go/bin-op-eq/bf108f3c7a20.go | 1 + .../go/bin-op-eq/bf108f3c7a20.mutation.json | 36 +++ corpus/go/bin-op-gt/90d31a377562.go | 1 + .../go/bin-op-gt/90d31a377562.mutation.json | 36 +++ corpus/go/bin-op-gt/base.go | 1 + corpus/go/bin-op-gt/c978569f22e8.go | 1 + .../go/bin-op-gt/c978569f22e8.mutation.json | 36 +++ corpus/go/bin-op-gte/1d507c4db9c8.go | 1 + .../go/bin-op-gte/1d507c4db9c8.mutation.json | 36 +++ corpus/go/bin-op-gte/74853680d8da.go | 1 + .../go/bin-op-gte/74853680d8da.mutation.json | 36 +++ corpus/go/bin-op-gte/base.go | 1 + corpus/go/bin-op-lt/90d31a377562.go | 1 + .../go/bin-op-lt/90d31a377562.mutation.json | 36 +++ corpus/go/bin-op-lt/base.go | 1 + corpus/go/bin-op-lt/c978569f22e8.go | 1 + .../go/bin-op-lt/c978569f22e8.mutation.json | 36 +++ corpus/go/bin-op-lte/1d507c4db9c8.go | 1 + .../go/bin-op-lte/1d507c4db9c8.mutation.json | 36 +++ corpus/go/bin-op-lte/74853680d8da.go | 1 + .../go/bin-op-lte/74853680d8da.mutation.json | 36 +++ corpus/go/bin-op-lte/base.go | 1 + corpus/go/bin-op-mul/0f875090113f.go | 1 + .../go/bin-op-mul/0f875090113f.mutation.json | 36 +++ corpus/go/bin-op-mul/base.go | 1 + corpus/go/bin-op-mul/c79941df5e4c.go | 1 + .../go/bin-op-mul/c79941df5e4c.mutation.json | 36 +++ corpus/go/bin-op-ne/base.go | 1 + corpus/go/bin-op-ne/bd0ec9a335fb.go | 1 + .../go/bin-op-ne/bd0ec9a335fb.mutation.json | 36 +++ corpus/go/bin-op-or/2030a7d5e471.go | 1 + .../go/bin-op-or/2030a7d5e471.mutation.json | 36 +++ corpus/go/bin-op-or/base.go | 1 + corpus/go/bin-op-rem/90a231cec219.go | 1 + .../go/bin-op-rem/90a231cec219.mutation.json | 36 +++ corpus/go/bin-op-rem/base.go | 1 + corpus/go/bin-op-rem/c79941df5e4c.go | 1 + .../go/bin-op-rem/c79941df5e4c.mutation.json | 36 +++ corpus/go/bin-op-shl/b4d13ce9a1dd.go | 1 + .../go/bin-op-shl/b4d13ce9a1dd.mutation.json | 36 +++ corpus/go/bin-op-shl/base.go | 1 + corpus/go/bin-op-shr/42d5c8ee6db8.go | 1 + .../go/bin-op-shr/42d5c8ee6db8.mutation.json | 36 +++ corpus/go/bin-op-shr/base.go | 1 + corpus/go/bin-op-sub/0f875090113f.go | 1 + .../go/bin-op-sub/0f875090113f.mutation.json | 36 +++ corpus/go/bin-op-sub/base.go | 1 + corpus/go/bin-op-sub/c79941df5e4c.go | 1 + .../go/bin-op-sub/c79941df5e4c.mutation.json | 36 +++ corpus/go/bit-and-assign/2ff664c55ac8.go | 1 + .../bit-and-assign/2ff664c55ac8.mutation.json | 36 +++ corpus/go/bit-and-assign/368b05e637cd.go | 1 + .../bit-and-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/bit-and-assign/81f132009be9.go | 1 + .../bit-and-assign/81f132009be9.mutation.json | 36 +++ corpus/go/bit-and-assign/8de8146a2689.go | 1 + .../bit-and-assign/8de8146a2689.mutation.json | 36 +++ corpus/go/bit-and-assign/base.go | 1 + corpus/go/bit-and-assign/df1e86672dd8.go | 1 + .../bit-and-assign/df1e86672dd8.mutation.json | 36 +++ corpus/go/bit-and-assign/ef83feb43f1d.go | 1 + .../bit-and-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/bit-or-assign/368b05e637cd.go | 1 + .../bit-or-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/bit-or-assign/81f132009be9.go | 1 + .../bit-or-assign/81f132009be9.mutation.json | 36 +++ corpus/go/bit-or-assign/9f86fd02ecf9.go | 1 + .../bit-or-assign/9f86fd02ecf9.mutation.json | 36 +++ corpus/go/bit-or-assign/base.go | 1 + corpus/go/bit-or-assign/c7bb31d196f4.go | 1 + .../bit-or-assign/c7bb31d196f4.mutation.json | 36 +++ corpus/go/bit-or-assign/df1e86672dd8.go | 1 + .../bit-or-assign/df1e86672dd8.mutation.json | 36 +++ corpus/go/bit-or-assign/ef83feb43f1d.go | 1 + .../bit-or-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/bit-xor-assign/0755350b98f8.go | 1 + .../bit-xor-assign/0755350b98f8.mutation.json | 36 +++ corpus/go/bit-xor-assign/2bc9bebf112f.go | 1 + .../bit-xor-assign/2bc9bebf112f.mutation.json | 36 +++ corpus/go/bit-xor-assign/368b05e637cd.go | 1 + .../bit-xor-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/bit-xor-assign/80e86eac68f8.go | 1 + .../bit-xor-assign/80e86eac68f8.mutation.json | 36 +++ corpus/go/bit-xor-assign/base.go | 1 + corpus/go/bit-xor-assign/df1e86672dd8.go | 1 + .../bit-xor-assign/df1e86672dd8.mutation.json | 36 +++ corpus/go/bit-xor-assign/ef83feb43f1d.go | 1 + .../bit-xor-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/condition-for/16f1a7719c28.go | 1 + .../condition-for/16f1a7719c28.mutation.json | 34 +++ corpus/go/condition-for/1bd9538edf01.go | 1 + .../condition-for/1bd9538edf01.mutation.json | 36 +++ corpus/go/condition-for/57067bfb3b8e.go | 1 + .../condition-for/57067bfb3b8e.mutation.json | 36 +++ corpus/go/condition-for/6251ae455e2f.go | 1 + .../condition-for/6251ae455e2f.mutation.json | 36 +++ corpus/go/condition-for/65f840879ac4.go | 1 + .../condition-for/65f840879ac4.mutation.json | 36 +++ corpus/go/condition-for/99eb35eb171f.go | 1 + .../condition-for/99eb35eb171f.mutation.json | 36 +++ corpus/go/condition-for/ac8bacd5c6e4.go | 1 + .../condition-for/ac8bacd5c6e4.mutation.json | 36 +++ corpus/go/condition-for/ad9e5288dd4a.go | 1 + .../condition-for/ad9e5288dd4a.mutation.json | 34 +++ corpus/go/condition-for/b4ff5b0e79dd.go | 1 + .../condition-for/b4ff5b0e79dd.mutation.json | 34 +++ corpus/go/condition-for/base.go | 1 + corpus/go/condition-for/eda2763060cf.go | 1 + .../condition-for/eda2763060cf.mutation.json | 36 +++ corpus/go/condition-for/ef83feb43f1d.go | 1 + .../condition-for/ef83feb43f1d.mutation.json | 34 +++ corpus/go/condition-for/f3cdb37ba5f9.go | 1 + .../condition-for/f3cdb37ba5f9.mutation.json | 36 +++ corpus/go/condition/39b78ac26259.go | 1 + .../go/condition/39b78ac26259.mutation.json | 34 +++ corpus/go/condition/4ca835df9397.go | 1 + .../go/condition/4ca835df9397.mutation.json | 34 +++ corpus/go/condition/57f2409f395b.go | 1 + .../go/condition/57f2409f395b.mutation.json | 36 +++ corpus/go/condition/5aa7ab213410.go | 1 + .../go/condition/5aa7ab213410.mutation.json | 36 +++ corpus/go/condition/68c326a070ef.go | 1 + .../go/condition/68c326a070ef.mutation.json | 34 +++ corpus/go/condition/a034a88076a8.go | 1 + .../go/condition/a034a88076a8.mutation.json | 36 +++ corpus/go/condition/base.go | 1 + corpus/go/condition/d0633b0833c6.go | 1 + .../go/condition/d0633b0833c6.mutation.json | 36 +++ corpus/go/condition/ef6b6711f144.go | 1 + .../go/condition/ef6b6711f144.mutation.json | 36 +++ corpus/go/condition/ef83feb43f1d.go | 1 + .../go/condition/ef83feb43f1d.mutation.json | 34 +++ .../go/dict-decl-bool-values/3fff18f57fc0.go | 1 + .../3fff18f57fc0.mutation.json | 36 +++ .../go/dict-decl-bool-values/423d7ba7d5ea.go | 1 + .../423d7ba7d5ea.mutation.json | 36 +++ .../go/dict-decl-bool-values/5a8aeaa3cb65.go | 1 + .../5a8aeaa3cb65.mutation.json | 34 +++ .../go/dict-decl-bool-values/b4083f4f83c4.go | 1 + .../b4083f4f83c4.mutation.json | 36 +++ corpus/go/dict-decl-bool-values/base.go | 1 + .../go/dict-decl-bool-values/d39c04316bcd.go | 1 + .../d39c04316bcd.mutation.json | 36 +++ .../03e4ed9e1e23.go | 1 + .../03e4ed9e1e23.mutation.json | 36 +++ .../5452907f3fa3.go | 1 + .../5452907f3fa3.mutation.json | 36 +++ .../6c6e3b761653.go | 1 + .../6c6e3b761653.mutation.json | 36 +++ .../74302252ca96.go | 1 + .../74302252ca96.mutation.json | 34 +++ .../b255770892f5.go | 1 + .../b255770892f5.mutation.json | 36 +++ .../go/dict-decl-empty-string-values/base.go | 1 + .../c6de2f70290f.go | 1 + .../c6de2f70290f.mutation.json | 36 +++ .../c8e02edada12.go | 1 + .../c8e02edada12.mutation.json | 36 +++ .../daba102bd6f7.go | 1 + .../daba102bd6f7.mutation.json | 36 +++ .../fffac47b9566.go | 1 + .../fffac47b9566.mutation.json | 36 +++ .../go/dict-decl-float-keys/281a259cffb4.go | 1 + .../281a259cffb4.mutation.json | 36 +++ .../go/dict-decl-float-keys/3bb0a8bd1394.go | 1 + .../3bb0a8bd1394.mutation.json | 36 +++ .../go/dict-decl-float-keys/4b17988c3c35.go | 1 + .../4b17988c3c35.mutation.json | 36 +++ .../go/dict-decl-float-keys/629739a3a17b.go | 1 + .../629739a3a17b.mutation.json | 34 +++ .../go/dict-decl-float-keys/a9964eacdc97.go | 1 + .../a9964eacdc97.mutation.json | 36 +++ .../go/dict-decl-float-keys/b2a6e150b046.go | 1 + .../b2a6e150b046.mutation.json | 36 +++ corpus/go/dict-decl-float-keys/base.go | 1 + .../go/dict-decl-float-keys/bcac507fa07a.go | 1 + .../bcac507fa07a.mutation.json | 36 +++ .../go/dict-decl-float-keys/bdfc86e34b1b.go | 1 + .../bdfc86e34b1b.mutation.json | 36 +++ .../go/dict-decl-float-keys/ea61d31777c4.go | 1 + .../ea61d31777c4.mutation.json | 36 +++ corpus/go/dict-decl-in-func/085898fe2b68.go | 1 + .../085898fe2b68.mutation.json | 34 +++ corpus/go/dict-decl-in-func/6c39ba2dc2fb.go | 1 + .../6c39ba2dc2fb.mutation.json | 34 +++ corpus/go/dict-decl-in-func/9e649c48881e.go | 1 + .../9e649c48881e.mutation.json | 36 +++ corpus/go/dict-decl-in-func/a1c6b8a3f169.go | 1 + .../a1c6b8a3f169.mutation.json | 36 +++ corpus/go/dict-decl-in-func/base.go | 1 + corpus/go/dict-decl-int-keys/17a4479935cb.go | 1 + .../17a4479935cb.mutation.json | 36 +++ corpus/go/dict-decl-int-keys/5678231eb71a.go | 1 + .../5678231eb71a.mutation.json | 36 +++ corpus/go/dict-decl-int-keys/5b2b23cf141d.go | 1 + .../5b2b23cf141d.mutation.json | 36 +++ corpus/go/dict-decl-int-keys/6a6ce1f14581.go | 1 + .../6a6ce1f14581.mutation.json | 36 +++ corpus/go/dict-decl-int-keys/74302252ca96.go | 1 + .../74302252ca96.mutation.json | 34 +++ corpus/go/dict-decl-int-keys/a53b2b3e0b0a.go | 1 + .../a53b2b3e0b0a.mutation.json | 36 +++ corpus/go/dict-decl-int-keys/a73ac0033de5.go | 1 + .../a73ac0033de5.mutation.json | 36 +++ corpus/go/dict-decl-int-keys/a824d0519ee3.go | 1 + .../a824d0519ee3.mutation.json | 36 +++ corpus/go/dict-decl-int-keys/base.go | 1 + corpus/go/dict-decl-int-keys/d08c5db9aa8d.go | 1 + .../d08c5db9aa8d.mutation.json | 36 +++ .../go/dict-decl-multi-entry/0cac1654a664.go | 1 + .../0cac1654a664.mutation.json | 36 +++ .../go/dict-decl-multi-entry/1f3da1bb6d73.go | 1 + .../1f3da1bb6d73.mutation.json | 36 +++ .../go/dict-decl-multi-entry/20e855598274.go | 1 + .../20e855598274.mutation.json | 36 +++ .../go/dict-decl-multi-entry/299e11e4ae44.go | 1 + .../299e11e4ae44.mutation.json | 36 +++ .../go/dict-decl-multi-entry/33fe1fb7ec5b.go | 1 + .../33fe1fb7ec5b.mutation.json | 36 +++ .../go/dict-decl-multi-entry/49a85e5fdbe4.go | 1 + .../49a85e5fdbe4.mutation.json | 36 +++ .../go/dict-decl-multi-entry/69e536600531.go | 1 + .../69e536600531.mutation.json | 36 +++ .../go/dict-decl-multi-entry/7c87829e7c2d.go | 1 + .../7c87829e7c2d.mutation.json | 36 +++ .../go/dict-decl-multi-entry/7cd47306f899.go | 1 + .../7cd47306f899.mutation.json | 34 +++ .../go/dict-decl-multi-entry/95c5f75afad8.go | 1 + .../95c5f75afad8.mutation.json | 36 +++ corpus/go/dict-decl-multi-entry/base.go | 1 + .../go/dict-decl-multi-entry/cdd1eb92dc4a.go | 1 + .../cdd1eb92dc4a.mutation.json | 36 +++ .../go/dict-decl-multi-entry/e33594d810a3.go | 1 + .../e33594d810a3.mutation.json | 36 +++ .../go/dict-decl-multi-entry/fcd7c589275a.go | 1 + .../fcd7c589275a.mutation.json | 36 +++ corpus/go/dict-decl-nested/273bc6bd6432.go | 1 + .../273bc6bd6432.mutation.json | 36 +++ corpus/go/dict-decl-nested/3b93137f9656.go | 1 + .../3b93137f9656.mutation.json | 36 +++ corpus/go/dict-decl-nested/6b573731fe3a.go | 1 + .../6b573731fe3a.mutation.json | 36 +++ corpus/go/dict-decl-nested/829fc9a21659.go | 1 + .../829fc9a21659.mutation.json | 34 +++ corpus/go/dict-decl-nested/base.go | 1 + corpus/go/dict-decl-nested/deebf0ae0232.go | 1 + .../deebf0ae0232.mutation.json | 34 +++ corpus/go/dict-decl-nested/ec4da5a9fd1e.go | 1 + .../ec4da5a9fd1e.mutation.json | 36 +++ corpus/go/dict-decl-nested/f76e9ed60876.go | 1 + .../f76e9ed60876.mutation.json | 36 +++ .../go/dict-decl-slice-values/03d8bdc3d0f8.go | 1 + .../03d8bdc3d0f8.mutation.json | 36 +++ .../go/dict-decl-slice-values/1b934886be07.go | 1 + .../1b934886be07.mutation.json | 34 +++ .../go/dict-decl-slice-values/1d3c1ff6029c.go | 1 + .../1d3c1ff6029c.mutation.json | 36 +++ .../go/dict-decl-slice-values/2132e005ac10.go | 1 + .../2132e005ac10.mutation.json | 36 +++ .../go/dict-decl-slice-values/6468deb0e354.go | 1 + .../6468deb0e354.mutation.json | 36 +++ .../go/dict-decl-slice-values/6ec482e7f8d4.go | 1 + .../6ec482e7f8d4.mutation.json | 36 +++ .../go/dict-decl-slice-values/addfd59d3a38.go | 1 + .../addfd59d3a38.mutation.json | 36 +++ corpus/go/dict-decl-slice-values/base.go | 1 + .../go/dict-decl-slice-values/d4ab4c4ff8d4.go | 1 + .../d4ab4c4ff8d4.mutation.json | 36 +++ .../go/dict-decl-slice-values/f1378e3672a2.go | 1 + .../f1378e3672a2.mutation.json | 36 +++ .../dict-decl-struct-values/280491f8be2d.go | 1 + .../280491f8be2d.mutation.json | 36 +++ .../dict-decl-struct-values/2f5cfdd535e0.go | 1 + .../2f5cfdd535e0.mutation.json | 36 +++ .../dict-decl-struct-values/3bafe3dfb4bb.go | 1 + .../3bafe3dfb4bb.mutation.json | 34 +++ corpus/go/dict-decl-struct-values/base.go | 1 + .../dict-decl-struct-values/cf0c3d0ea71c.go | 1 + .../cf0c3d0ea71c.mutation.json | 36 +++ .../dict-decl-struct-values/de14ea3cfb27.go | 1 + .../de14ea3cfb27.mutation.json | 36 +++ corpus/go/dict-decl/366689174450.go | 1 + .../go/dict-decl/366689174450.mutation.json | 36 +++ corpus/go/dict-decl/75887565fdc4.go | 1 + .../go/dict-decl/75887565fdc4.mutation.json | 36 +++ corpus/go/dict-decl/7cd47306f899.go | 1 + .../go/dict-decl/7cd47306f899.mutation.json | 34 +++ corpus/go/dict-decl/base.go | 1 + corpus/go/dict-decl/d11f53bf79d6.go | 1 + .../go/dict-decl/d11f53bf79d6.mutation.json | 36 +++ corpus/go/dict-decl/d76d31351860.go | 1 + .../go/dict-decl/d76d31351860.mutation.json | 36 +++ corpus/go/div-assign/368b05e637cd.go | 1 + .../go/div-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/div-assign/75e7c11b5c28.go | 1 + .../go/div-assign/75e7c11b5c28.mutation.json | 36 +++ corpus/go/div-assign/9fc5f320c3ba.go | 1 + .../go/div-assign/9fc5f320c3ba.mutation.json | 36 +++ corpus/go/div-assign/base.go | 1 + corpus/go/div-assign/e32255ef3611.go | 1 + .../go/div-assign/e32255ef3611.mutation.json | 36 +++ corpus/go/div-assign/ea8a0c11ce07.go | 1 + .../go/div-assign/ea8a0c11ce07.mutation.json | 36 +++ corpus/go/div-assign/ef83feb43f1d.go | 1 + .../go/div-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/literal-bool-false/2c4b31188bc4.go | 1 + .../2c4b31188bc4.mutation.json | 36 +++ corpus/go/literal-bool-false/base.go | 1 + corpus/go/literal-bool-true/05a4dd9a8d22.go | 1 + .../05a4dd9a8d22.mutation.json | 36 +++ corpus/go/literal-bool-true/base.go | 1 + corpus/go/literal-number/23611a055609.go | 1 + .../literal-number/23611a055609.mutation.json | 36 +++ corpus/go/literal-number/43cf9331f936.go | 1 + .../literal-number/43cf9331f936.mutation.json | 36 +++ corpus/go/literal-number/base.go | 1 + corpus/go/literal-number/c263de894e10.go | 1 + .../literal-number/c263de894e10.mutation.json | 36 +++ .../go/literal-string-empty/2a7a636265b7.go | 1 + .../2a7a636265b7.mutation.json | 36 +++ corpus/go/literal-string-empty/base.go | 1 + corpus/go/literal-string/1b44a70a8c05.go | 1 + .../literal-string/1b44a70a8c05.mutation.json | 36 +++ corpus/go/literal-string/base.go | 1 + corpus/go/mul-assign/368b05e637cd.go | 1 + .../go/mul-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/mul-assign/6953e07ae0f6.go | 1 + .../go/mul-assign/6953e07ae0f6.mutation.json | 36 +++ corpus/go/mul-assign/75e7c11b5c28.go | 1 + .../go/mul-assign/75e7c11b5c28.mutation.json | 36 +++ corpus/go/mul-assign/81b1a7ffdb85.go | 1 + .../go/mul-assign/81b1a7ffdb85.mutation.json | 36 +++ corpus/go/mul-assign/base.go | 1 + corpus/go/mul-assign/ea8a0c11ce07.go | 1 + .../go/mul-assign/ea8a0c11ce07.mutation.json | 36 +++ corpus/go/mul-assign/ef83feb43f1d.go | 1 + .../go/mul-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/normal-assign/1457d662132f.go | 1 + .../normal-assign/1457d662132f.mutation.json | 36 +++ corpus/go/normal-assign/3428a8724040.go | 1 + .../normal-assign/3428a8724040.mutation.json | 36 +++ corpus/go/normal-assign/368b05e637cd.go | 1 + .../normal-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/normal-assign/38896b113109.go | 1 + .../normal-assign/38896b113109.mutation.json | 36 +++ corpus/go/normal-assign/base.go | 1 + corpus/go/normal-assign/cc72934d5c22.go | 1 + .../normal-assign/cc72934d5c22.mutation.json | 36 +++ corpus/go/normal-assign/ef83feb43f1d.go | 1 + .../normal-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/rem-assign/368b05e637cd.go | 1 + .../go/rem-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/rem-assign/3f51ecfaa1c0.go | 1 + .../go/rem-assign/3f51ecfaa1c0.mutation.json | 36 +++ corpus/go/rem-assign/75e7c11b5c28.go | 1 + .../go/rem-assign/75e7c11b5c28.mutation.json | 36 +++ corpus/go/rem-assign/931c38b79e71.go | 1 + .../go/rem-assign/931c38b79e71.mutation.json | 36 +++ corpus/go/rem-assign/base.go | 1 + corpus/go/rem-assign/cf5e1fe94288.go | 1 + .../go/rem-assign/cf5e1fe94288.mutation.json | 36 +++ corpus/go/rem-assign/ef83feb43f1d.go | 1 + .../go/rem-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/shl-assign/2923381dc5e6.go | 1 + .../go/shl-assign/2923381dc5e6.mutation.json | 36 +++ corpus/go/shl-assign/368b05e637cd.go | 1 + .../go/shl-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/shl-assign/88607a6c761d.go | 1 + .../go/shl-assign/88607a6c761d.mutation.json | 36 +++ corpus/go/shl-assign/9de5ad07cee4.go | 1 + .../go/shl-assign/9de5ad07cee4.mutation.json | 36 +++ corpus/go/shl-assign/base.go | 1 + corpus/go/shl-assign/ef83feb43f1d.go | 1 + .../go/shl-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/shl-assign/f6d47966aa63.go | 1 + .../go/shl-assign/f6d47966aa63.mutation.json | 36 +++ corpus/go/shr-assign/2923381dc5e6.go | 1 + .../go/shr-assign/2923381dc5e6.mutation.json | 36 +++ corpus/go/shr-assign/368b05e637cd.go | 1 + .../go/shr-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/shr-assign/base.go | 1 + corpus/go/shr-assign/d501de7ffa5c.go | 1 + .../go/shr-assign/d501de7ffa5c.mutation.json | 36 +++ corpus/go/shr-assign/ef83feb43f1d.go | 1 + .../go/shr-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/shr-assign/f6d47966aa63.go | 1 + .../go/shr-assign/f6d47966aa63.mutation.json | 36 +++ corpus/go/shr-assign/fb7e3cae442b.go | 1 + .../go/shr-assign/fb7e3cae442b.mutation.json | 36 +++ corpus/go/statement-block/base.go | 1 + corpus/go/statement-block/ef83feb43f1d.go | 1 + .../ef83feb43f1d.mutation.json | 34 +++ corpus/go/sub-assign/3428a8724040.go | 1 + .../go/sub-assign/3428a8724040.mutation.json | 36 +++ corpus/go/sub-assign/368b05e637cd.go | 1 + .../go/sub-assign/368b05e637cd.mutation.json | 36 +++ corpus/go/sub-assign/38896b113109.go | 1 + .../go/sub-assign/38896b113109.mutation.json | 36 +++ corpus/go/sub-assign/9acebb991a9b.go | 1 + .../go/sub-assign/9acebb991a9b.mutation.json | 36 +++ corpus/go/sub-assign/b5e00882ab4e.go | 1 + .../go/sub-assign/b5e00882ab4e.mutation.json | 36 +++ corpus/go/sub-assign/base.go | 1 + corpus/go/sub-assign/ef83feb43f1d.go | 1 + .../go/sub-assign/ef83feb43f1d.mutation.json | 34 +++ corpus/go/switch-case/1a0d8959e8c5.go | 1 + .../go/switch-case/1a0d8959e8c5.mutation.json | 36 +++ corpus/go/switch-case/750b150b1952.go | 1 + .../go/switch-case/750b150b1952.mutation.json | 36 +++ corpus/go/switch-case/base.go | 1 + corpus/go/switch-case/cc1c8249759b.go | 1 + .../go/switch-case/cc1c8249759b.mutation.json | 36 +++ corpus/go/switch-case/ef83feb43f1d.go | 1 + .../go/switch-case/ef83feb43f1d.mutation.json | 34 +++ corpus/go/switch-case/efd4dcb6b51c.go | 1 + .../go/switch-case/efd4dcb6b51c.mutation.json | 34 +++ corpus/go/unary-not/b521162ee81d.go | 1 + .../go/unary-not/b521162ee81d.mutation.json | 34 +++ corpus/go/unary-not/base.go | 1 + corpus/go/unary-not/ef83feb43f1d.go | 1 + .../go/unary-not/ef83feb43f1d.mutation.json | 34 +++ crates/bough-cli/src/render.rs | 3 + crates/bough-cli/src/show_single_mutation.rs | 1 + crates/bough-core/Cargo.toml | 1 + crates/bough-core/src/language/go.rs | 285 ++++++++++++++++++ crates/bough-core/src/language/mod.rs | 3 + crates/bough-core/src/lib.rs | 6 + crates/bough-corpus-tests/build.rs | 2 + crates/bough-docs-cli/Cargo.toml | 2 +- 493 files changed, 8322 insertions(+), 1 deletion(-) create mode 100644 corpus/go/add-assign/3428a8724040.go create mode 100644 corpus/go/add-assign/3428a8724040.mutation.json create mode 100644 corpus/go/add-assign/368b05e637cd.go create mode 100644 corpus/go/add-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/add-assign/38896b113109.go create mode 100644 corpus/go/add-assign/38896b113109.mutation.json create mode 100644 corpus/go/add-assign/5b0f1f78a373.go create mode 100644 corpus/go/add-assign/5b0f1f78a373.mutation.json create mode 100644 corpus/go/add-assign/5f447bc4df98.go create mode 100644 corpus/go/add-assign/5f447bc4df98.mutation.json create mode 100644 corpus/go/add-assign/base.go create mode 100644 corpus/go/add-assign/ef83feb43f1d.go create mode 100644 corpus/go/add-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/array-decl-inline/06cbcbd0d5ee.go create mode 100644 corpus/go/array-decl-inline/06cbcbd0d5ee.mutation.json create mode 100644 corpus/go/array-decl-inline/1c38e3b53a42.go create mode 100644 corpus/go/array-decl-inline/1c38e3b53a42.mutation.json create mode 100644 corpus/go/array-decl-inline/1fcb4b2549d9.go create mode 100644 corpus/go/array-decl-inline/1fcb4b2549d9.mutation.json create mode 100644 corpus/go/array-decl-inline/3500cfecfb14.go create mode 100644 corpus/go/array-decl-inline/3500cfecfb14.mutation.json create mode 100644 corpus/go/array-decl-inline/45e37dfcf594.go create mode 100644 corpus/go/array-decl-inline/45e37dfcf594.mutation.json create mode 100644 corpus/go/array-decl-inline/4b71501e18a0.go create mode 100644 corpus/go/array-decl-inline/4b71501e18a0.mutation.json create mode 100644 corpus/go/array-decl-inline/59e0f173d795.go create mode 100644 corpus/go/array-decl-inline/59e0f173d795.mutation.json create mode 100644 corpus/go/array-decl-inline/840ffae4533b.go create mode 100644 corpus/go/array-decl-inline/840ffae4533b.mutation.json create mode 100644 corpus/go/array-decl-inline/8625e52a59da.go create mode 100644 corpus/go/array-decl-inline/8625e52a59da.mutation.json create mode 100644 corpus/go/array-decl-inline/a27220f5c3b3.go create mode 100644 corpus/go/array-decl-inline/a27220f5c3b3.mutation.json create mode 100644 corpus/go/array-decl-inline/base.go create mode 100644 corpus/go/bin-op-add/0e2bbde5474c.go create mode 100644 corpus/go/bin-op-add/0e2bbde5474c.mutation.json create mode 100644 corpus/go/bin-op-add/90a231cec219.go create mode 100644 corpus/go/bin-op-add/90a231cec219.mutation.json create mode 100644 corpus/go/bin-op-add/base.go create mode 100644 corpus/go/bin-op-and/0d65eb86c761.go create mode 100644 corpus/go/bin-op-and/0d65eb86c761.mutation.json create mode 100644 corpus/go/bin-op-and/base.go create mode 100644 corpus/go/bin-op-bit-and/501fe5366c20.go create mode 100644 corpus/go/bin-op-bit-and/501fe5366c20.mutation.json create mode 100644 corpus/go/bin-op-bit-and/bace9b2f33bc.go create mode 100644 corpus/go/bin-op-bit-and/bace9b2f33bc.mutation.json create mode 100644 corpus/go/bin-op-bit-and/base.go create mode 100644 corpus/go/bin-op-bit-or/501fe5366c20.go create mode 100644 corpus/go/bin-op-bit-or/501fe5366c20.mutation.json create mode 100644 corpus/go/bin-op-bit-or/97d4fbb8dd33.go create mode 100644 corpus/go/bin-op-bit-or/97d4fbb8dd33.mutation.json create mode 100644 corpus/go/bin-op-bit-or/base.go create mode 100644 corpus/go/bin-op-bit-xor/97d4fbb8dd33.go create mode 100644 corpus/go/bin-op-bit-xor/97d4fbb8dd33.mutation.json create mode 100644 corpus/go/bin-op-bit-xor/bace9b2f33bc.go create mode 100644 corpus/go/bin-op-bit-xor/bace9b2f33bc.mutation.json create mode 100644 corpus/go/bin-op-bit-xor/base.go create mode 100644 corpus/go/bin-op-div/0e2bbde5474c.go create mode 100644 corpus/go/bin-op-div/0e2bbde5474c.mutation.json create mode 100644 corpus/go/bin-op-div/90a231cec219.go create mode 100644 corpus/go/bin-op-div/90a231cec219.mutation.json create mode 100644 corpus/go/bin-op-div/base.go create mode 100644 corpus/go/bin-op-eq/base.go create mode 100644 corpus/go/bin-op-eq/bf108f3c7a20.go create mode 100644 corpus/go/bin-op-eq/bf108f3c7a20.mutation.json create mode 100644 corpus/go/bin-op-gt/90d31a377562.go create mode 100644 corpus/go/bin-op-gt/90d31a377562.mutation.json create mode 100644 corpus/go/bin-op-gt/base.go create mode 100644 corpus/go/bin-op-gt/c978569f22e8.go create mode 100644 corpus/go/bin-op-gt/c978569f22e8.mutation.json create mode 100644 corpus/go/bin-op-gte/1d507c4db9c8.go create mode 100644 corpus/go/bin-op-gte/1d507c4db9c8.mutation.json create mode 100644 corpus/go/bin-op-gte/74853680d8da.go create mode 100644 corpus/go/bin-op-gte/74853680d8da.mutation.json create mode 100644 corpus/go/bin-op-gte/base.go create mode 100644 corpus/go/bin-op-lt/90d31a377562.go create mode 100644 corpus/go/bin-op-lt/90d31a377562.mutation.json create mode 100644 corpus/go/bin-op-lt/base.go create mode 100644 corpus/go/bin-op-lt/c978569f22e8.go create mode 100644 corpus/go/bin-op-lt/c978569f22e8.mutation.json create mode 100644 corpus/go/bin-op-lte/1d507c4db9c8.go create mode 100644 corpus/go/bin-op-lte/1d507c4db9c8.mutation.json create mode 100644 corpus/go/bin-op-lte/74853680d8da.go create mode 100644 corpus/go/bin-op-lte/74853680d8da.mutation.json create mode 100644 corpus/go/bin-op-lte/base.go create mode 100644 corpus/go/bin-op-mul/0f875090113f.go create mode 100644 corpus/go/bin-op-mul/0f875090113f.mutation.json create mode 100644 corpus/go/bin-op-mul/base.go create mode 100644 corpus/go/bin-op-mul/c79941df5e4c.go create mode 100644 corpus/go/bin-op-mul/c79941df5e4c.mutation.json create mode 100644 corpus/go/bin-op-ne/base.go create mode 100644 corpus/go/bin-op-ne/bd0ec9a335fb.go create mode 100644 corpus/go/bin-op-ne/bd0ec9a335fb.mutation.json create mode 100644 corpus/go/bin-op-or/2030a7d5e471.go create mode 100644 corpus/go/bin-op-or/2030a7d5e471.mutation.json create mode 100644 corpus/go/bin-op-or/base.go create mode 100644 corpus/go/bin-op-rem/90a231cec219.go create mode 100644 corpus/go/bin-op-rem/90a231cec219.mutation.json create mode 100644 corpus/go/bin-op-rem/base.go create mode 100644 corpus/go/bin-op-rem/c79941df5e4c.go create mode 100644 corpus/go/bin-op-rem/c79941df5e4c.mutation.json create mode 100644 corpus/go/bin-op-shl/b4d13ce9a1dd.go create mode 100644 corpus/go/bin-op-shl/b4d13ce9a1dd.mutation.json create mode 100644 corpus/go/bin-op-shl/base.go create mode 100644 corpus/go/bin-op-shr/42d5c8ee6db8.go create mode 100644 corpus/go/bin-op-shr/42d5c8ee6db8.mutation.json create mode 100644 corpus/go/bin-op-shr/base.go create mode 100644 corpus/go/bin-op-sub/0f875090113f.go create mode 100644 corpus/go/bin-op-sub/0f875090113f.mutation.json create mode 100644 corpus/go/bin-op-sub/base.go create mode 100644 corpus/go/bin-op-sub/c79941df5e4c.go create mode 100644 corpus/go/bin-op-sub/c79941df5e4c.mutation.json create mode 100644 corpus/go/bit-and-assign/2ff664c55ac8.go create mode 100644 corpus/go/bit-and-assign/2ff664c55ac8.mutation.json create mode 100644 corpus/go/bit-and-assign/368b05e637cd.go create mode 100644 corpus/go/bit-and-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/bit-and-assign/81f132009be9.go create mode 100644 corpus/go/bit-and-assign/81f132009be9.mutation.json create mode 100644 corpus/go/bit-and-assign/8de8146a2689.go create mode 100644 corpus/go/bit-and-assign/8de8146a2689.mutation.json create mode 100644 corpus/go/bit-and-assign/base.go create mode 100644 corpus/go/bit-and-assign/df1e86672dd8.go create mode 100644 corpus/go/bit-and-assign/df1e86672dd8.mutation.json create mode 100644 corpus/go/bit-and-assign/ef83feb43f1d.go create mode 100644 corpus/go/bit-and-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/bit-or-assign/368b05e637cd.go create mode 100644 corpus/go/bit-or-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/bit-or-assign/81f132009be9.go create mode 100644 corpus/go/bit-or-assign/81f132009be9.mutation.json create mode 100644 corpus/go/bit-or-assign/9f86fd02ecf9.go create mode 100644 corpus/go/bit-or-assign/9f86fd02ecf9.mutation.json create mode 100644 corpus/go/bit-or-assign/base.go create mode 100644 corpus/go/bit-or-assign/c7bb31d196f4.go create mode 100644 corpus/go/bit-or-assign/c7bb31d196f4.mutation.json create mode 100644 corpus/go/bit-or-assign/df1e86672dd8.go create mode 100644 corpus/go/bit-or-assign/df1e86672dd8.mutation.json create mode 100644 corpus/go/bit-or-assign/ef83feb43f1d.go create mode 100644 corpus/go/bit-or-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/bit-xor-assign/0755350b98f8.go create mode 100644 corpus/go/bit-xor-assign/0755350b98f8.mutation.json create mode 100644 corpus/go/bit-xor-assign/2bc9bebf112f.go create mode 100644 corpus/go/bit-xor-assign/2bc9bebf112f.mutation.json create mode 100644 corpus/go/bit-xor-assign/368b05e637cd.go create mode 100644 corpus/go/bit-xor-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/bit-xor-assign/80e86eac68f8.go create mode 100644 corpus/go/bit-xor-assign/80e86eac68f8.mutation.json create mode 100644 corpus/go/bit-xor-assign/base.go create mode 100644 corpus/go/bit-xor-assign/df1e86672dd8.go create mode 100644 corpus/go/bit-xor-assign/df1e86672dd8.mutation.json create mode 100644 corpus/go/bit-xor-assign/ef83feb43f1d.go create mode 100644 corpus/go/bit-xor-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/condition-for/16f1a7719c28.go create mode 100644 corpus/go/condition-for/16f1a7719c28.mutation.json create mode 100644 corpus/go/condition-for/1bd9538edf01.go create mode 100644 corpus/go/condition-for/1bd9538edf01.mutation.json create mode 100644 corpus/go/condition-for/57067bfb3b8e.go create mode 100644 corpus/go/condition-for/57067bfb3b8e.mutation.json create mode 100644 corpus/go/condition-for/6251ae455e2f.go create mode 100644 corpus/go/condition-for/6251ae455e2f.mutation.json create mode 100644 corpus/go/condition-for/65f840879ac4.go create mode 100644 corpus/go/condition-for/65f840879ac4.mutation.json create mode 100644 corpus/go/condition-for/99eb35eb171f.go create mode 100644 corpus/go/condition-for/99eb35eb171f.mutation.json create mode 100644 corpus/go/condition-for/ac8bacd5c6e4.go create mode 100644 corpus/go/condition-for/ac8bacd5c6e4.mutation.json create mode 100644 corpus/go/condition-for/ad9e5288dd4a.go create mode 100644 corpus/go/condition-for/ad9e5288dd4a.mutation.json create mode 100644 corpus/go/condition-for/b4ff5b0e79dd.go create mode 100644 corpus/go/condition-for/b4ff5b0e79dd.mutation.json create mode 100644 corpus/go/condition-for/base.go create mode 100644 corpus/go/condition-for/eda2763060cf.go create mode 100644 corpus/go/condition-for/eda2763060cf.mutation.json create mode 100644 corpus/go/condition-for/ef83feb43f1d.go create mode 100644 corpus/go/condition-for/ef83feb43f1d.mutation.json create mode 100644 corpus/go/condition-for/f3cdb37ba5f9.go create mode 100644 corpus/go/condition-for/f3cdb37ba5f9.mutation.json create mode 100644 corpus/go/condition/39b78ac26259.go create mode 100644 corpus/go/condition/39b78ac26259.mutation.json create mode 100644 corpus/go/condition/4ca835df9397.go create mode 100644 corpus/go/condition/4ca835df9397.mutation.json create mode 100644 corpus/go/condition/57f2409f395b.go create mode 100644 corpus/go/condition/57f2409f395b.mutation.json create mode 100644 corpus/go/condition/5aa7ab213410.go create mode 100644 corpus/go/condition/5aa7ab213410.mutation.json create mode 100644 corpus/go/condition/68c326a070ef.go create mode 100644 corpus/go/condition/68c326a070ef.mutation.json create mode 100644 corpus/go/condition/a034a88076a8.go create mode 100644 corpus/go/condition/a034a88076a8.mutation.json create mode 100644 corpus/go/condition/base.go create mode 100644 corpus/go/condition/d0633b0833c6.go create mode 100644 corpus/go/condition/d0633b0833c6.mutation.json create mode 100644 corpus/go/condition/ef6b6711f144.go create mode 100644 corpus/go/condition/ef6b6711f144.mutation.json create mode 100644 corpus/go/condition/ef83feb43f1d.go create mode 100644 corpus/go/condition/ef83feb43f1d.mutation.json create mode 100644 corpus/go/dict-decl-bool-values/3fff18f57fc0.go create mode 100644 corpus/go/dict-decl-bool-values/3fff18f57fc0.mutation.json create mode 100644 corpus/go/dict-decl-bool-values/423d7ba7d5ea.go create mode 100644 corpus/go/dict-decl-bool-values/423d7ba7d5ea.mutation.json create mode 100644 corpus/go/dict-decl-bool-values/5a8aeaa3cb65.go create mode 100644 corpus/go/dict-decl-bool-values/5a8aeaa3cb65.mutation.json create mode 100644 corpus/go/dict-decl-bool-values/b4083f4f83c4.go create mode 100644 corpus/go/dict-decl-bool-values/b4083f4f83c4.mutation.json create mode 100644 corpus/go/dict-decl-bool-values/base.go create mode 100644 corpus/go/dict-decl-bool-values/d39c04316bcd.go create mode 100644 corpus/go/dict-decl-bool-values/d39c04316bcd.mutation.json create mode 100644 corpus/go/dict-decl-empty-string-values/03e4ed9e1e23.go create mode 100644 corpus/go/dict-decl-empty-string-values/03e4ed9e1e23.mutation.json create mode 100644 corpus/go/dict-decl-empty-string-values/5452907f3fa3.go create mode 100644 corpus/go/dict-decl-empty-string-values/5452907f3fa3.mutation.json create mode 100644 corpus/go/dict-decl-empty-string-values/6c6e3b761653.go create mode 100644 corpus/go/dict-decl-empty-string-values/6c6e3b761653.mutation.json create mode 100644 corpus/go/dict-decl-empty-string-values/74302252ca96.go create mode 100644 corpus/go/dict-decl-empty-string-values/74302252ca96.mutation.json create mode 100644 corpus/go/dict-decl-empty-string-values/b255770892f5.go create mode 100644 corpus/go/dict-decl-empty-string-values/b255770892f5.mutation.json create mode 100644 corpus/go/dict-decl-empty-string-values/base.go create mode 100644 corpus/go/dict-decl-empty-string-values/c6de2f70290f.go create mode 100644 corpus/go/dict-decl-empty-string-values/c6de2f70290f.mutation.json create mode 100644 corpus/go/dict-decl-empty-string-values/c8e02edada12.go create mode 100644 corpus/go/dict-decl-empty-string-values/c8e02edada12.mutation.json create mode 100644 corpus/go/dict-decl-empty-string-values/daba102bd6f7.go create mode 100644 corpus/go/dict-decl-empty-string-values/daba102bd6f7.mutation.json create mode 100644 corpus/go/dict-decl-empty-string-values/fffac47b9566.go create mode 100644 corpus/go/dict-decl-empty-string-values/fffac47b9566.mutation.json create mode 100644 corpus/go/dict-decl-float-keys/281a259cffb4.go create mode 100644 corpus/go/dict-decl-float-keys/281a259cffb4.mutation.json create mode 100644 corpus/go/dict-decl-float-keys/3bb0a8bd1394.go create mode 100644 corpus/go/dict-decl-float-keys/3bb0a8bd1394.mutation.json create mode 100644 corpus/go/dict-decl-float-keys/4b17988c3c35.go create mode 100644 corpus/go/dict-decl-float-keys/4b17988c3c35.mutation.json create mode 100644 corpus/go/dict-decl-float-keys/629739a3a17b.go create mode 100644 corpus/go/dict-decl-float-keys/629739a3a17b.mutation.json create mode 100644 corpus/go/dict-decl-float-keys/a9964eacdc97.go create mode 100644 corpus/go/dict-decl-float-keys/a9964eacdc97.mutation.json create mode 100644 corpus/go/dict-decl-float-keys/b2a6e150b046.go create mode 100644 corpus/go/dict-decl-float-keys/b2a6e150b046.mutation.json create mode 100644 corpus/go/dict-decl-float-keys/base.go create mode 100644 corpus/go/dict-decl-float-keys/bcac507fa07a.go create mode 100644 corpus/go/dict-decl-float-keys/bcac507fa07a.mutation.json create mode 100644 corpus/go/dict-decl-float-keys/bdfc86e34b1b.go create mode 100644 corpus/go/dict-decl-float-keys/bdfc86e34b1b.mutation.json create mode 100644 corpus/go/dict-decl-float-keys/ea61d31777c4.go create mode 100644 corpus/go/dict-decl-float-keys/ea61d31777c4.mutation.json create mode 100644 corpus/go/dict-decl-in-func/085898fe2b68.go create mode 100644 corpus/go/dict-decl-in-func/085898fe2b68.mutation.json create mode 100644 corpus/go/dict-decl-in-func/6c39ba2dc2fb.go create mode 100644 corpus/go/dict-decl-in-func/6c39ba2dc2fb.mutation.json create mode 100644 corpus/go/dict-decl-in-func/9e649c48881e.go create mode 100644 corpus/go/dict-decl-in-func/9e649c48881e.mutation.json create mode 100644 corpus/go/dict-decl-in-func/a1c6b8a3f169.go create mode 100644 corpus/go/dict-decl-in-func/a1c6b8a3f169.mutation.json create mode 100644 corpus/go/dict-decl-in-func/base.go create mode 100644 corpus/go/dict-decl-int-keys/17a4479935cb.go create mode 100644 corpus/go/dict-decl-int-keys/17a4479935cb.mutation.json create mode 100644 corpus/go/dict-decl-int-keys/5678231eb71a.go create mode 100644 corpus/go/dict-decl-int-keys/5678231eb71a.mutation.json create mode 100644 corpus/go/dict-decl-int-keys/5b2b23cf141d.go create mode 100644 corpus/go/dict-decl-int-keys/5b2b23cf141d.mutation.json create mode 100644 corpus/go/dict-decl-int-keys/6a6ce1f14581.go create mode 100644 corpus/go/dict-decl-int-keys/6a6ce1f14581.mutation.json create mode 100644 corpus/go/dict-decl-int-keys/74302252ca96.go create mode 100644 corpus/go/dict-decl-int-keys/74302252ca96.mutation.json create mode 100644 corpus/go/dict-decl-int-keys/a53b2b3e0b0a.go create mode 100644 corpus/go/dict-decl-int-keys/a53b2b3e0b0a.mutation.json create mode 100644 corpus/go/dict-decl-int-keys/a73ac0033de5.go create mode 100644 corpus/go/dict-decl-int-keys/a73ac0033de5.mutation.json create mode 100644 corpus/go/dict-decl-int-keys/a824d0519ee3.go create mode 100644 corpus/go/dict-decl-int-keys/a824d0519ee3.mutation.json create mode 100644 corpus/go/dict-decl-int-keys/base.go create mode 100644 corpus/go/dict-decl-int-keys/d08c5db9aa8d.go create mode 100644 corpus/go/dict-decl-int-keys/d08c5db9aa8d.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/0cac1654a664.go create mode 100644 corpus/go/dict-decl-multi-entry/0cac1654a664.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/1f3da1bb6d73.go create mode 100644 corpus/go/dict-decl-multi-entry/1f3da1bb6d73.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/20e855598274.go create mode 100644 corpus/go/dict-decl-multi-entry/20e855598274.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/299e11e4ae44.go create mode 100644 corpus/go/dict-decl-multi-entry/299e11e4ae44.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/33fe1fb7ec5b.go create mode 100644 corpus/go/dict-decl-multi-entry/33fe1fb7ec5b.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/49a85e5fdbe4.go create mode 100644 corpus/go/dict-decl-multi-entry/49a85e5fdbe4.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/69e536600531.go create mode 100644 corpus/go/dict-decl-multi-entry/69e536600531.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/7c87829e7c2d.go create mode 100644 corpus/go/dict-decl-multi-entry/7c87829e7c2d.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/7cd47306f899.go create mode 100644 corpus/go/dict-decl-multi-entry/7cd47306f899.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/95c5f75afad8.go create mode 100644 corpus/go/dict-decl-multi-entry/95c5f75afad8.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/base.go create mode 100644 corpus/go/dict-decl-multi-entry/cdd1eb92dc4a.go create mode 100644 corpus/go/dict-decl-multi-entry/cdd1eb92dc4a.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/e33594d810a3.go create mode 100644 corpus/go/dict-decl-multi-entry/e33594d810a3.mutation.json create mode 100644 corpus/go/dict-decl-multi-entry/fcd7c589275a.go create mode 100644 corpus/go/dict-decl-multi-entry/fcd7c589275a.mutation.json create mode 100644 corpus/go/dict-decl-nested/273bc6bd6432.go create mode 100644 corpus/go/dict-decl-nested/273bc6bd6432.mutation.json create mode 100644 corpus/go/dict-decl-nested/3b93137f9656.go create mode 100644 corpus/go/dict-decl-nested/3b93137f9656.mutation.json create mode 100644 corpus/go/dict-decl-nested/6b573731fe3a.go create mode 100644 corpus/go/dict-decl-nested/6b573731fe3a.mutation.json create mode 100644 corpus/go/dict-decl-nested/829fc9a21659.go create mode 100644 corpus/go/dict-decl-nested/829fc9a21659.mutation.json create mode 100644 corpus/go/dict-decl-nested/base.go create mode 100644 corpus/go/dict-decl-nested/deebf0ae0232.go create mode 100644 corpus/go/dict-decl-nested/deebf0ae0232.mutation.json create mode 100644 corpus/go/dict-decl-nested/ec4da5a9fd1e.go create mode 100644 corpus/go/dict-decl-nested/ec4da5a9fd1e.mutation.json create mode 100644 corpus/go/dict-decl-nested/f76e9ed60876.go create mode 100644 corpus/go/dict-decl-nested/f76e9ed60876.mutation.json create mode 100644 corpus/go/dict-decl-slice-values/03d8bdc3d0f8.go create mode 100644 corpus/go/dict-decl-slice-values/03d8bdc3d0f8.mutation.json create mode 100644 corpus/go/dict-decl-slice-values/1b934886be07.go create mode 100644 corpus/go/dict-decl-slice-values/1b934886be07.mutation.json create mode 100644 corpus/go/dict-decl-slice-values/1d3c1ff6029c.go create mode 100644 corpus/go/dict-decl-slice-values/1d3c1ff6029c.mutation.json create mode 100644 corpus/go/dict-decl-slice-values/2132e005ac10.go create mode 100644 corpus/go/dict-decl-slice-values/2132e005ac10.mutation.json create mode 100644 corpus/go/dict-decl-slice-values/6468deb0e354.go create mode 100644 corpus/go/dict-decl-slice-values/6468deb0e354.mutation.json create mode 100644 corpus/go/dict-decl-slice-values/6ec482e7f8d4.go create mode 100644 corpus/go/dict-decl-slice-values/6ec482e7f8d4.mutation.json create mode 100644 corpus/go/dict-decl-slice-values/addfd59d3a38.go create mode 100644 corpus/go/dict-decl-slice-values/addfd59d3a38.mutation.json create mode 100644 corpus/go/dict-decl-slice-values/base.go create mode 100644 corpus/go/dict-decl-slice-values/d4ab4c4ff8d4.go create mode 100644 corpus/go/dict-decl-slice-values/d4ab4c4ff8d4.mutation.json create mode 100644 corpus/go/dict-decl-slice-values/f1378e3672a2.go create mode 100644 corpus/go/dict-decl-slice-values/f1378e3672a2.mutation.json create mode 100644 corpus/go/dict-decl-struct-values/280491f8be2d.go create mode 100644 corpus/go/dict-decl-struct-values/280491f8be2d.mutation.json create mode 100644 corpus/go/dict-decl-struct-values/2f5cfdd535e0.go create mode 100644 corpus/go/dict-decl-struct-values/2f5cfdd535e0.mutation.json create mode 100644 corpus/go/dict-decl-struct-values/3bafe3dfb4bb.go create mode 100644 corpus/go/dict-decl-struct-values/3bafe3dfb4bb.mutation.json create mode 100644 corpus/go/dict-decl-struct-values/base.go create mode 100644 corpus/go/dict-decl-struct-values/cf0c3d0ea71c.go create mode 100644 corpus/go/dict-decl-struct-values/cf0c3d0ea71c.mutation.json create mode 100644 corpus/go/dict-decl-struct-values/de14ea3cfb27.go create mode 100644 corpus/go/dict-decl-struct-values/de14ea3cfb27.mutation.json create mode 100644 corpus/go/dict-decl/366689174450.go create mode 100644 corpus/go/dict-decl/366689174450.mutation.json create mode 100644 corpus/go/dict-decl/75887565fdc4.go create mode 100644 corpus/go/dict-decl/75887565fdc4.mutation.json create mode 100644 corpus/go/dict-decl/7cd47306f899.go create mode 100644 corpus/go/dict-decl/7cd47306f899.mutation.json create mode 100644 corpus/go/dict-decl/base.go create mode 100644 corpus/go/dict-decl/d11f53bf79d6.go create mode 100644 corpus/go/dict-decl/d11f53bf79d6.mutation.json create mode 100644 corpus/go/dict-decl/d76d31351860.go create mode 100644 corpus/go/dict-decl/d76d31351860.mutation.json create mode 100644 corpus/go/div-assign/368b05e637cd.go create mode 100644 corpus/go/div-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/div-assign/75e7c11b5c28.go create mode 100644 corpus/go/div-assign/75e7c11b5c28.mutation.json create mode 100644 corpus/go/div-assign/9fc5f320c3ba.go create mode 100644 corpus/go/div-assign/9fc5f320c3ba.mutation.json create mode 100644 corpus/go/div-assign/base.go create mode 100644 corpus/go/div-assign/e32255ef3611.go create mode 100644 corpus/go/div-assign/e32255ef3611.mutation.json create mode 100644 corpus/go/div-assign/ea8a0c11ce07.go create mode 100644 corpus/go/div-assign/ea8a0c11ce07.mutation.json create mode 100644 corpus/go/div-assign/ef83feb43f1d.go create mode 100644 corpus/go/div-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/literal-bool-false/2c4b31188bc4.go create mode 100644 corpus/go/literal-bool-false/2c4b31188bc4.mutation.json create mode 100644 corpus/go/literal-bool-false/base.go create mode 100644 corpus/go/literal-bool-true/05a4dd9a8d22.go create mode 100644 corpus/go/literal-bool-true/05a4dd9a8d22.mutation.json create mode 100644 corpus/go/literal-bool-true/base.go create mode 100644 corpus/go/literal-number/23611a055609.go create mode 100644 corpus/go/literal-number/23611a055609.mutation.json create mode 100644 corpus/go/literal-number/43cf9331f936.go create mode 100644 corpus/go/literal-number/43cf9331f936.mutation.json create mode 100644 corpus/go/literal-number/base.go create mode 100644 corpus/go/literal-number/c263de894e10.go create mode 100644 corpus/go/literal-number/c263de894e10.mutation.json create mode 100644 corpus/go/literal-string-empty/2a7a636265b7.go create mode 100644 corpus/go/literal-string-empty/2a7a636265b7.mutation.json create mode 100644 corpus/go/literal-string-empty/base.go create mode 100644 corpus/go/literal-string/1b44a70a8c05.go create mode 100644 corpus/go/literal-string/1b44a70a8c05.mutation.json create mode 100644 corpus/go/literal-string/base.go create mode 100644 corpus/go/mul-assign/368b05e637cd.go create mode 100644 corpus/go/mul-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/mul-assign/6953e07ae0f6.go create mode 100644 corpus/go/mul-assign/6953e07ae0f6.mutation.json create mode 100644 corpus/go/mul-assign/75e7c11b5c28.go create mode 100644 corpus/go/mul-assign/75e7c11b5c28.mutation.json create mode 100644 corpus/go/mul-assign/81b1a7ffdb85.go create mode 100644 corpus/go/mul-assign/81b1a7ffdb85.mutation.json create mode 100644 corpus/go/mul-assign/base.go create mode 100644 corpus/go/mul-assign/ea8a0c11ce07.go create mode 100644 corpus/go/mul-assign/ea8a0c11ce07.mutation.json create mode 100644 corpus/go/mul-assign/ef83feb43f1d.go create mode 100644 corpus/go/mul-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/normal-assign/1457d662132f.go create mode 100644 corpus/go/normal-assign/1457d662132f.mutation.json create mode 100644 corpus/go/normal-assign/3428a8724040.go create mode 100644 corpus/go/normal-assign/3428a8724040.mutation.json create mode 100644 corpus/go/normal-assign/368b05e637cd.go create mode 100644 corpus/go/normal-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/normal-assign/38896b113109.go create mode 100644 corpus/go/normal-assign/38896b113109.mutation.json create mode 100644 corpus/go/normal-assign/base.go create mode 100644 corpus/go/normal-assign/cc72934d5c22.go create mode 100644 corpus/go/normal-assign/cc72934d5c22.mutation.json create mode 100644 corpus/go/normal-assign/ef83feb43f1d.go create mode 100644 corpus/go/normal-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/rem-assign/368b05e637cd.go create mode 100644 corpus/go/rem-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/rem-assign/3f51ecfaa1c0.go create mode 100644 corpus/go/rem-assign/3f51ecfaa1c0.mutation.json create mode 100644 corpus/go/rem-assign/75e7c11b5c28.go create mode 100644 corpus/go/rem-assign/75e7c11b5c28.mutation.json create mode 100644 corpus/go/rem-assign/931c38b79e71.go create mode 100644 corpus/go/rem-assign/931c38b79e71.mutation.json create mode 100644 corpus/go/rem-assign/base.go create mode 100644 corpus/go/rem-assign/cf5e1fe94288.go create mode 100644 corpus/go/rem-assign/cf5e1fe94288.mutation.json create mode 100644 corpus/go/rem-assign/ef83feb43f1d.go create mode 100644 corpus/go/rem-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/shl-assign/2923381dc5e6.go create mode 100644 corpus/go/shl-assign/2923381dc5e6.mutation.json create mode 100644 corpus/go/shl-assign/368b05e637cd.go create mode 100644 corpus/go/shl-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/shl-assign/88607a6c761d.go create mode 100644 corpus/go/shl-assign/88607a6c761d.mutation.json create mode 100644 corpus/go/shl-assign/9de5ad07cee4.go create mode 100644 corpus/go/shl-assign/9de5ad07cee4.mutation.json create mode 100644 corpus/go/shl-assign/base.go create mode 100644 corpus/go/shl-assign/ef83feb43f1d.go create mode 100644 corpus/go/shl-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/shl-assign/f6d47966aa63.go create mode 100644 corpus/go/shl-assign/f6d47966aa63.mutation.json create mode 100644 corpus/go/shr-assign/2923381dc5e6.go create mode 100644 corpus/go/shr-assign/2923381dc5e6.mutation.json create mode 100644 corpus/go/shr-assign/368b05e637cd.go create mode 100644 corpus/go/shr-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/shr-assign/base.go create mode 100644 corpus/go/shr-assign/d501de7ffa5c.go create mode 100644 corpus/go/shr-assign/d501de7ffa5c.mutation.json create mode 100644 corpus/go/shr-assign/ef83feb43f1d.go create mode 100644 corpus/go/shr-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/shr-assign/f6d47966aa63.go create mode 100644 corpus/go/shr-assign/f6d47966aa63.mutation.json create mode 100644 corpus/go/shr-assign/fb7e3cae442b.go create mode 100644 corpus/go/shr-assign/fb7e3cae442b.mutation.json create mode 100644 corpus/go/statement-block/base.go create mode 100644 corpus/go/statement-block/ef83feb43f1d.go create mode 100644 corpus/go/statement-block/ef83feb43f1d.mutation.json create mode 100644 corpus/go/sub-assign/3428a8724040.go create mode 100644 corpus/go/sub-assign/3428a8724040.mutation.json create mode 100644 corpus/go/sub-assign/368b05e637cd.go create mode 100644 corpus/go/sub-assign/368b05e637cd.mutation.json create mode 100644 corpus/go/sub-assign/38896b113109.go create mode 100644 corpus/go/sub-assign/38896b113109.mutation.json create mode 100644 corpus/go/sub-assign/9acebb991a9b.go create mode 100644 corpus/go/sub-assign/9acebb991a9b.mutation.json create mode 100644 corpus/go/sub-assign/b5e00882ab4e.go create mode 100644 corpus/go/sub-assign/b5e00882ab4e.mutation.json create mode 100644 corpus/go/sub-assign/base.go create mode 100644 corpus/go/sub-assign/ef83feb43f1d.go create mode 100644 corpus/go/sub-assign/ef83feb43f1d.mutation.json create mode 100644 corpus/go/switch-case/1a0d8959e8c5.go create mode 100644 corpus/go/switch-case/1a0d8959e8c5.mutation.json create mode 100644 corpus/go/switch-case/750b150b1952.go create mode 100644 corpus/go/switch-case/750b150b1952.mutation.json create mode 100644 corpus/go/switch-case/base.go create mode 100644 corpus/go/switch-case/cc1c8249759b.go create mode 100644 corpus/go/switch-case/cc1c8249759b.mutation.json create mode 100644 corpus/go/switch-case/ef83feb43f1d.go create mode 100644 corpus/go/switch-case/ef83feb43f1d.mutation.json create mode 100644 corpus/go/switch-case/efd4dcb6b51c.go create mode 100644 corpus/go/switch-case/efd4dcb6b51c.mutation.json create mode 100644 corpus/go/unary-not/b521162ee81d.go create mode 100644 corpus/go/unary-not/b521162ee81d.mutation.json create mode 100644 corpus/go/unary-not/base.go create mode 100644 corpus/go/unary-not/ef83feb43f1d.go create mode 100644 corpus/go/unary-not/ef83feb43f1d.mutation.json create mode 100644 crates/bough-core/src/language/go.rs diff --git a/Cargo.lock b/Cargo.lock index ea535e01..f084635f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,6 +56,7 @@ dependencies = [ "arborium-bash", "arborium-c", "arborium-css", + "arborium-go", "arborium-highlight", "arborium-html", "arborium-javascript", @@ -102,6 +103,17 @@ dependencies = [ "tree-sitter-language", ] +[[package]] +name = "arborium-go" +version = "2.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ca870be2733159145abdb43c3b265de85f84efb459ca7f612593c6b2cbee48e" +dependencies = [ + "arborium-sysroot", + "cc", + "tree-sitter-language", +] + [[package]] name = "arborium-highlight" version = "2.16.0" @@ -322,6 +334,7 @@ name = "bough-core" version = "0.0.2" dependencies = [ "arborium-c", + "arborium-go", "arborium-javascript", "arborium-python", "arborium-tree-sitter", diff --git a/corpus/go/add-assign/3428a8724040.go b/corpus/go/add-assign/3428a8724040.go new file mode 100644 index 00000000..94fa2141 --- /dev/null +++ b/corpus/go/add-assign/3428a8724040.go @@ -0,0 +1 @@ +package p; func f() { x += 1 } diff --git a/corpus/go/add-assign/3428a8724040.mutation.json b/corpus/go/add-assign/3428a8724040.mutation.json new file mode 100644 index 00000000..57047b77 --- /dev/null +++ b/corpus/go/add-assign/3428a8724040.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/add-assign/368b05e637cd.go b/corpus/go/add-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/add-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/add-assign/368b05e637cd.mutation.json b/corpus/go/add-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..de6fef38 --- /dev/null +++ b/corpus/go/add-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "AddAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/add-assign/38896b113109.go b/corpus/go/add-assign/38896b113109.go new file mode 100644 index 00000000..f2c15ec2 --- /dev/null +++ b/corpus/go/add-assign/38896b113109.go @@ -0,0 +1 @@ +package p; func f() { x -= 1 } diff --git a/corpus/go/add-assign/38896b113109.mutation.json b/corpus/go/add-assign/38896b113109.mutation.json new file mode 100644 index 00000000..fd2f34fe --- /dev/null +++ b/corpus/go/add-assign/38896b113109.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "AddAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "-=" +} \ No newline at end of file diff --git a/corpus/go/add-assign/5b0f1f78a373.go b/corpus/go/add-assign/5b0f1f78a373.go new file mode 100644 index 00000000..2292880f --- /dev/null +++ b/corpus/go/add-assign/5b0f1f78a373.go @@ -0,0 +1 @@ +package p; func f() { x += -1 } diff --git a/corpus/go/add-assign/5b0f1f78a373.mutation.json b/corpus/go/add-assign/5b0f1f78a373.mutation.json new file mode 100644 index 00000000..2e73c28f --- /dev/null +++ b/corpus/go/add-assign/5b0f1f78a373.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/add-assign/5f447bc4df98.go b/corpus/go/add-assign/5f447bc4df98.go new file mode 100644 index 00000000..4f21727c --- /dev/null +++ b/corpus/go/add-assign/5f447bc4df98.go @@ -0,0 +1 @@ +package p; func f() { x += 0 } diff --git a/corpus/go/add-assign/5f447bc4df98.mutation.json b/corpus/go/add-assign/5f447bc4df98.mutation.json new file mode 100644 index 00000000..707fd45e --- /dev/null +++ b/corpus/go/add-assign/5f447bc4df98.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/add-assign/base.go b/corpus/go/add-assign/base.go new file mode 100644 index 00000000..94fa2141 --- /dev/null +++ b/corpus/go/add-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x += 1 } diff --git a/corpus/go/add-assign/ef83feb43f1d.go b/corpus/go/add-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/add-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/add-assign/ef83feb43f1d.mutation.json b/corpus/go/add-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..dd9f377a --- /dev/null +++ b/corpus/go/add-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/06cbcbd0d5ee.go b/corpus/go/array-decl-inline/06cbcbd0d5ee.go new file mode 100644 index 00000000..e10279d3 --- /dev/null +++ b/corpus/go/array-decl-inline/06cbcbd0d5ee.go @@ -0,0 +1 @@ +package p; var x = []int{1, 2, 1} diff --git a/corpus/go/array-decl-inline/06cbcbd0d5ee.mutation.json b/corpus/go/array-decl-inline/06cbcbd0d5ee.mutation.json new file mode 100644 index 00000000..88c43f3c --- /dev/null +++ b/corpus/go/array-decl-inline/06cbcbd0d5ee.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/1c38e3b53a42.go b/corpus/go/array-decl-inline/1c38e3b53a42.go new file mode 100644 index 00000000..3f979c8f --- /dev/null +++ b/corpus/go/array-decl-inline/1c38e3b53a42.go @@ -0,0 +1 @@ +package p; var x = []int{1, 0, 3} diff --git a/corpus/go/array-decl-inline/1c38e3b53a42.mutation.json b/corpus/go/array-decl-inline/1c38e3b53a42.mutation.json new file mode 100644 index 00000000..2f03d503 --- /dev/null +++ b/corpus/go/array-decl-inline/1c38e3b53a42.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/1fcb4b2549d9.go b/corpus/go/array-decl-inline/1fcb4b2549d9.go new file mode 100644 index 00000000..f1c23f3e --- /dev/null +++ b/corpus/go/array-decl-inline/1fcb4b2549d9.go @@ -0,0 +1 @@ +package p; var x = []int{1, 2, 0} diff --git a/corpus/go/array-decl-inline/1fcb4b2549d9.mutation.json b/corpus/go/array-decl-inline/1fcb4b2549d9.mutation.json new file mode 100644 index 00000000..c89c0181 --- /dev/null +++ b/corpus/go/array-decl-inline/1fcb4b2549d9.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/3500cfecfb14.go b/corpus/go/array-decl-inline/3500cfecfb14.go new file mode 100644 index 00000000..7df0f738 --- /dev/null +++ b/corpus/go/array-decl-inline/3500cfecfb14.go @@ -0,0 +1 @@ +package p; var x = []int{1, 1, 3} diff --git a/corpus/go/array-decl-inline/3500cfecfb14.mutation.json b/corpus/go/array-decl-inline/3500cfecfb14.mutation.json new file mode 100644 index 00000000..784f3fa6 --- /dev/null +++ b/corpus/go/array-decl-inline/3500cfecfb14.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/45e37dfcf594.go b/corpus/go/array-decl-inline/45e37dfcf594.go new file mode 100644 index 00000000..eb286c13 --- /dev/null +++ b/corpus/go/array-decl-inline/45e37dfcf594.go @@ -0,0 +1 @@ +package p; var x = []int{1, 2, 3} diff --git a/corpus/go/array-decl-inline/45e37dfcf594.mutation.json b/corpus/go/array-decl-inline/45e37dfcf594.mutation.json new file mode 100644 index 00000000..d2a43302 --- /dev/null +++ b/corpus/go/array-decl-inline/45e37dfcf594.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/4b71501e18a0.go b/corpus/go/array-decl-inline/4b71501e18a0.go new file mode 100644 index 00000000..4a7b6f01 --- /dev/null +++ b/corpus/go/array-decl-inline/4b71501e18a0.go @@ -0,0 +1 @@ +package p; var x = []int{1, 2, -1} diff --git a/corpus/go/array-decl-inline/4b71501e18a0.mutation.json b/corpus/go/array-decl-inline/4b71501e18a0.mutation.json new file mode 100644 index 00000000..64d219e6 --- /dev/null +++ b/corpus/go/array-decl-inline/4b71501e18a0.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/59e0f173d795.go b/corpus/go/array-decl-inline/59e0f173d795.go new file mode 100644 index 00000000..42224f56 --- /dev/null +++ b/corpus/go/array-decl-inline/59e0f173d795.go @@ -0,0 +1 @@ +package p; var x = []int{1, -1, 3} diff --git a/corpus/go/array-decl-inline/59e0f173d795.mutation.json b/corpus/go/array-decl-inline/59e0f173d795.mutation.json new file mode 100644 index 00000000..98055800 --- /dev/null +++ b/corpus/go/array-decl-inline/59e0f173d795.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/840ffae4533b.go b/corpus/go/array-decl-inline/840ffae4533b.go new file mode 100644 index 00000000..e05ba3a6 --- /dev/null +++ b/corpus/go/array-decl-inline/840ffae4533b.go @@ -0,0 +1 @@ +package p; var x = []int{0, 2, 3} diff --git a/corpus/go/array-decl-inline/840ffae4533b.mutation.json b/corpus/go/array-decl-inline/840ffae4533b.mutation.json new file mode 100644 index 00000000..2006ee0a --- /dev/null +++ b/corpus/go/array-decl-inline/840ffae4533b.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/8625e52a59da.go b/corpus/go/array-decl-inline/8625e52a59da.go new file mode 100644 index 00000000..00abcbf8 --- /dev/null +++ b/corpus/go/array-decl-inline/8625e52a59da.go @@ -0,0 +1 @@ +package p; var x = []int{} diff --git a/corpus/go/array-decl-inline/8625e52a59da.mutation.json b/corpus/go/array-decl-inline/8625e52a59da.mutation.json new file mode 100644 index 00000000..05114169 --- /dev/null +++ b/corpus/go/array-decl-inline/8625e52a59da.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "ArrayDecl": "Inline" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 33, + "byte": 33 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 33, + "byte": 33 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/a27220f5c3b3.go b/corpus/go/array-decl-inline/a27220f5c3b3.go new file mode 100644 index 00000000..4ad0763f --- /dev/null +++ b/corpus/go/array-decl-inline/a27220f5c3b3.go @@ -0,0 +1 @@ +package p; var x = []int{-1, 2, 3} diff --git a/corpus/go/array-decl-inline/a27220f5c3b3.mutation.json b/corpus/go/array-decl-inline/a27220f5c3b3.mutation.json new file mode 100644 index 00000000..030af465 --- /dev/null +++ b/corpus/go/array-decl-inline/a27220f5c3b3.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/array-decl-inline/base.go b/corpus/go/array-decl-inline/base.go new file mode 100644 index 00000000..eb286c13 --- /dev/null +++ b/corpus/go/array-decl-inline/base.go @@ -0,0 +1 @@ +package p; var x = []int{1, 2, 3} diff --git a/corpus/go/bin-op-add/0e2bbde5474c.go b/corpus/go/bin-op-add/0e2bbde5474c.go new file mode 100644 index 00000000..906f0fa7 --- /dev/null +++ b/corpus/go/bin-op-add/0e2bbde5474c.go @@ -0,0 +1 @@ +package p; var x = a - b diff --git a/corpus/go/bin-op-add/0e2bbde5474c.mutation.json b/corpus/go/bin-op-add/0e2bbde5474c.mutation.json new file mode 100644 index 00000000..5664b01f --- /dev/null +++ b/corpus/go/bin-op-add/0e2bbde5474c.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Add" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "-" +} \ No newline at end of file diff --git a/corpus/go/bin-op-add/90a231cec219.go b/corpus/go/bin-op-add/90a231cec219.go new file mode 100644 index 00000000..f28d5560 --- /dev/null +++ b/corpus/go/bin-op-add/90a231cec219.go @@ -0,0 +1 @@ +package p; var x = a * b diff --git a/corpus/go/bin-op-add/90a231cec219.mutation.json b/corpus/go/bin-op-add/90a231cec219.mutation.json new file mode 100644 index 00000000..18131d23 --- /dev/null +++ b/corpus/go/bin-op-add/90a231cec219.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Add" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "*" +} \ No newline at end of file diff --git a/corpus/go/bin-op-add/base.go b/corpus/go/bin-op-add/base.go new file mode 100644 index 00000000..a6f75ff0 --- /dev/null +++ b/corpus/go/bin-op-add/base.go @@ -0,0 +1 @@ +package p; var x = a + b diff --git a/corpus/go/bin-op-and/0d65eb86c761.go b/corpus/go/bin-op-and/0d65eb86c761.go new file mode 100644 index 00000000..66687ab7 --- /dev/null +++ b/corpus/go/bin-op-and/0d65eb86c761.go @@ -0,0 +1 @@ +package p; var x = a || b diff --git a/corpus/go/bin-op-and/0d65eb86c761.mutation.json b/corpus/go/bin-op-and/0d65eb86c761.mutation.json new file mode 100644 index 00000000..b124a09d --- /dev/null +++ b/corpus/go/bin-op-and/0d65eb86c761.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "And" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": "||" +} \ No newline at end of file diff --git a/corpus/go/bin-op-and/base.go b/corpus/go/bin-op-and/base.go new file mode 100644 index 00000000..94923f22 --- /dev/null +++ b/corpus/go/bin-op-and/base.go @@ -0,0 +1 @@ +package p; var x = a && b diff --git a/corpus/go/bin-op-bit-and/501fe5366c20.go b/corpus/go/bin-op-bit-and/501fe5366c20.go new file mode 100644 index 00000000..766da8d1 --- /dev/null +++ b/corpus/go/bin-op-bit-and/501fe5366c20.go @@ -0,0 +1 @@ +package p; var x = a ^ b diff --git a/corpus/go/bin-op-bit-and/501fe5366c20.mutation.json b/corpus/go/bin-op-bit-and/501fe5366c20.mutation.json new file mode 100644 index 00000000..c52a6d30 --- /dev/null +++ b/corpus/go/bin-op-bit-and/501fe5366c20.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "BitAnd" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "^" +} \ No newline at end of file diff --git a/corpus/go/bin-op-bit-and/bace9b2f33bc.go b/corpus/go/bin-op-bit-and/bace9b2f33bc.go new file mode 100644 index 00000000..b0c7a826 --- /dev/null +++ b/corpus/go/bin-op-bit-and/bace9b2f33bc.go @@ -0,0 +1 @@ +package p; var x = a | b diff --git a/corpus/go/bin-op-bit-and/bace9b2f33bc.mutation.json b/corpus/go/bin-op-bit-and/bace9b2f33bc.mutation.json new file mode 100644 index 00000000..24d62fc8 --- /dev/null +++ b/corpus/go/bin-op-bit-and/bace9b2f33bc.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "BitAnd" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "|" +} \ No newline at end of file diff --git a/corpus/go/bin-op-bit-and/base.go b/corpus/go/bin-op-bit-and/base.go new file mode 100644 index 00000000..bc551a03 --- /dev/null +++ b/corpus/go/bin-op-bit-and/base.go @@ -0,0 +1 @@ +package p; var x = a & b diff --git a/corpus/go/bin-op-bit-or/501fe5366c20.go b/corpus/go/bin-op-bit-or/501fe5366c20.go new file mode 100644 index 00000000..766da8d1 --- /dev/null +++ b/corpus/go/bin-op-bit-or/501fe5366c20.go @@ -0,0 +1 @@ +package p; var x = a ^ b diff --git a/corpus/go/bin-op-bit-or/501fe5366c20.mutation.json b/corpus/go/bin-op-bit-or/501fe5366c20.mutation.json new file mode 100644 index 00000000..eb5814f6 --- /dev/null +++ b/corpus/go/bin-op-bit-or/501fe5366c20.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "BitOr" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "^" +} \ No newline at end of file diff --git a/corpus/go/bin-op-bit-or/97d4fbb8dd33.go b/corpus/go/bin-op-bit-or/97d4fbb8dd33.go new file mode 100644 index 00000000..bc551a03 --- /dev/null +++ b/corpus/go/bin-op-bit-or/97d4fbb8dd33.go @@ -0,0 +1 @@ +package p; var x = a & b diff --git a/corpus/go/bin-op-bit-or/97d4fbb8dd33.mutation.json b/corpus/go/bin-op-bit-or/97d4fbb8dd33.mutation.json new file mode 100644 index 00000000..de0a0575 --- /dev/null +++ b/corpus/go/bin-op-bit-or/97d4fbb8dd33.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "BitOr" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "&" +} \ No newline at end of file diff --git a/corpus/go/bin-op-bit-or/base.go b/corpus/go/bin-op-bit-or/base.go new file mode 100644 index 00000000..b0c7a826 --- /dev/null +++ b/corpus/go/bin-op-bit-or/base.go @@ -0,0 +1 @@ +package p; var x = a | b diff --git a/corpus/go/bin-op-bit-xor/97d4fbb8dd33.go b/corpus/go/bin-op-bit-xor/97d4fbb8dd33.go new file mode 100644 index 00000000..bc551a03 --- /dev/null +++ b/corpus/go/bin-op-bit-xor/97d4fbb8dd33.go @@ -0,0 +1 @@ +package p; var x = a & b diff --git a/corpus/go/bin-op-bit-xor/97d4fbb8dd33.mutation.json b/corpus/go/bin-op-bit-xor/97d4fbb8dd33.mutation.json new file mode 100644 index 00000000..3b1e6858 --- /dev/null +++ b/corpus/go/bin-op-bit-xor/97d4fbb8dd33.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "BitXor" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "&" +} \ No newline at end of file diff --git a/corpus/go/bin-op-bit-xor/bace9b2f33bc.go b/corpus/go/bin-op-bit-xor/bace9b2f33bc.go new file mode 100644 index 00000000..b0c7a826 --- /dev/null +++ b/corpus/go/bin-op-bit-xor/bace9b2f33bc.go @@ -0,0 +1 @@ +package p; var x = a | b diff --git a/corpus/go/bin-op-bit-xor/bace9b2f33bc.mutation.json b/corpus/go/bin-op-bit-xor/bace9b2f33bc.mutation.json new file mode 100644 index 00000000..4012e9fa --- /dev/null +++ b/corpus/go/bin-op-bit-xor/bace9b2f33bc.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "BitXor" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "|" +} \ No newline at end of file diff --git a/corpus/go/bin-op-bit-xor/base.go b/corpus/go/bin-op-bit-xor/base.go new file mode 100644 index 00000000..766da8d1 --- /dev/null +++ b/corpus/go/bin-op-bit-xor/base.go @@ -0,0 +1 @@ +package p; var x = a ^ b diff --git a/corpus/go/bin-op-div/0e2bbde5474c.go b/corpus/go/bin-op-div/0e2bbde5474c.go new file mode 100644 index 00000000..906f0fa7 --- /dev/null +++ b/corpus/go/bin-op-div/0e2bbde5474c.go @@ -0,0 +1 @@ +package p; var x = a - b diff --git a/corpus/go/bin-op-div/0e2bbde5474c.mutation.json b/corpus/go/bin-op-div/0e2bbde5474c.mutation.json new file mode 100644 index 00000000..73bb6e1b --- /dev/null +++ b/corpus/go/bin-op-div/0e2bbde5474c.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Div" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "-" +} \ No newline at end of file diff --git a/corpus/go/bin-op-div/90a231cec219.go b/corpus/go/bin-op-div/90a231cec219.go new file mode 100644 index 00000000..f28d5560 --- /dev/null +++ b/corpus/go/bin-op-div/90a231cec219.go @@ -0,0 +1 @@ +package p; var x = a * b diff --git a/corpus/go/bin-op-div/90a231cec219.mutation.json b/corpus/go/bin-op-div/90a231cec219.mutation.json new file mode 100644 index 00000000..9cba7671 --- /dev/null +++ b/corpus/go/bin-op-div/90a231cec219.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Div" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "*" +} \ No newline at end of file diff --git a/corpus/go/bin-op-div/base.go b/corpus/go/bin-op-div/base.go new file mode 100644 index 00000000..5a5b48be --- /dev/null +++ b/corpus/go/bin-op-div/base.go @@ -0,0 +1 @@ +package p; var x = a / b diff --git a/corpus/go/bin-op-eq/base.go b/corpus/go/bin-op-eq/base.go new file mode 100644 index 00000000..afdd036c --- /dev/null +++ b/corpus/go/bin-op-eq/base.go @@ -0,0 +1 @@ +package p; var x = a == b diff --git a/corpus/go/bin-op-eq/bf108f3c7a20.go b/corpus/go/bin-op-eq/bf108f3c7a20.go new file mode 100644 index 00000000..97560a16 --- /dev/null +++ b/corpus/go/bin-op-eq/bf108f3c7a20.go @@ -0,0 +1 @@ +package p; var x = a != b diff --git a/corpus/go/bin-op-eq/bf108f3c7a20.mutation.json b/corpus/go/bin-op-eq/bf108f3c7a20.mutation.json new file mode 100644 index 00000000..91051480 --- /dev/null +++ b/corpus/go/bin-op-eq/bf108f3c7a20.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Eq" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": "!=" +} \ No newline at end of file diff --git a/corpus/go/bin-op-gt/90d31a377562.go b/corpus/go/bin-op-gt/90d31a377562.go new file mode 100644 index 00000000..e560bbad --- /dev/null +++ b/corpus/go/bin-op-gt/90d31a377562.go @@ -0,0 +1 @@ +package p; var x = a >= b diff --git a/corpus/go/bin-op-gt/90d31a377562.mutation.json b/corpus/go/bin-op-gt/90d31a377562.mutation.json new file mode 100644 index 00000000..9a436dba --- /dev/null +++ b/corpus/go/bin-op-gt/90d31a377562.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Gt" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": ">=" +} \ No newline at end of file diff --git a/corpus/go/bin-op-gt/base.go b/corpus/go/bin-op-gt/base.go new file mode 100644 index 00000000..2c76644b --- /dev/null +++ b/corpus/go/bin-op-gt/base.go @@ -0,0 +1 @@ +package p; var x = a > b diff --git a/corpus/go/bin-op-gt/c978569f22e8.go b/corpus/go/bin-op-gt/c978569f22e8.go new file mode 100644 index 00000000..85eafbb6 --- /dev/null +++ b/corpus/go/bin-op-gt/c978569f22e8.go @@ -0,0 +1 @@ +package p; var x = a <= b diff --git a/corpus/go/bin-op-gt/c978569f22e8.mutation.json b/corpus/go/bin-op-gt/c978569f22e8.mutation.json new file mode 100644 index 00000000..99462571 --- /dev/null +++ b/corpus/go/bin-op-gt/c978569f22e8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Gt" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "<=" +} \ No newline at end of file diff --git a/corpus/go/bin-op-gte/1d507c4db9c8.go b/corpus/go/bin-op-gte/1d507c4db9c8.go new file mode 100644 index 00000000..e0420bc7 --- /dev/null +++ b/corpus/go/bin-op-gte/1d507c4db9c8.go @@ -0,0 +1 @@ +package p; var x = a < b diff --git a/corpus/go/bin-op-gte/1d507c4db9c8.mutation.json b/corpus/go/bin-op-gte/1d507c4db9c8.mutation.json new file mode 100644 index 00000000..9fd1f83a --- /dev/null +++ b/corpus/go/bin-op-gte/1d507c4db9c8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Gte" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": "<" +} \ No newline at end of file diff --git a/corpus/go/bin-op-gte/74853680d8da.go b/corpus/go/bin-op-gte/74853680d8da.go new file mode 100644 index 00000000..2c76644b --- /dev/null +++ b/corpus/go/bin-op-gte/74853680d8da.go @@ -0,0 +1 @@ +package p; var x = a > b diff --git a/corpus/go/bin-op-gte/74853680d8da.mutation.json b/corpus/go/bin-op-gte/74853680d8da.mutation.json new file mode 100644 index 00000000..d414ca62 --- /dev/null +++ b/corpus/go/bin-op-gte/74853680d8da.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Gte" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": ">" +} \ No newline at end of file diff --git a/corpus/go/bin-op-gte/base.go b/corpus/go/bin-op-gte/base.go new file mode 100644 index 00000000..e560bbad --- /dev/null +++ b/corpus/go/bin-op-gte/base.go @@ -0,0 +1 @@ +package p; var x = a >= b diff --git a/corpus/go/bin-op-lt/90d31a377562.go b/corpus/go/bin-op-lt/90d31a377562.go new file mode 100644 index 00000000..e560bbad --- /dev/null +++ b/corpus/go/bin-op-lt/90d31a377562.go @@ -0,0 +1 @@ +package p; var x = a >= b diff --git a/corpus/go/bin-op-lt/90d31a377562.mutation.json b/corpus/go/bin-op-lt/90d31a377562.mutation.json new file mode 100644 index 00000000..7f290246 --- /dev/null +++ b/corpus/go/bin-op-lt/90d31a377562.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Lt" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": ">=" +} \ No newline at end of file diff --git a/corpus/go/bin-op-lt/base.go b/corpus/go/bin-op-lt/base.go new file mode 100644 index 00000000..e0420bc7 --- /dev/null +++ b/corpus/go/bin-op-lt/base.go @@ -0,0 +1 @@ +package p; var x = a < b diff --git a/corpus/go/bin-op-lt/c978569f22e8.go b/corpus/go/bin-op-lt/c978569f22e8.go new file mode 100644 index 00000000..85eafbb6 --- /dev/null +++ b/corpus/go/bin-op-lt/c978569f22e8.go @@ -0,0 +1 @@ +package p; var x = a <= b diff --git a/corpus/go/bin-op-lt/c978569f22e8.mutation.json b/corpus/go/bin-op-lt/c978569f22e8.mutation.json new file mode 100644 index 00000000..dba47f05 --- /dev/null +++ b/corpus/go/bin-op-lt/c978569f22e8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Lt" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "<=" +} \ No newline at end of file diff --git a/corpus/go/bin-op-lte/1d507c4db9c8.go b/corpus/go/bin-op-lte/1d507c4db9c8.go new file mode 100644 index 00000000..e0420bc7 --- /dev/null +++ b/corpus/go/bin-op-lte/1d507c4db9c8.go @@ -0,0 +1 @@ +package p; var x = a < b diff --git a/corpus/go/bin-op-lte/1d507c4db9c8.mutation.json b/corpus/go/bin-op-lte/1d507c4db9c8.mutation.json new file mode 100644 index 00000000..b4775f19 --- /dev/null +++ b/corpus/go/bin-op-lte/1d507c4db9c8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Lte" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": "<" +} \ No newline at end of file diff --git a/corpus/go/bin-op-lte/74853680d8da.go b/corpus/go/bin-op-lte/74853680d8da.go new file mode 100644 index 00000000..2c76644b --- /dev/null +++ b/corpus/go/bin-op-lte/74853680d8da.go @@ -0,0 +1 @@ +package p; var x = a > b diff --git a/corpus/go/bin-op-lte/74853680d8da.mutation.json b/corpus/go/bin-op-lte/74853680d8da.mutation.json new file mode 100644 index 00000000..930e96d4 --- /dev/null +++ b/corpus/go/bin-op-lte/74853680d8da.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Lte" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": ">" +} \ No newline at end of file diff --git a/corpus/go/bin-op-lte/base.go b/corpus/go/bin-op-lte/base.go new file mode 100644 index 00000000..85eafbb6 --- /dev/null +++ b/corpus/go/bin-op-lte/base.go @@ -0,0 +1 @@ +package p; var x = a <= b diff --git a/corpus/go/bin-op-mul/0f875090113f.go b/corpus/go/bin-op-mul/0f875090113f.go new file mode 100644 index 00000000..a6f75ff0 --- /dev/null +++ b/corpus/go/bin-op-mul/0f875090113f.go @@ -0,0 +1 @@ +package p; var x = a + b diff --git a/corpus/go/bin-op-mul/0f875090113f.mutation.json b/corpus/go/bin-op-mul/0f875090113f.mutation.json new file mode 100644 index 00000000..956cb0b8 --- /dev/null +++ b/corpus/go/bin-op-mul/0f875090113f.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Mul" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "+" +} \ No newline at end of file diff --git a/corpus/go/bin-op-mul/base.go b/corpus/go/bin-op-mul/base.go new file mode 100644 index 00000000..f28d5560 --- /dev/null +++ b/corpus/go/bin-op-mul/base.go @@ -0,0 +1 @@ +package p; var x = a * b diff --git a/corpus/go/bin-op-mul/c79941df5e4c.go b/corpus/go/bin-op-mul/c79941df5e4c.go new file mode 100644 index 00000000..5a5b48be --- /dev/null +++ b/corpus/go/bin-op-mul/c79941df5e4c.go @@ -0,0 +1 @@ +package p; var x = a / b diff --git a/corpus/go/bin-op-mul/c79941df5e4c.mutation.json b/corpus/go/bin-op-mul/c79941df5e4c.mutation.json new file mode 100644 index 00000000..374137a8 --- /dev/null +++ b/corpus/go/bin-op-mul/c79941df5e4c.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Mul" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "/" +} \ No newline at end of file diff --git a/corpus/go/bin-op-ne/base.go b/corpus/go/bin-op-ne/base.go new file mode 100644 index 00000000..97560a16 --- /dev/null +++ b/corpus/go/bin-op-ne/base.go @@ -0,0 +1 @@ +package p; var x = a != b diff --git a/corpus/go/bin-op-ne/bd0ec9a335fb.go b/corpus/go/bin-op-ne/bd0ec9a335fb.go new file mode 100644 index 00000000..afdd036c --- /dev/null +++ b/corpus/go/bin-op-ne/bd0ec9a335fb.go @@ -0,0 +1 @@ +package p; var x = a == b diff --git a/corpus/go/bin-op-ne/bd0ec9a335fb.mutation.json b/corpus/go/bin-op-ne/bd0ec9a335fb.mutation.json new file mode 100644 index 00000000..8263b42b --- /dev/null +++ b/corpus/go/bin-op-ne/bd0ec9a335fb.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Ne" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": "==" +} \ No newline at end of file diff --git a/corpus/go/bin-op-or/2030a7d5e471.go b/corpus/go/bin-op-or/2030a7d5e471.go new file mode 100644 index 00000000..94923f22 --- /dev/null +++ b/corpus/go/bin-op-or/2030a7d5e471.go @@ -0,0 +1 @@ +package p; var x = a && b diff --git a/corpus/go/bin-op-or/2030a7d5e471.mutation.json b/corpus/go/bin-op-or/2030a7d5e471.mutation.json new file mode 100644 index 00000000..ab90e7a0 --- /dev/null +++ b/corpus/go/bin-op-or/2030a7d5e471.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Or" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": "&&" +} \ No newline at end of file diff --git a/corpus/go/bin-op-or/base.go b/corpus/go/bin-op-or/base.go new file mode 100644 index 00000000..66687ab7 --- /dev/null +++ b/corpus/go/bin-op-or/base.go @@ -0,0 +1 @@ +package p; var x = a || b diff --git a/corpus/go/bin-op-rem/90a231cec219.go b/corpus/go/bin-op-rem/90a231cec219.go new file mode 100644 index 00000000..f28d5560 --- /dev/null +++ b/corpus/go/bin-op-rem/90a231cec219.go @@ -0,0 +1 @@ +package p; var x = a * b diff --git a/corpus/go/bin-op-rem/90a231cec219.mutation.json b/corpus/go/bin-op-rem/90a231cec219.mutation.json new file mode 100644 index 00000000..3d8c97c9 --- /dev/null +++ b/corpus/go/bin-op-rem/90a231cec219.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Rem" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "*" +} \ No newline at end of file diff --git a/corpus/go/bin-op-rem/base.go b/corpus/go/bin-op-rem/base.go new file mode 100644 index 00000000..fdb3e672 --- /dev/null +++ b/corpus/go/bin-op-rem/base.go @@ -0,0 +1 @@ +package p; var x = a % b diff --git a/corpus/go/bin-op-rem/c79941df5e4c.go b/corpus/go/bin-op-rem/c79941df5e4c.go new file mode 100644 index 00000000..5a5b48be --- /dev/null +++ b/corpus/go/bin-op-rem/c79941df5e4c.go @@ -0,0 +1 @@ +package p; var x = a / b diff --git a/corpus/go/bin-op-rem/c79941df5e4c.mutation.json b/corpus/go/bin-op-rem/c79941df5e4c.mutation.json new file mode 100644 index 00000000..5263ec43 --- /dev/null +++ b/corpus/go/bin-op-rem/c79941df5e4c.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Rem" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "/" +} \ No newline at end of file diff --git a/corpus/go/bin-op-shl/b4d13ce9a1dd.go b/corpus/go/bin-op-shl/b4d13ce9a1dd.go new file mode 100644 index 00000000..9b21b62f --- /dev/null +++ b/corpus/go/bin-op-shl/b4d13ce9a1dd.go @@ -0,0 +1 @@ +package p; var x = a >> b diff --git a/corpus/go/bin-op-shl/b4d13ce9a1dd.mutation.json b/corpus/go/bin-op-shl/b4d13ce9a1dd.mutation.json new file mode 100644 index 00000000..907ebe85 --- /dev/null +++ b/corpus/go/bin-op-shl/b4d13ce9a1dd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Shl" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": ">>" +} \ No newline at end of file diff --git a/corpus/go/bin-op-shl/base.go b/corpus/go/bin-op-shl/base.go new file mode 100644 index 00000000..85e8423d --- /dev/null +++ b/corpus/go/bin-op-shl/base.go @@ -0,0 +1 @@ +package p; var x = a << b diff --git a/corpus/go/bin-op-shr/42d5c8ee6db8.go b/corpus/go/bin-op-shr/42d5c8ee6db8.go new file mode 100644 index 00000000..85e8423d --- /dev/null +++ b/corpus/go/bin-op-shr/42d5c8ee6db8.go @@ -0,0 +1 @@ +package p; var x = a << b diff --git a/corpus/go/bin-op-shr/42d5c8ee6db8.mutation.json b/corpus/go/bin-op-shr/42d5c8ee6db8.mutation.json new file mode 100644 index 00000000..6496316a --- /dev/null +++ b/corpus/go/bin-op-shr/42d5c8ee6db8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Shr" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + } + }, + "subst": "<<" +} \ No newline at end of file diff --git a/corpus/go/bin-op-shr/base.go b/corpus/go/bin-op-shr/base.go new file mode 100644 index 00000000..9b21b62f --- /dev/null +++ b/corpus/go/bin-op-shr/base.go @@ -0,0 +1 @@ +package p; var x = a >> b diff --git a/corpus/go/bin-op-sub/0f875090113f.go b/corpus/go/bin-op-sub/0f875090113f.go new file mode 100644 index 00000000..a6f75ff0 --- /dev/null +++ b/corpus/go/bin-op-sub/0f875090113f.go @@ -0,0 +1 @@ +package p; var x = a + b diff --git a/corpus/go/bin-op-sub/0f875090113f.mutation.json b/corpus/go/bin-op-sub/0f875090113f.mutation.json new file mode 100644 index 00000000..c7d28df3 --- /dev/null +++ b/corpus/go/bin-op-sub/0f875090113f.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Sub" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "+" +} \ No newline at end of file diff --git a/corpus/go/bin-op-sub/base.go b/corpus/go/bin-op-sub/base.go new file mode 100644 index 00000000..906f0fa7 --- /dev/null +++ b/corpus/go/bin-op-sub/base.go @@ -0,0 +1 @@ +package p; var x = a - b diff --git a/corpus/go/bin-op-sub/c79941df5e4c.go b/corpus/go/bin-op-sub/c79941df5e4c.go new file mode 100644 index 00000000..5a5b48be --- /dev/null +++ b/corpus/go/bin-op-sub/c79941df5e4c.go @@ -0,0 +1 @@ +package p; var x = a / b diff --git a/corpus/go/bin-op-sub/c79941df5e4c.mutation.json b/corpus/go/bin-op-sub/c79941df5e4c.mutation.json new file mode 100644 index 00000000..1fd72884 --- /dev/null +++ b/corpus/go/bin-op-sub/c79941df5e4c.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Sub" + }, + "subst_span": { + "start": { + "line": 0, + "col": 21, + "byte": 21 + }, + "end": { + "line": 0, + "col": 22, + "byte": 22 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "/" +} \ No newline at end of file diff --git a/corpus/go/bit-and-assign/2ff664c55ac8.go b/corpus/go/bit-and-assign/2ff664c55ac8.go new file mode 100644 index 00000000..93f87007 --- /dev/null +++ b/corpus/go/bit-and-assign/2ff664c55ac8.go @@ -0,0 +1 @@ +package p; func f() { x &= -1 } diff --git a/corpus/go/bit-and-assign/2ff664c55ac8.mutation.json b/corpus/go/bit-and-assign/2ff664c55ac8.mutation.json new file mode 100644 index 00000000..2e73c28f --- /dev/null +++ b/corpus/go/bit-and-assign/2ff664c55ac8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/bit-and-assign/368b05e637cd.go b/corpus/go/bit-and-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/bit-and-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/bit-and-assign/368b05e637cd.mutation.json b/corpus/go/bit-and-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..b2f8f850 --- /dev/null +++ b/corpus/go/bit-and-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "BitAndAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/bit-and-assign/81f132009be9.go b/corpus/go/bit-and-assign/81f132009be9.go new file mode 100644 index 00000000..b7dede7d --- /dev/null +++ b/corpus/go/bit-and-assign/81f132009be9.go @@ -0,0 +1 @@ +package p; func f() { x |= 1 } diff --git a/corpus/go/bit-and-assign/81f132009be9.mutation.json b/corpus/go/bit-and-assign/81f132009be9.mutation.json new file mode 100644 index 00000000..68ca0cd9 --- /dev/null +++ b/corpus/go/bit-and-assign/81f132009be9.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "BitAndAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "|=" +} \ No newline at end of file diff --git a/corpus/go/bit-and-assign/8de8146a2689.go b/corpus/go/bit-and-assign/8de8146a2689.go new file mode 100644 index 00000000..7f73db86 --- /dev/null +++ b/corpus/go/bit-and-assign/8de8146a2689.go @@ -0,0 +1 @@ +package p; func f() { x &= 0 } diff --git a/corpus/go/bit-and-assign/8de8146a2689.mutation.json b/corpus/go/bit-and-assign/8de8146a2689.mutation.json new file mode 100644 index 00000000..707fd45e --- /dev/null +++ b/corpus/go/bit-and-assign/8de8146a2689.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/bit-and-assign/base.go b/corpus/go/bit-and-assign/base.go new file mode 100644 index 00000000..59f124f6 --- /dev/null +++ b/corpus/go/bit-and-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x &= 1 } diff --git a/corpus/go/bit-and-assign/df1e86672dd8.go b/corpus/go/bit-and-assign/df1e86672dd8.go new file mode 100644 index 00000000..59f124f6 --- /dev/null +++ b/corpus/go/bit-and-assign/df1e86672dd8.go @@ -0,0 +1 @@ +package p; func f() { x &= 1 } diff --git a/corpus/go/bit-and-assign/df1e86672dd8.mutation.json b/corpus/go/bit-and-assign/df1e86672dd8.mutation.json new file mode 100644 index 00000000..57047b77 --- /dev/null +++ b/corpus/go/bit-and-assign/df1e86672dd8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/bit-and-assign/ef83feb43f1d.go b/corpus/go/bit-and-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/bit-and-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/bit-and-assign/ef83feb43f1d.mutation.json b/corpus/go/bit-and-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..dd9f377a --- /dev/null +++ b/corpus/go/bit-and-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/bit-or-assign/368b05e637cd.go b/corpus/go/bit-or-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/bit-or-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/bit-or-assign/368b05e637cd.mutation.json b/corpus/go/bit-or-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..deb8928e --- /dev/null +++ b/corpus/go/bit-or-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "BitOrAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/bit-or-assign/81f132009be9.go b/corpus/go/bit-or-assign/81f132009be9.go new file mode 100644 index 00000000..b7dede7d --- /dev/null +++ b/corpus/go/bit-or-assign/81f132009be9.go @@ -0,0 +1 @@ +package p; func f() { x |= 1 } diff --git a/corpus/go/bit-or-assign/81f132009be9.mutation.json b/corpus/go/bit-or-assign/81f132009be9.mutation.json new file mode 100644 index 00000000..57047b77 --- /dev/null +++ b/corpus/go/bit-or-assign/81f132009be9.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/bit-or-assign/9f86fd02ecf9.go b/corpus/go/bit-or-assign/9f86fd02ecf9.go new file mode 100644 index 00000000..de14ad7b --- /dev/null +++ b/corpus/go/bit-or-assign/9f86fd02ecf9.go @@ -0,0 +1 @@ +package p; func f() { x |= -1 } diff --git a/corpus/go/bit-or-assign/9f86fd02ecf9.mutation.json b/corpus/go/bit-or-assign/9f86fd02ecf9.mutation.json new file mode 100644 index 00000000..2e73c28f --- /dev/null +++ b/corpus/go/bit-or-assign/9f86fd02ecf9.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/bit-or-assign/base.go b/corpus/go/bit-or-assign/base.go new file mode 100644 index 00000000..b7dede7d --- /dev/null +++ b/corpus/go/bit-or-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x |= 1 } diff --git a/corpus/go/bit-or-assign/c7bb31d196f4.go b/corpus/go/bit-or-assign/c7bb31d196f4.go new file mode 100644 index 00000000..d681c2b5 --- /dev/null +++ b/corpus/go/bit-or-assign/c7bb31d196f4.go @@ -0,0 +1 @@ +package p; func f() { x |= 0 } diff --git a/corpus/go/bit-or-assign/c7bb31d196f4.mutation.json b/corpus/go/bit-or-assign/c7bb31d196f4.mutation.json new file mode 100644 index 00000000..707fd45e --- /dev/null +++ b/corpus/go/bit-or-assign/c7bb31d196f4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/bit-or-assign/df1e86672dd8.go b/corpus/go/bit-or-assign/df1e86672dd8.go new file mode 100644 index 00000000..59f124f6 --- /dev/null +++ b/corpus/go/bit-or-assign/df1e86672dd8.go @@ -0,0 +1 @@ +package p; func f() { x &= 1 } diff --git a/corpus/go/bit-or-assign/df1e86672dd8.mutation.json b/corpus/go/bit-or-assign/df1e86672dd8.mutation.json new file mode 100644 index 00000000..7390ed74 --- /dev/null +++ b/corpus/go/bit-or-assign/df1e86672dd8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "BitOrAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "&=" +} \ No newline at end of file diff --git a/corpus/go/bit-or-assign/ef83feb43f1d.go b/corpus/go/bit-or-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/bit-or-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/bit-or-assign/ef83feb43f1d.mutation.json b/corpus/go/bit-or-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..dd9f377a --- /dev/null +++ b/corpus/go/bit-or-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/bit-xor-assign/0755350b98f8.go b/corpus/go/bit-xor-assign/0755350b98f8.go new file mode 100644 index 00000000..a5f27cd5 --- /dev/null +++ b/corpus/go/bit-xor-assign/0755350b98f8.go @@ -0,0 +1 @@ +package p; func f() { x ^= 0 } diff --git a/corpus/go/bit-xor-assign/0755350b98f8.mutation.json b/corpus/go/bit-xor-assign/0755350b98f8.mutation.json new file mode 100644 index 00000000..707fd45e --- /dev/null +++ b/corpus/go/bit-xor-assign/0755350b98f8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/bit-xor-assign/2bc9bebf112f.go b/corpus/go/bit-xor-assign/2bc9bebf112f.go new file mode 100644 index 00000000..a3ea4350 --- /dev/null +++ b/corpus/go/bit-xor-assign/2bc9bebf112f.go @@ -0,0 +1 @@ +package p; func f() { x ^= 1 } diff --git a/corpus/go/bit-xor-assign/2bc9bebf112f.mutation.json b/corpus/go/bit-xor-assign/2bc9bebf112f.mutation.json new file mode 100644 index 00000000..57047b77 --- /dev/null +++ b/corpus/go/bit-xor-assign/2bc9bebf112f.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/bit-xor-assign/368b05e637cd.go b/corpus/go/bit-xor-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/bit-xor-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/bit-xor-assign/368b05e637cd.mutation.json b/corpus/go/bit-xor-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..1e5adc60 --- /dev/null +++ b/corpus/go/bit-xor-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "BitXorAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/bit-xor-assign/80e86eac68f8.go b/corpus/go/bit-xor-assign/80e86eac68f8.go new file mode 100644 index 00000000..9a2fd031 --- /dev/null +++ b/corpus/go/bit-xor-assign/80e86eac68f8.go @@ -0,0 +1 @@ +package p; func f() { x ^= -1 } diff --git a/corpus/go/bit-xor-assign/80e86eac68f8.mutation.json b/corpus/go/bit-xor-assign/80e86eac68f8.mutation.json new file mode 100644 index 00000000..2e73c28f --- /dev/null +++ b/corpus/go/bit-xor-assign/80e86eac68f8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/bit-xor-assign/base.go b/corpus/go/bit-xor-assign/base.go new file mode 100644 index 00000000..a3ea4350 --- /dev/null +++ b/corpus/go/bit-xor-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x ^= 1 } diff --git a/corpus/go/bit-xor-assign/df1e86672dd8.go b/corpus/go/bit-xor-assign/df1e86672dd8.go new file mode 100644 index 00000000..59f124f6 --- /dev/null +++ b/corpus/go/bit-xor-assign/df1e86672dd8.go @@ -0,0 +1 @@ +package p; func f() { x &= 1 } diff --git a/corpus/go/bit-xor-assign/df1e86672dd8.mutation.json b/corpus/go/bit-xor-assign/df1e86672dd8.mutation.json new file mode 100644 index 00000000..e1607eb3 --- /dev/null +++ b/corpus/go/bit-xor-assign/df1e86672dd8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "BitXorAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "&=" +} \ No newline at end of file diff --git a/corpus/go/bit-xor-assign/ef83feb43f1d.go b/corpus/go/bit-xor-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/bit-xor-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/bit-xor-assign/ef83feb43f1d.mutation.json b/corpus/go/bit-xor-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..dd9f377a --- /dev/null +++ b/corpus/go/bit-xor-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/condition-for/16f1a7719c28.go b/corpus/go/condition-for/16f1a7719c28.go new file mode 100644 index 00000000..b74e4652 --- /dev/null +++ b/corpus/go/condition-for/16f1a7719c28.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; i < 10; i++ {} } diff --git a/corpus/go/condition-for/16f1a7719c28.mutation.json b/corpus/go/condition-for/16f1a7719c28.mutation.json new file mode 100644 index 00000000..f88f7b68 --- /dev/null +++ b/corpus/go/condition-for/16f1a7719c28.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 46, + "byte": 46 + }, + "end": { + "line": 0, + "col": 49, + "byte": 49 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 46, + "byte": 46 + }, + "end": { + "line": 0, + "col": 49, + "byte": 49 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/condition-for/1bd9538edf01.go b/corpus/go/condition-for/1bd9538edf01.go new file mode 100644 index 00000000..defebc8d --- /dev/null +++ b/corpus/go/condition-for/1bd9538edf01.go @@ -0,0 +1 @@ +package p; func f() { for i := 1; i < 10; i++ { } } diff --git a/corpus/go/condition-for/1bd9538edf01.mutation.json b/corpus/go/condition-for/1bd9538edf01.mutation.json new file mode 100644 index 00000000..88c43f3c --- /dev/null +++ b/corpus/go/condition-for/1bd9538edf01.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/condition-for/57067bfb3b8e.go b/corpus/go/condition-for/57067bfb3b8e.go new file mode 100644 index 00000000..fe544bb9 --- /dev/null +++ b/corpus/go/condition-for/57067bfb3b8e.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; i < 10; i++ { } } diff --git a/corpus/go/condition-for/57067bfb3b8e.mutation.json b/corpus/go/condition-for/57067bfb3b8e.mutation.json new file mode 100644 index 00000000..c89c0181 --- /dev/null +++ b/corpus/go/condition-for/57067bfb3b8e.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/condition-for/6251ae455e2f.go b/corpus/go/condition-for/6251ae455e2f.go new file mode 100644 index 00000000..31179247 --- /dev/null +++ b/corpus/go/condition-for/6251ae455e2f.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; i < 1; i++ { } } diff --git a/corpus/go/condition-for/6251ae455e2f.mutation.json b/corpus/go/condition-for/6251ae455e2f.mutation.json new file mode 100644 index 00000000..8e4c8ff7 --- /dev/null +++ b/corpus/go/condition-for/6251ae455e2f.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/condition-for/65f840879ac4.go b/corpus/go/condition-for/65f840879ac4.go new file mode 100644 index 00000000..0be44a66 --- /dev/null +++ b/corpus/go/condition-for/65f840879ac4.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; i <= 10; i++ { } } diff --git a/corpus/go/condition-for/65f840879ac4.mutation.json b/corpus/go/condition-for/65f840879ac4.mutation.json new file mode 100644 index 00000000..69853958 --- /dev/null +++ b/corpus/go/condition-for/65f840879ac4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Lt" + }, + "subst_span": { + "start": { + "line": 0, + "col": 36, + "byte": 36 + }, + "end": { + "line": 0, + "col": 37, + "byte": 37 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "<=" +} \ No newline at end of file diff --git a/corpus/go/condition-for/99eb35eb171f.go b/corpus/go/condition-for/99eb35eb171f.go new file mode 100644 index 00000000..f0921d5a --- /dev/null +++ b/corpus/go/condition-for/99eb35eb171f.go @@ -0,0 +1 @@ +package p; func f() { for i := -1; i < 10; i++ { } } diff --git a/corpus/go/condition-for/99eb35eb171f.mutation.json b/corpus/go/condition-for/99eb35eb171f.mutation.json new file mode 100644 index 00000000..64d219e6 --- /dev/null +++ b/corpus/go/condition-for/99eb35eb171f.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 32, + "byte": 32 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/condition-for/ac8bacd5c6e4.go b/corpus/go/condition-for/ac8bacd5c6e4.go new file mode 100644 index 00000000..9420c1f6 --- /dev/null +++ b/corpus/go/condition-for/ac8bacd5c6e4.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; i < -1; i++ { } } diff --git a/corpus/go/condition-for/ac8bacd5c6e4.mutation.json b/corpus/go/condition-for/ac8bacd5c6e4.mutation.json new file mode 100644 index 00000000..71a7569b --- /dev/null +++ b/corpus/go/condition-for/ac8bacd5c6e4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/condition-for/ad9e5288dd4a.go b/corpus/go/condition-for/ad9e5288dd4a.go new file mode 100644 index 00000000..b7ed1015 --- /dev/null +++ b/corpus/go/condition-for/ad9e5288dd4a.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; false; i++ { } } diff --git a/corpus/go/condition-for/ad9e5288dd4a.mutation.json b/corpus/go/condition-for/ad9e5288dd4a.mutation.json new file mode 100644 index 00000000..9902d24c --- /dev/null +++ b/corpus/go/condition-for/ad9e5288dd4a.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "Condition", + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 49, + "byte": 49 + } + } + }, + "subst": "false" +} \ No newline at end of file diff --git a/corpus/go/condition-for/b4ff5b0e79dd.go b/corpus/go/condition-for/b4ff5b0e79dd.go new file mode 100644 index 00000000..7f84cf27 --- /dev/null +++ b/corpus/go/condition-for/b4ff5b0e79dd.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; true; i++ { } } diff --git a/corpus/go/condition-for/b4ff5b0e79dd.mutation.json b/corpus/go/condition-for/b4ff5b0e79dd.mutation.json new file mode 100644 index 00000000..f15a4995 --- /dev/null +++ b/corpus/go/condition-for/b4ff5b0e79dd.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "Condition", + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 49, + "byte": 49 + } + } + }, + "subst": "true" +} \ No newline at end of file diff --git a/corpus/go/condition-for/base.go b/corpus/go/condition-for/base.go new file mode 100644 index 00000000..fe544bb9 --- /dev/null +++ b/corpus/go/condition-for/base.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; i < 10; i++ { } } diff --git a/corpus/go/condition-for/eda2763060cf.go b/corpus/go/condition-for/eda2763060cf.go new file mode 100644 index 00000000..8ea54ff3 --- /dev/null +++ b/corpus/go/condition-for/eda2763060cf.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; i < 0; i++ { } } diff --git a/corpus/go/condition-for/eda2763060cf.mutation.json b/corpus/go/condition-for/eda2763060cf.mutation.json new file mode 100644 index 00000000..962819e2 --- /dev/null +++ b/corpus/go/condition-for/eda2763060cf.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/condition-for/ef83feb43f1d.go b/corpus/go/condition-for/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/condition-for/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/condition-for/ef83feb43f1d.mutation.json b/corpus/go/condition-for/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..a3292241 --- /dev/null +++ b/corpus/go/condition-for/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/condition-for/f3cdb37ba5f9.go b/corpus/go/condition-for/f3cdb37ba5f9.go new file mode 100644 index 00000000..2828c199 --- /dev/null +++ b/corpus/go/condition-for/f3cdb37ba5f9.go @@ -0,0 +1 @@ +package p; func f() { for i := 0; i >= 10; i++ { } } diff --git a/corpus/go/condition-for/f3cdb37ba5f9.mutation.json b/corpus/go/condition-for/f3cdb37ba5f9.mutation.json new file mode 100644 index 00000000..1586d3fa --- /dev/null +++ b/corpus/go/condition-for/f3cdb37ba5f9.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Lt" + }, + "subst_span": { + "start": { + "line": 0, + "col": 36, + "byte": 36 + }, + "end": { + "line": 0, + "col": 37, + "byte": 37 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": ">=" +} \ No newline at end of file diff --git a/corpus/go/condition/39b78ac26259.go b/corpus/go/condition/39b78ac26259.go new file mode 100644 index 00000000..f4dc61d2 --- /dev/null +++ b/corpus/go/condition/39b78ac26259.go @@ -0,0 +1 @@ +package p; func f() { if true { return } } diff --git a/corpus/go/condition/39b78ac26259.mutation.json b/corpus/go/condition/39b78ac26259.mutation.json new file mode 100644 index 00000000..9b43d5dc --- /dev/null +++ b/corpus/go/condition/39b78ac26259.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "Condition", + "subst_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + } + }, + "subst": "true" +} \ No newline at end of file diff --git a/corpus/go/condition/4ca835df9397.go b/corpus/go/condition/4ca835df9397.go new file mode 100644 index 00000000..1ced2d71 --- /dev/null +++ b/corpus/go/condition/4ca835df9397.go @@ -0,0 +1 @@ +package p; func f() { if x > 0 {} } diff --git a/corpus/go/condition/4ca835df9397.mutation.json b/corpus/go/condition/4ca835df9397.mutation.json new file mode 100644 index 00000000..d254495d --- /dev/null +++ b/corpus/go/condition/4ca835df9397.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 31, + "byte": 31 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/condition/57f2409f395b.go b/corpus/go/condition/57f2409f395b.go new file mode 100644 index 00000000..6bbebcf9 --- /dev/null +++ b/corpus/go/condition/57f2409f395b.go @@ -0,0 +1 @@ +package p; func f() { if x <= 0 { return } } diff --git a/corpus/go/condition/57f2409f395b.mutation.json b/corpus/go/condition/57f2409f395b.mutation.json new file mode 100644 index 00000000..c78d5e3c --- /dev/null +++ b/corpus/go/condition/57f2409f395b.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Gt" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "<=" +} \ No newline at end of file diff --git a/corpus/go/condition/5aa7ab213410.go b/corpus/go/condition/5aa7ab213410.go new file mode 100644 index 00000000..3d2c46e8 --- /dev/null +++ b/corpus/go/condition/5aa7ab213410.go @@ -0,0 +1 @@ +package p; func f() { if x > 1 { return } } diff --git a/corpus/go/condition/5aa7ab213410.mutation.json b/corpus/go/condition/5aa7ab213410.mutation.json new file mode 100644 index 00000000..7d54ce24 --- /dev/null +++ b/corpus/go/condition/5aa7ab213410.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 29, + "byte": 29 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 29, + "byte": 29 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/condition/68c326a070ef.go b/corpus/go/condition/68c326a070ef.go new file mode 100644 index 00000000..2c45a932 --- /dev/null +++ b/corpus/go/condition/68c326a070ef.go @@ -0,0 +1 @@ +package p; func f() { if false { return } } diff --git a/corpus/go/condition/68c326a070ef.mutation.json b/corpus/go/condition/68c326a070ef.mutation.json new file mode 100644 index 00000000..47ac341c --- /dev/null +++ b/corpus/go/condition/68c326a070ef.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "Condition", + "subst_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + } + }, + "subst": "false" +} \ No newline at end of file diff --git a/corpus/go/condition/a034a88076a8.go b/corpus/go/condition/a034a88076a8.go new file mode 100644 index 00000000..277223f2 --- /dev/null +++ b/corpus/go/condition/a034a88076a8.go @@ -0,0 +1 @@ +package p; func f() { if x >= 0 { return } } diff --git a/corpus/go/condition/a034a88076a8.mutation.json b/corpus/go/condition/a034a88076a8.mutation.json new file mode 100644 index 00000000..07917f4e --- /dev/null +++ b/corpus/go/condition/a034a88076a8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "BinaryOp": "Gt" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 25, + "byte": 25 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": ">=" +} \ No newline at end of file diff --git a/corpus/go/condition/base.go b/corpus/go/condition/base.go new file mode 100644 index 00000000..e637c9a8 --- /dev/null +++ b/corpus/go/condition/base.go @@ -0,0 +1 @@ +package p; func f() { if x > 0 { return } } diff --git a/corpus/go/condition/d0633b0833c6.go b/corpus/go/condition/d0633b0833c6.go new file mode 100644 index 00000000..4270e660 --- /dev/null +++ b/corpus/go/condition/d0633b0833c6.go @@ -0,0 +1 @@ +package p; func f() { if x > -1 { return } } diff --git a/corpus/go/condition/d0633b0833c6.mutation.json b/corpus/go/condition/d0633b0833c6.mutation.json new file mode 100644 index 00000000..0da1b267 --- /dev/null +++ b/corpus/go/condition/d0633b0833c6.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 29, + "byte": 29 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 29, + "byte": 29 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/condition/ef6b6711f144.go b/corpus/go/condition/ef6b6711f144.go new file mode 100644 index 00000000..e637c9a8 --- /dev/null +++ b/corpus/go/condition/ef6b6711f144.go @@ -0,0 +1 @@ +package p; func f() { if x > 0 { return } } diff --git a/corpus/go/condition/ef6b6711f144.mutation.json b/corpus/go/condition/ef6b6711f144.mutation.json new file mode 100644 index 00000000..a4a723b7 --- /dev/null +++ b/corpus/go/condition/ef6b6711f144.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 29, + "byte": 29 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 29, + "byte": 29 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/condition/ef83feb43f1d.go b/corpus/go/condition/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/condition/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/condition/ef83feb43f1d.mutation.json b/corpus/go/condition/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..cfbbcc88 --- /dev/null +++ b/corpus/go/condition/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 43, + "byte": 43 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 43, + "byte": 43 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-bool-values/3fff18f57fc0.go b/corpus/go/dict-decl-bool-values/3fff18f57fc0.go new file mode 100644 index 00000000..2894fe36 --- /dev/null +++ b/corpus/go/dict-decl-bool-values/3fff18f57fc0.go @@ -0,0 +1 @@ +package p; var x = map[string]bool{"": true, "visible": false} diff --git a/corpus/go/dict-decl-bool-values/3fff18f57fc0.mutation.json b/corpus/go/dict-decl-bool-values/3fff18f57fc0.mutation.json new file mode 100644 index 00000000..b72a8f2a --- /dev/null +++ b/corpus/go/dict-decl-bool-values/3fff18f57fc0.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 35, + "byte": 35 + }, + "end": { + "line": 0, + "col": 44, + "byte": 44 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 35, + "byte": 35 + }, + "end": { + "line": 0, + "col": 44, + "byte": 44 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-bool-values/423d7ba7d5ea.go b/corpus/go/dict-decl-bool-values/423d7ba7d5ea.go new file mode 100644 index 00000000..5f003166 --- /dev/null +++ b/corpus/go/dict-decl-bool-values/423d7ba7d5ea.go @@ -0,0 +1 @@ +package p; var x = map[string]bool{"enabled": true, "": false} diff --git a/corpus/go/dict-decl-bool-values/423d7ba7d5ea.mutation.json b/corpus/go/dict-decl-bool-values/423d7ba7d5ea.mutation.json new file mode 100644 index 00000000..46dabc52 --- /dev/null +++ b/corpus/go/dict-decl-bool-values/423d7ba7d5ea.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 52, + "byte": 52 + }, + "end": { + "line": 0, + "col": 61, + "byte": 61 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 52, + "byte": 52 + }, + "end": { + "line": 0, + "col": 61, + "byte": 61 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-bool-values/5a8aeaa3cb65.go b/corpus/go/dict-decl-bool-values/5a8aeaa3cb65.go new file mode 100644 index 00000000..a3bdc55c --- /dev/null +++ b/corpus/go/dict-decl-bool-values/5a8aeaa3cb65.go @@ -0,0 +1 @@ +package p; var x = map[string]bool{} diff --git a/corpus/go/dict-decl-bool-values/5a8aeaa3cb65.mutation.json b/corpus/go/dict-decl-bool-values/5a8aeaa3cb65.mutation.json new file mode 100644 index 00000000..c3417868 --- /dev/null +++ b/corpus/go/dict-decl-bool-values/5a8aeaa3cb65.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 69, + "byte": 69 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 69, + "byte": 69 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-bool-values/b4083f4f83c4.go b/corpus/go/dict-decl-bool-values/b4083f4f83c4.go new file mode 100644 index 00000000..1096e10a --- /dev/null +++ b/corpus/go/dict-decl-bool-values/b4083f4f83c4.go @@ -0,0 +1 @@ +package p; var x = map[string]bool{"enabled": false, "visible": false} diff --git a/corpus/go/dict-decl-bool-values/b4083f4f83c4.mutation.json b/corpus/go/dict-decl-bool-values/b4083f4f83c4.mutation.json new file mode 100644 index 00000000..2e3c9bc0 --- /dev/null +++ b/corpus/go/dict-decl-bool-values/b4083f4f83c4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "BoolTrue" + }, + "subst_span": { + "start": { + "line": 0, + "col": 46, + "byte": 46 + }, + "end": { + "line": 0, + "col": 50, + "byte": 50 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 46, + "byte": 46 + }, + "end": { + "line": 0, + "col": 50, + "byte": 50 + } + } + }, + "subst": "false" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-bool-values/base.go b/corpus/go/dict-decl-bool-values/base.go new file mode 100644 index 00000000..4a9ad8bc --- /dev/null +++ b/corpus/go/dict-decl-bool-values/base.go @@ -0,0 +1 @@ +package p; var x = map[string]bool{"enabled": true, "visible": false} diff --git a/corpus/go/dict-decl-bool-values/d39c04316bcd.go b/corpus/go/dict-decl-bool-values/d39c04316bcd.go new file mode 100644 index 00000000..4b73902e --- /dev/null +++ b/corpus/go/dict-decl-bool-values/d39c04316bcd.go @@ -0,0 +1 @@ +package p; var x = map[string]bool{"enabled": true, "visible": true} diff --git a/corpus/go/dict-decl-bool-values/d39c04316bcd.mutation.json b/corpus/go/dict-decl-bool-values/d39c04316bcd.mutation.json new file mode 100644 index 00000000..1be46a16 --- /dev/null +++ b/corpus/go/dict-decl-bool-values/d39c04316bcd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "BoolFalse" + }, + "subst_span": { + "start": { + "line": 0, + "col": 63, + "byte": 63 + }, + "end": { + "line": 0, + "col": 68, + "byte": 68 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 63, + "byte": 63 + }, + "end": { + "line": 0, + "col": 68, + "byte": 68 + } + } + }, + "subst": "true" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-empty-string-values/03e4ed9e1e23.go b/corpus/go/dict-decl-empty-string-values/03e4ed9e1e23.go new file mode 100644 index 00000000..d0006c2c --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/03e4ed9e1e23.go @@ -0,0 +1 @@ +package p; var x = map[int]string{0: "", 99: ""} diff --git a/corpus/go/dict-decl-empty-string-values/03e4ed9e1e23.mutation.json b/corpus/go/dict-decl-empty-string-values/03e4ed9e1e23.mutation.json new file mode 100644 index 00000000..924fe3de --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/03e4ed9e1e23.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 36, + "byte": 36 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 36, + "byte": 36 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-empty-string-values/5452907f3fa3.go b/corpus/go/dict-decl-empty-string-values/5452907f3fa3.go new file mode 100644 index 00000000..ca35fa4b --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/5452907f3fa3.go @@ -0,0 +1 @@ +package p; var x = map[int]string{42: "bough", 99: ""} diff --git a/corpus/go/dict-decl-empty-string-values/5452907f3fa3.mutation.json b/corpus/go/dict-decl-empty-string-values/5452907f3fa3.mutation.json new file mode 100644 index 00000000..b8283102 --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/5452907f3fa3.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "EmptyString" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "\"bough\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-empty-string-values/6c6e3b761653.go b/corpus/go/dict-decl-empty-string-values/6c6e3b761653.go new file mode 100644 index 00000000..86ad395c --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/6c6e3b761653.go @@ -0,0 +1 @@ +package p; var x = map[int]string{-1: "", 99: ""} diff --git a/corpus/go/dict-decl-empty-string-values/6c6e3b761653.mutation.json b/corpus/go/dict-decl-empty-string-values/6c6e3b761653.mutation.json new file mode 100644 index 00000000..0994876a --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/6c6e3b761653.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 36, + "byte": 36 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 36, + "byte": 36 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-empty-string-values/74302252ca96.go b/corpus/go/dict-decl-empty-string-values/74302252ca96.go new file mode 100644 index 00000000..7c50f965 --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/74302252ca96.go @@ -0,0 +1 @@ +package p; var x = map[int]string{} diff --git a/corpus/go/dict-decl-empty-string-values/74302252ca96.mutation.json b/corpus/go/dict-decl-empty-string-values/74302252ca96.mutation.json new file mode 100644 index 00000000..a4decff9 --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/74302252ca96.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 33, + "byte": 33 + }, + "end": { + "line": 0, + "col": 49, + "byte": 49 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 49, + "byte": 49 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-empty-string-values/b255770892f5.go b/corpus/go/dict-decl-empty-string-values/b255770892f5.go new file mode 100644 index 00000000..4793609c --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/b255770892f5.go @@ -0,0 +1 @@ +package p; var x = map[int]string{1: "", 99: ""} diff --git a/corpus/go/dict-decl-empty-string-values/b255770892f5.mutation.json b/corpus/go/dict-decl-empty-string-values/b255770892f5.mutation.json new file mode 100644 index 00000000..adc9d81a --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/b255770892f5.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 36, + "byte": 36 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 36, + "byte": 36 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-empty-string-values/base.go b/corpus/go/dict-decl-empty-string-values/base.go new file mode 100644 index 00000000..82adfb06 --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/base.go @@ -0,0 +1 @@ +package p; var x = map[int]string{42: "", 99: ""} diff --git a/corpus/go/dict-decl-empty-string-values/c6de2f70290f.go b/corpus/go/dict-decl-empty-string-values/c6de2f70290f.go new file mode 100644 index 00000000..3752585b --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/c6de2f70290f.go @@ -0,0 +1 @@ +package p; var x = map[int]string{42: "", 0: ""} diff --git a/corpus/go/dict-decl-empty-string-values/c6de2f70290f.mutation.json b/corpus/go/dict-decl-empty-string-values/c6de2f70290f.mutation.json new file mode 100644 index 00000000..2d52621a --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/c6de2f70290f.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 44, + "byte": 44 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 44, + "byte": 44 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-empty-string-values/c8e02edada12.go b/corpus/go/dict-decl-empty-string-values/c8e02edada12.go new file mode 100644 index 00000000..50c67fe9 --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/c8e02edada12.go @@ -0,0 +1 @@ +package p; var x = map[int]string{42: "", -1: ""} diff --git a/corpus/go/dict-decl-empty-string-values/c8e02edada12.mutation.json b/corpus/go/dict-decl-empty-string-values/c8e02edada12.mutation.json new file mode 100644 index 00000000..2931452f --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/c8e02edada12.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 44, + "byte": 44 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 44, + "byte": 44 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-empty-string-values/daba102bd6f7.go b/corpus/go/dict-decl-empty-string-values/daba102bd6f7.go new file mode 100644 index 00000000..c8a12704 --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/daba102bd6f7.go @@ -0,0 +1 @@ +package p; var x = map[int]string{42: "", 1: ""} diff --git a/corpus/go/dict-decl-empty-string-values/daba102bd6f7.mutation.json b/corpus/go/dict-decl-empty-string-values/daba102bd6f7.mutation.json new file mode 100644 index 00000000..4ff40daf --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/daba102bd6f7.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 44, + "byte": 44 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 44, + "byte": 44 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-empty-string-values/fffac47b9566.go b/corpus/go/dict-decl-empty-string-values/fffac47b9566.go new file mode 100644 index 00000000..1b57d1f0 --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/fffac47b9566.go @@ -0,0 +1 @@ +package p; var x = map[int]string{42: "", 99: "bough"} diff --git a/corpus/go/dict-decl-empty-string-values/fffac47b9566.mutation.json b/corpus/go/dict-decl-empty-string-values/fffac47b9566.mutation.json new file mode 100644 index 00000000..6cee0406 --- /dev/null +++ b/corpus/go/dict-decl-empty-string-values/fffac47b9566.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "EmptyString" + }, + "subst_span": { + "start": { + "line": 0, + "col": 46, + "byte": 46 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 46, + "byte": 46 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + } + }, + "subst": "\"bough\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-float-keys/281a259cffb4.go b/corpus/go/dict-decl-float-keys/281a259cffb4.go new file mode 100644 index 00000000..f419a82a --- /dev/null +++ b/corpus/go/dict-decl-float-keys/281a259cffb4.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{1.5: "a", -1: "b"} diff --git a/corpus/go/dict-decl-float-keys/281a259cffb4.mutation.json b/corpus/go/dict-decl-float-keys/281a259cffb4.mutation.json new file mode 100644 index 00000000..fa1206d6 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/281a259cffb4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 48, + "byte": 48 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 48, + "byte": 48 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-float-keys/3bb0a8bd1394.go b/corpus/go/dict-decl-float-keys/3bb0a8bd1394.go new file mode 100644 index 00000000..309e2018 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/3bb0a8bd1394.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{0: "a", 2.5: "b"} diff --git a/corpus/go/dict-decl-float-keys/3bb0a8bd1394.mutation.json b/corpus/go/dict-decl-float-keys/3bb0a8bd1394.mutation.json new file mode 100644 index 00000000..fd123fb0 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/3bb0a8bd1394.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-float-keys/4b17988c3c35.go b/corpus/go/dict-decl-float-keys/4b17988c3c35.go new file mode 100644 index 00000000..2f577a90 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/4b17988c3c35.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{1.5: "a", 0: "b"} diff --git a/corpus/go/dict-decl-float-keys/4b17988c3c35.mutation.json b/corpus/go/dict-decl-float-keys/4b17988c3c35.mutation.json new file mode 100644 index 00000000..e432cc62 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/4b17988c3c35.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 48, + "byte": 48 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 48, + "byte": 48 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-float-keys/629739a3a17b.go b/corpus/go/dict-decl-float-keys/629739a3a17b.go new file mode 100644 index 00000000..bd2bb19e --- /dev/null +++ b/corpus/go/dict-decl-float-keys/629739a3a17b.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{} diff --git a/corpus/go/dict-decl-float-keys/629739a3a17b.mutation.json b/corpus/go/dict-decl-float-keys/629739a3a17b.mutation.json new file mode 100644 index 00000000..aaf0a2c7 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/629739a3a17b.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 37, + "byte": 37 + }, + "end": { + "line": 0, + "col": 57, + "byte": 57 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 57, + "byte": 57 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-float-keys/a9964eacdc97.go b/corpus/go/dict-decl-float-keys/a9964eacdc97.go new file mode 100644 index 00000000..c5d25c10 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/a9964eacdc97.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{1: "a", 2.5: "b"} diff --git a/corpus/go/dict-decl-float-keys/a9964eacdc97.mutation.json b/corpus/go/dict-decl-float-keys/a9964eacdc97.mutation.json new file mode 100644 index 00000000..d781f8bd --- /dev/null +++ b/corpus/go/dict-decl-float-keys/a9964eacdc97.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-float-keys/b2a6e150b046.go b/corpus/go/dict-decl-float-keys/b2a6e150b046.go new file mode 100644 index 00000000..5aee2961 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/b2a6e150b046.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{1.5: "", 2.5: "b"} diff --git a/corpus/go/dict-decl-float-keys/b2a6e150b046.mutation.json b/corpus/go/dict-decl-float-keys/b2a6e150b046.mutation.json new file mode 100644 index 00000000..a13ef5c8 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/b2a6e150b046.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 43, + "byte": 43 + }, + "end": { + "line": 0, + "col": 46, + "byte": 46 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 43, + "byte": 43 + }, + "end": { + "line": 0, + "col": 46, + "byte": 46 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-float-keys/base.go b/corpus/go/dict-decl-float-keys/base.go new file mode 100644 index 00000000..10f8a2f9 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/base.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{1.5: "a", 2.5: "b"} diff --git a/corpus/go/dict-decl-float-keys/bcac507fa07a.go b/corpus/go/dict-decl-float-keys/bcac507fa07a.go new file mode 100644 index 00000000..8f850137 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/bcac507fa07a.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{-1: "a", 2.5: "b"} diff --git a/corpus/go/dict-decl-float-keys/bcac507fa07a.mutation.json b/corpus/go/dict-decl-float-keys/bcac507fa07a.mutation.json new file mode 100644 index 00000000..44d59677 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/bcac507fa07a.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-float-keys/bdfc86e34b1b.go b/corpus/go/dict-decl-float-keys/bdfc86e34b1b.go new file mode 100644 index 00000000..ddc3ba2e --- /dev/null +++ b/corpus/go/dict-decl-float-keys/bdfc86e34b1b.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{1.5: "a", 1: "b"} diff --git a/corpus/go/dict-decl-float-keys/bdfc86e34b1b.mutation.json b/corpus/go/dict-decl-float-keys/bdfc86e34b1b.mutation.json new file mode 100644 index 00000000..b7b5b606 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/bdfc86e34b1b.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 48, + "byte": 48 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 48, + "byte": 48 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-float-keys/ea61d31777c4.go b/corpus/go/dict-decl-float-keys/ea61d31777c4.go new file mode 100644 index 00000000..93f42bed --- /dev/null +++ b/corpus/go/dict-decl-float-keys/ea61d31777c4.go @@ -0,0 +1 @@ +package p; var x = map[float64]string{1.5: "a", 2.5: ""} diff --git a/corpus/go/dict-decl-float-keys/ea61d31777c4.mutation.json b/corpus/go/dict-decl-float-keys/ea61d31777c4.mutation.json new file mode 100644 index 00000000..f4ae3827 --- /dev/null +++ b/corpus/go/dict-decl-float-keys/ea61d31777c4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 53, + "byte": 53 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 53, + "byte": 53 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-in-func/085898fe2b68.go b/corpus/go/dict-decl-in-func/085898fe2b68.go new file mode 100644 index 00000000..318f2795 --- /dev/null +++ b/corpus/go/dict-decl-in-func/085898fe2b68.go @@ -0,0 +1 @@ +package p; func f() map[string]bool {} diff --git a/corpus/go/dict-decl-in-func/085898fe2b68.mutation.json b/corpus/go/dict-decl-in-func/085898fe2b68.mutation.json new file mode 100644 index 00000000..fd0f3e58 --- /dev/null +++ b/corpus/go/dict-decl-in-func/085898fe2b68.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 36, + "byte": 36 + }, + "end": { + "line": 0, + "col": 73, + "byte": 73 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 36, + "byte": 36 + }, + "end": { + "line": 0, + "col": 73, + "byte": 73 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-in-func/6c39ba2dc2fb.go b/corpus/go/dict-decl-in-func/6c39ba2dc2fb.go new file mode 100644 index 00000000..4326bae3 --- /dev/null +++ b/corpus/go/dict-decl-in-func/6c39ba2dc2fb.go @@ -0,0 +1 @@ +package p; func f() map[string]bool { return map[string]bool{} } diff --git a/corpus/go/dict-decl-in-func/6c39ba2dc2fb.mutation.json b/corpus/go/dict-decl-in-func/6c39ba2dc2fb.mutation.json new file mode 100644 index 00000000..3dbded3f --- /dev/null +++ b/corpus/go/dict-decl-in-func/6c39ba2dc2fb.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 60, + "byte": 60 + }, + "end": { + "line": 0, + "col": 71, + "byte": 71 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 45, + "byte": 45 + }, + "end": { + "line": 0, + "col": 71, + "byte": 71 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-in-func/9e649c48881e.go b/corpus/go/dict-decl-in-func/9e649c48881e.go new file mode 100644 index 00000000..150f4d25 --- /dev/null +++ b/corpus/go/dict-decl-in-func/9e649c48881e.go @@ -0,0 +1 @@ +package p; func f() map[string]bool { return map[string]bool{"x": false} } diff --git a/corpus/go/dict-decl-in-func/9e649c48881e.mutation.json b/corpus/go/dict-decl-in-func/9e649c48881e.mutation.json new file mode 100644 index 00000000..8719c052 --- /dev/null +++ b/corpus/go/dict-decl-in-func/9e649c48881e.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "BoolTrue" + }, + "subst_span": { + "start": { + "line": 0, + "col": 66, + "byte": 66 + }, + "end": { + "line": 0, + "col": 70, + "byte": 70 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 66, + "byte": 66 + }, + "end": { + "line": 0, + "col": 70, + "byte": 70 + } + } + }, + "subst": "false" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-in-func/a1c6b8a3f169.go b/corpus/go/dict-decl-in-func/a1c6b8a3f169.go new file mode 100644 index 00000000..ec0c5c2d --- /dev/null +++ b/corpus/go/dict-decl-in-func/a1c6b8a3f169.go @@ -0,0 +1 @@ +package p; func f() map[string]bool { return map[string]bool{"": true} } diff --git a/corpus/go/dict-decl-in-func/a1c6b8a3f169.mutation.json b/corpus/go/dict-decl-in-func/a1c6b8a3f169.mutation.json new file mode 100644 index 00000000..895da44c --- /dev/null +++ b/corpus/go/dict-decl-in-func/a1c6b8a3f169.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 61, + "byte": 61 + }, + "end": { + "line": 0, + "col": 64, + "byte": 64 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 61, + "byte": 61 + }, + "end": { + "line": 0, + "col": 64, + "byte": 64 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-in-func/base.go b/corpus/go/dict-decl-in-func/base.go new file mode 100644 index 00000000..6bae710f --- /dev/null +++ b/corpus/go/dict-decl-in-func/base.go @@ -0,0 +1 @@ +package p; func f() map[string]bool { return map[string]bool{"x": true} } diff --git a/corpus/go/dict-decl-int-keys/17a4479935cb.go b/corpus/go/dict-decl-int-keys/17a4479935cb.go new file mode 100644 index 00000000..7fc9646f --- /dev/null +++ b/corpus/go/dict-decl-int-keys/17a4479935cb.go @@ -0,0 +1 @@ +package p; var x = map[int]string{1: "a", -1: "b"} diff --git a/corpus/go/dict-decl-int-keys/17a4479935cb.mutation.json b/corpus/go/dict-decl-int-keys/17a4479935cb.mutation.json new file mode 100644 index 00000000..ebccdad0 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/17a4479935cb.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 43, + "byte": 43 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 43, + "byte": 43 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-int-keys/5678231eb71a.go b/corpus/go/dict-decl-int-keys/5678231eb71a.go new file mode 100644 index 00000000..de184df8 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/5678231eb71a.go @@ -0,0 +1 @@ +package p; var x = map[int]string{1: "", 2: "b"} diff --git a/corpus/go/dict-decl-int-keys/5678231eb71a.mutation.json b/corpus/go/dict-decl-int-keys/5678231eb71a.mutation.json new file mode 100644 index 00000000..51f468e4 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/5678231eb71a.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 37, + "byte": 37 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 37, + "byte": 37 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-int-keys/5b2b23cf141d.go b/corpus/go/dict-decl-int-keys/5b2b23cf141d.go new file mode 100644 index 00000000..f7adbd48 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/5b2b23cf141d.go @@ -0,0 +1 @@ +package p; var x = map[int]string{0: "a", 2: "b"} diff --git a/corpus/go/dict-decl-int-keys/5b2b23cf141d.mutation.json b/corpus/go/dict-decl-int-keys/5b2b23cf141d.mutation.json new file mode 100644 index 00000000..b5d79b78 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/5b2b23cf141d.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 35, + "byte": 35 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 35, + "byte": 35 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-int-keys/6a6ce1f14581.go b/corpus/go/dict-decl-int-keys/6a6ce1f14581.go new file mode 100644 index 00000000..b61ce9b5 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/6a6ce1f14581.go @@ -0,0 +1 @@ +package p; var x = map[int]string{1: "a", 2: ""} diff --git a/corpus/go/dict-decl-int-keys/6a6ce1f14581.mutation.json b/corpus/go/dict-decl-int-keys/6a6ce1f14581.mutation.json new file mode 100644 index 00000000..2d644f41 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/6a6ce1f14581.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 45, + "byte": 45 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 45, + "byte": 45 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-int-keys/74302252ca96.go b/corpus/go/dict-decl-int-keys/74302252ca96.go new file mode 100644 index 00000000..7c50f965 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/74302252ca96.go @@ -0,0 +1 @@ +package p; var x = map[int]string{} diff --git a/corpus/go/dict-decl-int-keys/74302252ca96.mutation.json b/corpus/go/dict-decl-int-keys/74302252ca96.mutation.json new file mode 100644 index 00000000..a4decff9 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/74302252ca96.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 33, + "byte": 33 + }, + "end": { + "line": 0, + "col": 49, + "byte": 49 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 49, + "byte": 49 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-int-keys/a53b2b3e0b0a.go b/corpus/go/dict-decl-int-keys/a53b2b3e0b0a.go new file mode 100644 index 00000000..93aa978b --- /dev/null +++ b/corpus/go/dict-decl-int-keys/a53b2b3e0b0a.go @@ -0,0 +1 @@ +package p; var x = map[int]string{1: "a", 2: "b"} diff --git a/corpus/go/dict-decl-int-keys/a53b2b3e0b0a.mutation.json b/corpus/go/dict-decl-int-keys/a53b2b3e0b0a.mutation.json new file mode 100644 index 00000000..9bd935b8 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/a53b2b3e0b0a.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 35, + "byte": 35 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 35, + "byte": 35 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-int-keys/a73ac0033de5.go b/corpus/go/dict-decl-int-keys/a73ac0033de5.go new file mode 100644 index 00000000..997f84fb --- /dev/null +++ b/corpus/go/dict-decl-int-keys/a73ac0033de5.go @@ -0,0 +1 @@ +package p; var x = map[int]string{1: "a", 1: "b"} diff --git a/corpus/go/dict-decl-int-keys/a73ac0033de5.mutation.json b/corpus/go/dict-decl-int-keys/a73ac0033de5.mutation.json new file mode 100644 index 00000000..2d722c66 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/a73ac0033de5.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 43, + "byte": 43 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 43, + "byte": 43 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-int-keys/a824d0519ee3.go b/corpus/go/dict-decl-int-keys/a824d0519ee3.go new file mode 100644 index 00000000..206b53c5 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/a824d0519ee3.go @@ -0,0 +1 @@ +package p; var x = map[int]string{1: "a", 0: "b"} diff --git a/corpus/go/dict-decl-int-keys/a824d0519ee3.mutation.json b/corpus/go/dict-decl-int-keys/a824d0519ee3.mutation.json new file mode 100644 index 00000000..aa4e6231 --- /dev/null +++ b/corpus/go/dict-decl-int-keys/a824d0519ee3.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 43, + "byte": 43 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 43, + "byte": 43 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-int-keys/base.go b/corpus/go/dict-decl-int-keys/base.go new file mode 100644 index 00000000..93aa978b --- /dev/null +++ b/corpus/go/dict-decl-int-keys/base.go @@ -0,0 +1 @@ +package p; var x = map[int]string{1: "a", 2: "b"} diff --git a/corpus/go/dict-decl-int-keys/d08c5db9aa8d.go b/corpus/go/dict-decl-int-keys/d08c5db9aa8d.go new file mode 100644 index 00000000..ed349bdb --- /dev/null +++ b/corpus/go/dict-decl-int-keys/d08c5db9aa8d.go @@ -0,0 +1 @@ +package p; var x = map[int]string{-1: "a", 2: "b"} diff --git a/corpus/go/dict-decl-int-keys/d08c5db9aa8d.mutation.json b/corpus/go/dict-decl-int-keys/d08c5db9aa8d.mutation.json new file mode 100644 index 00000000..d240b4cc --- /dev/null +++ b/corpus/go/dict-decl-int-keys/d08c5db9aa8d.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 35, + "byte": 35 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 35, + "byte": 35 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/0cac1654a664.go b/corpus/go/dict-decl-multi-entry/0cac1654a664.go new file mode 100644 index 00000000..a28df821 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/0cac1654a664.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 0, "b": 2, "c": 3} diff --git a/corpus/go/dict-decl-multi-entry/0cac1654a664.mutation.json b/corpus/go/dict-decl-multi-entry/0cac1654a664.mutation.json new file mode 100644 index 00000000..35034ad1 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/0cac1654a664.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/1f3da1bb6d73.go b/corpus/go/dict-decl-multi-entry/1f3da1bb6d73.go new file mode 100644 index 00000000..3fb0a3d0 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/1f3da1bb6d73.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "b": 2, "c": 0} diff --git a/corpus/go/dict-decl-multi-entry/1f3da1bb6d73.mutation.json b/corpus/go/dict-decl-multi-entry/1f3da1bb6d73.mutation.json new file mode 100644 index 00000000..5aab9d0e --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/1f3da1bb6d73.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 55, + "byte": 55 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 55, + "byte": 55 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/20e855598274.go b/corpus/go/dict-decl-multi-entry/20e855598274.go new file mode 100644 index 00000000..dafbb473 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/20e855598274.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "b": 1, "c": 3} diff --git a/corpus/go/dict-decl-multi-entry/20e855598274.mutation.json b/corpus/go/dict-decl-multi-entry/20e855598274.mutation.json new file mode 100644 index 00000000..55c5b01b --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/20e855598274.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 47, + "byte": 47 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 47, + "byte": 47 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/299e11e4ae44.go b/corpus/go/dict-decl-multi-entry/299e11e4ae44.go new file mode 100644 index 00000000..dd952189 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/299e11e4ae44.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "": 2, "c": 3} diff --git a/corpus/go/dict-decl-multi-entry/299e11e4ae44.mutation.json b/corpus/go/dict-decl-multi-entry/299e11e4ae44.mutation.json new file mode 100644 index 00000000..78edcc7e --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/299e11e4ae44.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 45, + "byte": 45 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 42, + "byte": 42 + }, + "end": { + "line": 0, + "col": 45, + "byte": 45 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/33fe1fb7ec5b.go b/corpus/go/dict-decl-multi-entry/33fe1fb7ec5b.go new file mode 100644 index 00000000..aaad4c55 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/33fe1fb7ec5b.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "b": 2, "": 3} diff --git a/corpus/go/dict-decl-multi-entry/33fe1fb7ec5b.mutation.json b/corpus/go/dict-decl-multi-entry/33fe1fb7ec5b.mutation.json new file mode 100644 index 00000000..5615ff8a --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/33fe1fb7ec5b.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 50, + "byte": 50 + }, + "end": { + "line": 0, + "col": 53, + "byte": 53 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 50, + "byte": 50 + }, + "end": { + "line": 0, + "col": 53, + "byte": 53 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/49a85e5fdbe4.go b/corpus/go/dict-decl-multi-entry/49a85e5fdbe4.go new file mode 100644 index 00000000..ae026553 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/49a85e5fdbe4.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "b": -1, "c": 3} diff --git a/corpus/go/dict-decl-multi-entry/49a85e5fdbe4.mutation.json b/corpus/go/dict-decl-multi-entry/49a85e5fdbe4.mutation.json new file mode 100644 index 00000000..44c5bdf4 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/49a85e5fdbe4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 47, + "byte": 47 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 47, + "byte": 47 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/69e536600531.go b/corpus/go/dict-decl-multi-entry/69e536600531.go new file mode 100644 index 00000000..ef555d87 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/69e536600531.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": -1, "b": 2, "c": 3} diff --git a/corpus/go/dict-decl-multi-entry/69e536600531.mutation.json b/corpus/go/dict-decl-multi-entry/69e536600531.mutation.json new file mode 100644 index 00000000..cbfc7049 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/69e536600531.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/7c87829e7c2d.go b/corpus/go/dict-decl-multi-entry/7c87829e7c2d.go new file mode 100644 index 00000000..9c41c0df --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/7c87829e7c2d.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "b": 0, "c": 3} diff --git a/corpus/go/dict-decl-multi-entry/7c87829e7c2d.mutation.json b/corpus/go/dict-decl-multi-entry/7c87829e7c2d.mutation.json new file mode 100644 index 00000000..e18857d9 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/7c87829e7c2d.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 47, + "byte": 47 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 47, + "byte": 47 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/7cd47306f899.go b/corpus/go/dict-decl-multi-entry/7cd47306f899.go new file mode 100644 index 00000000..34eb433b --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/7cd47306f899.go @@ -0,0 +1 @@ +package p; var x = map[string]int{} diff --git a/corpus/go/dict-decl-multi-entry/7cd47306f899.mutation.json b/corpus/go/dict-decl-multi-entry/7cd47306f899.mutation.json new file mode 100644 index 00000000..504c8033 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/7cd47306f899.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 33, + "byte": 33 + }, + "end": { + "line": 0, + "col": 57, + "byte": 57 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 57, + "byte": 57 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/95c5f75afad8.go b/corpus/go/dict-decl-multi-entry/95c5f75afad8.go new file mode 100644 index 00000000..a2a21867 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/95c5f75afad8.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "b": 2, "c": -1} diff --git a/corpus/go/dict-decl-multi-entry/95c5f75afad8.mutation.json b/corpus/go/dict-decl-multi-entry/95c5f75afad8.mutation.json new file mode 100644 index 00000000..5297a97b --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/95c5f75afad8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 55, + "byte": 55 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 55, + "byte": 55 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/base.go b/corpus/go/dict-decl-multi-entry/base.go new file mode 100644 index 00000000..a169d7a6 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/base.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "b": 2, "c": 3} diff --git a/corpus/go/dict-decl-multi-entry/cdd1eb92dc4a.go b/corpus/go/dict-decl-multi-entry/cdd1eb92dc4a.go new file mode 100644 index 00000000..6d1b98ac --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/cdd1eb92dc4a.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "b": 2, "c": 1} diff --git a/corpus/go/dict-decl-multi-entry/cdd1eb92dc4a.mutation.json b/corpus/go/dict-decl-multi-entry/cdd1eb92dc4a.mutation.json new file mode 100644 index 00000000..7f7d51d0 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/cdd1eb92dc4a.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 55, + "byte": 55 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 55, + "byte": 55 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/e33594d810a3.go b/corpus/go/dict-decl-multi-entry/e33594d810a3.go new file mode 100644 index 00000000..e2eb9f6b --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/e33594d810a3.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"": 1, "b": 2, "c": 3} diff --git a/corpus/go/dict-decl-multi-entry/e33594d810a3.mutation.json b/corpus/go/dict-decl-multi-entry/e33594d810a3.mutation.json new file mode 100644 index 00000000..50177abe --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/e33594d810a3.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 37, + "byte": 37 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 37, + "byte": 37 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-multi-entry/fcd7c589275a.go b/corpus/go/dict-decl-multi-entry/fcd7c589275a.go new file mode 100644 index 00000000..a169d7a6 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/fcd7c589275a.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1, "b": 2, "c": 3} diff --git a/corpus/go/dict-decl-multi-entry/fcd7c589275a.mutation.json b/corpus/go/dict-decl-multi-entry/fcd7c589275a.mutation.json new file mode 100644 index 00000000..b7ffd218 --- /dev/null +++ b/corpus/go/dict-decl-multi-entry/fcd7c589275a.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-nested/273bc6bd6432.go b/corpus/go/dict-decl-nested/273bc6bd6432.go new file mode 100644 index 00000000..45b8923b --- /dev/null +++ b/corpus/go/dict-decl-nested/273bc6bd6432.go @@ -0,0 +1 @@ +package p; var x = map[string]map[string]int{"a": map[string]int{"b": 0}} diff --git a/corpus/go/dict-decl-nested/273bc6bd6432.mutation.json b/corpus/go/dict-decl-nested/273bc6bd6432.mutation.json new file mode 100644 index 00000000..c98e9bad --- /dev/null +++ b/corpus/go/dict-decl-nested/273bc6bd6432.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 70, + "byte": 70 + }, + "end": { + "line": 0, + "col": 71, + "byte": 71 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 70, + "byte": 70 + }, + "end": { + "line": 0, + "col": 71, + "byte": 71 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-nested/3b93137f9656.go b/corpus/go/dict-decl-nested/3b93137f9656.go new file mode 100644 index 00000000..926e70dc --- /dev/null +++ b/corpus/go/dict-decl-nested/3b93137f9656.go @@ -0,0 +1 @@ +package p; var x = map[string]map[string]int{"": map[string]int{"b": 1}} diff --git a/corpus/go/dict-decl-nested/3b93137f9656.mutation.json b/corpus/go/dict-decl-nested/3b93137f9656.mutation.json new file mode 100644 index 00000000..2d644f41 --- /dev/null +++ b/corpus/go/dict-decl-nested/3b93137f9656.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 45, + "byte": 45 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 45, + "byte": 45 + }, + "end": { + "line": 0, + "col": 48, + "byte": 48 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-nested/6b573731fe3a.go b/corpus/go/dict-decl-nested/6b573731fe3a.go new file mode 100644 index 00000000..c531b0bb --- /dev/null +++ b/corpus/go/dict-decl-nested/6b573731fe3a.go @@ -0,0 +1 @@ +package p; var x = map[string]map[string]int{"a": map[string]int{"b": 1}} diff --git a/corpus/go/dict-decl-nested/6b573731fe3a.mutation.json b/corpus/go/dict-decl-nested/6b573731fe3a.mutation.json new file mode 100644 index 00000000..3c2fadc5 --- /dev/null +++ b/corpus/go/dict-decl-nested/6b573731fe3a.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 70, + "byte": 70 + }, + "end": { + "line": 0, + "col": 71, + "byte": 71 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 70, + "byte": 70 + }, + "end": { + "line": 0, + "col": 71, + "byte": 71 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-nested/829fc9a21659.go b/corpus/go/dict-decl-nested/829fc9a21659.go new file mode 100644 index 00000000..da14a4ca --- /dev/null +++ b/corpus/go/dict-decl-nested/829fc9a21659.go @@ -0,0 +1 @@ +package p; var x = map[string]map[string]int{"a": map[string]int{}} diff --git a/corpus/go/dict-decl-nested/829fc9a21659.mutation.json b/corpus/go/dict-decl-nested/829fc9a21659.mutation.json new file mode 100644 index 00000000..8eca91f4 --- /dev/null +++ b/corpus/go/dict-decl-nested/829fc9a21659.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 64, + "byte": 64 + }, + "end": { + "line": 0, + "col": 72, + "byte": 72 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 50, + "byte": 50 + }, + "end": { + "line": 0, + "col": 72, + "byte": 72 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-nested/base.go b/corpus/go/dict-decl-nested/base.go new file mode 100644 index 00000000..c531b0bb --- /dev/null +++ b/corpus/go/dict-decl-nested/base.go @@ -0,0 +1 @@ +package p; var x = map[string]map[string]int{"a": map[string]int{"b": 1}} diff --git a/corpus/go/dict-decl-nested/deebf0ae0232.go b/corpus/go/dict-decl-nested/deebf0ae0232.go new file mode 100644 index 00000000..49ddd344 --- /dev/null +++ b/corpus/go/dict-decl-nested/deebf0ae0232.go @@ -0,0 +1 @@ +package p; var x = map[string]map[string]int{} diff --git a/corpus/go/dict-decl-nested/deebf0ae0232.mutation.json b/corpus/go/dict-decl-nested/deebf0ae0232.mutation.json new file mode 100644 index 00000000..0f60e1a7 --- /dev/null +++ b/corpus/go/dict-decl-nested/deebf0ae0232.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 44, + "byte": 44 + }, + "end": { + "line": 0, + "col": 73, + "byte": 73 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 73, + "byte": 73 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-nested/ec4da5a9fd1e.go b/corpus/go/dict-decl-nested/ec4da5a9fd1e.go new file mode 100644 index 00000000..3d65050d --- /dev/null +++ b/corpus/go/dict-decl-nested/ec4da5a9fd1e.go @@ -0,0 +1 @@ +package p; var x = map[string]map[string]int{"a": map[string]int{"b": -1}} diff --git a/corpus/go/dict-decl-nested/ec4da5a9fd1e.mutation.json b/corpus/go/dict-decl-nested/ec4da5a9fd1e.mutation.json new file mode 100644 index 00000000..bb7383dc --- /dev/null +++ b/corpus/go/dict-decl-nested/ec4da5a9fd1e.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 70, + "byte": 70 + }, + "end": { + "line": 0, + "col": 71, + "byte": 71 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 70, + "byte": 70 + }, + "end": { + "line": 0, + "col": 71, + "byte": 71 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-nested/f76e9ed60876.go b/corpus/go/dict-decl-nested/f76e9ed60876.go new file mode 100644 index 00000000..64fa9282 --- /dev/null +++ b/corpus/go/dict-decl-nested/f76e9ed60876.go @@ -0,0 +1 @@ +package p; var x = map[string]map[string]int{"a": map[string]int{"": 1}} diff --git a/corpus/go/dict-decl-nested/f76e9ed60876.mutation.json b/corpus/go/dict-decl-nested/f76e9ed60876.mutation.json new file mode 100644 index 00000000..9d190c41 --- /dev/null +++ b/corpus/go/dict-decl-nested/f76e9ed60876.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 65, + "byte": 65 + }, + "end": { + "line": 0, + "col": 68, + "byte": 68 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 65, + "byte": 65 + }, + "end": { + "line": 0, + "col": 68, + "byte": 68 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-slice-values/03d8bdc3d0f8.go b/corpus/go/dict-decl-slice-values/03d8bdc3d0f8.go new file mode 100644 index 00000000..baf9f17f --- /dev/null +++ b/corpus/go/dict-decl-slice-values/03d8bdc3d0f8.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{"nums": []int{1, 2}} diff --git a/corpus/go/dict-decl-slice-values/03d8bdc3d0f8.mutation.json b/corpus/go/dict-decl-slice-values/03d8bdc3d0f8.mutation.json new file mode 100644 index 00000000..c1cb895a --- /dev/null +++ b/corpus/go/dict-decl-slice-values/03d8bdc3d0f8.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 50, + "byte": 50 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 50, + "byte": 50 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-slice-values/1b934886be07.go b/corpus/go/dict-decl-slice-values/1b934886be07.go new file mode 100644 index 00000000..7c44b0a2 --- /dev/null +++ b/corpus/go/dict-decl-slice-values/1b934886be07.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{} diff --git a/corpus/go/dict-decl-slice-values/1b934886be07.mutation.json b/corpus/go/dict-decl-slice-values/1b934886be07.mutation.json new file mode 100644 index 00000000..8f162a7c --- /dev/null +++ b/corpus/go/dict-decl-slice-values/1b934886be07.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 35, + "byte": 35 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 56, + "byte": 56 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-slice-values/1d3c1ff6029c.go b/corpus/go/dict-decl-slice-values/1d3c1ff6029c.go new file mode 100644 index 00000000..bb875eec --- /dev/null +++ b/corpus/go/dict-decl-slice-values/1d3c1ff6029c.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{"": []int{1, 2}} diff --git a/corpus/go/dict-decl-slice-values/1d3c1ff6029c.mutation.json b/corpus/go/dict-decl-slice-values/1d3c1ff6029c.mutation.json new file mode 100644 index 00000000..05b32163 --- /dev/null +++ b/corpus/go/dict-decl-slice-values/1d3c1ff6029c.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 36, + "byte": 36 + }, + "end": { + "line": 0, + "col": 42, + "byte": 42 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 36, + "byte": 36 + }, + "end": { + "line": 0, + "col": 42, + "byte": 42 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-slice-values/2132e005ac10.go b/corpus/go/dict-decl-slice-values/2132e005ac10.go new file mode 100644 index 00000000..0e862171 --- /dev/null +++ b/corpus/go/dict-decl-slice-values/2132e005ac10.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{"nums": []int{1, 0}} diff --git a/corpus/go/dict-decl-slice-values/2132e005ac10.mutation.json b/corpus/go/dict-decl-slice-values/2132e005ac10.mutation.json new file mode 100644 index 00000000..3284a88d --- /dev/null +++ b/corpus/go/dict-decl-slice-values/2132e005ac10.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 53, + "byte": 53 + }, + "end": { + "line": 0, + "col": 54, + "byte": 54 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 53, + "byte": 53 + }, + "end": { + "line": 0, + "col": 54, + "byte": 54 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-slice-values/6468deb0e354.go b/corpus/go/dict-decl-slice-values/6468deb0e354.go new file mode 100644 index 00000000..875774c8 --- /dev/null +++ b/corpus/go/dict-decl-slice-values/6468deb0e354.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{"nums": []int{1, -1}} diff --git a/corpus/go/dict-decl-slice-values/6468deb0e354.mutation.json b/corpus/go/dict-decl-slice-values/6468deb0e354.mutation.json new file mode 100644 index 00000000..f4b8d7e3 --- /dev/null +++ b/corpus/go/dict-decl-slice-values/6468deb0e354.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 53, + "byte": 53 + }, + "end": { + "line": 0, + "col": 54, + "byte": 54 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 53, + "byte": 53 + }, + "end": { + "line": 0, + "col": 54, + "byte": 54 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-slice-values/6ec482e7f8d4.go b/corpus/go/dict-decl-slice-values/6ec482e7f8d4.go new file mode 100644 index 00000000..107ca439 --- /dev/null +++ b/corpus/go/dict-decl-slice-values/6ec482e7f8d4.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{"nums": []int{}} diff --git a/corpus/go/dict-decl-slice-values/6ec482e7f8d4.mutation.json b/corpus/go/dict-decl-slice-values/6ec482e7f8d4.mutation.json new file mode 100644 index 00000000..6072f932 --- /dev/null +++ b/corpus/go/dict-decl-slice-values/6ec482e7f8d4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "ArrayDecl": "Inline" + }, + "subst_span": { + "start": { + "line": 0, + "col": 49, + "byte": 49 + }, + "end": { + "line": 0, + "col": 55, + "byte": 55 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 44, + "byte": 44 + }, + "end": { + "line": 0, + "col": 55, + "byte": 55 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-slice-values/addfd59d3a38.go b/corpus/go/dict-decl-slice-values/addfd59d3a38.go new file mode 100644 index 00000000..cbb3439a --- /dev/null +++ b/corpus/go/dict-decl-slice-values/addfd59d3a38.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{"nums": []int{-1, 2}} diff --git a/corpus/go/dict-decl-slice-values/addfd59d3a38.mutation.json b/corpus/go/dict-decl-slice-values/addfd59d3a38.mutation.json new file mode 100644 index 00000000..e4ed445a --- /dev/null +++ b/corpus/go/dict-decl-slice-values/addfd59d3a38.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 50, + "byte": 50 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 50, + "byte": 50 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-slice-values/base.go b/corpus/go/dict-decl-slice-values/base.go new file mode 100644 index 00000000..baf9f17f --- /dev/null +++ b/corpus/go/dict-decl-slice-values/base.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{"nums": []int{1, 2}} diff --git a/corpus/go/dict-decl-slice-values/d4ab4c4ff8d4.go b/corpus/go/dict-decl-slice-values/d4ab4c4ff8d4.go new file mode 100644 index 00000000..41cd54a6 --- /dev/null +++ b/corpus/go/dict-decl-slice-values/d4ab4c4ff8d4.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{"nums": []int{1, 1}} diff --git a/corpus/go/dict-decl-slice-values/d4ab4c4ff8d4.mutation.json b/corpus/go/dict-decl-slice-values/d4ab4c4ff8d4.mutation.json new file mode 100644 index 00000000..a164da8e --- /dev/null +++ b/corpus/go/dict-decl-slice-values/d4ab4c4ff8d4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 53, + "byte": 53 + }, + "end": { + "line": 0, + "col": 54, + "byte": 54 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 53, + "byte": 53 + }, + "end": { + "line": 0, + "col": 54, + "byte": 54 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-slice-values/f1378e3672a2.go b/corpus/go/dict-decl-slice-values/f1378e3672a2.go new file mode 100644 index 00000000..75bac9c6 --- /dev/null +++ b/corpus/go/dict-decl-slice-values/f1378e3672a2.go @@ -0,0 +1 @@ +package p; var x = map[string][]int{"nums": []int{0, 2}} diff --git a/corpus/go/dict-decl-slice-values/f1378e3672a2.mutation.json b/corpus/go/dict-decl-slice-values/f1378e3672a2.mutation.json new file mode 100644 index 00000000..10f5795e --- /dev/null +++ b/corpus/go/dict-decl-slice-values/f1378e3672a2.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 50, + "byte": 50 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 50, + "byte": 50 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-struct-values/280491f8be2d.go b/corpus/go/dict-decl-struct-values/280491f8be2d.go new file mode 100644 index 00000000..88547864 --- /dev/null +++ b/corpus/go/dict-decl-struct-values/280491f8be2d.go @@ -0,0 +1 @@ +package p; type S struct{ N int }; var x = map[string]S{"k": S{N: 0}} diff --git a/corpus/go/dict-decl-struct-values/280491f8be2d.mutation.json b/corpus/go/dict-decl-struct-values/280491f8be2d.mutation.json new file mode 100644 index 00000000..7c4ff4a6 --- /dev/null +++ b/corpus/go/dict-decl-struct-values/280491f8be2d.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 66, + "byte": 66 + }, + "end": { + "line": 0, + "col": 67, + "byte": 67 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 66, + "byte": 66 + }, + "end": { + "line": 0, + "col": 67, + "byte": 67 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-struct-values/2f5cfdd535e0.go b/corpus/go/dict-decl-struct-values/2f5cfdd535e0.go new file mode 100644 index 00000000..d2cdb8f9 --- /dev/null +++ b/corpus/go/dict-decl-struct-values/2f5cfdd535e0.go @@ -0,0 +1 @@ +package p; type S struct{ N int }; var x = map[string]S{"k": S{N: -1}} diff --git a/corpus/go/dict-decl-struct-values/2f5cfdd535e0.mutation.json b/corpus/go/dict-decl-struct-values/2f5cfdd535e0.mutation.json new file mode 100644 index 00000000..eafda642 --- /dev/null +++ b/corpus/go/dict-decl-struct-values/2f5cfdd535e0.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 66, + "byte": 66 + }, + "end": { + "line": 0, + "col": 67, + "byte": 67 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 66, + "byte": 66 + }, + "end": { + "line": 0, + "col": 67, + "byte": 67 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-struct-values/3bafe3dfb4bb.go b/corpus/go/dict-decl-struct-values/3bafe3dfb4bb.go new file mode 100644 index 00000000..6ae4986d --- /dev/null +++ b/corpus/go/dict-decl-struct-values/3bafe3dfb4bb.go @@ -0,0 +1 @@ +package p; type S struct{ N int }; var x = map[string]S{} diff --git a/corpus/go/dict-decl-struct-values/3bafe3dfb4bb.mutation.json b/corpus/go/dict-decl-struct-values/3bafe3dfb4bb.mutation.json new file mode 100644 index 00000000..8b382236 --- /dev/null +++ b/corpus/go/dict-decl-struct-values/3bafe3dfb4bb.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 55, + "byte": 55 + }, + "end": { + "line": 0, + "col": 69, + "byte": 69 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 43, + "byte": 43 + }, + "end": { + "line": 0, + "col": 69, + "byte": 69 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-struct-values/base.go b/corpus/go/dict-decl-struct-values/base.go new file mode 100644 index 00000000..fc4dad80 --- /dev/null +++ b/corpus/go/dict-decl-struct-values/base.go @@ -0,0 +1 @@ +package p; type S struct{ N int }; var x = map[string]S{"k": S{N: 1}} diff --git a/corpus/go/dict-decl-struct-values/cf0c3d0ea71c.go b/corpus/go/dict-decl-struct-values/cf0c3d0ea71c.go new file mode 100644 index 00000000..fc4dad80 --- /dev/null +++ b/corpus/go/dict-decl-struct-values/cf0c3d0ea71c.go @@ -0,0 +1 @@ +package p; type S struct{ N int }; var x = map[string]S{"k": S{N: 1}} diff --git a/corpus/go/dict-decl-struct-values/cf0c3d0ea71c.mutation.json b/corpus/go/dict-decl-struct-values/cf0c3d0ea71c.mutation.json new file mode 100644 index 00000000..1cd59516 --- /dev/null +++ b/corpus/go/dict-decl-struct-values/cf0c3d0ea71c.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 66, + "byte": 66 + }, + "end": { + "line": 0, + "col": 67, + "byte": 67 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 66, + "byte": 66 + }, + "end": { + "line": 0, + "col": 67, + "byte": 67 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl-struct-values/de14ea3cfb27.go b/corpus/go/dict-decl-struct-values/de14ea3cfb27.go new file mode 100644 index 00000000..d4de645c --- /dev/null +++ b/corpus/go/dict-decl-struct-values/de14ea3cfb27.go @@ -0,0 +1 @@ +package p; type S struct{ N int }; var x = map[string]S{"": S{N: 1}} diff --git a/corpus/go/dict-decl-struct-values/de14ea3cfb27.mutation.json b/corpus/go/dict-decl-struct-values/de14ea3cfb27.mutation.json new file mode 100644 index 00000000..f5f9291b --- /dev/null +++ b/corpus/go/dict-decl-struct-values/de14ea3cfb27.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 56, + "byte": 56 + }, + "end": { + "line": 0, + "col": 59, + "byte": 59 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 56, + "byte": 56 + }, + "end": { + "line": 0, + "col": 59, + "byte": 59 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/dict-decl/366689174450.go b/corpus/go/dict-decl/366689174450.go new file mode 100644 index 00000000..0ebab58b --- /dev/null +++ b/corpus/go/dict-decl/366689174450.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": -1} diff --git a/corpus/go/dict-decl/366689174450.mutation.json b/corpus/go/dict-decl/366689174450.mutation.json new file mode 100644 index 00000000..cbfc7049 --- /dev/null +++ b/corpus/go/dict-decl/366689174450.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl/75887565fdc4.go b/corpus/go/dict-decl/75887565fdc4.go new file mode 100644 index 00000000..ee7c19f2 --- /dev/null +++ b/corpus/go/dict-decl/75887565fdc4.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1} diff --git a/corpus/go/dict-decl/75887565fdc4.mutation.json b/corpus/go/dict-decl/75887565fdc4.mutation.json new file mode 100644 index 00000000..b7ffd218 --- /dev/null +++ b/corpus/go/dict-decl/75887565fdc4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/dict-decl/7cd47306f899.go b/corpus/go/dict-decl/7cd47306f899.go new file mode 100644 index 00000000..34eb433b --- /dev/null +++ b/corpus/go/dict-decl/7cd47306f899.go @@ -0,0 +1 @@ +package p; var x = map[string]int{} diff --git a/corpus/go/dict-decl/7cd47306f899.mutation.json b/corpus/go/dict-decl/7cd47306f899.mutation.json new file mode 100644 index 00000000..91f619f1 --- /dev/null +++ b/corpus/go/dict-decl/7cd47306f899.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "DictDecl", + "subst_span": { + "start": { + "line": 0, + "col": 33, + "byte": 33 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 41, + "byte": 41 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/dict-decl/base.go b/corpus/go/dict-decl/base.go new file mode 100644 index 00000000..ee7c19f2 --- /dev/null +++ b/corpus/go/dict-decl/base.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 1} diff --git a/corpus/go/dict-decl/d11f53bf79d6.go b/corpus/go/dict-decl/d11f53bf79d6.go new file mode 100644 index 00000000..fdbff001 --- /dev/null +++ b/corpus/go/dict-decl/d11f53bf79d6.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"a": 0} diff --git a/corpus/go/dict-decl/d11f53bf79d6.mutation.json b/corpus/go/dict-decl/d11f53bf79d6.mutation.json new file mode 100644 index 00000000..35034ad1 --- /dev/null +++ b/corpus/go/dict-decl/d11f53bf79d6.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 39, + "byte": 39 + }, + "end": { + "line": 0, + "col": 40, + "byte": 40 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/dict-decl/d76d31351860.go b/corpus/go/dict-decl/d76d31351860.go new file mode 100644 index 00000000..c026e6c1 --- /dev/null +++ b/corpus/go/dict-decl/d76d31351860.go @@ -0,0 +1 @@ +package p; var x = map[string]int{"": 1} diff --git a/corpus/go/dict-decl/d76d31351860.mutation.json b/corpus/go/dict-decl/d76d31351860.mutation.json new file mode 100644 index 00000000..50177abe --- /dev/null +++ b/corpus/go/dict-decl/d76d31351860.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 37, + "byte": 37 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 34, + "byte": 34 + }, + "end": { + "line": 0, + "col": 37, + "byte": 37 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/div-assign/368b05e637cd.go b/corpus/go/div-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/div-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/div-assign/368b05e637cd.mutation.json b/corpus/go/div-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..8d74438e --- /dev/null +++ b/corpus/go/div-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "DivAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/div-assign/75e7c11b5c28.go b/corpus/go/div-assign/75e7c11b5c28.go new file mode 100644 index 00000000..0f14c8c1 --- /dev/null +++ b/corpus/go/div-assign/75e7c11b5c28.go @@ -0,0 +1 @@ +package p; func f() { x *= 1 } diff --git a/corpus/go/div-assign/75e7c11b5c28.mutation.json b/corpus/go/div-assign/75e7c11b5c28.mutation.json new file mode 100644 index 00000000..e13dce46 --- /dev/null +++ b/corpus/go/div-assign/75e7c11b5c28.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "DivAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "*=" +} \ No newline at end of file diff --git a/corpus/go/div-assign/9fc5f320c3ba.go b/corpus/go/div-assign/9fc5f320c3ba.go new file mode 100644 index 00000000..73a2aa3f --- /dev/null +++ b/corpus/go/div-assign/9fc5f320c3ba.go @@ -0,0 +1 @@ +package p; func f() { x /= -1 } diff --git a/corpus/go/div-assign/9fc5f320c3ba.mutation.json b/corpus/go/div-assign/9fc5f320c3ba.mutation.json new file mode 100644 index 00000000..2e73c28f --- /dev/null +++ b/corpus/go/div-assign/9fc5f320c3ba.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/div-assign/base.go b/corpus/go/div-assign/base.go new file mode 100644 index 00000000..a0916a58 --- /dev/null +++ b/corpus/go/div-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x /= 1 } diff --git a/corpus/go/div-assign/e32255ef3611.go b/corpus/go/div-assign/e32255ef3611.go new file mode 100644 index 00000000..b922f93c --- /dev/null +++ b/corpus/go/div-assign/e32255ef3611.go @@ -0,0 +1 @@ +package p; func f() { x /= 0 } diff --git a/corpus/go/div-assign/e32255ef3611.mutation.json b/corpus/go/div-assign/e32255ef3611.mutation.json new file mode 100644 index 00000000..707fd45e --- /dev/null +++ b/corpus/go/div-assign/e32255ef3611.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/div-assign/ea8a0c11ce07.go b/corpus/go/div-assign/ea8a0c11ce07.go new file mode 100644 index 00000000..a0916a58 --- /dev/null +++ b/corpus/go/div-assign/ea8a0c11ce07.go @@ -0,0 +1 @@ +package p; func f() { x /= 1 } diff --git a/corpus/go/div-assign/ea8a0c11ce07.mutation.json b/corpus/go/div-assign/ea8a0c11ce07.mutation.json new file mode 100644 index 00000000..57047b77 --- /dev/null +++ b/corpus/go/div-assign/ea8a0c11ce07.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/div-assign/ef83feb43f1d.go b/corpus/go/div-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/div-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/div-assign/ef83feb43f1d.mutation.json b/corpus/go/div-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..dd9f377a --- /dev/null +++ b/corpus/go/div-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/literal-bool-false/2c4b31188bc4.go b/corpus/go/literal-bool-false/2c4b31188bc4.go new file mode 100644 index 00000000..a51544ab --- /dev/null +++ b/corpus/go/literal-bool-false/2c4b31188bc4.go @@ -0,0 +1 @@ +package p; var x = true diff --git a/corpus/go/literal-bool-false/2c4b31188bc4.mutation.json b/corpus/go/literal-bool-false/2c4b31188bc4.mutation.json new file mode 100644 index 00000000..9bc0d53c --- /dev/null +++ b/corpus/go/literal-bool-false/2c4b31188bc4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "BoolFalse" + }, + "subst_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 24, + "byte": 24 + } + } + }, + "subst": "true" +} \ No newline at end of file diff --git a/corpus/go/literal-bool-false/base.go b/corpus/go/literal-bool-false/base.go new file mode 100644 index 00000000..6d756f42 --- /dev/null +++ b/corpus/go/literal-bool-false/base.go @@ -0,0 +1 @@ +package p; var x = false diff --git a/corpus/go/literal-bool-true/05a4dd9a8d22.go b/corpus/go/literal-bool-true/05a4dd9a8d22.go new file mode 100644 index 00000000..6d756f42 --- /dev/null +++ b/corpus/go/literal-bool-true/05a4dd9a8d22.go @@ -0,0 +1 @@ +package p; var x = false diff --git a/corpus/go/literal-bool-true/05a4dd9a8d22.mutation.json b/corpus/go/literal-bool-true/05a4dd9a8d22.mutation.json new file mode 100644 index 00000000..a9255630 --- /dev/null +++ b/corpus/go/literal-bool-true/05a4dd9a8d22.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "BoolTrue" + }, + "subst_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 23, + "byte": 23 + } + } + }, + "subst": "false" +} \ No newline at end of file diff --git a/corpus/go/literal-bool-true/base.go b/corpus/go/literal-bool-true/base.go new file mode 100644 index 00000000..a51544ab --- /dev/null +++ b/corpus/go/literal-bool-true/base.go @@ -0,0 +1 @@ +package p; var x = true diff --git a/corpus/go/literal-number/23611a055609.go b/corpus/go/literal-number/23611a055609.go new file mode 100644 index 00000000..e58ba4cc --- /dev/null +++ b/corpus/go/literal-number/23611a055609.go @@ -0,0 +1 @@ +package p; var x = 0 diff --git a/corpus/go/literal-number/23611a055609.mutation.json b/corpus/go/literal-number/23611a055609.mutation.json new file mode 100644 index 00000000..f4347137 --- /dev/null +++ b/corpus/go/literal-number/23611a055609.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 21, + "byte": 21 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 21, + "byte": 21 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/literal-number/43cf9331f936.go b/corpus/go/literal-number/43cf9331f936.go new file mode 100644 index 00000000..352611aa --- /dev/null +++ b/corpus/go/literal-number/43cf9331f936.go @@ -0,0 +1 @@ +package p; var x = 1 diff --git a/corpus/go/literal-number/43cf9331f936.mutation.json b/corpus/go/literal-number/43cf9331f936.mutation.json new file mode 100644 index 00000000..9938cd89 --- /dev/null +++ b/corpus/go/literal-number/43cf9331f936.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 21, + "byte": 21 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 21, + "byte": 21 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/literal-number/base.go b/corpus/go/literal-number/base.go new file mode 100644 index 00000000..2597e9c6 --- /dev/null +++ b/corpus/go/literal-number/base.go @@ -0,0 +1 @@ +package p; var x = 42 diff --git a/corpus/go/literal-number/c263de894e10.go b/corpus/go/literal-number/c263de894e10.go new file mode 100644 index 00000000..6af3fa71 --- /dev/null +++ b/corpus/go/literal-number/c263de894e10.go @@ -0,0 +1 @@ +package p; var x = -1 diff --git a/corpus/go/literal-number/c263de894e10.mutation.json b/corpus/go/literal-number/c263de894e10.mutation.json new file mode 100644 index 00000000..902024a4 --- /dev/null +++ b/corpus/go/literal-number/c263de894e10.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 21, + "byte": 21 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 21, + "byte": 21 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/literal-string-empty/2a7a636265b7.go b/corpus/go/literal-string-empty/2a7a636265b7.go new file mode 100644 index 00000000..10e42cf5 --- /dev/null +++ b/corpus/go/literal-string-empty/2a7a636265b7.go @@ -0,0 +1 @@ +package p; var x = "bough" diff --git a/corpus/go/literal-string-empty/2a7a636265b7.mutation.json b/corpus/go/literal-string-empty/2a7a636265b7.mutation.json new file mode 100644 index 00000000..8dc4278a --- /dev/null +++ b/corpus/go/literal-string-empty/2a7a636265b7.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "EmptyString" + }, + "subst_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 21, + "byte": 21 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 21, + "byte": 21 + } + } + }, + "subst": "\"bough\"" +} \ No newline at end of file diff --git a/corpus/go/literal-string-empty/base.go b/corpus/go/literal-string-empty/base.go new file mode 100644 index 00000000..97aee833 --- /dev/null +++ b/corpus/go/literal-string-empty/base.go @@ -0,0 +1 @@ +package p; var x = "" diff --git a/corpus/go/literal-string/1b44a70a8c05.go b/corpus/go/literal-string/1b44a70a8c05.go new file mode 100644 index 00000000..97aee833 --- /dev/null +++ b/corpus/go/literal-string/1b44a70a8c05.go @@ -0,0 +1 @@ +package p; var x = "" diff --git a/corpus/go/literal-string/1b44a70a8c05.mutation.json b/corpus/go/literal-string/1b44a70a8c05.mutation.json new file mode 100644 index 00000000..97ebe980 --- /dev/null +++ b/corpus/go/literal-string/1b44a70a8c05.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "String" + }, + "subst_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 19, + "byte": 19 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + } + }, + "subst": "\"\"" +} \ No newline at end of file diff --git a/corpus/go/literal-string/base.go b/corpus/go/literal-string/base.go new file mode 100644 index 00000000..54cab09c --- /dev/null +++ b/corpus/go/literal-string/base.go @@ -0,0 +1 @@ +package p; var x = "hello" diff --git a/corpus/go/mul-assign/368b05e637cd.go b/corpus/go/mul-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/mul-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/mul-assign/368b05e637cd.mutation.json b/corpus/go/mul-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..98e85fa7 --- /dev/null +++ b/corpus/go/mul-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "MulAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/mul-assign/6953e07ae0f6.go b/corpus/go/mul-assign/6953e07ae0f6.go new file mode 100644 index 00000000..c1bbbf2a --- /dev/null +++ b/corpus/go/mul-assign/6953e07ae0f6.go @@ -0,0 +1 @@ +package p; func f() { x *= 0 } diff --git a/corpus/go/mul-assign/6953e07ae0f6.mutation.json b/corpus/go/mul-assign/6953e07ae0f6.mutation.json new file mode 100644 index 00000000..707fd45e --- /dev/null +++ b/corpus/go/mul-assign/6953e07ae0f6.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/mul-assign/75e7c11b5c28.go b/corpus/go/mul-assign/75e7c11b5c28.go new file mode 100644 index 00000000..0f14c8c1 --- /dev/null +++ b/corpus/go/mul-assign/75e7c11b5c28.go @@ -0,0 +1 @@ +package p; func f() { x *= 1 } diff --git a/corpus/go/mul-assign/75e7c11b5c28.mutation.json b/corpus/go/mul-assign/75e7c11b5c28.mutation.json new file mode 100644 index 00000000..57047b77 --- /dev/null +++ b/corpus/go/mul-assign/75e7c11b5c28.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/mul-assign/81b1a7ffdb85.go b/corpus/go/mul-assign/81b1a7ffdb85.go new file mode 100644 index 00000000..e2371092 --- /dev/null +++ b/corpus/go/mul-assign/81b1a7ffdb85.go @@ -0,0 +1 @@ +package p; func f() { x *= -1 } diff --git a/corpus/go/mul-assign/81b1a7ffdb85.mutation.json b/corpus/go/mul-assign/81b1a7ffdb85.mutation.json new file mode 100644 index 00000000..2e73c28f --- /dev/null +++ b/corpus/go/mul-assign/81b1a7ffdb85.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/mul-assign/base.go b/corpus/go/mul-assign/base.go new file mode 100644 index 00000000..0f14c8c1 --- /dev/null +++ b/corpus/go/mul-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x *= 1 } diff --git a/corpus/go/mul-assign/ea8a0c11ce07.go b/corpus/go/mul-assign/ea8a0c11ce07.go new file mode 100644 index 00000000..a0916a58 --- /dev/null +++ b/corpus/go/mul-assign/ea8a0c11ce07.go @@ -0,0 +1 @@ +package p; func f() { x /= 1 } diff --git a/corpus/go/mul-assign/ea8a0c11ce07.mutation.json b/corpus/go/mul-assign/ea8a0c11ce07.mutation.json new file mode 100644 index 00000000..826adb33 --- /dev/null +++ b/corpus/go/mul-assign/ea8a0c11ce07.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "MulAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "/=" +} \ No newline at end of file diff --git a/corpus/go/mul-assign/ef83feb43f1d.go b/corpus/go/mul-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/mul-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/mul-assign/ef83feb43f1d.mutation.json b/corpus/go/mul-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..dd9f377a --- /dev/null +++ b/corpus/go/mul-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/normal-assign/1457d662132f.go b/corpus/go/normal-assign/1457d662132f.go new file mode 100644 index 00000000..6126dc28 --- /dev/null +++ b/corpus/go/normal-assign/1457d662132f.go @@ -0,0 +1 @@ +package p; func f() { x = 0 } diff --git a/corpus/go/normal-assign/1457d662132f.mutation.json b/corpus/go/normal-assign/1457d662132f.mutation.json new file mode 100644 index 00000000..18ba7f57 --- /dev/null +++ b/corpus/go/normal-assign/1457d662132f.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 26, + "byte": 26 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 26, + "byte": 26 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/normal-assign/3428a8724040.go b/corpus/go/normal-assign/3428a8724040.go new file mode 100644 index 00000000..94fa2141 --- /dev/null +++ b/corpus/go/normal-assign/3428a8724040.go @@ -0,0 +1 @@ +package p; func f() { x += 1 } diff --git a/corpus/go/normal-assign/3428a8724040.mutation.json b/corpus/go/normal-assign/3428a8724040.mutation.json new file mode 100644 index 00000000..69da289a --- /dev/null +++ b/corpus/go/normal-assign/3428a8724040.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "NormalAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + } + }, + "subst": "+=" +} \ No newline at end of file diff --git a/corpus/go/normal-assign/368b05e637cd.go b/corpus/go/normal-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/normal-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/normal-assign/368b05e637cd.mutation.json b/corpus/go/normal-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..905679fe --- /dev/null +++ b/corpus/go/normal-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 26, + "byte": 26 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 26, + "byte": 26 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/normal-assign/38896b113109.go b/corpus/go/normal-assign/38896b113109.go new file mode 100644 index 00000000..f2c15ec2 --- /dev/null +++ b/corpus/go/normal-assign/38896b113109.go @@ -0,0 +1 @@ +package p; func f() { x -= 1 } diff --git a/corpus/go/normal-assign/38896b113109.mutation.json b/corpus/go/normal-assign/38896b113109.mutation.json new file mode 100644 index 00000000..b2a3563a --- /dev/null +++ b/corpus/go/normal-assign/38896b113109.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "NormalAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 25, + "byte": 25 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + } + }, + "subst": "-=" +} \ No newline at end of file diff --git a/corpus/go/normal-assign/base.go b/corpus/go/normal-assign/base.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/normal-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/normal-assign/cc72934d5c22.go b/corpus/go/normal-assign/cc72934d5c22.go new file mode 100644 index 00000000..480140b5 --- /dev/null +++ b/corpus/go/normal-assign/cc72934d5c22.go @@ -0,0 +1 @@ +package p; func f() { x = -1 } diff --git a/corpus/go/normal-assign/cc72934d5c22.mutation.json b/corpus/go/normal-assign/cc72934d5c22.mutation.json new file mode 100644 index 00000000..0ce44309 --- /dev/null +++ b/corpus/go/normal-assign/cc72934d5c22.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 26, + "byte": 26 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 26, + "byte": 26 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/normal-assign/ef83feb43f1d.go b/corpus/go/normal-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/normal-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/normal-assign/ef83feb43f1d.mutation.json b/corpus/go/normal-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..f33d5143 --- /dev/null +++ b/corpus/go/normal-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/rem-assign/368b05e637cd.go b/corpus/go/rem-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/rem-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/rem-assign/368b05e637cd.mutation.json b/corpus/go/rem-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..6bcc0262 --- /dev/null +++ b/corpus/go/rem-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "RemAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/rem-assign/3f51ecfaa1c0.go b/corpus/go/rem-assign/3f51ecfaa1c0.go new file mode 100644 index 00000000..eb22dcfb --- /dev/null +++ b/corpus/go/rem-assign/3f51ecfaa1c0.go @@ -0,0 +1 @@ +package p; func f() { x %= 1 } diff --git a/corpus/go/rem-assign/3f51ecfaa1c0.mutation.json b/corpus/go/rem-assign/3f51ecfaa1c0.mutation.json new file mode 100644 index 00000000..57047b77 --- /dev/null +++ b/corpus/go/rem-assign/3f51ecfaa1c0.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/rem-assign/75e7c11b5c28.go b/corpus/go/rem-assign/75e7c11b5c28.go new file mode 100644 index 00000000..0f14c8c1 --- /dev/null +++ b/corpus/go/rem-assign/75e7c11b5c28.go @@ -0,0 +1 @@ +package p; func f() { x *= 1 } diff --git a/corpus/go/rem-assign/75e7c11b5c28.mutation.json b/corpus/go/rem-assign/75e7c11b5c28.mutation.json new file mode 100644 index 00000000..3688841e --- /dev/null +++ b/corpus/go/rem-assign/75e7c11b5c28.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "RemAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "*=" +} \ No newline at end of file diff --git a/corpus/go/rem-assign/931c38b79e71.go b/corpus/go/rem-assign/931c38b79e71.go new file mode 100644 index 00000000..ac1d8067 --- /dev/null +++ b/corpus/go/rem-assign/931c38b79e71.go @@ -0,0 +1 @@ +package p; func f() { x %= 0 } diff --git a/corpus/go/rem-assign/931c38b79e71.mutation.json b/corpus/go/rem-assign/931c38b79e71.mutation.json new file mode 100644 index 00000000..707fd45e --- /dev/null +++ b/corpus/go/rem-assign/931c38b79e71.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/rem-assign/base.go b/corpus/go/rem-assign/base.go new file mode 100644 index 00000000..eb22dcfb --- /dev/null +++ b/corpus/go/rem-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x %= 1 } diff --git a/corpus/go/rem-assign/cf5e1fe94288.go b/corpus/go/rem-assign/cf5e1fe94288.go new file mode 100644 index 00000000..5d6a7ca3 --- /dev/null +++ b/corpus/go/rem-assign/cf5e1fe94288.go @@ -0,0 +1 @@ +package p; func f() { x %= -1 } diff --git a/corpus/go/rem-assign/cf5e1fe94288.mutation.json b/corpus/go/rem-assign/cf5e1fe94288.mutation.json new file mode 100644 index 00000000..2e73c28f --- /dev/null +++ b/corpus/go/rem-assign/cf5e1fe94288.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/rem-assign/ef83feb43f1d.go b/corpus/go/rem-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/rem-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/rem-assign/ef83feb43f1d.mutation.json b/corpus/go/rem-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..dd9f377a --- /dev/null +++ b/corpus/go/rem-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/shl-assign/2923381dc5e6.go b/corpus/go/shl-assign/2923381dc5e6.go new file mode 100644 index 00000000..39f48a45 --- /dev/null +++ b/corpus/go/shl-assign/2923381dc5e6.go @@ -0,0 +1 @@ +package p; func f() { x <<= 1 } diff --git a/corpus/go/shl-assign/2923381dc5e6.mutation.json b/corpus/go/shl-assign/2923381dc5e6.mutation.json new file mode 100644 index 00000000..784f3fa6 --- /dev/null +++ b/corpus/go/shl-assign/2923381dc5e6.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/shl-assign/368b05e637cd.go b/corpus/go/shl-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/shl-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/shl-assign/368b05e637cd.mutation.json b/corpus/go/shl-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..6a9599e0 --- /dev/null +++ b/corpus/go/shl-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "ShlAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/shl-assign/88607a6c761d.go b/corpus/go/shl-assign/88607a6c761d.go new file mode 100644 index 00000000..a87cbd95 --- /dev/null +++ b/corpus/go/shl-assign/88607a6c761d.go @@ -0,0 +1 @@ +package p; func f() { x <<= 0 } diff --git a/corpus/go/shl-assign/88607a6c761d.mutation.json b/corpus/go/shl-assign/88607a6c761d.mutation.json new file mode 100644 index 00000000..2f03d503 --- /dev/null +++ b/corpus/go/shl-assign/88607a6c761d.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/shl-assign/9de5ad07cee4.go b/corpus/go/shl-assign/9de5ad07cee4.go new file mode 100644 index 00000000..e49979b5 --- /dev/null +++ b/corpus/go/shl-assign/9de5ad07cee4.go @@ -0,0 +1 @@ +package p; func f() { x <<= -1 } diff --git a/corpus/go/shl-assign/9de5ad07cee4.mutation.json b/corpus/go/shl-assign/9de5ad07cee4.mutation.json new file mode 100644 index 00000000..98055800 --- /dev/null +++ b/corpus/go/shl-assign/9de5ad07cee4.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/shl-assign/base.go b/corpus/go/shl-assign/base.go new file mode 100644 index 00000000..39f48a45 --- /dev/null +++ b/corpus/go/shl-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x <<= 1 } diff --git a/corpus/go/shl-assign/ef83feb43f1d.go b/corpus/go/shl-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/shl-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/shl-assign/ef83feb43f1d.mutation.json b/corpus/go/shl-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..22b321e0 --- /dev/null +++ b/corpus/go/shl-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 31, + "byte": 31 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 31, + "byte": 31 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/shl-assign/f6d47966aa63.go b/corpus/go/shl-assign/f6d47966aa63.go new file mode 100644 index 00000000..eb97af11 --- /dev/null +++ b/corpus/go/shl-assign/f6d47966aa63.go @@ -0,0 +1 @@ +package p; func f() { x >>= 1 } diff --git a/corpus/go/shl-assign/f6d47966aa63.mutation.json b/corpus/go/shl-assign/f6d47966aa63.mutation.json new file mode 100644 index 00000000..2cc3b23d --- /dev/null +++ b/corpus/go/shl-assign/f6d47966aa63.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "ShlAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": ">>=" +} \ No newline at end of file diff --git a/corpus/go/shr-assign/2923381dc5e6.go b/corpus/go/shr-assign/2923381dc5e6.go new file mode 100644 index 00000000..39f48a45 --- /dev/null +++ b/corpus/go/shr-assign/2923381dc5e6.go @@ -0,0 +1 @@ +package p; func f() { x <<= 1 } diff --git a/corpus/go/shr-assign/2923381dc5e6.mutation.json b/corpus/go/shr-assign/2923381dc5e6.mutation.json new file mode 100644 index 00000000..b6a37205 --- /dev/null +++ b/corpus/go/shr-assign/2923381dc5e6.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "ShrAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "<<=" +} \ No newline at end of file diff --git a/corpus/go/shr-assign/368b05e637cd.go b/corpus/go/shr-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/shr-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/shr-assign/368b05e637cd.mutation.json b/corpus/go/shr-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..b9de8806 --- /dev/null +++ b/corpus/go/shr-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "ShrAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 27, + "byte": 27 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/shr-assign/base.go b/corpus/go/shr-assign/base.go new file mode 100644 index 00000000..eb97af11 --- /dev/null +++ b/corpus/go/shr-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x >>= 1 } diff --git a/corpus/go/shr-assign/d501de7ffa5c.go b/corpus/go/shr-assign/d501de7ffa5c.go new file mode 100644 index 00000000..c0ff8cba --- /dev/null +++ b/corpus/go/shr-assign/d501de7ffa5c.go @@ -0,0 +1 @@ +package p; func f() { x >>= 0 } diff --git a/corpus/go/shr-assign/d501de7ffa5c.mutation.json b/corpus/go/shr-assign/d501de7ffa5c.mutation.json new file mode 100644 index 00000000..2f03d503 --- /dev/null +++ b/corpus/go/shr-assign/d501de7ffa5c.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/shr-assign/ef83feb43f1d.go b/corpus/go/shr-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/shr-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/shr-assign/ef83feb43f1d.mutation.json b/corpus/go/shr-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..22b321e0 --- /dev/null +++ b/corpus/go/shr-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 31, + "byte": 31 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 31, + "byte": 31 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/shr-assign/f6d47966aa63.go b/corpus/go/shr-assign/f6d47966aa63.go new file mode 100644 index 00000000..eb97af11 --- /dev/null +++ b/corpus/go/shr-assign/f6d47966aa63.go @@ -0,0 +1 @@ +package p; func f() { x >>= 1 } diff --git a/corpus/go/shr-assign/f6d47966aa63.mutation.json b/corpus/go/shr-assign/f6d47966aa63.mutation.json new file mode 100644 index 00000000..784f3fa6 --- /dev/null +++ b/corpus/go/shr-assign/f6d47966aa63.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/shr-assign/fb7e3cae442b.go b/corpus/go/shr-assign/fb7e3cae442b.go new file mode 100644 index 00000000..0d099ea8 --- /dev/null +++ b/corpus/go/shr-assign/fb7e3cae442b.go @@ -0,0 +1 @@ +package p; func f() { x >>= -1 } diff --git a/corpus/go/shr-assign/fb7e3cae442b.mutation.json b/corpus/go/shr-assign/fb7e3cae442b.mutation.json new file mode 100644 index 00000000..98055800 --- /dev/null +++ b/corpus/go/shr-assign/fb7e3cae442b.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 28, + "byte": 28 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/statement-block/base.go b/corpus/go/statement-block/base.go new file mode 100644 index 00000000..365b43f5 --- /dev/null +++ b/corpus/go/statement-block/base.go @@ -0,0 +1 @@ +package p; func f() { return } diff --git a/corpus/go/statement-block/ef83feb43f1d.go b/corpus/go/statement-block/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/statement-block/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/statement-block/ef83feb43f1d.mutation.json b/corpus/go/statement-block/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..dd9f377a --- /dev/null +++ b/corpus/go/statement-block/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/sub-assign/3428a8724040.go b/corpus/go/sub-assign/3428a8724040.go new file mode 100644 index 00000000..94fa2141 --- /dev/null +++ b/corpus/go/sub-assign/3428a8724040.go @@ -0,0 +1 @@ +package p; func f() { x += 1 } diff --git a/corpus/go/sub-assign/3428a8724040.mutation.json b/corpus/go/sub-assign/3428a8724040.mutation.json new file mode 100644 index 00000000..d5601e74 --- /dev/null +++ b/corpus/go/sub-assign/3428a8724040.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "SubAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "+=" +} \ No newline at end of file diff --git a/corpus/go/sub-assign/368b05e637cd.go b/corpus/go/sub-assign/368b05e637cd.go new file mode 100644 index 00000000..e9891fc6 --- /dev/null +++ b/corpus/go/sub-assign/368b05e637cd.go @@ -0,0 +1 @@ +package p; func f() { x = 1 } diff --git a/corpus/go/sub-assign/368b05e637cd.mutation.json b/corpus/go/sub-assign/368b05e637cd.mutation.json new file mode 100644 index 00000000..15b6ff91 --- /dev/null +++ b/corpus/go/sub-assign/368b05e637cd.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Assign": "SubAssign" + }, + "subst_span": { + "start": { + "line": 0, + "col": 24, + "byte": 24 + }, + "end": { + "line": 0, + "col": 26, + "byte": 26 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 22, + "byte": 22 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "=" +} \ No newline at end of file diff --git a/corpus/go/sub-assign/38896b113109.go b/corpus/go/sub-assign/38896b113109.go new file mode 100644 index 00000000..f2c15ec2 --- /dev/null +++ b/corpus/go/sub-assign/38896b113109.go @@ -0,0 +1 @@ +package p; func f() { x -= 1 } diff --git a/corpus/go/sub-assign/38896b113109.mutation.json b/corpus/go/sub-assign/38896b113109.mutation.json new file mode 100644 index 00000000..57047b77 --- /dev/null +++ b/corpus/go/sub-assign/38896b113109.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/sub-assign/9acebb991a9b.go b/corpus/go/sub-assign/9acebb991a9b.go new file mode 100644 index 00000000..13d3e64a --- /dev/null +++ b/corpus/go/sub-assign/9acebb991a9b.go @@ -0,0 +1 @@ +package p; func f() { x -= -1 } diff --git a/corpus/go/sub-assign/9acebb991a9b.mutation.json b/corpus/go/sub-assign/9acebb991a9b.mutation.json new file mode 100644 index 00000000..2e73c28f --- /dev/null +++ b/corpus/go/sub-assign/9acebb991a9b.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/sub-assign/b5e00882ab4e.go b/corpus/go/sub-assign/b5e00882ab4e.go new file mode 100644 index 00000000..1778012b --- /dev/null +++ b/corpus/go/sub-assign/b5e00882ab4e.go @@ -0,0 +1 @@ +package p; func f() { x -= 0 } diff --git a/corpus/go/sub-assign/b5e00882ab4e.mutation.json b/corpus/go/sub-assign/b5e00882ab4e.mutation.json new file mode 100644 index 00000000..707fd45e --- /dev/null +++ b/corpus/go/sub-assign/b5e00882ab4e.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/sub-assign/base.go b/corpus/go/sub-assign/base.go new file mode 100644 index 00000000..f2c15ec2 --- /dev/null +++ b/corpus/go/sub-assign/base.go @@ -0,0 +1 @@ +package p; func f() { x -= 1 } diff --git a/corpus/go/sub-assign/ef83feb43f1d.go b/corpus/go/sub-assign/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/sub-assign/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/sub-assign/ef83feb43f1d.mutation.json b/corpus/go/sub-assign/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..dd9f377a --- /dev/null +++ b/corpus/go/sub-assign/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 30, + "byte": 30 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/switch-case/1a0d8959e8c5.go b/corpus/go/switch-case/1a0d8959e8c5.go new file mode 100644 index 00000000..2cfcff4a --- /dev/null +++ b/corpus/go/switch-case/1a0d8959e8c5.go @@ -0,0 +1 @@ +package p; func f() { switch x { case -1: return } } diff --git a/corpus/go/switch-case/1a0d8959e8c5.mutation.json b/corpus/go/switch-case/1a0d8959e8c5.mutation.json new file mode 100644 index 00000000..9e3fc79d --- /dev/null +++ b/corpus/go/switch-case/1a0d8959e8c5.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 39, + "byte": 39 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 39, + "byte": 39 + } + } + }, + "subst": "-1" +} \ No newline at end of file diff --git a/corpus/go/switch-case/750b150b1952.go b/corpus/go/switch-case/750b150b1952.go new file mode 100644 index 00000000..e403f02b --- /dev/null +++ b/corpus/go/switch-case/750b150b1952.go @@ -0,0 +1 @@ +package p; func f() { switch x { case 1: return } } diff --git a/corpus/go/switch-case/750b150b1952.mutation.json b/corpus/go/switch-case/750b150b1952.mutation.json new file mode 100644 index 00000000..5b31de9e --- /dev/null +++ b/corpus/go/switch-case/750b150b1952.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 39, + "byte": 39 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 39, + "byte": 39 + } + } + }, + "subst": "1" +} \ No newline at end of file diff --git a/corpus/go/switch-case/base.go b/corpus/go/switch-case/base.go new file mode 100644 index 00000000..e403f02b --- /dev/null +++ b/corpus/go/switch-case/base.go @@ -0,0 +1 @@ +package p; func f() { switch x { case 1: return } } diff --git a/corpus/go/switch-case/cc1c8249759b.go b/corpus/go/switch-case/cc1c8249759b.go new file mode 100644 index 00000000..6375f153 --- /dev/null +++ b/corpus/go/switch-case/cc1c8249759b.go @@ -0,0 +1 @@ +package p; func f() { switch x { case 0: return } } diff --git a/corpus/go/switch-case/cc1c8249759b.mutation.json b/corpus/go/switch-case/cc1c8249759b.mutation.json new file mode 100644 index 00000000..7b1f73bb --- /dev/null +++ b/corpus/go/switch-case/cc1c8249759b.mutation.json @@ -0,0 +1,36 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": { + "Literal": "Number" + }, + "subst_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 39, + "byte": 39 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 38, + "byte": 38 + }, + "end": { + "line": 0, + "col": 39, + "byte": 39 + } + } + }, + "subst": "0" +} \ No newline at end of file diff --git a/corpus/go/switch-case/ef83feb43f1d.go b/corpus/go/switch-case/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/switch-case/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/switch-case/ef83feb43f1d.mutation.json b/corpus/go/switch-case/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..a3292241 --- /dev/null +++ b/corpus/go/switch-case/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 51, + "byte": 51 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/corpus/go/switch-case/efd4dcb6b51c.go b/corpus/go/switch-case/efd4dcb6b51c.go new file mode 100644 index 00000000..c583d4ab --- /dev/null +++ b/corpus/go/switch-case/efd4dcb6b51c.go @@ -0,0 +1 @@ +package p; func f() { switch x { } } diff --git a/corpus/go/switch-case/efd4dcb6b51c.mutation.json b/corpus/go/switch-case/efd4dcb6b51c.mutation.json new file mode 100644 index 00000000..81c8ac58 --- /dev/null +++ b/corpus/go/switch-case/efd4dcb6b51c.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "SwitchCase", + "subst_span": { + "start": { + "line": 0, + "col": 33, + "byte": 33 + }, + "end": { + "line": 0, + "col": 47, + "byte": 47 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 33, + "byte": 33 + }, + "end": { + "line": 0, + "col": 47, + "byte": 47 + } + } + }, + "subst": "" +} \ No newline at end of file diff --git a/corpus/go/unary-not/b521162ee81d.go b/corpus/go/unary-not/b521162ee81d.go new file mode 100644 index 00000000..537ef944 --- /dev/null +++ b/corpus/go/unary-not/b521162ee81d.go @@ -0,0 +1 @@ +package p; func f() { x := y } diff --git a/corpus/go/unary-not/b521162ee81d.mutation.json b/corpus/go/unary-not/b521162ee81d.mutation.json new file mode 100644 index 00000000..816146c7 --- /dev/null +++ b/corpus/go/unary-not/b521162ee81d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "UnaryNot", + "subst_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 28, + "byte": 28 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 27, + "byte": 27 + }, + "end": { + "line": 0, + "col": 29, + "byte": 29 + } + } + }, + "subst": "" +} \ No newline at end of file diff --git a/corpus/go/unary-not/base.go b/corpus/go/unary-not/base.go new file mode 100644 index 00000000..4dfcf38d --- /dev/null +++ b/corpus/go/unary-not/base.go @@ -0,0 +1 @@ +package p; func f() { x := !y } diff --git a/corpus/go/unary-not/ef83feb43f1d.go b/corpus/go/unary-not/ef83feb43f1d.go new file mode 100644 index 00000000..b92395ba --- /dev/null +++ b/corpus/go/unary-not/ef83feb43f1d.go @@ -0,0 +1 @@ +package p; func f() {} diff --git a/corpus/go/unary-not/ef83feb43f1d.mutation.json b/corpus/go/unary-not/ef83feb43f1d.mutation.json new file mode 100644 index 00000000..22b321e0 --- /dev/null +++ b/corpus/go/unary-not/ef83feb43f1d.mutation.json @@ -0,0 +1,34 @@ +{ + "mutant": { + "lang": "go", + "twig": [ + "src/a.go" + ], + "kind": "StatementBlock", + "subst_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 31, + "byte": 31 + } + }, + "effect_span": { + "start": { + "line": 0, + "col": 20, + "byte": 20 + }, + "end": { + "line": 0, + "col": 31, + "byte": 31 + } + } + }, + "subst": "{}" +} \ No newline at end of file diff --git a/crates/bough-cli/src/render.rs b/crates/bough-cli/src/render.rs index 76d45c37..c450236f 100644 --- a/crates/bough-cli/src/render.rs +++ b/crates/bough-cli/src/render.rs @@ -387,6 +387,7 @@ impl Render for LanguageId { LanguageId::Typescript => "ts", LanguageId::Python => "py", LanguageId::C => "c", + LanguageId::Go => "go", } ) } @@ -399,6 +400,7 @@ impl Render for LanguageId { LanguageId::Typescript => "TypeScript", LanguageId::Python => "Python", LanguageId::C => "C", + LanguageId::Go => "Go", } ) } @@ -409,6 +411,7 @@ impl Render for LanguageId { LanguageId::Typescript => r#""ts""#.to_string(), LanguageId::Python => r#""py""#.to_string(), LanguageId::C => r#""c""#.to_string(), + LanguageId::Go => r#""go""#.to_string(), } } } diff --git a/crates/bough-cli/src/show_single_mutation.rs b/crates/bough-cli/src/show_single_mutation.rs index 4ab253f8..58c422bc 100644 --- a/crates/bough-cli/src/show_single_mutation.rs +++ b/crates/bough-cli/src/show_single_mutation.rs @@ -55,6 +55,7 @@ impl ShowSingleMutation { LanguageId::Typescript => "typescript", LanguageId::Python => "python", LanguageId::C => "c", + LanguageId::Go => "go", } } } diff --git a/crates/bough-core/Cargo.toml b/crates/bough-core/Cargo.toml index 263f2458..4e93359b 100644 --- a/crates/bough-core/Cargo.toml +++ b/crates/bough-core/Cargo.toml @@ -22,6 +22,7 @@ arborium-javascript = "2.16" arborium-typescript = "2.16" arborium-python = "2.16" arborium-c = "2.16" +arborium-go = "2.16" wait-timeout = "0.2" libc = "0.2" tracing = "0.1" diff --git a/crates/bough-core/src/language/go.rs b/crates/bough-core/src/language/go.rs new file mode 100644 index 00000000..97b35b7d --- /dev/null +++ b/crates/bough-core/src/language/go.rs @@ -0,0 +1,285 @@ +use super::LanguageDriver; +use crate::mutant::{ + AssignMutationKind, BinaryOpMutationKind, LiteralKind, MutantKind, Span, span_from_node, +}; +use tracing::trace; + +pub(crate) struct GoDriver; + +impl LanguageDriver for GoDriver { + fn ts_language(&self) -> arborium_tree_sitter::Language { + arborium_go::language().into() + } + + fn check_node( + &self, + node: &arborium_tree_sitter::Node<'_>, + file_content: &[u8], + ) -> Option<(MutantKind, Span, Span)> { + let result = match node.kind() { + "binary_expression" => { + let op_node = node.child_by_field_name("operator")?; + let op_text = op_node.utf8_text(file_content).ok()?; + let kind = match op_text { + "+" => BinaryOpMutationKind::Add, + "-" => BinaryOpMutationKind::Sub, + "*" => BinaryOpMutationKind::Mul, + "/" => BinaryOpMutationKind::Div, + "%" => BinaryOpMutationKind::Rem, + "&" => BinaryOpMutationKind::BitAnd, + "|" => BinaryOpMutationKind::BitOr, + "^" => BinaryOpMutationKind::BitXor, + "<<" => BinaryOpMutationKind::Shl, + ">>" => BinaryOpMutationKind::Shr, + "&&" => BinaryOpMutationKind::And, + "||" => BinaryOpMutationKind::Or, + "==" => BinaryOpMutationKind::Eq, + "!=" => BinaryOpMutationKind::Ne, + ">" => BinaryOpMutationKind::Gt, + ">=" => BinaryOpMutationKind::Gte, + "<" => BinaryOpMutationKind::Lt, + "<=" => BinaryOpMutationKind::Lte, + _ => return None, + }; + Some(( + MutantKind::BinaryOp(kind), + span_from_node(&op_node), + span_from_node(node), + )) + } + "assignment_statement" => { + let op_node = node.child_by_field_name("operator")?; + let op_text = op_node.utf8_text(file_content).ok()?; + let kind = match op_text { + "=" => AssignMutationKind::NormalAssign, + "+=" => AssignMutationKind::AddAssign, + "-=" => AssignMutationKind::SubAssign, + "*=" => AssignMutationKind::MulAssign, + "/=" => AssignMutationKind::DivAssign, + "%=" => AssignMutationKind::RemAssign, + "&=" => AssignMutationKind::BitAndAssign, + "|=" => AssignMutationKind::BitOrAssign, + "^=" => AssignMutationKind::BitXorAssign, + "<<=" => AssignMutationKind::ShlAssign, + ">>=" => AssignMutationKind::ShrAssign, + _ => return None, + }; + Some(( + MutantKind::Assign(kind), + span_from_node(&op_node), + span_from_node(node), + )) + } + "block" => { + let span = span_from_node(node); + Some((MutantKind::StatementBlock, span.clone(), span)) + } + "if_statement" => { + let condition = node.child_by_field_name("condition")?; + Some(( + MutantKind::Condition, + span_from_node(&condition), + span_from_node(node), + )) + } + "for_statement" => { + let clause = node.child_by_field_name("body")?.prev_sibling(); + let for_clause = clause.filter(|n| n.kind() == "for_clause")?; + let condition = for_clause.child_by_field_name("condition")?; + Some(( + MutantKind::Condition, + span_from_node(&condition), + span_from_node(node), + )) + } + "expression_case" => { + let span = span_from_node(node); + Some((MutantKind::SwitchCase, span.clone(), span)) + } + "int_literal" | "float_literal" => { + let span = span_from_node(node); + Some(( + MutantKind::Literal(LiteralKind::Number), + span.clone(), + span, + )) + } + "interpreted_string_literal" | "raw_string_literal" => { + let text = node.utf8_text(file_content).ok()?; + let kind = if text == "\"\"" || text == "``" { + LiteralKind::EmptyString + } else { + LiteralKind::String + }; + let span = span_from_node(node); + Some((MutantKind::Literal(kind), span.clone(), span)) + } + "true" => { + let span = span_from_node(node); + Some(( + MutantKind::Literal(LiteralKind::BoolTrue), + span.clone(), + span, + )) + } + "false" => { + let span = span_from_node(node); + Some(( + MutantKind::Literal(LiteralKind::BoolFalse), + span.clone(), + span, + )) + } + "composite_literal" => { + let type_node = node.child_by_field_name("type")?; + let body = node.child_by_field_name("body")?; + if body.named_child_count() == 0 { + return None; + } + match type_node.kind() { + "slice_type" | "array_type" => { + let span = span_from_node(&body); + Some(( + MutantKind::ArrayDecl(crate::mutant::ArrayDeclKind::Inline), + span.clone(), + span_from_node(node), + )) + } + "map_type" => { + let span = span_from_node(&body); + Some((MutantKind::DictDecl, span.clone(), span_from_node(node))) + } + _ => None, + } + } + "unary_expression" => { + let op_node = node.child_by_field_name("operator")?; + let op_text = op_node.utf8_text(file_content).ok()?; + if op_text == "!" { + Some(( + MutantKind::UnaryNot, + span_from_node(&op_node), + span_from_node(node), + )) + } else { + None + } + } + _ => None, + }; + if let Some((ref kind, ref span, _)) = result { + trace!(node_kind = node.kind(), mutant_kind = ?kind, start_byte = span.start().byte(), "go: matched node"); + } + result + } + + fn substitutions(&self, kind: &MutantKind) -> Vec { + match kind { + MutantKind::BinaryOp(BinaryOpMutationKind::Add) => vec!["-".into(), "*".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Sub) => vec!["+".into(), "/".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Mul) => vec!["/".into(), "+".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Div) => vec!["*".into(), "-".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Rem) => vec!["*".into(), "/".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::BitAnd) => vec!["|".into(), "^".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::BitOr) => vec!["&".into(), "^".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::BitXor) => vec!["&".into(), "|".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Shl) => vec![">>".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Shr) => vec!["<<".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::And) => vec!["||".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Or) => vec!["&&".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Eq) => vec!["!=".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Ne) => vec!["==".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Gt) => vec!["<=".into(), ">=".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Gte) => vec!["<".into(), ">".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Lt) => vec![">=".into(), "<=".into()], + MutantKind::BinaryOp(BinaryOpMutationKind::Lte) => vec![">".into(), "<".into()], + MutantKind::Assign(AssignMutationKind::NormalAssign) => { + vec!["+=".into(), "-=".into()] + } + MutantKind::Assign(AssignMutationKind::AddAssign) => vec!["-=".into(), "=".into()], + MutantKind::Assign(AssignMutationKind::SubAssign) => vec!["+=".into(), "=".into()], + MutantKind::Assign(AssignMutationKind::MulAssign) => vec!["/=".into(), "=".into()], + MutantKind::Assign(AssignMutationKind::DivAssign) => vec!["*=".into(), "=".into()], + MutantKind::Assign(AssignMutationKind::RemAssign) => vec!["*=".into(), "=".into()], + MutantKind::Assign(AssignMutationKind::BitAndAssign) => vec!["|=".into(), "=".into()], + MutantKind::Assign(AssignMutationKind::BitOrAssign) => vec!["&=".into(), "=".into()], + MutantKind::Assign(AssignMutationKind::BitXorAssign) => vec!["&=".into(), "=".into()], + MutantKind::Assign(AssignMutationKind::ShlAssign) => vec![">>=".into(), "=".into()], + MutantKind::Assign(AssignMutationKind::ShrAssign) => vec!["<<=".into(), "=".into()], + MutantKind::StatementBlock => vec!["{}".into()], + MutantKind::Condition => vec!["true".into(), "false".into()], + MutantKind::SwitchCase => vec!["".into()], + MutantKind::Literal(LiteralKind::Number) => vec!["0".into(), "1".into(), "-1".into()], + MutantKind::Literal(LiteralKind::String) => vec!["\"\"".into()], + MutantKind::Literal(LiteralKind::EmptyString) => vec!["\"bough\"".into()], + MutantKind::Literal(LiteralKind::BoolTrue) => vec!["false".into()], + MutantKind::Literal(LiteralKind::BoolFalse) => vec!["true".into()], + MutantKind::ArrayDecl(crate::mutant::ArrayDeclKind::Inline) => vec!["{}".into()], + MutantKind::DictDecl => vec!["{}".into()], + MutantKind::UnaryNot => vec!["".into()], + _ => vec![], + } + } + + fn is_context_boundary(&self, node: &arborium_tree_sitter::Node<'_>) -> bool { + matches!( + node.kind(), + "function_declaration" | "method_declaration" + ) + } +} + +#[cfg(test)] +mod tests { + fn dump_tree(src: &str) { + let lang: arborium_tree_sitter::Language = arborium_go::language().into(); + let mut parser = arborium_tree_sitter::Parser::new(); + parser.set_language(&lang).unwrap(); + let tree = parser.parse(src.as_bytes(), None).unwrap(); + fn print_node(node: &arborium_tree_sitter::Node, src: &[u8], indent: usize) { + let text = node.utf8_text(src).unwrap_or(""); + let field = node.parent().and_then(|p| { + (0..p.child_count()) + .find(|&i| p.child(i as u32).map(|c| c.id() == node.id()).unwrap_or(false)) + .and_then(|i| p.field_name_for_child(i as u32)) + }); + let field_str = field.map(|f| format!("{f}: ")).unwrap_or_default(); + eprintln!("{:indent$}{field_str}{} [{}-{}] {text:?}", "", node.kind(), node.start_byte(), node.end_byte(), indent=indent); + for i in 0..node.child_count() { + if let Some(child) = node.child(i as u32) { + print_node(&child, src, indent + 2); + } + } + } + print_node(&tree.root_node(), src.as_bytes(), 0); + } + + #[test] + #[ignore] + fn debug_tree() { + dump_tree(r#"package main + +func example() { + x := a + b + x -= 1 + if x > 0 { + y := true + z := "hello" + w := "" + n := 42 + arr := []int{1, 2, 3} + m := map[string]int{"a": 1} + for i := 0; i < 10; i++ { + _ = !y + } + } + switch x { + case 1: + return + case 2: + return + } +} +"#); + } +} diff --git a/crates/bough-core/src/language/mod.rs b/crates/bough-core/src/language/mod.rs index 6fddcab0..0516dde6 100644 --- a/crates/bough-core/src/language/mod.rs +++ b/crates/bough-core/src/language/mod.rs @@ -1,9 +1,11 @@ mod c; +mod go; mod javascript; mod python; mod typescript; pub(crate) use c::CDriver; +pub(crate) use go::GoDriver; pub(crate) use javascript::JavascriptDriver; pub(crate) use python::PythonDriver; pub(crate) use typescript::TypescriptDriver; @@ -31,5 +33,6 @@ pub(crate) fn driver_for_lang(lang: crate::LanguageId) -> Box Box::new(TypescriptDriver), crate::LanguageId::Python => Box::new(PythonDriver), crate::LanguageId::C => Box::new(CDriver), + crate::LanguageId::Go => Box::new(GoDriver), } } diff --git a/crates/bough-core/src/lib.rs b/crates/bough-core/src/lib.rs index 3bddec69..a228a9d9 100644 --- a/crates/bough-core/src/lib.rs +++ b/crates/bough-core/src/lib.rs @@ -37,6 +37,8 @@ pub enum LanguageId { Python, #[facet(rename = "c")] C, + #[facet(rename = "go")] + Go, } impl LanguageId { @@ -45,6 +47,7 @@ impl LanguageId { LanguageId::Typescript, LanguageId::Python, LanguageId::C, + LanguageId::Go, ]; pub fn substitutions(&self, kind: &MutantKind) -> Vec { @@ -57,6 +60,7 @@ impl LanguageId { LanguageId::Typescript => "ts", LanguageId::Python => "py", LanguageId::C => "c", + LanguageId::Go => "go", } } @@ -66,6 +70,7 @@ impl LanguageId { LanguageId::Typescript => "TypeScript", LanguageId::Python => "Python", LanguageId::C => "C", + LanguageId::Go => "Go", } } @@ -75,6 +80,7 @@ impl LanguageId { LanguageId::Typescript => "typescript", LanguageId::Python => "python", LanguageId::C => "c", + LanguageId::Go => "go", } } diff --git a/crates/bough-corpus-tests/build.rs b/crates/bough-corpus-tests/build.rs index fb5eb2e9..06e71ab4 100644 --- a/crates/bough-corpus-tests/build.rs +++ b/crates/bough-corpus-tests/build.rs @@ -34,6 +34,7 @@ fn main() { "typescript" => "bough_core::LanguageId::Typescript", "python" => "bough_core::LanguageId::Python", "c" => "bough_core::LanguageId::C", + "go" => "bough_core::LanguageId::Go", _ => continue, }; @@ -42,6 +43,7 @@ fn main() { "typescript" => "ts", "python" => "py", "c" => "c", + "go" => "go", _ => continue, }; diff --git a/crates/bough-docs-cli/Cargo.toml b/crates/bough-docs-cli/Cargo.toml index 173c35d4..7e13022c 100644 --- a/crates/bough-docs-cli/Cargo.toml +++ b/crates/bough-docs-cli/Cargo.toml @@ -17,7 +17,7 @@ facet-core = "0.44" figue = "2" arborium = { version = "2.16", features = ["lang-rust", -"lang-c", "lang-javascript", "lang-typescript", "lang-python", "lang-toml", "lang-bash", "lang-json", "lang-html", "lang-css"] } +"lang-c", "lang-go", "lang-javascript", "lang-typescript", "lang-python", "lang-toml", "lang-bash", "lang-json", "lang-html", "lang-css"] } comrak = { version = "0.36", default-features = false } tiny_http = "0.12" markdown-frontmatter = { version = "0.5", default-features = false, features = ["toml"] } -- knotmirror 0.0.1