From 0670655ea647490cd32700b96789698ab541cd77 Mon Sep 17 00:00:00 2001 From: neilime Date: Sat, 11 Jan 2014 10:32:24 +0100 Subject: [PATCH] Improve test to get 100% code coverage --- .../Helper/TwbBundleFormCollectionTest.php | 4 +- .../expected-fieldsets/inline-fieldset.html | 4 +- tests/_report/Module.php.html | 2 +- tests/_report/index.dashboard.html | 8 +- tests/_report/index.html | 38 ++--- tests/_report/src.dashboard.html | 8 +- tests/_report/src.html | 38 ++--- tests/_report/src_TwbBundle.dashboard.html | 8 +- tests/_report/src_TwbBundle.html | 38 ++--- .../_report/src_TwbBundle_Form.dashboard.html | 8 +- tests/_report/src_TwbBundle_Form.html | 38 ++--- .../src_TwbBundle_Form_Element.dashboard.html | 2 +- tests/_report/src_TwbBundle_Form_Element.html | 2 +- ...Bundle_Form_Element_StaticElement.php.html | 2 +- .../src_TwbBundle_Form_View.dashboard.html | 8 +- tests/_report/src_TwbBundle_Form_View.html | 38 ++--- ..._TwbBundle_Form_View_Helper.dashboard.html | 8 +- .../src_TwbBundle_Form_View_Helper.html | 42 +++--- ...le_Form_View_Helper_TwbBundleForm.php.html | 2 +- ...m_View_Helper_TwbBundleFormButton.php.html | 2 +- ...View_Helper_TwbBundleFormCheckbox.php.html | 2 +- ...ew_Helper_TwbBundleFormCollection.php.html | 136 +++++++++--------- ..._View_Helper_TwbBundleFormElement.php.html | 24 ++-- ...Helper_TwbBundleFormElementErrors.php.html | 2 +- ...Helper_TwbBundleFormMultiCheckbox.php.html | 2 +- ...rm_View_Helper_TwbBundleFormRadio.php.html | 2 +- ...Form_View_Helper_TwbBundleFormRow.php.html | 64 ++++----- ...m_View_Helper_TwbBundleFormStatic.php.html | 2 +- .../_report/src_TwbBundle_View.dashboard.html | 2 +- tests/_report/src_TwbBundle_View.html | 2 +- .../src_TwbBundle_View_Helper.dashboard.html | 2 +- tests/_report/src_TwbBundle_View_Helper.html | 2 +- ...Bundle_View_Helper_TwbBundleAlert.php.html | 2 +- ...Bundle_View_Helper_TwbBundleBadge.php.html | 2 +- ...dle_View_Helper_TwbBundleDropdown.php.html | 2 +- ...le_View_Helper_TwbBundleGlyphicon.php.html | 2 +- ...Bundle_View_Helper_TwbBundleLabel.php.html | 2 +- 37 files changed, 271 insertions(+), 281 deletions(-) diff --git a/tests/TwbBundleTest/Form/View/Helper/TwbBundleFormCollectionTest.php b/tests/TwbBundleTest/Form/View/Helper/TwbBundleFormCollectionTest.php index 24ffb0a..915ce02 100644 --- a/tests/TwbBundleTest/Form/View/Helper/TwbBundleFormCollectionTest.php +++ b/tests/TwbBundleTest/Form/View/Helper/TwbBundleFormCollectionTest.php @@ -23,8 +23,10 @@ public function testRenderWithShoulddWrap(){ ); } - public function testRenderInlineFieldset(){ + public function testRenderInlineFieldsetWithAlreadyDefinedClass(){ $oFieldset = new \Zend\Form\Fieldset('inline-fieldset',array('twb-layout' => \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_INLINE)); + $oFieldset->setAttribute('class', 'test-class'); + $oFieldset->add(array( 'name' => 'input-one', 'attributes' => array('placeholder' => 'input-one'), diff --git a/tests/_files/expected-fieldsets/inline-fieldset.html b/tests/_files/expected-fieldsets/inline-fieldset.html index 5e77cfc..e8787ab 100644 --- a/tests/_files/expected-fieldsets/inline-fieldset.html +++ b/tests/_files/expected-fieldsets/inline-fieldset.html @@ -1,3 +1,3 @@ -
+
-
\ No newline at end of file +
\ No newline at end of file diff --git a/tests/_report/Module.php.html b/tests/_report/Module.php.html index 03dae59..785eff5 100644 --- a/tests/_report/Module.php.html +++ b/tests/_report/Module.php.html @@ -160,7 +160,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/index.dashboard.html b/tests/_report/index.dashboard.html index 4baec4e..9f30a41 100644 --- a/tests/_report/index.dashboard.html +++ b/tests/_report/index.dashboard.html @@ -40,21 +40,19 @@

Class Complexity

Top Project Risks

Least Tested Methods

@@ -85,7 +83,7 @@

Least Tested Methods

min: 0 }, series: [{ - data: [0,0,0,0,0,0,0,0,0,1,0,16] + data: [0,0,0,0,0,0,0,0,0,0,0,17] }], }); @@ -113,7 +111,7 @@

Least Tested Methods

} }, series: [{ - data: [[100,2,"Module<\/a>"],[100,0,"StaticElement<\/a>"],[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[89.74358974359,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"],[100,13,"TwbBundleAlert<\/a>"],[100,8,"TwbBundleBadge<\/a>"],[100,58,"TwbBundleDropDown<\/a>"],[100,9,"TwbBundleGlyphicon<\/a>"],[100,12,"TwbBundleLabel<\/a>"]], + data: [[100,2,"Module<\/a>"],[100,0,"StaticElement<\/a>"],[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[100,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"],[100,13,"TwbBundleAlert<\/a>"],[100,8,"TwbBundleBadge<\/a>"],[100,58,"TwbBundleDropDown<\/a>"],[100,9,"TwbBundleGlyphicon<\/a>"],[100,12,"TwbBundleLabel<\/a>"]], marker: { symbol: 'diamond' } diff --git a/tests/_report/index.html b/tests/_report/index.html index 3e181af..856665c 100644 --- a/tests/_report/index.html +++ b/tests/_report/index.html @@ -43,45 +43,45 @@ Total
-
+
-
99.32%
-
581 / 585
+
100.00%
+
585 / 585
-
+
-
97.37%
-
37 / 38
+
100.00%
+
38 / 38
-
+
-
94.12%
-
16 / 17
+
100.00%
+
17 / 17
src
-
+
-
99.31%
-
577 / 581
+
100.00%
+
581 / 581
-
+
-
97.22%
-
35 / 36
+
100.00%
+
36 / 36
-
+
-
93.75%
-
15 / 16
+
100.00%
+
16 / 16
@@ -117,7 +117,7 @@

Legend

High: 70% to 100%

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src.dashboard.html b/tests/_report/src.dashboard.html index 3236231..066e0bf 100644 --- a/tests/_report/src.dashboard.html +++ b/tests/_report/src.dashboard.html @@ -41,21 +41,19 @@

Class Complexity

Top Project Risks

Least Tested Methods

@@ -86,7 +84,7 @@

Least Tested Methods

min: 0 }, series: [{ - data: [0,0,0,0,0,0,0,0,0,1,0,15] + data: [0,0,0,0,0,0,0,0,0,0,0,16] }], }); @@ -114,7 +112,7 @@

Least Tested Methods

} }, series: [{ - data: [[100,0,"StaticElement<\/a>"],[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[89.74358974359,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"],[100,13,"TwbBundleAlert<\/a>"],[100,8,"TwbBundleBadge<\/a>"],[100,58,"TwbBundleDropDown<\/a>"],[100,9,"TwbBundleGlyphicon<\/a>"],[100,12,"TwbBundleLabel<\/a>"]], + data: [[100,0,"StaticElement<\/a>"],[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[100,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"],[100,13,"TwbBundleAlert<\/a>"],[100,8,"TwbBundleBadge<\/a>"],[100,58,"TwbBundleDropDown<\/a>"],[100,9,"TwbBundleGlyphicon<\/a>"],[100,12,"TwbBundleLabel<\/a>"]], marker: { symbol: 'diamond' } diff --git a/tests/_report/src.html b/tests/_report/src.html index ee55084..2204260 100644 --- a/tests/_report/src.html +++ b/tests/_report/src.html @@ -44,45 +44,45 @@ Total
-
+
-
99.31%
-
577 / 581
+
100.00%
+
581 / 581
-
+
-
97.22%
-
35 / 36
+
100.00%
+
36 / 36
-
+
-
93.75%
-
15 / 16
+
100.00%
+
16 / 16
TwbBundle
-
+
-
99.31%
-
577 / 581
+
100.00%
+
581 / 581
-
+
-
97.22%
-
35 / 36
+
100.00%
+
36 / 36
-
+
-
93.75%
-
15 / 16
+
100.00%
+
16 / 16
@@ -96,7 +96,7 @@

Legend

High: 70% to 100%

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle.dashboard.html b/tests/_report/src_TwbBundle.dashboard.html index 2b9ee36..6f36bab 100644 --- a/tests/_report/src_TwbBundle.dashboard.html +++ b/tests/_report/src_TwbBundle.dashboard.html @@ -42,21 +42,19 @@

Class Complexity

Top Project Risks

Least Tested Methods

@@ -87,7 +85,7 @@

Least Tested Methods

min: 0 }, series: [{ - data: [0,0,0,0,0,0,0,0,0,1,0,15] + data: [0,0,0,0,0,0,0,0,0,0,0,16] }], }); @@ -115,7 +113,7 @@

Least Tested Methods

} }, series: [{ - data: [[100,0,"StaticElement<\/a>"],[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[89.74358974359,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"],[100,13,"TwbBundleAlert<\/a>"],[100,8,"TwbBundleBadge<\/a>"],[100,58,"TwbBundleDropDown<\/a>"],[100,9,"TwbBundleGlyphicon<\/a>"],[100,12,"TwbBundleLabel<\/a>"]], + data: [[100,0,"StaticElement<\/a>"],[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[100,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"],[100,13,"TwbBundleAlert<\/a>"],[100,8,"TwbBundleBadge<\/a>"],[100,58,"TwbBundleDropDown<\/a>"],[100,9,"TwbBundleGlyphicon<\/a>"],[100,12,"TwbBundleLabel<\/a>"]], marker: { symbol: 'diamond' } diff --git a/tests/_report/src_TwbBundle.html b/tests/_report/src_TwbBundle.html index 1f4c8ba..5f47523 100644 --- a/tests/_report/src_TwbBundle.html +++ b/tests/_report/src_TwbBundle.html @@ -45,45 +45,45 @@ Total
-
+
-
99.31%
-
577 / 581
+
100.00%
+
581 / 581
-
+
-
97.22%
-
35 / 36
+
100.00%
+
36 / 36
-
+
-
93.75%
-
15 / 16
+
100.00%
+
16 / 16
Form
-
+
-
99.03%
-
410 / 414
+
100.00%
+
414 / 414
-
+
-
95.65%
-
22 / 23
+
100.00%
+
23 / 23
-
+
-
90.91%
-
10 / 11
+
100.00%
+
11 / 11
@@ -119,7 +119,7 @@

Legend

High: 70% to 100%

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form.dashboard.html b/tests/_report/src_TwbBundle_Form.dashboard.html index b0ec395..b2dddf0 100644 --- a/tests/_report/src_TwbBundle_Form.dashboard.html +++ b/tests/_report/src_TwbBundle_Form.dashboard.html @@ -43,21 +43,19 @@

Class Complexity

Top Project Risks

Least Tested Methods

@@ -88,7 +86,7 @@

Least Tested Methods

min: 0 }, series: [{ - data: [0,0,0,0,0,0,0,0,0,1,0,10] + data: [0,0,0,0,0,0,0,0,0,0,0,11] }], }); @@ -116,7 +114,7 @@

Least Tested Methods

} }, series: [{ - data: [[100,0,"StaticElement<\/a>"],[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[89.74358974359,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"]], + data: [[100,0,"StaticElement<\/a>"],[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[100,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"]], marker: { symbol: 'diamond' } diff --git a/tests/_report/src_TwbBundle_Form.html b/tests/_report/src_TwbBundle_Form.html index 038c7ca..0e0e8e2 100644 --- a/tests/_report/src_TwbBundle_Form.html +++ b/tests/_report/src_TwbBundle_Form.html @@ -46,23 +46,23 @@ Total
-
+
-
99.03%
-
410 / 414
+
100.00%
+
414 / 414
-
+
-
95.65%
-
22 / 23
+
100.00%
+
23 / 23
-
+
-
90.91%
-
10 / 11
+
100.00%
+
11 / 11
@@ -84,23 +84,23 @@
View
-
+
-
99.03%
-
410 / 414
+
100.00%
+
414 / 414
-
+
-
95.65%
-
22 / 23
+
100.00%
+
23 / 23
-
+
-
90.00%
-
9 / 10
+
100.00%
+
10 / 10
@@ -114,7 +114,7 @@

Legend

High: 70% to 100%

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_Element.dashboard.html b/tests/_report/src_TwbBundle_Form_Element.dashboard.html index 3cd56d4..7180978 100644 --- a/tests/_report/src_TwbBundle_Form_Element.dashboard.html +++ b/tests/_report/src_TwbBundle_Form_Element.dashboard.html @@ -56,7 +56,7 @@

Least Tested Methods

diff --git a/tests/_report/src_TwbBundle_Form_Element.html b/tests/_report/src_TwbBundle_Form_Element.html index 67fba25..790cf4f 100644 --- a/tests/_report/src_TwbBundle_Form_Element.html +++ b/tests/_report/src_TwbBundle_Form_Element.html @@ -87,7 +87,7 @@

Legend

High: 70% to 100%

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_Element_StaticElement.php.html b/tests/_report/src_TwbBundle_Form_Element_StaticElement.php.html index 9960318..60f1d16 100644 --- a/tests/_report/src_TwbBundle_Form_Element_StaticElement.php.html +++ b/tests/_report/src_TwbBundle_Form_Element_StaticElement.php.html @@ -104,7 +104,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View.dashboard.html b/tests/_report/src_TwbBundle_Form_View.dashboard.html index 86b0b15..d27690a 100644 --- a/tests/_report/src_TwbBundle_Form_View.dashboard.html +++ b/tests/_report/src_TwbBundle_Form_View.dashboard.html @@ -44,21 +44,19 @@

Class Complexity

Top Project Risks

Least Tested Methods

@@ -89,7 +87,7 @@

Least Tested Methods

min: 0 }, series: [{ - data: [0,0,0,0,0,0,0,0,0,1,0,9] + data: [0,0,0,0,0,0,0,0,0,0,0,10] }], }); @@ -117,7 +115,7 @@

Least Tested Methods

} }, series: [{ - data: [[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[89.74358974359,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"]], + data: [[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[100,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"]], marker: { symbol: 'diamond' } diff --git a/tests/_report/src_TwbBundle_Form_View.html b/tests/_report/src_TwbBundle_Form_View.html index e0422cd..0d22ea0 100644 --- a/tests/_report/src_TwbBundle_Form_View.html +++ b/tests/_report/src_TwbBundle_Form_View.html @@ -47,45 +47,45 @@ Total
-
+
-
99.03%
-
410 / 414
+
100.00%
+
414 / 414
-
+
-
95.65%
-
22 / 23
+
100.00%
+
23 / 23
-
+
-
90.00%
-
9 / 10
+
100.00%
+
10 / 10
Helper
-
+
-
99.03%
-
410 / 414
+
100.00%
+
414 / 414
-
+
-
95.65%
-
22 / 23
+
100.00%
+
23 / 23
-
+
-
90.00%
-
9 / 10
+
100.00%
+
10 / 10
@@ -99,7 +99,7 @@

Legend

High: 70% to 100%

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper.dashboard.html b/tests/_report/src_TwbBundle_Form_View_Helper.dashboard.html index 1183589..e09f0cb 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper.dashboard.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper.dashboard.html @@ -45,21 +45,19 @@

Class Complexity

Top Project Risks

Least Tested Methods

@@ -90,7 +88,7 @@

Least Tested Methods

min: 0 }, series: [{ - data: [0,0,0,0,0,0,0,0,0,1,0,9] + data: [0,0,0,0,0,0,0,0,0,0,0,10] }], }); @@ -118,7 +116,7 @@

Least Tested Methods

} }, series: [{ - data: [[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[89.74358974359,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"]], + data: [[100,16,"TwbBundleForm<\/a>"],[100,30,"TwbBundleFormButton<\/a>"],[100,17,"TwbBundleFormCheckbox<\/a>"],[100,17,"TwbBundleFormCollection<\/a>"],[100,37,"TwbBundleFormElement<\/a>"],[100,0,"TwbBundleFormElementErrors<\/a>"],[100,5,"TwbBundleFormMultiCheckbox<\/a>"],[100,24,"TwbBundleFormRadio<\/a>"],[100,47,"TwbBundleFormRow<\/a>"],[100,1,"TwbBundleFormStatic<\/a>"]], marker: { symbol: 'diamond' } diff --git a/tests/_report/src_TwbBundle_Form_View_Helper.html b/tests/_report/src_TwbBundle_Form_View_Helper.html index bccbb4f..ba8c346 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper.html @@ -48,23 +48,23 @@ Total
-
+
-
99.03%
-
410 / 414
+
100.00%
+
414 / 414
-
+
-
95.65%
-
22 / 23
+
100.00%
+
23 / 23
-
+
-
90.00%
-
9 / 10
+
100.00%
+
10 / 10
@@ -136,23 +136,23 @@
TwbBundleFormCollection.php
-
+
-
89.74%
-
35 / 39
-
-
+
100.00%
+
39 / 39
+
+
-
0.00%
-
0 / 1
-
-
+
100.00%
+
1 / 1
+
+
-
0.00%
-
0 / 1
+
100.00%
+
1 / 1
@@ -292,7 +292,7 @@

Legend

High: 70% to 100%

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleForm.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleForm.php.html index 091d155..bbcb397 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleForm.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleForm.php.html @@ -220,7 +220,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormButton.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormButton.php.html index 52ad10a..acb984c 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormButton.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormButton.php.html @@ -286,7 +286,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormCheckbox.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormCheckbox.php.html index 258e3dd..fa68a82 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormCheckbox.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormCheckbox.php.html @@ -219,7 +219,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormCollection.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormCollection.php.html index 290bb6e..7e3c1f8 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormCollection.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormCollection.php.html @@ -46,66 +46,66 @@ - Total -
-
+ Total +
+
-
0.00%
-
0 / 1
-
-
+
100.00%
+
1 / 1
+
+
-
0.00%
-
0 / 1
- CRAP +
100.00%
+
1 / 1
+ CRAP
-
+
-
89.74%
-
35 / 39
+
100.00%
+
39 / 39
- TwbBundleFormCollection -
-
+ TwbBundleFormCollection +
+
-
0.00%
-
0 / 1
-
-
+
100.00%
+
1 / 1
+
+
-
0.00%
-
0 / 1
- 17.31 +
100.00%
+
1 / 1
+ 17
-
+
-
89.74%
-
35 / 39
+
100.00%
+
39 / 39
-  render(\Zend\Form\ElementInterface $oElement) -
-
+  render(\Zend\Form\ElementInterface $oElement) +
+
-
0.00%
-
0 / 1
- 17.31 +
100.00%
+
1 / 1
+ 17
-
+
-
89.74%
-
35 / 39
+
100.00%
+
39 / 39
@@ -141,29 +141,29 @@ * @return string */ public function render(\Zend\Form\ElementInterface $oElement){ - $oRenderer = $this->getView(); - if(!method_exists($oRenderer, 'plugin'))return ''; + $oRenderer = $this->getView(); + if(!method_exists($oRenderer, 'plugin'))return ''; - $sMarkup = ''; - $sElementLayout = $oElement->getOption('twb-layout'); - if($oElement instanceof \IteratorAggregate){ - $oElementHelper = $this->getElementHelper(); - $oFieldsetHelper = $this->getFieldsetHelper(); + $sMarkup = ''; + $sElementLayout = $oElement->getOption('twb-layout'); + if($oElement instanceof \IteratorAggregate){ + $oElementHelper = $this->getElementHelper(); + $oFieldsetHelper = $this->getFieldsetHelper(); - foreach($oElement->getIterator() as $oElementOrFieldset){ - $aOptions = $oElementOrFieldset->getOptions(); - if ($sElementLayout && empty($aOptions['twb-layout'])) { - $aOptions['twb-layout'] = $sElementLayout; - $oElementOrFieldset->setOptions($aOptions); - } + foreach($oElement->getIterator() as $oElementOrFieldset){ + $aOptions = $oElementOrFieldset->getOptions(); + if ($sElementLayout && empty($aOptions['twb-layout'])) { + $aOptions['twb-layout'] = $sElementLayout; + $oElementOrFieldset->setOptions($aOptions); + } - if($oElementOrFieldset instanceof \Zend\Form\FieldsetInterface)$sMarkup .= $oFieldsetHelper($oElementOrFieldset); - elseif($oElementOrFieldset instanceof \Zend\Form\ElementInterface)$sMarkup .= $oElementHelper($oElementOrFieldset); - } - if($oElement instanceof \Zend\Form\Element\Collection && $oElement->shouldCreateTemplate())$sMarkup .= $this->renderTemplate($oElement); - } + if($oElementOrFieldset instanceof \Zend\Form\FieldsetInterface)$sMarkup .= $oFieldsetHelper($oElementOrFieldset); + elseif($oElementOrFieldset instanceof \Zend\Form\ElementInterface)$sMarkup .= $oElementHelper($oElementOrFieldset); + } + if($oElement instanceof \Zend\Form\Element\Collection && $oElement->shouldCreateTemplate())$sMarkup .= $this->renderTemplate($oElement); + } - if($this->shouldWrap && ($sLabel = $oElement->getLabel())){ + if($this->shouldWrap && ($sLabel = $oElement->getLabel())){ if(null !== ($oTranslator = $this->getTranslator()))$sLabel = $oTranslator->translate($sLabel, $this->getTranslatorTextDomain()); $sMarkup = sprintf( self::$legendFormat, @@ -173,23 +173,23 @@ } //Set form layout class - if($sElementLayout){ - $sLayoutClass = 'form-'.$sElementLayout; - if ($sElementClass = $oElement->getAttribute('class')) { - if (!preg_match('/(\s|^)' . preg_quote($sLayoutClass, '/') . '(\s|$)/', $sElementClass)) { - $oElement->setAttribute('class', trim($sElementClass . ' ' . $sLayoutClass)); - } - } + if($sElementLayout){ + $sLayoutClass = 'form-'.$sElementLayout; + if ($sElementClass = $oElement->getAttribute('class')) { + if (!preg_match('/(\s|^)' . preg_quote($sLayoutClass, '/') . '(\s|$)/', $sElementClass)) { + $oElement->setAttribute('class', trim($sElementClass . ' ' . $sLayoutClass)); + } + } else { - $oElement->setAttribute('class', $sLayoutClass); + $oElement->setAttribute('class', $sLayoutClass); } - } + } - return sprintf( - self::$fieldsetFormat, - $this->createAttributesString($oElement->getAttributes()), + return sprintf( + self::$fieldsetFormat, + $this->createAttributesString($oElement->getAttributes()), $sMarkup - ); + ); } } @@ -203,7 +203,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormElement.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormElement.php.html index 6427e23..15d2d62 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormElement.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormElement.php.html @@ -291,23 +291,23 @@ public function render(\Zend\Form\ElementInterface $oElement) { //Add form-controll class - $sElementType = $oElement->getAttribute('type'); + $sElementType = $oElement->getAttribute('type'); - if (!in_array($sElementType, array('file', 'checkbox', 'radio', 'submit', 'multi_checkbox', 'static', 'button'))) { - if ($sElementClass = $oElement->getAttribute('class')) { - if (!preg_match('/(\s|^)form-control(\s|$)/', $sElementClass)) $oElement->setAttribute('class', trim($sElementClass . ' form-control')); - } else $oElement->setAttribute('class', 'form-control'); - } + if (!in_array($sElementType, array('file', 'checkbox', 'radio', 'submit', 'multi_checkbox', 'static', 'button'))) { + if ($sElementClass = $oElement->getAttribute('class')) { + if (!preg_match('/(\s|^)form-control(\s|$)/', $sElementClass)) $oElement->setAttribute('class', trim($sElementClass . ' form-control')); + } else $oElement->setAttribute('class', 'form-control'); + } - $sMarkup = $oElement instanceof \TwbBundle\Form\Element\StaticElement ? $this->getView()->formStatic()->render($oElement) : parent::render($oElement); + $sMarkup = $oElement instanceof \TwbBundle\Form\Element\StaticElement ? $this->getView()->formStatic()->render($oElement) : parent::render($oElement); //Addon prepend - if ($aAddOnPrepend = $oElement->getOption('add-on-prepend')) $sMarkup = $this->renderAddOn($aAddOnPrepend) . $sMarkup; + if ($aAddOnPrepend = $oElement->getOption('add-on-prepend')) $sMarkup = $this->renderAddOn($aAddOnPrepend) . $sMarkup; //Addon append - if ($aAddOnAppend = $oElement->getOption('add-on-append')) $sMarkup .= $this->renderAddOn($aAddOnAppend); + if ($aAddOnAppend = $oElement->getOption('add-on-append')) $sMarkup .= $this->renderAddOn($aAddOnAppend); - if ($aAddOnAppend || $aAddOnPrepend) { + if ($aAddOnAppend || $aAddOnPrepend) { $sSpecialClass = ''; //Input size if ($sElementClass = $oElement->getAttribute('class')) { @@ -320,7 +320,7 @@ $sMarkup ); } - return $sMarkup; + return $sMarkup; } /** @@ -466,7 +466,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormElementErrors.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormElementErrors.php.html index fa30c5e..9502343 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormElementErrors.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormElementErrors.php.html @@ -101,7 +101,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormMultiCheckbox.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormMultiCheckbox.php.html index 3f3441f..b3d722b 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormMultiCheckbox.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormMultiCheckbox.php.html @@ -145,7 +145,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormRadio.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormRadio.php.html index ec29ad1..2000ee8 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormRadio.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormRadio.php.html @@ -230,7 +230,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormRow.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormRow.php.html index c97f060..e1382fa 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormRow.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormRow.php.html @@ -197,18 +197,18 @@
31
*/
32
public function render(\Zend\Form\ElementInterface $oElement)
33
{ -
34
$sElementType = $oElement->getAttribute('type'); +
34
$sElementType = $oElement->getAttribute('type');
35
36
//Nothing to do for hidden elements which have no messages -
37
if( $sElementType === 'hidden' && !$oElement->getMessages()) { +
37
if( $sElementType === 'hidden' && !$oElement->getMessages()) {
38
return parent::render($oElement);
39
}
40
41
//Retrieve expected layout -
42
$sLayout = $oElement->getOption('twb-layout'); +
42
$sLayout = $oElement->getOption('twb-layout');
43
44
//Partial rendering -
45
if ($this->partial) { +
45
if ($this->partial) {
46
return $this->view->render($this->partial, array(
47
'element' => $oElement,
48
'label' => $this->renderLabel($oElement), @@ -218,13 +218,13 @@
52
));
53
}
54
-
55
$sRowClass = ''; +
55
$sRowClass = '';
56
57
//Validation state -
58
if (($sValidationState = $oElement->getOption('validation-state'))) $sRowClass .= ' has-' . $sValidationState; +
58
if (($sValidationState = $oElement->getOption('validation-state'))) $sRowClass .= ' has-' . $sValidationState;
59
60
//"has-error" validation state case -
61
if (count($oElement->getMessages())){ +
61
if (count($oElement->getMessages())){
62
$sRowClass .= ' has-error';
63
//Element have errors
64
if ($sInputErrorClass = $this->getInputErrorClass()) { @@ -238,30 +238,30 @@
72
73
//Column size
74
if ( -
75
($sColumSize = $oElement->getOption('column-size')) -
76
&& ( +
75
($sColumSize = $oElement->getOption('column-size')) +
76
&& (
77
$sLayout !== \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_HORIZONTAL
78
) -
79
) { +
79
) {
80
$sRowClass .= ' col-' . $sColumSize;
81
}
82
83
//Render element -
84
$sElementContent = $this->renderElement($oElement); +
84
$sElementContent = $this->renderElement($oElement);
85
86
//Render form row -
87
if (in_array($sElementType, array('checkbox')) && $sLayout !== \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_HORIZONTAL) { +
87
if (in_array($sElementType, array('checkbox')) && $sLayout !== \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_HORIZONTAL) {
88
return $sElementContent . PHP_EOL;
89
} -
90
if ($sElementType === 'submit' && $sLayout === \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_INLINE) { +
90
if ($sElementType === 'submit' && $sLayout === \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_INLINE) {
91
return $sElementContent . PHP_EOL;
92
}
93
-
94
return sprintf( -
95
self::$formGroupFormat, -
96
$sRowClass, +
94
return sprintf( +
95
self::$formGroupFormat, +
96
$sRowClass,
97
$sElementContent -
98
) . PHP_EOL; +
98
) . PHP_EOL;
99
}
100
101
/** @@ -271,10 +271,10 @@
105
*/
106
protected function renderLabel(\Zend\Form\ElementInterface $oElement)
107
{ -
108
if (($sLabel = $oElement->getLabel()) && ($oTranslator = $this->getTranslator())) { +
108
if (($sLabel = $oElement->getLabel()) && ($oTranslator = $this->getTranslator())) {
109
$sLabel = $oTranslator->translate($sLabel, $this->getTranslatorTextDomain());
110
} -
111
return $sLabel; +
111
return $sLabel;
112
}
113
114
/** @@ -286,11 +286,11 @@
120
protected function renderElement(\Zend\Form\ElementInterface $oElement)
121
{
122
//Retrieve expected layout -
123
$sLayout = $oElement->getOption('twb-layout'); +
123
$sLayout = $oElement->getOption('twb-layout');
124
125
//Render label -
126
$sLabelOpen = $sLabelClose = $sLabelContent = ''; -
127
if ($sLabelContent = $this->renderLabel($oElement)) { +
126
$sLabelOpen = $sLabelClose = $sLabelContent = ''; +
127
if ($sLabelContent = $this->renderLabel($oElement)) {
128
//Multicheckbox elements have to be handled differently as the HTML standard does not allow nested labels. The semantic way is to group them inside a fieldset
129
$sElementType = $oElement->getAttribute('type');
130
@@ -350,16 +350,16 @@
184
}
185
186
switch ($sLayout) { -
187
case null: -
188
case \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_INLINE: -
189
$sElementContent = $sLabelOpen . $sLabelContent . $sLabelClose . $this->getElementHelper()->render($oElement) . $this->renderHelpBlock($oElement); +
187
case null: +
188
case \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_INLINE: +
189
$sElementContent = $sLabelOpen . $sLabelContent . $sLabelClose . $this->getElementHelper()->render($oElement) . $this->renderHelpBlock($oElement);
190
191
//Render errors -
192
if ($this->renderErrors) { -
193
$sElementContent .= $this->getElementErrorsHelper()->render($oElement); -
194
} +
192
if ($this->renderErrors) { +
193
$sElementContent .= $this->getElementErrorsHelper()->render($oElement); +
194
}
195
-
196
return $sElementContent; +
196
return $sElementContent;
197
198
case \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_HORIZONTAL:
199
$sElementContent = $this->getElementHelper()->render($oElement) . $this->renderHelpBlock($oElement); @@ -395,10 +395,10 @@
229
*/
230
protected function renderHelpBlock(\Zend\Form\ElementInterface $oElement)
231
{ -
232
return ($sHelpBlock = $oElement->getOption('help-block')) ? sprintf( +
232
return ($sHelpBlock = $oElement->getOption('help-block')) ? sprintf(
233
self::$helpBlockFormat,
234
$this->getEscapeHtmlHelper()->__invoke(($oTranslator = $this->getTranslator()) ? $oTranslator->translate($sHelpBlock, $this->getTranslatorTextDomain()) : $sHelpBlock) -
235
) : ''; +
235
) : '';
236
}
237
} @@ -412,7 +412,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormStatic.php.html b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormStatic.php.html index 784a90e..fccd374 100644 --- a/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormStatic.php.html +++ b/tests/_report/src_TwbBundle_Form_View_Helper_TwbBundleFormStatic.php.html @@ -140,7 +140,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_View.dashboard.html b/tests/_report/src_TwbBundle_View.dashboard.html index 2118425..5bc865e 100644 --- a/tests/_report/src_TwbBundle_View.dashboard.html +++ b/tests/_report/src_TwbBundle_View.dashboard.html @@ -55,7 +55,7 @@

Least Tested Methods

diff --git a/tests/_report/src_TwbBundle_View.html b/tests/_report/src_TwbBundle_View.html index 52dc1ae..53aa874 100644 --- a/tests/_report/src_TwbBundle_View.html +++ b/tests/_report/src_TwbBundle_View.html @@ -98,7 +98,7 @@

Legend

High: 70% to 100%

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_View_Helper.dashboard.html b/tests/_report/src_TwbBundle_View_Helper.dashboard.html index 1143fcf..dae566b 100644 --- a/tests/_report/src_TwbBundle_View_Helper.dashboard.html +++ b/tests/_report/src_TwbBundle_View_Helper.dashboard.html @@ -56,7 +56,7 @@

Least Tested Methods

diff --git a/tests/_report/src_TwbBundle_View_Helper.html b/tests/_report/src_TwbBundle_View_Helper.html index 349d597..869e415 100644 --- a/tests/_report/src_TwbBundle_View_Helper.html +++ b/tests/_report/src_TwbBundle_View_Helper.html @@ -187,7 +187,7 @@

Legend

High: 70% to 100%

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_View_Helper_TwbBundleAlert.php.html b/tests/_report/src_TwbBundle_View_Helper_TwbBundleAlert.php.html index 74ee3ab..6cad330 100644 --- a/tests/_report/src_TwbBundle_View_Helper_TwbBundleAlert.php.html +++ b/tests/_report/src_TwbBundle_View_Helper_TwbBundleAlert.php.html @@ -195,7 +195,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_View_Helper_TwbBundleBadge.php.html b/tests/_report/src_TwbBundle_View_Helper_TwbBundleBadge.php.html index e090efa..7f0ae7d 100644 --- a/tests/_report/src_TwbBundle_View_Helper_TwbBundleBadge.php.html +++ b/tests/_report/src_TwbBundle_View_Helper_TwbBundleBadge.php.html @@ -182,7 +182,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_View_Helper_TwbBundleDropdown.php.html b/tests/_report/src_TwbBundle_View_Helper_TwbBundleDropdown.php.html index 9b939f1..e20ce94 100644 --- a/tests/_report/src_TwbBundle_View_Helper_TwbBundleDropdown.php.html +++ b/tests/_report/src_TwbBundle_View_Helper_TwbBundleDropdown.php.html @@ -446,7 +446,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_View_Helper_TwbBundleGlyphicon.php.html b/tests/_report/src_TwbBundle_View_Helper_TwbBundleGlyphicon.php.html index 64869a3..06df05f 100644 --- a/tests/_report/src_TwbBundle_View_Helper_TwbBundleGlyphicon.php.html +++ b/tests/_report/src_TwbBundle_View_Helper_TwbBundleGlyphicon.php.html @@ -198,7 +198,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.

diff --git a/tests/_report/src_TwbBundle_View_Helper_TwbBundleLabel.php.html b/tests/_report/src_TwbBundle_View_Helper_TwbBundleLabel.php.html index ed0f084..ae136c0 100644 --- a/tests/_report/src_TwbBundle_View_Helper_TwbBundleLabel.php.html +++ b/tests/_report/src_TwbBundle_View_Helper_TwbBundleLabel.php.html @@ -197,7 +197,7 @@

Legend

Dead Code

- Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Wed Jan 8 22:18:24 CET 2014. + Generated by PHP_CodeCoverage 1.2.13 using PHP 5.5.5 and PHPUnit 3.7.28 at Sat Jan 11 10:29:56 CET 2014.