Code coverage report
mageekguy\atoum\mock\generator: branches coverage
93%
of 2960
OPs
96%
of 533
Lines
88%
of 560
Branches
2%
of 5739
Paths
Method
OPs
OPs %
Lines
Line %
Branches
Branches %
Paths
Path %
mageekguy\atoum\mock\generator::__construct()
12
100%
4
100%
1
0%
1
100%
mageekguy\atoum\mock\generator::callsToParentClassAreShunted()
6
100%
1
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::setAdapter()
16
100%
2
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::getAdapter()
6
100%
1
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::setReflectionClassFactory()
12
100%
3
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::getReflectionClassFactory()
6
100%
1
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::setDefaultNamespace()
15
100%
2
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::getDefaultNamespace()
15
100%
2
100%
5
100%
2
100%
mageekguy\atoum\mock\generator::overload()
19
100%
3
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::isOverloaded()
13
100%
1
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::getOverload()
23
100%
2
100%
5
100%
2
100%
mageekguy\atoum\mock\generator::shunt()
25
100%
5
100%
4
100%
2
100%
mageekguy\atoum\mock\generator::isShunted()
20
100%
2
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::shuntParentClassCalls()
9
100%
2
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::unshuntParentClassCalls()
9
100%
2
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::orphanize()
30
100%
5
100%
4
100%
2
100%
mageekguy\atoum\mock\generator::isOrphanized()
15
100%
2
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::allIsInterface()
9
100%
2
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::testedClassIs()
14
100%
3
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::getMockedClassCode()
214
99%
31
100%
33
85%
146
5%
mageekguy\atoum\mock\generator::generate()
19
100%
2
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::methodIsMockable()
81
96%
11
100%
21
86%
8
63%
mageekguy\atoum\mock\generator::disallowUndefinedMethodInInterface()
9
0%
2
50%
1
0%
1
0%
mageekguy\atoum\mock\generator::disallowUndefinedMethodUsage()
9
100%
2
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::allowUndefinedMethodInInterface()
9
0%
1
100%
1
0%
1
0%
mageekguy\atoum\mock\generator::allowUndefinedMethodUsage()
9
0%
3
33%
1
0%
1
0%
mageekguy\atoum\mock\generator::undefinedMethodInInterfaceAreAllowed()
9
0%
1
0%
1
0%
1
0%
mageekguy\atoum\mock\generator::undefinedMethodUsageIsAllowed()
8
0%
1
0%
1
0%
1
0%
mageekguy\atoum\mock\generator::generateClassMethodCode()
743
92%
138
93%
101
82%
4096
0%
mageekguy\atoum\mock\generator::generateClassCode()
50
100%
8
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::generateInterfaceMethodCode()
424
87%
79
92%
57
72%
1216
0%
mageekguy\atoum\mock\generator::generateInterfaceCode()
93
100%
14
100%
14
93%
10
20%
mageekguy\atoum\mock\generator::getNamespace()
42
100%
3
100%
5
100%
2
100%
mageekguy\atoum\mock\generator::getParameters()
75
73%
12
100%
19
68%
7
14%
mageekguy\atoum\mock\generator::getParametersSignature()
154
89%
19
100%
35
91%
138
1%
mageekguy\atoum\mock\generator::getClassName()
35
100%
4
100%
5
100%
2
100%
mageekguy\atoum\mock\generator::getParameterType()
62
94%
10
100%
15
67%
7
43%
mageekguy\atoum\mock\generator::isVariadic()
22
73%
4
75%
4
25%
2
50%
mageekguy\atoum\mock\generator::hasVariadic()
35
97%
5
100%
4
75%
2
100%
mageekguy\atoum\mock\generator::generateMockControllerMethods()
80
100%
19
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::generateDefaultConstructor()
80
100%
22
100%
4
100%
2
100%
mageekguy\atoum\mock\generator::generate__call()
52
100%
13
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::generateGetMockedMethod()
30
100%
5
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::generateUnknownClassCode()
60
100%
9
100%
1
100%
1
100%
mageekguy\atoum\mock\generator::methodNameIsReservedWord()
282
99%
70
100%
198
99%
66
98%
mageekguy\atoum\mock\generator::__construct()
0%
OP #0 - #11
Line #27 - #33
EXIT
mageekguy\atoum\mock\generator::callsToParentClassAreShunted()
100%
OP #0 - #5
Line #35 - #38
EXIT
mageekguy\atoum\mock\generator::setAdapter()
100%
OP #0 - #15
Line #40 - #45
EXIT
mageekguy\atoum\mock\generator::getAdapter()
100%
OP #0 - #5
Line #47 - #50
EXIT
mageekguy\atoum\mock\generator::setReflectionClassFactory()
100%
OP #0 - #11
Line #52 - #57
EXIT
mageekguy\atoum\mock\generator::getReflectionClassFactory()
100%
OP #0 - #5
Line #59 - #62
EXIT
mageekguy\atoum\mock\generator::setDefaultNamespace()
100%
OP #0 - #14
Line #64 - #69
EXIT
mageekguy\atoum\mock\generator::getDefaultNamespace()
100%
OP #0 - #5
Line #71 - #73
OP #6 - #9
Line #73
OP #10 - #11
Line #73
OP #12 - #14
Line #73 - #74
EXIT
mageekguy\atoum\mock\generator::overload()
100%
OP #0 - #18
Line #76 - #81
EXIT
mageekguy\atoum\mock\generator::isOverloaded()
100%
OP #0 - #12
Line #83 - #86
EXIT
mageekguy\atoum\mock\generator::getOverload()
100%
OP #0 - #13
Line #88 - #90
OP #14 - #16
Line #90
OP #17 - #19
Line #90
OP #20 - #22
Line #90 - #91
EXIT
mageekguy\atoum\mock\generator::shunt()
100%
OP #0 - #10
Line #93 - #96
OP #11 - #20
Line #97 - #98
OP #21 - #24
Line #100 - #101
EXIT
mageekguy\atoum\mock\generator::isShunted()
100%
OP #0 - #19
Line #103 - #106
EXIT
mageekguy\atoum\mock\generator::shuntParentClassCalls()
100%
OP #0 - #8
Line #108 - #113
EXIT
mageekguy\atoum\mock\generator::unshuntParentClassCalls()
100%
OP #0 - #8
Line #115 - #120
EXIT
mageekguy\atoum\mock\generator::orphanize()
100%
OP #0 - #10
Line #122 - #125
OP #11 - #20
Line #126 - #127
OP #21 - #29
Line #129 - #130
EXIT
mageekguy\atoum\mock\generator::isOrphanized()
100%
OP #0 - #14
Line #132 - #135
EXIT
mageekguy\atoum\mock\generator::allIsInterface()
100%
OP #0 - #8
Line #137 - #142
EXIT
mageekguy\atoum\mock\generator::testedClassIs()
100%
OP #0 - #13
Line #144 - #149
EXIT
mageekguy\atoum\mock\generator::getMockedClassCode()
85%
OP #0 - #12
Line #151 - #153
OP #13 - #20
Line #153 - #154
OP #21
Line #154
OP #22 - #31
Line #155
OP #33 - #36
Line #158 - #159
OP #37 - #44
Line #160 - #161
OP #45 - #57
Line #163 - #166
OP #58 - #66
Line #167 - #168
OP #67 - #80
Line #170
OP #81 - #93
Line #170 - #171
OP #94
Line #171
OP #95 - #106
Line #172
OP #108 - #119
Line #175
OP #120 - #130
Line #175 - #176
OP #131
Line #176
OP #132 - #142
Line #177 - #178
OP #143 - #159
Line #181 - #184
OP #160 - #169
Line #185
OP #171 - #178
Line #188
OP #179 - #187
Line #188
OP #188 - #195
Line #188
OP #196
Line #188 - #191
OP #197 - #213
Line #191 - #196
EXIT
mageekguy\atoum\mock\generator::generate()
100%
OP #0 - #18
Line #198 - #203
EXIT
mageekguy\atoum\mock\generator::methodIsMockable()
86%
OP #0 - #10
Line #205 - #209
OP #11
Line #210
OP #12 - #18
Line #210
OP #19
Line #211
OP #20 - #28
Line #211
OP #29 - #32
Line #212
OP #34 - #40
Line #214
OP #41
Line #215
OP #42 - #46
Line #215
OP #47 - #53
Line #215
OP #54 - #56
Line #215
OP #57 - #68
Line #216
OP #70 - #71
Line #218
OP #72 - #75
Line #219
OP #77 - #80
Line #220 - #221
EXIT
mageekguy\atoum\mock\generator::disallowUndefinedMethodInInterface()
0%
OP #0 - #8
Line #223 - #226
EXIT
mageekguy\atoum\mock\generator::disallowUndefinedMethodUsage()
100%
OP #0 - #8
Line #228 - #233
EXIT
mageekguy\atoum\mock\generator::allowUndefinedMethodInInterface()
0%
OP #0 - #8
Line #235 - #238
EXIT
mageekguy\atoum\mock\generator::allowUndefinedMethodUsage()
0%
OP #0 - #8
Line #240 - #245
EXIT
mageekguy\atoum\mock\generator::undefinedMethodInInterfaceAreAllowed()
0%
OP #0 - #8
Line #247 - #250
EXIT
mageekguy\atoum\mock\generator::undefinedMethodUsageIsAllowed()
0%
OP #0 - #7
Line #252 - #255
EXIT
mageekguy\atoum\mock\generator::generateClassMethodCode()
82%
OP #0 - #15
Line #257 - #263
OP #16 - #23
Line #263 - #264
OP #24
Line #264
OP #25 - #31
Line #265
OP #32
Line #265
OP #33 - #43
Line #265 - #268
OP #44 - #54
Line #269 - #270
OP #55
Line #271
OP #56 - #57
Line #271 - #272
OP #58 - #67
Line #274 - #277
OP #68 - #78
Line #278 - #280
OP #79 - #85
Line #281 - #282
OP #86 - #106
Line #283 - #288
OP #107 - #115
Line #289 - #292
OP #116 - #135
Line #293 - #296
OP #136
Line #297
OP #137 - #147
Line #299 - #302
OP #148 - #158
Line #303 - #304
OP #159 - #185
Line #308 - #318
OP #186 - #203
Line #318 - #322
OP #204 - #214
Line #323 - #325
OP #215 - #254
Line #328 - #335
OP #255 - #282
Line #335 - #340
OP #283 - #290
Line #340
OP #291
Line #340
OP #292 - #299
Line #340 - #341
OP #300
Line #341
OP #301 - #309
Line #342
OP #310 - #311
Line #342
OP #312
Line #342
OP #313 - #345
Line #342 - #349
OP #346 - #391
Line #352 - #361
OP #392 - #399
Line #362 - #363
OP #400 - #404
Line #365 - #368
OP #405 - #418
Line #368 - #371
OP #419 - #425
Line #373
OP #426
Line #373
OP #427 - #436
Line #373 - #375
OP #437 - #444
Line #375 - #376
OP #445
Line #376
OP #446 - #477
Line #377 - #383
OP #478 - #481
Line #384 - #385
OP #482 - #489
Line #388
OP #490 - #491
Line #388
OP #492
Line #388
OP #493 - #501
Line #388
OP #502 - #503
Line #388
OP #504
Line #388
OP #505 - #516
Line #388 - #391
OP #517 - #533
Line #391 - #394
OP #534 - #539
Line #395 - #396
OP #540 - #559
Line #399 - #402
OP #560 - #568
Line #402
OP #569 - #575
Line #402 - #403
OP #576
Line #403
OP #577 - #613
Line #404 - #410
OP #614 - #655
Line #413 - #422
OP #656 - #661
Line #423 - #424
OP #662 - #673
Line #426 - #429
OP #674 - #686
Line #430 - #432
OP #687 - #691
Line #434 - #437
OP #692 - #697
Line #437 - #438
OP #698
Line #439
OP #699 - #705
Line #439 - #441
OP #706 - #709
Line #441
OP #710
Line #441
OP #711 - #719
Line #441 - #442
OP #720
Line #442
OP #721 - #731
Line #443 - #445
OP #732 - #742
Line #447 - #448
EXIT
mageekguy\atoum\mock\generator::generateClassCode()
100%
OP #0 - #49
Line #450 - #460
EXIT
mageekguy\atoum\mock\generator::generateInterfaceMethodCode()
72%
OP #0 - #22
Line #462 - #471
OP #23 - #46
Line #472 - #475
OP #47 - #48
Line #477
OP #49
Line #477
OP #50 - #81
Line #477 - #487
OP #82 - #88
Line #487
OP #89 - #91
Line #487
OP #92 - #98
Line #488 - #491
OP #99 - #102
Line #492 - #493
OP #103 - #111
Line #495
OP #112 - #113
Line #495
OP #114
Line #495
OP #115 - #144
Line #495 - #499
OP #145 - #150
Line #500 - #501
OP #151 - #169
Line #504
OP #170 - #171
Line #504
OP #172
Line #504
OP #173 - #177
Line #504 - #507
OP #178 - #181
Line #507 - #508
OP #182 - #191
Line #509 - #510
OP #192 - #197
Line #511 - #512
OP #198 - #217
Line #515 - #521
OP #218 - #238
Line #521 - #525
OP #239 - #266
Line #527 - #533
OP #267 - #274
Line #534 - #535
OP #275 - #286
Line #538 - #541
OP #287 - #293
Line #541 - #542
OP #295 - #303
Line #544
OP #304 - #312
Line #545
OP #313 - #314
Line #545
OP #315
Line #545
OP #316 - #368
Line #545 - #550
OP #370 - #371
Line #552
OP #372 - #374
Line #553 - #554
OP #375
Line #554
OP #376 - #379
Line #554 - #557
OP #380 - #384
Line #557 - #560
OP #385 - #395
Line #561 - #563
OP #396 - #400
Line #565 - #566
OP #401 - #411
Line #567 - #569
OP #412 - #423
Line #571 - #574
EXIT
mageekguy\atoum\mock\generator::generateInterfaceCode()
93%
OP #0 - #11
Line #576 - #580
OP #12 - #19
Line #581 - #582
OP #20 - #27
Line #582 - #583
OP #28
Line #583
OP #29 - #36
Line #583 - #585
OP #37
Line #585
OP #38 - #55
Line #585 - #588
OP #56 - #57
Line #588
OP #58
Line #588
OP #59 - #92
Line #588 - #595
EXIT
mageekguy\atoum\mock\generator::getNamespace()
100%
OP #0 - #26
Line #597 - #602
OP #27 - #28
Line #602
OP #29 - #37
Line #602
OP #38 - #41
Line #602 - #603
EXIT
mageekguy\atoum\mock\generator::getParameters()
68%
OP #0 - #19
Line #605 - #612
OP #20 - #26
Line #613
OP #27
Line #613
OP #28 - #37
Line #613 - #615
OP #38 - #39
Line #615
OP #40
Line #615
OP #41 - #49
Line #615 - #616
OP #50 - #51
Line #616 - #617
OP #52 - #58
Line #620
OP #59
Line #620
OP #60 - #69
Line #620 - #623
OP #70
Line #623 - #626
OP #71 - #74
Line #626 - #627
EXIT
mageekguy\atoum\mock\generator::getParametersSignature()
91%
OP #0 - #23
Line #629 - #635
OP #24
Line #635
OP #25 - #40
Line #635 - #637
OP #41 - #49
Line #637
OP #50 - #51
Line #637
OP #52
Line #637
OP #53 - #54
Line #637
OP #55
Line #637
OP #56 - #72
Line #637 - #641
OP #73 - #88
Line #642 - #643
OP #90 - #94
Line #645
OP #95 - #103
Line #645
OP #104 - #106
Line #645
OP #107
Line #646
OP #108 - #110
Line #646
OP #111 - #113
Line #647 - #648
OP #114 - #118
Line #648 - #651
OP #119 - #129
Line #651 - #653
OP #130 - #134
Line #653
OP #135
Line #653
OP #136
Line #653 - #654
OP #137
Line #654
OP #138 - #143
Line #655 - #656
OP #144 - #153
Line #658 - #659
EXIT
mageekguy\atoum\mock\generator::getClassName()
100%
OP #0 - #21
Line #661 - #666
OP #22 - #23
Line #666
OP #24 - #31
Line #666
OP #32 - #34
Line #666 - #667
EXIT
mageekguy\atoum\mock\generator::getParameterType()
67%
OP #0 - #10
Line #669 - #673
OP #11 - #13
Line #674
OP #15 - #21
Line #676
OP #22 - #26
Line #676
OP #27 - #29
Line #676
OP #30 - #32
Line #677
OP #34 - #41
Line #679
OP #42 - #50
Line #680
OP #52 - #53
Line #682
OP #54 - #56
Line #683
OP #58 - #61
Line #684 - #685
EXIT
mageekguy\atoum\mock\generator::isVariadic()
25%
OP #0 - #9
Line #687 - #690
OP #10 - #15
Line #691
OP #17 - #21
Line #694 - #695
EXIT
mageekguy\atoum\mock\generator::hasVariadic()
75%
OP #0 - #15
Line #697 - #702
OP #16 - #18
Line #703
OP #20 - #34
Line #706 - #707
EXIT
mageekguy\atoum\mock\generator::generateMockControllerMethods()
100%
OP #0 - #79
Line #709 - #731
EXIT
mageekguy\atoum\mock\generator::generateDefaultConstructor()
100%
OP #0 - #48
Line #733 - #749
OP #49 - #54
Line #750 - #751
OP #55 - #79
Line #754 - #762
EXIT
mageekguy\atoum\mock\generator::generate__call()
100%
OP #0 - #51
Line #764 - #780
EXIT
mageekguy\atoum\mock\generator::generateGetMockedMethod()
100%
OP #0 - #29
Line #782 - #790
EXIT
mageekguy\atoum\mock\generator::generateUnknownClassCode()
100%
OP #0 - #59
Line #792 - #804
EXIT
mageekguy\atoum\mock\generator::methodNameIsReservedWord()
99%
OP #0 - #9
Line #806 - #810
OP #10
Line #811
OP #11 - #13
Line #811
OP #14
Line #812
OP #15 - #17
Line #812
OP #18
Line #813
OP #19 - #21
Line #813
OP #22
Line #814
OP #23 - #25
Line #814
OP #26
Line #815
OP #27 - #29
Line #815
OP #30
Line #816
OP #31 - #33
Line #816
OP #34
Line #817
OP #35 - #37
Line #817
OP #38
Line #818
OP #39 - #41
Line #818
OP #42
Line #819
OP #43 - #45
Line #819
OP #46
Line #820
OP #47 - #49
Line #820
OP #50
Line #821
OP #51 - #53
Line #821
OP #54
Line #822
OP #55 - #57
Line #822
OP #58
Line #823
OP #59 - #61
Line #823
OP #62
Line #824
OP #63 - #65
Line #824
OP #66
Line #825
OP #67 - #69
Line #825
OP #70
Line #826
OP #71 - #73
Line #826
OP #74
Line #827
OP #75 - #77
Line #827
OP #78
Line #828
OP #79 - #81
Line #828
OP #82
Line #829
OP #83 - #85
Line #829
OP #86
Line #830
OP #87 - #89
Line #830
OP #90
Line #831
OP #91 - #93
Line #831
OP #94
Line #832
OP #95 - #97
Line #832
OP #98
Line #833
OP #99 - #101
Line #833
OP #102
Line #834
OP #103 - #105
Line #834
OP #106
Line #835
OP #107 - #109
Line #835
OP #110
Line #836
OP #111 - #113
Line #836
OP #114
Line #837
OP #115 - #117
Line #837
OP #118
Line #838
OP #119 - #121
Line #838
OP #122
Line #839
OP #123 - #125
Line #839
OP #126
Line #840
OP #127 - #129
Line #840
OP #130
Line #841
OP #131 - #133
Line #841
OP #134
Line #842
OP #135 - #137
Line #842
OP #138
Line #843
OP #139 - #141
Line #843
OP #142
Line #844
OP #143 - #145
Line #844
OP #146
Line #845
OP #147 - #149
Line #845
OP #150
Line #846
OP #151 - #153
Line #846
OP #154
Line #847
OP #155 - #157
Line #847
OP #158
Line #848
OP #159 - #161
Line #848
OP #162
Line #849
OP #163 - #165
Line #849
OP #166
Line #850
OP #167 - #169
Line #850
OP #170
Line #851
OP #171 - #173
Line #851
OP #174
Line #852
OP #175 - #177
Line #852
OP #178
Line #853
OP #179 - #181
Line #853
OP #182
Line #854
OP #183 - #185
Line #854
OP #186
Line #855
OP #187 - #189
Line #855
OP #190
Line #856
OP #191 - #193
Line #856
OP #194
Line #857
OP #195 - #197
Line #857
OP #198
Line #858
OP #199 - #201
Line #858
OP #202
Line #859
OP #203 - #205
Line #859
OP #206
Line #860
OP #207 - #209
Line #860
OP #210
Line #861
OP #211 - #213
Line #861
OP #214
Line #862
OP #215 - #217
Line #862
OP #218
Line #863
OP #219 - #221
Line #863
OP #222
Line #864
OP #223 - #225
Line #864
OP #226
Line #865
OP #227 - #229
Line #865
OP #230
Line #866
OP #231 - #233
Line #866
OP #234
Line #867
OP #235 - #237
Line #867
OP #238
Line #868
OP #239 - #241
Line #868
OP #242
Line #869
OP #243 - #245
Line #869
OP #246
Line #870
OP #247 - #249
Line #870
OP #250
Line #871
OP #251 - #253
Line #871
OP #254
Line #872
OP #255 - #257
Line #872
OP #258
Line #873
OP #259 - #261
Line #873
OP #262
Line #874
OP #263 - #265
Line #874
OP #266 - #269
Line #875
OP #271 - #272
Line #877
OP #273 - #276
Line #878
OP #278 - #281
Line #879 - #880
EXIT