├── .github └── workflows │ └── go.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── go.mod ├── go.sum ├── instrumenter.go ├── instrumenter_test.go ├── main.go ├── main_test.go ├── templates ├── gobco_fixed.go ├── gobco_no_testmain_test.go └── gobco_variable.go ├── test.sh ├── testdata ├── branch │ └── branch.go ├── deeply │ └── nested │ │ └── main.go ├── failing │ ├── fail.go │ ├── fail_test.go │ └── random.go ├── instrumenter │ ├── AssignStmt.branch │ ├── AssignStmt.cond │ ├── AssignStmt.go │ ├── AssignStmt_test.go │ ├── BinaryExpr.branch │ ├── BinaryExpr.cond │ ├── BinaryExpr.go │ ├── BlockStmt.branch │ ├── BlockStmt.cond │ ├── BlockStmt.go │ ├── CallExpr.branch │ ├── CallExpr.cond │ ├── CallExpr.go │ ├── CaseClause.branch │ ├── CaseClause.cond │ ├── CaseClause.go │ ├── CommClause.branch │ ├── CommClause.cond │ ├── CommClause.go │ ├── Comment.branch │ ├── Comment.cond │ ├── Comment.go │ ├── Comment_test.go │ ├── CompositeLit.branch │ ├── CompositeLit.cond │ ├── CompositeLit.go │ ├── DeclStmt.branch │ ├── DeclStmt.cond │ ├── DeclStmt.go │ ├── DeferStmt.branch │ ├── DeferStmt.cond │ ├── DeferStmt.go │ ├── Ellipsis.branch │ ├── Ellipsis.cond │ ├── Ellipsis.go │ ├── ExprStmt.branch │ ├── ExprStmt.cond │ ├── ExprStmt.go │ ├── ForStmt.branch │ ├── ForStmt.cond │ ├── ForStmt.go │ ├── FuncDecl.branch │ ├── FuncDecl.cond │ ├── FuncDecl.go │ ├── FuncLit.branch │ ├── FuncLit.cond │ ├── FuncLit.go │ ├── GenDecl.branch │ ├── GenDecl.cond │ ├── GenDecl.go │ ├── GoStmt.branch │ ├── GoStmt.cond │ ├── GoStmt.go │ ├── IfStmt.branch │ ├── IfStmt.cond │ ├── IfStmt.go │ ├── IfStmt_test.go │ ├── IncDecStmt.branch │ ├── IncDecStmt.cond │ ├── IncDecStmt.go │ ├── IndexExpr.branch │ ├── IndexExpr.cond │ ├── IndexExpr.go │ ├── KeyValueExpr.branch │ ├── KeyValueExpr.cond │ ├── KeyValueExpr.go │ ├── LabeledStmt.branch │ ├── LabeledStmt.cond │ ├── LabeledStmt.go │ ├── ListExpr.branch │ ├── ListExpr.cond │ ├── ListExpr.go │ ├── ParenExpr.branch │ ├── ParenExpr.cond │ ├── ParenExpr.go │ ├── RangeStmt.branch │ ├── RangeStmt.cond │ ├── RangeStmt.go │ ├── ReturnStmt.branch │ ├── ReturnStmt.cond │ ├── ReturnStmt.go │ ├── SelectStmt.branch │ ├── SelectStmt.cond │ ├── SelectStmt.go │ ├── SelectorExpr.branch │ ├── SelectorExpr.cond │ ├── SelectorExpr.go │ ├── SendStmt.branch │ ├── SendStmt.cond │ ├── SendStmt.go │ ├── SliceExpr.branch │ ├── SliceExpr.cond │ ├── SliceExpr.go │ ├── StarExpr.branch │ ├── StarExpr.cond │ ├── StarExpr.go │ ├── SwitchStmt.branch │ ├── SwitchStmt.cond │ ├── SwitchStmt.go │ ├── SwitchStmt_test.go │ ├── TypeAssertExpr.branch │ ├── TypeAssertExpr.cond │ ├── TypeAssertExpr.go │ ├── TypeSwitchStmt.branch │ ├── TypeSwitchStmt.cond │ ├── TypeSwitchStmt.go │ ├── TypeSwitchStmt_test.go │ ├── UnaryExpr.branch │ ├── UnaryExpr.cond │ ├── UnaryExpr.go │ ├── ValueSpec.branch │ ├── ValueSpec.cond │ ├── ValueSpec.go │ └── zzz.go ├── oddeven │ ├── even_test.go │ └── odd.go ├── pkgname │ ├── black_box_test.go │ ├── main.go │ └── white_box_test.go ├── testmain │ ├── main.go │ └── main_test.go └── testmaintest │ ├── add.go │ └── add_test.go ├── util.go ├── util_test.go └── version.go /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | /out 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/README.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/rillig/gobco 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /instrumenter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/instrumenter.go -------------------------------------------------------------------------------- /instrumenter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/instrumenter_test.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/main.go -------------------------------------------------------------------------------- /main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/main_test.go -------------------------------------------------------------------------------- /templates/gobco_fixed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/templates/gobco_fixed.go -------------------------------------------------------------------------------- /templates/gobco_no_testmain_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/templates/gobco_no_testmain_test.go -------------------------------------------------------------------------------- /templates/gobco_variable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/templates/gobco_variable.go -------------------------------------------------------------------------------- /test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/test.sh -------------------------------------------------------------------------------- /testdata/branch/branch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/branch/branch.go -------------------------------------------------------------------------------- /testdata/deeply/nested/main.go: -------------------------------------------------------------------------------- 1 | package nested 2 | 3 | func Random() int { 4 | return 4 5 | } 6 | -------------------------------------------------------------------------------- /testdata/failing/fail.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/failing/fail.go -------------------------------------------------------------------------------- /testdata/failing/fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/failing/fail_test.go -------------------------------------------------------------------------------- /testdata/failing/random.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/failing/random.go -------------------------------------------------------------------------------- /testdata/instrumenter/AssignStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/AssignStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/AssignStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/AssignStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/AssignStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/AssignStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/AssignStmt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/AssignStmt_test.go -------------------------------------------------------------------------------- /testdata/instrumenter/BinaryExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/BinaryExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/BinaryExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/BinaryExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/BinaryExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/BinaryExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/BlockStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/BlockStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/BlockStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/BlockStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/BlockStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/BlockStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/CallExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CallExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/CallExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CallExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/CallExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CallExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/CaseClause.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CaseClause.branch -------------------------------------------------------------------------------- /testdata/instrumenter/CaseClause.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CaseClause.cond -------------------------------------------------------------------------------- /testdata/instrumenter/CaseClause.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CaseClause.go -------------------------------------------------------------------------------- /testdata/instrumenter/CommClause.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CommClause.branch -------------------------------------------------------------------------------- /testdata/instrumenter/CommClause.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CommClause.cond -------------------------------------------------------------------------------- /testdata/instrumenter/CommClause.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CommClause.go -------------------------------------------------------------------------------- /testdata/instrumenter/Comment.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/Comment.branch -------------------------------------------------------------------------------- /testdata/instrumenter/Comment.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/Comment.cond -------------------------------------------------------------------------------- /testdata/instrumenter/Comment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/Comment.go -------------------------------------------------------------------------------- /testdata/instrumenter/Comment_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/Comment_test.go -------------------------------------------------------------------------------- /testdata/instrumenter/CompositeLit.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CompositeLit.branch -------------------------------------------------------------------------------- /testdata/instrumenter/CompositeLit.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CompositeLit.cond -------------------------------------------------------------------------------- /testdata/instrumenter/CompositeLit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/CompositeLit.go -------------------------------------------------------------------------------- /testdata/instrumenter/DeclStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/DeclStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/DeclStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/DeclStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/DeclStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/DeclStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/DeferStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/DeferStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/DeferStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/DeferStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/DeferStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/DeferStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/Ellipsis.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/Ellipsis.branch -------------------------------------------------------------------------------- /testdata/instrumenter/Ellipsis.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/Ellipsis.cond -------------------------------------------------------------------------------- /testdata/instrumenter/Ellipsis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/Ellipsis.go -------------------------------------------------------------------------------- /testdata/instrumenter/ExprStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ExprStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/ExprStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ExprStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/ExprStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ExprStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/ForStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ForStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/ForStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ForStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/ForStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ForStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/FuncDecl.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/FuncDecl.branch -------------------------------------------------------------------------------- /testdata/instrumenter/FuncDecl.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/FuncDecl.cond -------------------------------------------------------------------------------- /testdata/instrumenter/FuncDecl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/FuncDecl.go -------------------------------------------------------------------------------- /testdata/instrumenter/FuncLit.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/FuncLit.branch -------------------------------------------------------------------------------- /testdata/instrumenter/FuncLit.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/FuncLit.cond -------------------------------------------------------------------------------- /testdata/instrumenter/FuncLit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/FuncLit.go -------------------------------------------------------------------------------- /testdata/instrumenter/GenDecl.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/GenDecl.branch -------------------------------------------------------------------------------- /testdata/instrumenter/GenDecl.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/GenDecl.cond -------------------------------------------------------------------------------- /testdata/instrumenter/GenDecl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/GenDecl.go -------------------------------------------------------------------------------- /testdata/instrumenter/GoStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/GoStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/GoStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/GoStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/GoStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/GoStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/IfStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IfStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/IfStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IfStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/IfStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IfStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/IfStmt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IfStmt_test.go -------------------------------------------------------------------------------- /testdata/instrumenter/IncDecStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IncDecStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/IncDecStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IncDecStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/IncDecStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IncDecStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/IndexExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IndexExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/IndexExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IndexExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/IndexExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/IndexExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/KeyValueExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/KeyValueExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/KeyValueExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/KeyValueExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/KeyValueExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/KeyValueExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/LabeledStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/LabeledStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/LabeledStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/LabeledStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/LabeledStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/LabeledStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/ListExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ListExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/ListExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ListExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/ListExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ListExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/ParenExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ParenExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/ParenExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ParenExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/ParenExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ParenExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/RangeStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/RangeStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/RangeStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/RangeStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/RangeStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/RangeStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/ReturnStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ReturnStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/ReturnStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ReturnStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/ReturnStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ReturnStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/SelectStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SelectStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/SelectStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SelectStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/SelectStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SelectStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/SelectorExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SelectorExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/SelectorExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SelectorExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/SelectorExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SelectorExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/SendStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SendStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/SendStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SendStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/SendStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SendStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/SliceExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SliceExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/SliceExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SliceExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/SliceExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SliceExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/StarExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/StarExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/StarExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/StarExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/StarExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/StarExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/SwitchStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SwitchStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/SwitchStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SwitchStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/SwitchStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SwitchStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/SwitchStmt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/SwitchStmt_test.go -------------------------------------------------------------------------------- /testdata/instrumenter/TypeAssertExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/TypeAssertExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/TypeAssertExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/TypeAssertExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/TypeAssertExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/TypeAssertExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/TypeSwitchStmt.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/TypeSwitchStmt.branch -------------------------------------------------------------------------------- /testdata/instrumenter/TypeSwitchStmt.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/TypeSwitchStmt.cond -------------------------------------------------------------------------------- /testdata/instrumenter/TypeSwitchStmt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/TypeSwitchStmt.go -------------------------------------------------------------------------------- /testdata/instrumenter/TypeSwitchStmt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/TypeSwitchStmt_test.go -------------------------------------------------------------------------------- /testdata/instrumenter/UnaryExpr.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/UnaryExpr.branch -------------------------------------------------------------------------------- /testdata/instrumenter/UnaryExpr.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/UnaryExpr.cond -------------------------------------------------------------------------------- /testdata/instrumenter/UnaryExpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/UnaryExpr.go -------------------------------------------------------------------------------- /testdata/instrumenter/ValueSpec.branch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ValueSpec.branch -------------------------------------------------------------------------------- /testdata/instrumenter/ValueSpec.cond: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ValueSpec.cond -------------------------------------------------------------------------------- /testdata/instrumenter/ValueSpec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/ValueSpec.go -------------------------------------------------------------------------------- /testdata/instrumenter/zzz.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/instrumenter/zzz.go -------------------------------------------------------------------------------- /testdata/oddeven/even_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/oddeven/even_test.go -------------------------------------------------------------------------------- /testdata/oddeven/odd.go: -------------------------------------------------------------------------------- 1 | package simple 2 | 3 | func IsOdd(x int) bool { 4 | return x%2 != 0 5 | } 6 | -------------------------------------------------------------------------------- /testdata/pkgname/black_box_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/pkgname/black_box_test.go -------------------------------------------------------------------------------- /testdata/pkgname/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/pkgname/main.go -------------------------------------------------------------------------------- /testdata/pkgname/white_box_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/pkgname/white_box_test.go -------------------------------------------------------------------------------- /testdata/testmain/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/testmain/main.go -------------------------------------------------------------------------------- /testdata/testmain/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/testmain/main_test.go -------------------------------------------------------------------------------- /testdata/testmaintest/add.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/testmaintest/add.go -------------------------------------------------------------------------------- /testdata/testmaintest/add_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/testdata/testmaintest/add_test.go -------------------------------------------------------------------------------- /util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/util.go -------------------------------------------------------------------------------- /util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rillig/gobco/HEAD/util_test.go -------------------------------------------------------------------------------- /version.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | const version = "1.3.5-snapshot" 4 | --------------------------------------------------------------------------------