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