Skip to content

Instantly share code, notes, and snippets.

@dpobel
Created May 21, 2013 15:35
Show Gist options
  • Select an option

  • Save dpobel/5620758 to your computer and use it in GitHub Desktop.

Select an option

Save dpobel/5620758 to your computer and use it in GitHub Desktop.
$ phpunit --coverage-text eZ/Publish/Core/SignalSlot/Tests/
PHPUnit 3.7.10 by Sebastian Bergmann.
Configuration read from /home/dp/dev/ezpublish5/vendor/ezsystems/ezpublish-kernel/phpunit.xml
............................................................... 63 / 243 ( 25%)
............................................................... 126 / 243 ( 51%)
............................................................... 189 / 243 ( 77%)
......................................................
Time: 6 seconds, Memory: 19.50Mb
OK (243 tests, 642 assertions)
Code Coverage Report
2013-05-21 17:33:38
Summary:
Classes: 21.56% (287/1331)
Methods: 4.83% (243/5027)
Lines: 1.56% (934/59737)
\eZ\Publish\API\Repository\Values::ValueObject
Methods: 20.00% ( 2/10) Lines: 28.00% ( 7/ 25)
\eZ\Publish\Core\Repository\Values\Content::Content
Methods: 11.11% ( 1/ 9) Lines: 2.04% ( 1/ 49)
\eZ\Publish\Core\Repository\Values\Content::Location
Methods: 25.00% ( 1/ 4) Lines: 25.00% ( 4/ 16)
\eZ\Publish\Core\Repository\Values\Content::TrashItem
Methods: 25.00% ( 1/ 4) Lines: 18.75% ( 3/ 16)
\eZ\Publish\Core\Repository\Values\Content::VersionInfo
Methods: 33.33% ( 1/ 3) Lines: 10.00% ( 1/ 10)
\eZ\Publish\Core\Repository\Values\ContentType::ContentTypeDraft
Methods: 8.33% ( 1/12) Lines: 7.69% ( 1/ 13)
\eZ\Publish\Core\Repository\Values\User::User
Methods: 28.57% ( 2/ 7) Lines: 25.93% ( 7/ 27)
\eZ\Publish\Core\Repository\Values\User::UserGroup
Methods: 28.57% ( 2/ 7) Lines: 25.93% ( 7/ 27)
\eZ\Publish\Core\SignalSlot::ContentService
Methods: 100.00% (31/31) Lines: 100.00% (119/119)
\eZ\Publish\Core\SignalSlot::ContentTypeService
Methods: 100.00% (29/29) Lines: 100.00% (120/120)
\eZ\Publish\Core\SignalSlot::FieldTypeService
Methods: 100.00% ( 4/ 4) Lines: 100.00% ( 6/ 6)
\eZ\Publish\Core\SignalSlot::LanguageService
Methods: 100.00% (11/11) Lines: 100.00% ( 44/ 44)
\eZ\Publish\Core\SignalSlot::LocationService
Methods: 100.00% (16/16) Lines: 100.00% ( 74/ 74)
\eZ\Publish\Core\SignalSlot::ObjectStateService
Methods: 100.00% (19/19) Lines: 100.00% ( 73/ 73)
\eZ\Publish\Core\SignalSlot::Repository
Methods: 95.83% (23/24) Lines: 98.46% ( 64/ 65)
\eZ\Publish\Core\SignalSlot::RoleService
Methods: 100.00% (24/24) Lines: 100.00% ( 94/ 94)
\eZ\Publish\Core\SignalSlot::SearchService
Methods: 100.00% ( 4/ 4) Lines: 100.00% ( 6/ 6)
\eZ\Publish\Core\SignalSlot::SectionService
Methods: 100.00% (11/11) Lines: 100.00% ( 38/ 38)
\eZ\Publish\Core\SignalSlot::TrashService
Methods: 100.00% ( 7/ 7) Lines: 100.00% ( 30/ 30)
\eZ\Publish\Core\SignalSlot::URLAliasService
Methods: 100.00% ( 9/ 9) Lines: 100.00% ( 29/ 29)
\eZ\Publish\Core\SignalSlot::URLWildcardService
Methods: 100.00% ( 6/ 6) Lines: 100.00% ( 26/ 26)
\eZ\Publish\Core\SignalSlot::UserService
Methods: 100.00% (21/21) Lines: 100.00% ( 80/ 80)
\eZ\Publish\Core\SignalSlot\SignalDispatcher::DefaultSignalDispatcher
Methods: 100.00% ( 3/ 3) Lines: 100.00% ( 14/ 14)
\eZ\Publish\Core\SignalSlot\Slot::AbstractLegacySlot
Methods: 100.00% ( 2/ 2) Lines: 87.50% ( 7/ 8)
\eZ\Publish\Core\SignalSlot\Slot::LegacyAssignSectionSlot
Methods: 100.00% ( 2/ 2) Lines: 55.56% ( 5/ 9)
\eZ\Publish\Core\SignalSlot\Slot::LegacyCopyContentSlot
Methods: 100.00% ( 2/ 2) Lines: 50.00% ( 6/ 12)
\eZ\Publish\Core\SignalSlot\Slot::LegacyCreateLocationSlot
Methods: 100.00% ( 2/ 2) Lines: 50.00% ( 6/ 12)
\eZ\Publish\Core\SignalSlot\Slot::LegacyDeleteContentSlot
Methods: 100.00% ( 2/ 2) Lines: 60.00% ( 6/ 10)
\eZ\Publish\Core\SignalSlot\Slot::LegacyDeleteLocationSlot
Methods: 100.00% ( 2/ 2) Lines: 60.00% ( 6/ 10)
\eZ\Publish\Core\SignalSlot\Slot::LegacyDeleteVersionSlot
Methods: 100.00% ( 2/ 2) Lines: 42.86% ( 6/ 14)
\eZ\Publish\Core\SignalSlot\Slot::LegacyHideLocationSlot
Methods: 100.00% ( 2/ 2) Lines: 50.00% ( 6/ 12)
\eZ\Publish\Core\SignalSlot\Slot::LegacyMoveSubtreeSlot
Methods: 100.00% ( 2/ 2) Lines: 60.00% ( 6/ 10)
\eZ\Publish\Core\SignalSlot\Slot::LegacyPublishContentTypeDraftSlot
Methods: 100.00% ( 2/ 2) Lines: 30.00% ( 6/ 20)
\eZ\Publish\Core\SignalSlot\Slot::LegacyPublishVersionSlot
Methods: 100.00% ( 2/ 2) Lines: 50.00% ( 6/ 12)
\eZ\Publish\Core\SignalSlot\Slot::LegacySetContentStateSlot
Methods: 100.00% ( 2/ 2) Lines: 60.00% ( 6/ 10)
\eZ\Publish\Core\SignalSlot\Slot::LegacySwapLocationSlot
Methods: 100.00% ( 2/ 2) Lines: 50.00% ( 6/ 12)
\eZ\Publish\Core\SignalSlot\Slot::LegacyUnhideLocationSlot
Methods: 100.00% ( 2/ 2) Lines: 50.00% ( 6/ 12)
\eZ\Publish\Core\SignalSlot\Slot::LegacyUpdateLocationSlot
Methods: 100.00% ( 2/ 2) Lines: 75.00% ( 6/ 8)
\eZ\Publish\Core\SignalSlot\SlotFactory::ContainerSlotFactory
Methods: 100.00% ( 2/ 2) Lines: 100.00% ( 5/ 5)
\eZ\Publish\Core\SignalSlot\SlotFactory::GeneralSlotFactory
Methods: 100.00% ( 2/ 2) Lines: 100.00% ( 5/ 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment