Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
Smalldb\StateMachine\Test\Example\Post\PostData\PostDataFormDataMapper0%
Smalldb\StateMachine\Test\Example\SupervisorProcess\SupervisorProcessData\SupervisorProcessDataFormDataMapper0%
Smalldb\StateMachine\Test\Example\SupervisorProcess\SupervisorProcessData\SupervisorProcessDataMutable0%
Smalldb\ClassLocator\ClassMapClassLocator0%
Smalldb\StateMachine\Test\Example\CrudItem\AbstractCrudTransitions0%
Smalldb\StateMachine\Test\Example\User\User0%
Smalldb\StateMachine\Test\Example\Comment\CommentTransitions0%
Smalldb\StateMachine\Test\Example\User\UserData\UserDataFormDataMapper0%
Smalldb\StateMachine\Test\Example\Comment\CommentProperties0%
Smalldb\StateMachine\Test\Example\Comment\CommentData\CommentDataMutable0%
Smalldb\StateMachine\Test\Example\Comment\CommentData\CommentDataImmutable0%
Smalldb\StateMachine\Test\Example\Comment\CommentData\CommentDataFormDataMapper0%
Smalldb\StateMachine\Test\Example\Comment\Comment0%
Smalldb\StateMachine\Test\Example\User\UserData\UserDataMutable0%
Smalldb\StateMachine\SqlExtension\ReferenceDataSource\DataLoader0%
Smalldb\StateMachine\Test\Example\User\UserProfileData\UserProfileDataFormDataMapper0%
Smalldb\StateMachine\Test\Example\User\UserProfileData\UserProfileDataImmutable0%
Smalldb\StateMachine\Test\SymfonyDemo\Repository\UserRepository0%
Smalldb\ClassLocator\Psr0ClassLocator0%
Smalldb\StateMachine\Test\SymfonyDemo\Repository\TagRepository0%
Smalldb\StateMachine\Test\SymfonyDemo\Pagination\Paginator0%
Smalldb\StateMachine\Test\SymfonyDemo\Entity\User0%
Smalldb\StateMachine\Test\SymfonyDemo\Entity\Tag0%
Smalldb\StateMachine\Test\SymfonyDemo\Entity\Comment0%
Smalldb\StateMachine\Test\Example\User\UserTransitions0%
Smalldb\StateMachine\ClassGenerator\ReferenceClassGenerator\InheritingGenerator0%
Smalldb\StateMachine\Test\Example\User\UserProfileData\UserProfileDataMutable0%
Smalldb\StateMachine\Test\Example\SupervisorProcess\SupervisorProcessData\SupervisorProcessDataImmutable0%
Smalldb\StateMachine\Test\SymfonyDemo\Entity\Post5%
Smalldb\StateMachine\Test\Example\User\UserRepository13%
Smalldb\StateMachine\Test\Example\User\UserData\UserDataImmutable17%
Smalldb\StateMachine\Test\Example\Post\PostData\PostDataMutable20%
Smalldb\StateMachine\Test\Example\Tag\TagData\TagDataMutable33%
Smalldb\ClassLocator\BrokenClassLogger33%
Smalldb\CodeCooker\Chef36%
Smalldb\StateMachine\Test\Example\CrudItem\AbstractCrudRepository36%
Smalldb\StateMachine\SqlExtension\ReferenceDataSource\ReferenceQueryResult46%
Smalldb\StateMachine\Test\Example\Post\PostData\PostDataImmutable55%
Smalldb\StateMachine\Test\SymfonyDemo\Repository\PostRepository57%
Smalldb\StateMachine\Test\Example\Post\PostTransitions58%
Smalldb\StateMachine\Test\Example\Tag\TagData\TagDataFormDataMapper63%
Smalldb\StateMachine\DoctrineExtension\Definition\DoctrineExtension66%
Smalldb\StateMachine\SymfonyDI\SmalldbExtension68%
Smalldb\StateMachine\Test\Example\Comment\CommentRepository71%
Smalldb\StateMachine\DoctrineExtension\Definition\DoctrineExtensionPlaceholder75%
Smalldb\StateMachine\SqlExtension\Definition\SqlTableExtensionPlaceholder75%
Smalldb\StateMachine\BpmnExtension\GrafovatkoProcessor76%
Smalldb\PhpFileWriter\PhpFileWriter79%
Smalldb\StateMachine\Test\Example\Tag\TagRepository80%
Smalldb\StateMachine\Test\Example\Tag\TagProperties80%
Smalldb\ClassLocator\ComposerClassLocator80%
BrokenClassHandlerTrait80%
Smalldb\CodeCooker\RecipeLocator82%
Smalldb\StateMachine\Test\Example\CrudItem\CrudItemTransitions83%
Smalldb\StateMachine\ClassGenerator\ReferenceClassGenerator84%
Smalldb\StateMachine\BpmnExtension\SvgPainter85%
Smalldb\ClassLocator\RealPathList86%
Smalldb\StateMachine\SqlExtension\AbstractSqlRepository87%

Project Risks

Class CRAP
Smalldb\StateMachine\Test\Example\SupervisorProcess\SupervisorProcessData\SupervisorProcessDataImmutable3782
Smalldb\StateMachine\Test\Example\SupervisorProcess\SupervisorProcessData\SupervisorProcessDataMutable3782
Smalldb\StateMachine\Test\Example\User\UserData\UserDataMutable1892
Smalldb\StateMachine\Test\Example\Comment\CommentData\CommentDataMutable1806
Smalldb\StateMachine\Test\Example\Comment\CommentData\CommentDataImmutable1806
Smalldb\StateMachine\Test\Example\Post\PostData\PostDataMutable1688
Smalldb\StateMachine\Test\Example\User\UserData\UserDataImmutable1075
Smalldb\StateMachine\ClassGenerator\ReferenceClassGenerator\InheritingGenerator756
Smalldb\StateMachine\Test\SymfonyDemo\Entity\Post740
Smalldb\StateMachine\Test\Example\User\UserProfileData\UserProfileDataMutable552
Smalldb\StateMachine\Test\Example\User\UserProfileData\UserProfileDataImmutable552
Smalldb\StateMachine\Test\SymfonyDemo\Entity\User506
Smalldb\StateMachine\Test\Example\Post\PostData\PostDataImmutable337
Smalldb\StateMachine\Test\Example\Tag\TagData\TagDataMutable260
Smalldb\PhpFileWriter\PhpFileWriter246
Smalldb\StateMachine\Test\SymfonyDemo\Entity\Comment240
Smalldb\StateMachine\Test\SymfonyDemo\Pagination\Paginator210
Smalldb\CodeCooker\Chef135
Smalldb\StateMachine\BpmnExtension\GrafovatkoProcessor114
Smalldb\StateMachine\SqlExtension\ReferenceDataSource\ReferenceQueryResult74
Smalldb\StateMachine\SymfonyDI\SmalldbExtension62
Smalldb\StateMachine\Test\Example\CrudItem\AbstractCrudRepository56
Smalldb\StateMachine\Test\Example\User\UserProfileData\UserProfileDataFormDataMapper56
Smalldb\StateMachine\Test\SymfonyDemo\Entity\Tag56
Smalldb\StateMachine\Test\Example\User\UserData\UserDataFormDataMapper56
Smalldb\StateMachine\Test\Example\User\UserTransitions56
Smalldb\ClassLocator\ClassMapClassLocator56
Smalldb\StateMachine\Test\Example\Post\PostData\PostDataFormDataMapper56
Smalldb\StateMachine\Test\Example\Comment\CommentData\CommentDataFormDataMapper56
Smalldb\StateMachine\SqlExtension\ReferenceDataSource\DataLoader56
Smalldb\StateMachine\Test\Example\SupervisorProcess\SupervisorProcessData\SupervisorProcessDataFormDataMapper56
Smalldb\StateMachine\Test\Example\Post\PostTransitions48
Smalldb\StateMachine\Test\Example\Comment\CommentTransitions42
Smalldb\ClassLocator\ComposerClassLocator30
Smalldb\StateMachine\Test\Example\User\UserRepository29
Smalldb\ClassLocator\RealPathList15
Smalldb\CodeCooker\RecipeLocator15
Smalldb\StateMachine\ClassGenerator\ReferenceClassGenerator14
Smalldb\StateMachine\BpmnExtension\SvgPainter12
Smalldb\StateMachine\Test\SymfonyDemo\Repository\PostRepository10
Smalldb\StateMachine\Test\Example\Tag\TagData\TagDataFormDataMapper9
Smalldb\StateMachine\Test\Example\Tag\TagRepository6
Smalldb\StateMachine\DoctrineExtension\Definition\DoctrineExtensionPlaceholder4
Smalldb\StateMachine\SqlExtension\Definition\SqlTableExtensionPlaceholder4
BrokenClassHandlerTrait4

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
handleBrokenClass0%
fromIterable0%
getEmail0%
getFullName0%
getRoles0%
getPassword0%
getUsername0%
getId0%
fromArray0%
setId0%
__construct0%
withEmail0%
withFullName0%
withRoles0%
withPassword0%
withUsername0%
withId0%
get0%
setUsername0%
getEmail0%
fromIterable0%
__construct0%
withEmail0%
withFullName0%
get0%
getEmail0%
getFullName0%
fromArray0%
setPassword0%
__construct0%
configureOptions0%
mapFormsToData0%
mapDataToForms0%
setEmail0%
setFullName0%
setRoles0%
get0%
getRoles0%
fromIterable0%
getModifiedAt0%
setCommand0%
setState0%
setId0%
get0%
getArgs0%
getMemoryLimit0%
getCreatedAt0%
setModifiedAt0%
getCommand0%
getState0%
getId0%
fromIterable0%
fromArray0%
__construct0%
withArgs0%
setCreatedAt0%
setMemoryLimit0%
getPassword0%
getSalt0%
getUsername0%
getId0%
fromIterable0%
configureOptions0%
mapFormsToData0%
mapDataToForms0%
eraseCredentials0%
findByNames0%
setArgs0%
__toString0%
resetName0%
setNameFromSlug0%
get0%
fromIterable0%
fromArray0%
configureOptions0%
fromArray0%
getFullName0%
withModifiedAt0%
setUsername0%
setRoles0%
getRoles0%
setPassword0%
getPassword0%
setEmail0%
getEmail0%
getUsername0%
eraseCredentials0%
getFullName0%
setFullName0%
getId0%
__toString0%
jsonSerialize0%
getName0%
setName0%
getSalt0%
serialize0%
getTags0%
getNextPage0%
__construct0%
__construct0%
findLatest0%
getResults0%
getNumResults0%
hasToPaginate0%
hasNextPage0%
unserialize0%
getPreviousPage0%
hasPreviousPage0%
getPageSize0%
getLastPage0%
getCurrentPage0%
paginate0%
__construct0%
getId0%
removeTag0%
getEmail0%
changePassword0%
getPublishedAt0%
setContent0%
getContent0%
getId0%
isLegitComment0%
__construct0%
updateProfile0%
getAuthor0%
register0%
__construct0%
findAll0%
findByUserName0%
setEmail0%
setFullName0%
get0%
setPublishedAt0%
setAuthor0%
addTag0%
setPublishedAt0%
setSummary0%
getSummary0%
removeComment0%
addComment0%
getComments0%
setAuthor0%
getAuthor0%
getPublishedAt0%
getPost0%
setContent0%
getContent0%
setSlug0%
getSlug0%
setTitle0%
__construct0%
setPost0%
__construct0%
withMemoryLimit0%
withCreatedAt0%
get0%
getPost0%
getAuthor0%
mapDataToForms0%
mapFormsToData0%
configureOptions0%
__construct0%
fromArray0%
fromIterable0%
getId0%
getPostId0%
getContent0%
getPublishedAt0%
getAuthorId0%
withCommand0%
join0%
withPostId0%
withContent0%
withPublishedAt0%
withAuthorId0%
__construct0%
fromArray0%
fromIterable0%
getId0%
getPostId0%
getContent0%
getPublishedAt0%
getAuthorId0%
get0%
createCheff0%
map0%
setPostId0%
beginTrait0%
getClasses0%
mapClassNameToFileName0%
mapFileNameToClassName0%
__construct0%
registerAutoloader0%
registerPassThroughAutoloader0%
registerLoadingAutoloader0%
getSourceClassName0%
onRecipeClass0%
getAnnotationReader0%
toCamelCase0%
writeString0%
beginAbstractClass0%
endTrait0%
getWrappedStatement0%
beginFinalMethod0%
writeAbstractMethod0%
getInheritingGenerator0%
writeReferenceClass0%
generateDataGetterMethods0%
generateHydratorMethod0%
getEntityClassName0%
invalidateCache0%
ref0%
fetch0%
fetchAll0%
fetchAllIter0%
getTableAlias0%
setId0%
withId0%
setContent0%
configureOptions0%
getSlug0%
getSummary0%
getContent0%
getPublishedAt0%
getAuthorId0%
setPublishedAt0%
get0%
setCommentCount0%
assignTags0%
addComment0%
mapDataToForms0%
mapFormsToData0%
__construct0%
getId0%
fromArray0%
fromIterable0%
getId0%
getState0%
getCommand0%
getCreatedAt0%
getModifiedAt0%
getMemoryLimit0%
getArgs0%
get0%
withId0%
withState0%
getTitle0%
getCommentCount0%
fromIterable0%
createPreheatedReference0%
mapDataToForms0%
mapFormsToData0%
configureOptions0%
update0%
create0%
fromIterable0%
__construct0%
findOneBy0%
createPreheatedReferenceCollection0%
get0%
withSummary0%
delete0%
withContent0%
supports0%
withAuthorId0%
setAuthorId0%
fromArray0%
isLegitComment0%
create0%
withCommentCount0%
update0%
withPublishedAt0%
ref0%
__construct0%
__construct10%
__construct13%
createClassLocator23%
process40%
unregisterAutoloader50%
getIdentifier62%
__construct66%
eof66%
write66%
handleBrokenClass66%
buildExtension66%
buildExtension66%
__construct71%
processEdgeAttrs72%
setup73%
addError73%
processNodeAttrs74%
setClassName75%
get75%
loadComposerAutoloader75%
getParamAsCode75%
detectDtoInterface77%
processGraph78%
endBlock80%
useClass80%
decreaseIndent80%
mapFileNameToClassName80%
realpath81%
beginReferenceClass81%
load82%
fetch83%
__construct84%
colorizeSvgFile85%
mapDataToForms85%
fromIterable85%
beginMethodOverride86%
jsonSerialize87%
generateReferenceClass88%
generateConstructors89%

Project Risks

Method CRAP
fromArray272
fromArray272
generateDataGetterMethods210
fromIterable182
fromIterable182
fromIterable182
fromIterable182
generateHydratorMethod156
fromArray132
fromArray110
fromIterable110
fromIterable110
fromArray110
fromIterable110
fromIterable110
get90
get90
fromArray72
get72
get72
processNodeAttrs59
get56
join56
fromArray56
get56
fromArray42
get42
fromIterable42
get42
fromArray42
fromIterable42
fromIterable42
assignTags42
registerPassThroughAutoloader30
createClassLocator28
generateConstructors22
useClass21
__construct20
create20
writeString20
__construct20
mapDataToForms20
mapDataToForms20
__construct20
__construct20
mapDataToForms20
__construct20
registerLoadingAutoloader20
__construct20
__construct20
mapDataToForms20
beginAbstractClass20
findOneBy20
mapDataToForms20
setup17
processEdgeAttrs16
__construct15
__construct14
colorizeSvgFile12
paginate12
get12
get12
addTag12
get12
findAll12
fetch12
generateReferenceClass10
realpath8
getParamAsCode7
addError6
detectDtoInterface6
processGraph6
fromIterable6
getSalt6
mapFormsToData6
getRoles6
getId6
getPassword6
findLatest6
withId6
getPost6
getAuthor6
getContent6
getFullName6
getEmail6
getName6
getAuthor6
addComment6
getSummary6
getId6
findByUserName6
mapFormsToData6
getId6
getId6
__construct6
register6
setId6
getContent6
getUsername6
getId6
changePassword6
getSlug6
getClasses6
getId6
getId6
writeAbstractMethod6
mapFormsToData6
createPreheatedReferenceCollection6
createPreheatedReference6
__construct6
setId6
withId6
getCommentCount6
setArgs6
mapFormsToData6
map6
fetchAllIter6
fetchAll6
onRecipeClass6
getId6
withCommentCount6
setCommentCount6
getId6
mapFileNameToClassName6
setMemoryLimit6
setId6
mapClassNameToFileName6
getMemoryLimit6
getArgs6
withArgs6
withMemoryLimit6
withId6
getArgs6
getMemoryLimit6
getId6
mapFormsToData6
beginFinalMethod6
load5
beginMethodOverride5
getIdentifier4
__construct4
mapFileNameToClassName4
__construct4
mapDataToForms4
buildExtension3
write3
buildExtension3
get3
fetch3
process2
unregisterAutoloader2
eof2
__construct2
handleBrokenClass2
setClassName2
loadComposerAutoloader2
endBlock2
decreaseIndent2
beginReferenceClass2
jsonSerialize2