diff --git a/.travis.yml b/.travis.yml index 922823d..ea9c367 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,7 @@ before_script: script: - cd tests - - if [[ $TEST_COVERAGE == 'true' ]]; then ../vendor/bin/phpunit --coverage-text --coverage-clover ../build/logs/clover.xml ; fi + - if [[ $TEST_COVERAGE == 'true' ]]; then phpdbg -qrr ../vendor/bin/phpunit --coverage-text --coverage-clover ../build/logs/clover.xml ; fi - if [[ $TEST_COVERAGE != 'true' ]]; then ../vendor/bin/phpunit ; fi - cd .. diff --git a/build/coverage/Module.php.html b/build/coverage/Module.php.html index a2ef7d8..061be08 100644 --- a/build/coverage/Module.php.html +++ b/build/coverage/Module.php.html @@ -1,217 +1,124 @@ - - -
- -- | Code Coverage |
- |||||||||
- | Classes and Traits |
- Functions and Methods |
- Lines |
- |||||||
Total | -
-
-
- |
- 100.00% |
- 1 / 1 |
-
-
-
- |
- 100.00% |
- 2 / 2 |
- CRAP | -
-
-
- |
- 100.00% |
- 4 / 4 |
-
Module | -
-
-
- |
- 100.00% |
- 1 / 1 |
-
-
-
- |
- 100.00% |
- 2 / 2 |
- 2 | -
-
-
- |
- 100.00% |
- 4 / 4 |
-
getAutoloaderConfig() | -
-
-
- |
- 100.00% |
- 1 / 1 |
- 1 | -
-
-
- |
- 100.00% |
- 3 / 3 |
- |||
getConfig() | -
-
-
- |
- 100.00% |
- 1 / 1 |
- 1 | -
-
-
- |
- 100.00% |
- 1 / 1 |
-
<?php | |
namespace TwbBundle; | |
class Module implements | |
\Zend\ModuleManager\Feature\ConfigProviderInterface, | |
\Zend\ModuleManager\Feature\AutoloaderProviderInterface{ | |
/** | |
* @see \Zend\ModuleManager\Feature\AutoloaderProviderInterface::getAutoloaderConfig() | |
* @return array | |
*/ | |
public function getAutoloaderConfig(){ | |
return array( | |
'Zend\Loader\ClassMapAutoloader' => array( | |
__DIR__.DIRECTORY_SEPARATOR.'autoload_classmap.php' | |
) | |
); | |
} | |
/** | |
* @return array | |
*/ | |
public function getConfig(){ | |
return include __DIR__.DIRECTORY_SEPARATOR.'config/module.config.php'; | |
} | |
} |
+ | Code Coverage |
+ |||||||||
+ | Classes and Traits |
+ Functions and Methods |
+ Lines |
+ |||||||
Total | +
+
+
+ |
+ + | 0 / 0 |
+
+
+
+ |
+ 100.00% |
+ 0 / 0 |
+ CRAP | +
+
+
+ |
+ 0.00% |
+ 0 / 1 |
+
<?php | |
require_once __DIR__ . '/src/TwbBundle/Module.php'; |
Class | -Coverage | -
---|---|
TwbBundleFormStatic | 75% |
TwbBundleButtonGroup | 77% |
Class | -CRAP | -
---|---|
TwbBundleButtonGroup | 21 |
TwbBundleFormStatic | 3 |
Method | -Coverage | -
---|---|
TwbBundleFormCollection::renderTemplate | 40% |
TwbBundleButtonGroup::renderButtons | 64% |
TwbBundleFormStatic::__invoke | 66% |
TwbBundleButtonGroup::getFormElementHelper | 80% |
TwbBundleFormCheckbox::getLabelHelper | 83% |
TwbBundleButtonGroup::render | 86% |
Method | -CRAP | -
---|---|
TwbBundleButtonGroup::renderButtons | 10 |
TwbBundleFormCheckbox::getLabelHelper | 5 |
TwbBundleButtonGroup::render | 5 |
TwbBundleButtonGroup::getFormElementHelper | 3 |
TwbBundleFormCollection::renderTemplate | 2 |
TwbBundleFormStatic::__invoke | 2 |
Class | +Coverage | +
---|---|
Navigation | 0% |
NavigationHelperFactory | 0% |
PluginManager | 0% |
TwbBundleFormElementFactory | 33% |
ModuleOptionsFactory | 50% |
TwbBundleMenu | 60% |
TwbBundleBadge | 68% |
TwbBundleFormStatic | 75% |
TwbBundleButtonGroup | 75% |
TwbBundleFormRadio | 82% |
TwbBundleLabel | 83% |
TwbBundleAlert | 86% |
TwbBundleDropDown | 86% |
ConfigProvider | 88% |
Class | +CRAP | +
---|---|
TwbBundleMenu | 360 |
TwbBundleDropDown | 65 |
TwbBundleFormRadio | 44 |
NavigationHelperFactory | 30 |
TwbBundleButtonGroup | 22 |
TwbBundleAlert | 15 |
TwbBundleLabel | 12 |
TwbBundleBadge | 11 |
TwbBundleFormElementFactory | 8 |
ConfigProvider | 8 |
Navigation | 6 |
TwbBundleFormStatic | 3 |
Method | +Coverage | +
---|---|
setLiClass | 0% |
__invoke | 0% |
renderDeepestMenu | 0% |
setUseCaret | 0% |
setSubUlClass | 0% |
createService | 0% |
setUlId | 0% |
__construct | 0% |
getPluginManager | 0% |
getApplicationServicesFromContainer | 0% |
createService | 0% |
renderTemplate | 50% |
__invoke | 60% |
getFormElementHelper | 60% |
__invoke | 66% |
renderLabel | 66% |
renderElementFormGroup | 66% |
__invoke | 66% |
__invoke | 66% |
render | 68% |
renderButtons | 69% |
render | 72% |
render | 75% |
getLabelHelper | 77% |
renderNormalMenu | 77% |
getLabelContent | 80% |
htmlify | 82% |
__invoke | 83% |
renderItem | 84% |
render | 85% |
render | 85% |
renderOptions | 86% |
renderHelpBlock | 87% |
renderListItems | 88% |
Method | +CRAP | +
---|---|
renderDeepestMenu | 240 |
renderNormalMenu | 46 |
renderOptions | 29 |
renderItem | 22 |
getApplicationServicesFromContainer | 20 |
renderListItems | 17 |
htmlify | 13 |
renderElementFormGroup | 12 |
createService | 12 |
render | 10 |
render | 10 |
renderButtons | 9 |
render | 8 |
getPluginManager | 6 |
render | 5 |
getLabelHelper | 5 |
render | 5 |
__invoke | 5 |
getLabelContent | 4 |
renderHelpBlock | 4 |
getFormElementHelper | 3 |
renderLabel | 3 |
renderTemplate | 2 |
__invoke | 2 |
__invoke | 2 |
__invoke | 2 |
__invoke | 2 |