Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
DocumentService_push_args0%
DocumentService_push_result0%
DocumentServiceProcessor0%
DocumentServiceClient0%
OpenSearchClientException0%
OpenSearchResult0%
OpenSearchException0%
GeneralSearcherServiceClient0%
GeneralSearcherServiceProcessor0%
OpenSearchSearcherServiceProcessor0%
OpenSearchClient0%
OpenSearchSearcherService_execute_result0%
OpenSearchSearcherService_execute_args0%
OpenSearch0%
OpenSearchSearcherServiceClient0%
TraceInfo0%
AppReference0%
AppService_listAll_result0%
AppService_removeById_args0%
AppService_listAll_args0%
AppService_getById_result0%
AppService_save_result0%
AppService_getById_args0%
TException0%
AppService_removeById_result0%
AppServiceProcessor0%
AppServiceClient0%
AppService_reindexById_result0%
AppService_reindexById_args0%
AppService_updateById_args0%
AppService_updateById_result0%
AppService_save_args0%
Configuration11%
Expectation17%
Config17%
ReceivedMethodCalls18%
DeepPaging18%
Suggest19%
Sort19%
SearchParams22%
CallTypeHintPass23%
CompositeExpectation24%
Distinct24%
Rank25%
Pageable28%
InstanceMockPass28%
SortField29%
Mockery30%
Summary31%
Aggregate32%
Container34%
ExpectationDirector37%
RemoveUnserializeForInternalSerializableClassesPass40%
MockConfigurationBuilder41%
ClassPass47%
SuggestParamsBuilder50%
Loader51%
MockConfiguration59%
MethodCall60%
DefinedTargetClass60%
Parameter65%
RemoveBuiltinMethodsThatAreFinalPass66%
MethodDefinitionPass67%
ThriftClassLoader73%
MockDefinition75%
Constant79%
StringManipulationGenerator81%
InterfacePass85%

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
anyOf0%
not0%
mustBe0%
on0%
notAnyOf0%
formatArgs0%
objectToArray0%
formatObjects0%
formatArgument0%
hasValue0%
hasKey0%
resetContainer0%
setContainer0%
setLoader0%
any0%
type0%
contains0%
subset0%
ducktype0%
extractInstancePublicProperties0%
extractGetters0%
mockingMethodsUnnecessarilyAllowed0%
allowMockingMethodsUnnecessarily0%
allowMockingNonExistentMethods0%
__toString0%
setInternalClassMethodParamMap0%
resetInternalClassMethodParamMaps0%
getKeyOfDemeterMockFor0%
instanceMock0%
getInternalClassMethodParamMap0%
shouldReceive0%
mock0%
anonymous function0%
cleanupArray0%
cleanupNesting0%
getNewDemeterMock0%
getExistingDemeterMock0%
getMock0%
getOrderNumber0%
andReturn0%
setGenerator0%
fetchMock0%
getName0%
write0%
read0%
getName0%
read0%
write0%
__construct0%
read0%
getName0%
write0%
read0%
read0%
getName0%
write0%
write0%
getName0%
getName0%
write0%
read0%
getName0%
read0%
_write0%
_writeList0%
_writeMap0%
build0%
spy0%
self0%
namedMock0%
instanceMock0%
_read0%
_readList0%
registerNamespace0%
__construct0%
write0%
registerDefinition0%
register0%
_readMap0%
__construct0%
findFileInApc0%
getMocks0%
mockery_allocateOrder0%
setTargetObject0%
addTargetInterfaceName0%
getTargetClassName0%
getShortName0%
addTargets0%
setName0%
addWhiteListedMethod0%
setBlackListedMethods0%
addBlackListedMethod0%
inNamespace0%
getNamespaceName0%
getExpectations0%
makeExpectationDefault0%
getName0%
getExpectationCount0%
isAbstract0%
__toString0%
getInterfaces0%
anonymous function0%
addWhiteListedMethods0%
setWhiteListedMethods0%
getFileExtension0%
setFileExtension0%
getIncludePath0%
register0%
unregister0%
verify0%
getArgs0%
getMethod0%
setIncludePath0%
getNamespaceSeparator0%
getClass0%
getConfig0%
setInstanceMock0%
appendToClass0%
appendToClass0%
setNamespaceSeparator0%
__construct0%
addPass0%
__clone0%
passthru0%
withArgs0%
with0%
_matchArg0%
isCallCountConstrained0%
withNoArgs0%
withAnyArgs0%
andReturnValues0%
andReturnSelf0%
andReturn0%
__toString0%
anonymous function0%
mockery_getCurrentOrder0%
mockery_getGroups0%
mockery_setGroup0%
mockery_validateOrder0%
mockery_getExpectationCount0%
declareClass0%
fetchMock0%
self0%
andReturnUndefined0%
andReturnNull0%
ordered0%
between0%
atMost0%
globally0%
_defineOrdered0%
getMock0%
byDefault0%
getOrderNumber0%
atLeast0%
twice0%
andSet0%
andThrowExceptions0%
andThrow0%
set0%
zeroOrMoreTimes0%
once0%
never0%
times0%
read0%
write0%
getName0%
__construct0%
write0%
read0%
read0%
write0%
read0%
getName0%
__construct0%
getName0%
__construct0%
read0%
getName0%
__construct0%
write0%
write0%
__construct0%
write0%
read0%
getName0%
write0%
__construct0%
read0%
getName0%
__construct0%
write0%
write0%
__construct0%
process_getById0%
process_save0%
process0%
read0%
getName0%
write0%
read0%
getName0%
__construct0%
getName0%
__construct0%
write0%
getName0%
read0%
getName0%
save0%
__construct0%
getDebugInfo0%
_curl0%
send_save0%
recv_save0%
recv_getById0%
send_getById0%
getById0%
_getHeaders0%
_filter0%
delete0%
post0%
put0%
get0%
patch0%
call0%
_buildQuery0%
_signature0%
_nonce0%
listAll0%
send_listAll0%
write0%
read0%
getName0%
__construct0%
__construct0%
getName0%
__construct0%
write0%
read0%
recv_reindexById0%
send_reindexById0%
send_removeById0%
removeById0%
recv_listAll0%
recv_removeById0%
updateById0%
reindexById0%
recv_updateById0%
send_updateById0%
process_listAll0%
read0%
init_FORMAT_PARAM0%
init_SUMMARY_PARAM_SUMMARY_ELEMENT0%
init_DISTINCT_CLAUSE_UPDATE_TOTAL_HIT0%
init_DISTINCT_CLAUSE_DIST_FILTER0%
__construct0%
__construct0%
read0%
getName0%
__construct0%
process0%
init_SORT_CLAUSE_RANK0%
process_push0%
__construct0%
write0%
read0%
getName0%
getName0%
read0%
process0%
__construct0%
write0%
write0%
__construct0%
getName0%
process_execute0%
process0%
__construct0%
read0%
write0%
write0%
read0%
getName0%
write0%
read0%
__construct0%
recv_execute0%
send_execute0%
execute0%
getName0%
read0%
getName0%
__construct0%
write0%
__construct0%
init_DISTINCT_CLAUSE_GRADE0%
__construct0%
write0%
getName0%
write0%
read0%
read0%
getName0%
__construct0%
process_updateById0%
process_reindexById0%
write0%
getName0%
recv_push0%
__construct0%
read0%
getName0%
read0%
getName0%
write0%
__construct0%
send_push0%
push0%
process_removeById0%
__construct0%
write0%
read0%
write0%
__construct0%
read0%
getName0%
getTargetInterfaces15%
matchArgs18%
call20%
apply23%
checkForNamedMockClashes25%
_findExpectationIn33%
_getReturnValue33%
mock37%
validateOrder37%
addTarget38%
_setValues42%
_getInstance43%
apply47%
apply50%
mockery_setCurrentOrder50%
anonymous function50%
getTargetClass50%
generateName53%
renderMethodBody55%
apply57%
isEligible60%
mockery_teardown60%
getName60%
getMethodsToMock60%
__construct60%
buildDemeterChain62%
__construct63%
getTypeHintAsString64%
verify66%
apply66%
findExpectation66%
requiresCallStaticTypeHintRemoval66%
requiresCallTypeHintRemoval66%
parseShouldReturnArgs69%
__construct69%
renderParams70%
verify75%
addBlackListedMethods75%
__construct75%
__construct76%
hasInternalAncestor77%
verifyCall77%
rename77%
apply77%
getNamespaceName80%
anonymous function80%
__construct80%
__construct80%
rememberMock80%
__construct84%

Project Risks

Method CRAP
read1482
write1190
read506
mock398
read342
read306
read306
read306
write240
_matchArg240
_writeMap210
_readMap210
formatArgument156
_writeList132
_readList132
getTargetInterfaces116
write110
_read110
__construct110
read90
read90
read90
read90
read90
read90
read90
read90
read90
read90
read90
read90
write72
write72
write72
_write72
recv_save56
read56
read56
read56
read56
recv_getById56
read56
recv_execute56
recv_removeById56
recv_updateById56
recv_reindexById56
recv_listAll56
_curl56
recv_push56
__construct42
read42
__construct42
__construct42
__construct42
__construct42
__construct42
__construct42
__construct42
__construct42
extractGetters42
__construct42
_filter42
_getInstance33
process_execute30
read30
write30
__construct30
write30
write30
__construct30
write30
formatObjects30
read30
read30
read30
process_push30
write30
cleanupArray30
read30
read30
write30
process_save30
process_getById30
process_listAll30
process_reindexById30
process_removeById30
process_updateById30
__construct30
read30
write30
__construct30
read30
__construct30
write30
matchArgs25
verify20
write20
_signature20
write20
write20
__construct20
write20
write20
__construct20
write20
__construct20
__construct20
__construct20
__construct20
__construct20
__construct18
__construct18
_findExpectationIn16
addTarget14
getMethodsToMock13
buildDemeterChain13
getTypeHintAsString12
_getReturnValue12
formatArgs12
send_updateById12
write12
write12
declareClass12
send_removeById12
send_reindexById12
send_listAll12
getKeyOfDemeterMockFor12
_getHeaders12
write12
send_save12
andThrowExceptions12
cleanupNesting12
send_getById12
_defineOrdered12
write12
read12
send_execute12
write12
call12
write12
send_push12
__construct11
renderMethodBody11
checkForNamedMockClashes10
getTargetClass10
apply8
renderParams8
apply7
apply6
__construct6
__construct6
withArgs6
getDebugInfo6
addWhiteListedMethods6
addTargets6
_buildQuery6
makeExpectationDefault6
passthru6
ordered6
times6
__clone6
andThrow6
byDefault6
fetchMock6
findFileInApc6
process6
__construct6
write6
write6
write6
write6
write6
process6
process6
__construct6
process6
__construct6
__construct6
self6
write6
__toString6
mockery_validateOrder6
setInternalClassMethodParamMap6
getInternalClassMethodParamMap6
objectToArray6
extractInstancePublicProperties6
mockery_getExpectationCount6
apply5
parseShouldReturnArgs5
generateName5
apply5
validateOrder5
_setValues4
verify4
__construct4
__construct4
rename4
hasInternalAncestor4
verifyCall4
call4
getName3
isEligible3
requiresCallStaticTypeHintRemoval3
requiresCallTypeHintRemoval3
apply2
mockery_teardown2
findExpectation2
addBlackListedMethods2
verify2
__construct2
anonymous function2
getNamespaceName2
rememberMock2