diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-11 05:04:44 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-11 05:04:44 +0300 |
commit | 35d22218de45728c644481ae7a4576ec62a4aada (patch) | |
tree | 46e569e87d5c5d130e15a4c17d00bfe8605d4d31 /tests/PHPUnit/System | |
parent | 89c163f34ffdbba98a0e0d8f71c64650a01cbd50 (diff) |
Fixing more tests.
Diffstat (limited to 'tests/PHPUnit/System')
19 files changed, 92 insertions, 221 deletions
diff --git a/tests/PHPUnit/System/expected/test_PiwikTracker_trackForceUsingVisitId_insteadOfHeuristics_alsoTestsCampaignTracking__VisitsSummary.get_day.xml b/tests/PHPUnit/System/expected/test_PiwikTracker_trackForceUsingVisitId_insteadOfHeuristics_alsoTestsCampaignTracking__VisitsSummary.get_day.xml index 7cc1ec61c8..78c6610886 100644 --- a/tests/PHPUnit/System/expected/test_PiwikTracker_trackForceUsingVisitId_insteadOfHeuristics_alsoTestsCampaignTracking__VisitsSummary.get_day.xml +++ b/tests/PHPUnit/System/expected/test_PiwikTracker_trackForceUsingVisitId_insteadOfHeuristics_alsoTestsCampaignTracking__VisitsSummary.get_day.xml @@ -9,6 +9,6 @@ <sum_visit_length>1084</sum_visit_length> <max_actions>1</max_actions> <bounce_rate>100%</bounce_rate> - <nb_actions_per_visit>0.88</nb_actions_per_visit> + <nb_actions_per_visit>0.9</nb_actions_per_visit> <avg_time_on_site>136</avg_time_on_site> </result>
\ No newline at end of file diff --git a/tests/PHPUnit/System/expected/test_RowEvolution_entryPageTitles__API.getRowEvolution_day.xml b/tests/PHPUnit/System/expected/test_RowEvolution_entryPageTitles__API.getRowEvolution_day.xml index 26e135654f..71e2b84f9a 100644 --- a/tests/PHPUnit/System/expected/test_RowEvolution_entryPageTitles__API.getRowEvolution_day.xml +++ b/tests/PHPUnit/System/expected/test_RowEvolution_entryPageTitles__API.getRowEvolution_day.xml @@ -7,9 +7,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>2.8</avg_time_generation> </row> </result> @@ -19,9 +17,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>2.5</avg_time_generation> </row> </result> @@ -31,9 +27,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>2.2</avg_time_generation> </row> </result> @@ -43,9 +37,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>1.9</avg_time_generation> </row> </result> @@ -55,9 +47,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>1.6</avg_time_generation> </row> </result> @@ -67,9 +57,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>1.3</avg_time_generation> </row> </result> @@ -79,9 +67,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>1</avg_time_generation> </row> </result> @@ -91,9 +77,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>0.7</avg_time_generation> </row> </result> @@ -103,9 +87,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>0.4</avg_time_generation> </row> </result> @@ -115,9 +97,7 @@ <row> <entry_nb_visits>1</entry_nb_visits> <entry_bounce_count>1</entry_bounce_count> - <avg_time_on_page>0</avg_time_on_page> <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> <avg_time_generation>0.1</avg_time_generation> </row> </result> @@ -134,19 +114,11 @@ <min>0</min> <max>1</max> </entry_bounce_count> - <avg_time_on_page> - <name>Avg. time on page</name> - </avg_time_on_page> <bounce_rate> <name>Bounce Rate</name> <min>0</min> <max>100</max> </bounce_rate> - <exit_rate> - <name>Exit rate</name> - <min>0</min> - <max>100</max> - </exit_rate> <avg_time_generation> <name>Avg. generation time</name> <min>0</min> diff --git a/tests/PHPUnit/System/expected/test_SiteSearch_CustomVariables.getCustomVariables_firstSite_lastN__API.getProcessedReport_month.xml b/tests/PHPUnit/System/expected/test_SiteSearch_CustomVariables.getCustomVariables_firstSite_lastN__API.getProcessedReport_month.xml index d2c8572231..bc50ef604a 100644 --- a/tests/PHPUnit/System/expected/test_SiteSearch_CustomVariables.getCustomVariables_firstSite_lastN__API.getProcessedReport_month.xml +++ b/tests/PHPUnit/System/expected/test_SiteSearch_CustomVariables.getCustomVariables_firstSite_lastN__API.getProcessedReport_month.xml @@ -51,7 +51,7 @@ <label>_pk_scount</label> <nb_visits>7</nb_visits> <nb_actions>9</nb_actions> - <nb_actions_per_visit>1.29</nb_actions_per_visit> + <nb_actions_per_visit>1.3</nb_actions_per_visit> <avg_time_on_site>00:00:00</avg_time_on_site> <bounce_rate>0%</bounce_rate> <revenue>$ 0</revenue> @@ -60,7 +60,7 @@ <label>_pk_scat</label> <nb_visits>4</nb_visits> <nb_actions>5</nb_actions> - <nb_actions_per_visit>1.25</nb_actions_per_visit> + <nb_actions_per_visit>1.3</nb_actions_per_visit> <avg_time_on_site>00:00:00</avg_time_on_site> <bounce_rate>0%</bounce_rate> <revenue>$ 0</revenue> diff --git a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_week.xml b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_week.xml index 81c0d186d9..f754acd177 100644 --- a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_week.xml +++ b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays__VisitsSummary.get_week.xml @@ -24,7 +24,7 @@ <sum_visit_length>5767</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> - <nb_actions_per_visit>4.57</nb_actions_per_visit> + <nb_actions_per_visit>4.6</nb_actions_per_visit> <avg_time_on_site>824</avg_time_on_site> </result> <result date="From 2010-01-11 to 2010-01-17"> diff --git a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_week.xml b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_week.xml index e4f6810c8f..bb7f2a5509 100644 --- a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_week.xml +++ b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_idSiteOne___VisitsSummary.get_week.xml @@ -23,7 +23,7 @@ <sum_visit_length>5767</sum_visit_length> <max_actions>5</max_actions> <bounce_rate>0%</bounce_rate> - <nb_actions_per_visit>4.57</nb_actions_per_visit> + <nb_actions_per_visit>4.6</nb_actions_per_visit> <avg_time_on_site>824</avg_time_on_site> </result> <result date="From 2010-01-11 to 2010-01-17"> diff --git a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_csv__ScheduledReports.generateReport_month.original.csv b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_csv__ScheduledReports.generateReport_month.original.csv index 1a281cce48..a3e7fe499b 100644 --- a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_csv__ScheduledReports.generateReport_month.original.csv +++ b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_csv__ScheduledReports.generateReport_month.original.csv @@ -73,7 +73,7 @@ Sunday,2,6,0%,3,00:07:31,50% Screen Resolution label,nb_visits,nb_actions,conversion_rate,nb_actions_per_visit,avg_time_on_site,bounce_rate -800x300,9,41,0%,4.56,00:13:21,11.11% +800x300,9,41,0%,4.6,00:13:21,11% 1024x768,1,2,0%,2,00:06:01,0% Visitor Browser @@ -103,7 +103,7 @@ Windowsmedia,0,0% Normal / Widescreen label,nb_visits,nb_actions,conversion_rate,nb_actions_per_visit,avg_time_on_site,bounce_rate -Dual,9,41,0%,4.56,00:13:21,11.11% +Dual,9,41,0%,4.6,00:13:21,11% Normal,1,2,0%,2,00:06:01,0% Operating System @@ -150,14 +150,14 @@ Page URL not defined,9,17,0%,00:00:00,0%,0.22s /products,1,1,100%,00:00:00,100%,0.15s Entry pages -label,entry_nb_visits,entry_bounce_count,avg_time_on_page,bounce_rate,exit_rate,avg_time_generation -/index.htm,8,0,00:05:20,0%,0%,0.3s -/products,1,1,00:00:00,100%,100%,0.15s +label,entry_nb_visits,entry_bounce_count,bounce_rate,avg_time_generation +/index.htm,8,0,0%,0.3s +/products,1,1,100%,0.15s Exit pages -label,nb_visits,exit_nb_visits,bounce_rate,avg_time_on_page,exit_rate,avg_time_generation -/thankyou,8,8,0%,00:06:00,100%,0.31s -/products,1,1,100%,00:00:00,100%,0.15s +label,nb_visits,exit_nb_visits,exit_rate,avg_time_generation +/thankyou,8,8,100%,0.31s +/products,1,1,100%,0.15s Page titles label,nb_visits,nb_hits,bounce_rate,avg_time_on_page,exit_rate,avg_time_generation @@ -167,14 +167,14 @@ Checkout,8,8,0%,00:00:00,100%,0.45s Page Name not defined,1,1,0%,00:00:00,0%,0.22s Entry page titles -label,entry_nb_visits,entry_bounce_count,avg_time_on_page,bounce_rate,exit_rate,avg_time_generation -second visitor,8,0,00:07:30,0%,0%,0.25s - first page view,1,1,00:00:00,100%,50%,0.14s +label,entry_nb_visits,entry_bounce_count,bounce_rate,avg_time_generation +second visitor,8,0,0%,0.25s + first page view,1,1,100%,0.14s Exit page titles -label,nb_visits,exit_nb_visits,bounce_rate,avg_time_on_page,exit_rate,avg_time_generation -Checkout,8,8,0%,00:00:00,100%,0.45s - first page view,2,1,100%,00:00:00,50%,0.14s +label,nb_visits,exit_nb_visits,exit_rate,avg_time_generation +Checkout,8,8,100%,0.45s + first page view,2,1,50%,0.14s Outlinks No data available @@ -241,8 +241,8 @@ Social Networks No data available Goals -nb_conversions,nb_visits_converted,conversion_rate,revenue -0,0,0%,$ 0 +nb_conversions,nb_visits_converted,conversion_rate,revenue,avg_order_revenue +0,0,0%,$ 0,$ 0 Visits to Conversion No data available diff --git a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_month.original.html b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_month.original.html index 4842a2b75e..9304d6a626 100644 --- a/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_month.original.html +++ b/tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_month.original.html @@ -1936,13 +1936,13 @@ 41 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 4.56 + 4.6 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 00:13:21 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 11.11% + 11% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 0% @@ -2400,13 +2400,13 @@ 41 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 4.56 + 4.6 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 00:13:21 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 11.11% + 11% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 0% @@ -3250,15 +3250,9 @@ Bounces </th> <th style="padding: 6px 0;"> - Avg. time on page - </th> - <th style="padding: 6px 0;"> Bounce Rate </th> <th style="padding: 6px 0;"> - Exit rate - </th> - <th style="padding: 6px 0;"> Avg. generation time </th> </thead> @@ -3276,12 +3270,6 @@ 0 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:05:20 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 0% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 0% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> @@ -3301,12 +3289,6 @@ 1 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:00:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 100% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 100% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> @@ -3337,12 +3319,6 @@ Unique Pageviews </th> <th style="padding: 6px 0;"> - Avg. time on page - </th> - <th style="padding: 6px 0;"> - Bounce Rate - </th> - <th style="padding: 6px 0;"> Exit rate </th> <th style="padding: 6px 0;"> @@ -3363,12 +3339,6 @@ 8 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:06:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 0% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 100% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> @@ -3388,12 +3358,6 @@ 1 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:00:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 100% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 100% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> @@ -3553,15 +3517,9 @@ Bounces </th> <th style="padding: 6px 0;"> - Avg. time on page - </th> - <th style="padding: 6px 0;"> Bounce Rate </th> <th style="padding: 6px 0;"> - Exit rate - </th> - <th style="padding: 6px 0;"> Avg. generation time </th> </thead> @@ -3577,12 +3535,6 @@ 0 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:07:30 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 0% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 0% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> @@ -3600,15 +3552,9 @@ 1 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:00:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 100% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 50% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 0.14s </td> </tr> @@ -3636,12 +3582,6 @@ Unique Pageviews </th> <th style="padding: 6px 0;"> - Avg. time on page - </th> - <th style="padding: 6px 0;"> - Bounce Rate - </th> - <th style="padding: 6px 0;"> Exit rate </th> <th style="padding: 6px 0;"> @@ -3660,12 +3600,6 @@ 8 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:00:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 0% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 100% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> @@ -3683,12 +3617,6 @@ 2 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:00:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 100% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 50% </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> @@ -4133,6 +4061,14 @@ $ 0 </td> </tr> + + <tr style=""> + <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> + Average Order Value </td> + <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> + $ 0 + </td> + </tr> </tbody> </table> <br/> diff --git a/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_day.xml b/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_day.xml index 78c7fece6b..ca85e8dede 100644 --- a/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_day.xml +++ b/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_day.xml @@ -9,6 +9,6 @@ <sum_visit_length>1983</sum_visit_length> <max_actions>3</max_actions> <bounce_rate>50%</bounce_rate> - <nb_actions_per_visit>1.67</nb_actions_per_visit> + <nb_actions_per_visit>1.7</nb_actions_per_visit> <avg_time_on_site>331</avg_time_on_site> </result>
\ No newline at end of file diff --git a/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_month.xml b/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_month.xml index 6bc01c80ac..7731535795 100644 --- a/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_month.xml +++ b/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_month.xml @@ -8,7 +8,7 @@ <bounce_count>5</bounce_count> <sum_visit_length>1983</sum_visit_length> <max_actions>3</max_actions> - <bounce_rate>62.5%</bounce_rate> + <bounce_rate>63%</bounce_rate> <nb_actions_per_visit>1.5</nb_actions_per_visit> <avg_time_on_site>248</avg_time_on_site> </result>
\ No newline at end of file diff --git a/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_week.xml b/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_week.xml index 78c7fece6b..ca85e8dede 100644 --- a/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_week.xml +++ b/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_week.xml @@ -9,6 +9,6 @@ <sum_visit_length>1983</sum_visit_length> <max_actions>3</max_actions> <bounce_rate>50%</bounce_rate> - <nb_actions_per_visit>1.67</nb_actions_per_visit> + <nb_actions_per_visit>1.7</nb_actions_per_visit> <avg_time_on_site>331</avg_time_on_site> </result>
\ No newline at end of file diff --git a/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_year.xml b/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_year.xml index dba6ef57d1..84850ee827 100644 --- a/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_year.xml +++ b/tests/PHPUnit/System/expected/test_UserId_VisitorId__VisitsSummary.get_year.xml @@ -6,7 +6,7 @@ <bounce_count>5</bounce_count> <sum_visit_length>1983</sum_visit_length> <max_actions>3</max_actions> - <bounce_rate>62.5%</bounce_rate> + <bounce_rate>63%</bounce_rate> <nb_actions_per_visit>1.5</nb_actions_per_visit> <avg_time_on_site>248</avg_time_on_site> </result>
\ No newline at end of file diff --git a/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_Metadata_Goals.Get_AbandonedCart__API.getProcessedReport_day.xml b/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_Metadata_Goals.Get_AbandonedCart__API.getProcessedReport_day.xml index 65e862ccc6..77c4d9cfc9 100644 --- a/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_Metadata_Goals.Get_AbandonedCart__API.getProcessedReport_day.xml +++ b/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_Metadata_Goals.Get_AbandonedCart__API.getProcessedReport_day.xml @@ -19,6 +19,9 @@ <metricsDocumentation> <conversion_rate>The percentage of visits that triggered a goal conversion.</conversion_rate> </metricsDocumentation> + <processedMetrics> + <avg_order_revenue>Average Order Value</avg_order_revenue> + </processedMetrics> <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=get&idGoal=ecommerceAbandonedCart&period=day&date=2011-03-07,2011-04-05</imageGraphUrl> <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Goals&apiAction=get&idGoal=ecommerceAbandonedCart&period=day&date=2011-03-07,2011-04-05</imageGraphEvolutionUrl> <uniqueId>Goals_get_idGoal--ecommerceAbandonedCart</uniqueId> @@ -28,12 +31,14 @@ <conversion_rate>Conversion Rate</conversion_rate> <revenue>Revenue left in cart</revenue> <items>Products left in cart</items> + <avg_order_revenue>Average Order Value</avg_order_revenue> </columns> <reportData> <nb_conversions>2</nb_conversions> <conversion_rate>66.67%</conversion_rate> <revenue>$ 5020.22</revenue> <items>8</items> + <avg_order_revenue>$ 0</avg_order_revenue> </reportData> <reportMetadata /> <reportTotal> diff --git a/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_SegmentReturningCustomers__VisitsSummary.get_week.xml b/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_SegmentReturningCustomers__VisitsSummary.get_week.xml index fc0095a9b6..02458f0645 100644 --- a/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_SegmentReturningCustomers__VisitsSummary.get_week.xml +++ b/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_SegmentReturningCustomers__VisitsSummary.get_week.xml @@ -8,7 +8,7 @@ <bounce_count>1</bounce_count> <sum_visit_length>2165</sum_visit_length> <max_actions>3</max_actions> - <bounce_rate>33.33%</bounce_rate> + <bounce_rate>33%</bounce_rate> <nb_actions_per_visit>2</nb_actions_per_visit> <avg_time_on_site>722</avg_time_on_site> </result>
\ No newline at end of file diff --git a/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_csv__ScheduledReports.generateReport_week.original.csv b/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_csv__ScheduledReports.generateReport_week.original.csv index 2cc4b74eb2..fe483e691d 100644 --- a/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_csv__ScheduledReports.generateReport_week.original.csv +++ b/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_csv__ScheduledReports.generateReport_week.original.csv @@ -64,7 +64,7 @@ label,nb_visits,nb_actions,conversion_rate,nb_actions_per_visit,avg_time_on_site Visits by Day of Week label,nb_visits,conversion_rate,nb_actions_per_visit,avg_time_on_site,bounce_rate,nb_actions Monday,0,0%,0,00:00:00,0%,0 -Tuesday,3,66.67%,4.33,00:30:01,0%,13 +Tuesday,3,66.67%,4.3,00:30:01,0%,13 Wednesday,2,100%,1.5,00:12:02,50%,3 Thursday,0,0%,0,00:00:00,0%,0 Friday,0,0%,0,00:00:00,0%,0 @@ -165,8 +165,8 @@ label,nb_conversions 365+ days,0 Abandoned Carts -nb_conversions,conversion_rate,revenue,items -3,60%,$ 7530.33,12 +nb_conversions,conversion_rate,revenue,items,avg_order_revenue +3,60%,$ 7530.33,12,$ 0 Abandoned Carts - Visits to Conversion label,nb_conversions @@ -238,12 +238,12 @@ label,nb_visits,nb_hits,bounce_rate,avg_time_on_page,exit_rate /index.htm,4,16,0%,00:13:30,100% Entry pages -label,entry_nb_visits,entry_bounce_count,avg_time_on_page,bounce_rate,exit_rate -/index.htm,3,0,00:13:30,0%,100% +label,entry_nb_visits,entry_bounce_count,bounce_rate +/index.htm,3,0,0% Exit pages -label,nb_visits,exit_nb_visits,bounce_rate,avg_time_on_page,exit_rate -/index.htm,4,4,0%,00:13:30,100% +label,nb_visits,exit_nb_visits,exit_rate +/index.htm,4,4,100% Page titles label,nb_visits,nb_hits,bounce_rate,avg_time_on_page,exit_rate @@ -257,15 +257,15 @@ label,nb_visits,nb_hits,bounce_rate,avg_time_on_page,exit_rate Looking at product page,1,1,0%,00:12:00,0% Entry page titles -label,entry_nb_visits,entry_bounce_count,avg_time_on_page,bounce_rate,exit_rate - View product left in cart,1,0,00:06:00,0%,100% - incredible title!,1,0,00:06:00,0%,0% - Looking at Electronics & Cameras page with a page level custom variable,1,0,00:06:00,0%,0% +label,entry_nb_visits,entry_bounce_count,bounce_rate + View product left in cart,1,0,0% + incredible title!,1,0,0% + Looking at Electronics & Cameras page with a page level custom variable,1,0,0% Exit page titles -label,nb_visits,exit_nb_visits,bounce_rate,avg_time_on_page,exit_rate - View product left in cart,3,3,0%,00:06:00,100% - Another Product page with multiple categories,1,1,0%,00:00:00,100% +label,nb_visits,exit_nb_visits,exit_rate + View product left in cart,3,3,100% + Another Product page with multiple categories,1,1,100% Outlinks No data available @@ -326,8 +326,8 @@ Social Networks No data available Goals -nb_conversions,nb_visits_converted,conversion_rate,revenue -5,4,80%,$ 13361.11 +nb_conversions,nb_visits_converted,conversion_rate,revenue,avg_order_revenue +5,4,80%,$ 13361.11,$ 0 Visits to Conversion label,nb_conversions,revenue @@ -363,8 +363,8 @@ label,nb_conversions,revenue 365+ days,0,$ 0 Goal title match triggered ONCE -nb_conversions,nb_visits_converted,conversion_rate,revenue -1,1,20%,$ 10 +nb_conversions,nb_visits_converted,conversion_rate,revenue,avg_order_revenue +1,1,20%,$ 10,$ 0 title match triggered ONCE - Visits to Conversion label,nb_conversions diff --git a/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_week.original.html b/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_week.original.html index 8ea1ea2752..aa496b9878 100644 --- a/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_week.original.html +++ b/tests/PHPUnit/System/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__ScheduledReports.generateReport_week.original.html @@ -1821,7 +1821,7 @@ 13 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 4.33 + 4.3 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 00:30:01 @@ -3202,6 +3202,14 @@ 12 </td> </tr> + + <tr style=""> + <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> + Average Order Value </td> + <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> + $ 0 + </td> + </tr> </tbody> </table> <br/> @@ -4242,14 +4250,8 @@ Bounces </th> <th style="padding: 6px 0;"> - Avg. time on page - </th> - <th style="padding: 6px 0;"> Bounce Rate </th> - <th style="padding: 6px 0;"> - Exit rate - </th> </thead> <tbody> @@ -4265,14 +4267,8 @@ 0 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:13:30 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 0% </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 100% - </td> </tr> </tbody> </table> @@ -4298,12 +4294,6 @@ Unique Pageviews </th> <th style="padding: 6px 0;"> - Avg. time on page - </th> - <th style="padding: 6px 0;"> - Bounce Rate - </th> - <th style="padding: 6px 0;"> Exit rate </th> </thead> @@ -4321,12 +4311,6 @@ 4 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:13:30 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 0% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 100% </td> </tr> @@ -4548,14 +4532,8 @@ Bounces </th> <th style="padding: 6px 0;"> - Avg. time on page - </th> - <th style="padding: 6px 0;"> Bounce Rate </th> - <th style="padding: 6px 0;"> - Exit rate - </th> </thead> <tbody> @@ -4569,14 +4547,8 @@ 0 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:06:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 0% </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 100% - </td> </tr> <tr style="background-color: rgb(249,250,250)"> @@ -4589,12 +4561,6 @@ 0 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:06:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 0% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 0% </td> </tr> @@ -4609,12 +4575,6 @@ 0 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:06:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 0% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 0% </td> </tr> @@ -4642,12 +4602,6 @@ Unique Pageviews </th> <th style="padding: 6px 0;"> - Avg. time on page - </th> - <th style="padding: 6px 0;"> - Bounce Rate - </th> - <th style="padding: 6px 0;"> Exit rate </th> </thead> @@ -4663,12 +4617,6 @@ 3 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:06:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 0% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 100% </td> </tr> @@ -4683,12 +4631,6 @@ 1 </td> <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 00:00:00 - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> - 0% - </td> - <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> 100% </td> </tr> @@ -4896,6 +4838,14 @@ $ 13361.11 </td> </tr> + + <tr style=""> + <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> + Average Order Value </td> + <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> + $ 0 + </td> + </tr> </tbody> </table> <br/> @@ -5297,6 +5247,14 @@ $ 10 </td> </tr> + + <tr style=""> + <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> + Average Order Value </td> + <td style="font-size: 11pt; border-bottom: 1px solid rgb(231,231,231); padding: 5px 0 5px 5px;"> + $ 0 + </td> + </tr> </tbody> </table> <br/> diff --git a/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables__VisitsSummary.get_day.xml b/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables__VisitsSummary.get_day.xml index 332390c3aa..ab7f9f9a18 100644 --- a/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables__VisitsSummary.get_day.xml +++ b/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables__VisitsSummary.get_day.xml @@ -10,7 +10,7 @@ <bounce_count>2</bounce_count> <sum_visit_length>722</sum_visit_length> <max_actions>4</max_actions> - <bounce_rate>66.67%</bounce_rate> + <bounce_rate>67%</bounce_rate> <nb_actions_per_visit>2</nb_actions_per_visit> <avg_time_on_site>241</avg_time_on_site> </result> diff --git a/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables__VisitsSummary.get_week.xml b/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables__VisitsSummary.get_week.xml index b59e7a9f7e..b5e37b20aa 100644 --- a/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables__VisitsSummary.get_week.xml +++ b/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables__VisitsSummary.get_week.xml @@ -10,7 +10,7 @@ <bounce_count>2</bounce_count> <sum_visit_length>722</sum_visit_length> <max_actions>4</max_actions> - <bounce_rate>66.67%</bounce_rate> + <bounce_rate>67%</bounce_rate> <nb_actions_per_visit>2</nb_actions_per_visit> <avg_time_on_site>241</avg_time_on_site> </result> diff --git a/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__VisitsSummary.get_day.xml b/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__VisitsSummary.get_day.xml index 9cd5dcf54b..283758c4ec 100644 --- a/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__VisitsSummary.get_day.xml +++ b/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__VisitsSummary.get_day.xml @@ -10,8 +10,8 @@ <bounce_count>2</bounce_count> <sum_visit_length>725</sum_visit_length> <max_actions>3</max_actions> - <bounce_rate>66.67%</bounce_rate> - <nb_actions_per_visit>1.67</nb_actions_per_visit> + <bounce_rate>67%</bounce_rate> + <nb_actions_per_visit>1.7</nb_actions_per_visit> <avg_time_on_site>242</avg_time_on_site> </result> <result date="2010-01-04" /> diff --git a/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__VisitsSummary.get_week.xml b/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__VisitsSummary.get_week.xml index 238bc50c67..4dab22a018 100644 --- a/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__VisitsSummary.get_week.xml +++ b/tests/PHPUnit/System/expected/test_twoVisitsWithCustomVariables_segmentMatchALL_noGoalData__VisitsSummary.get_week.xml @@ -10,8 +10,8 @@ <bounce_count>2</bounce_count> <sum_visit_length>725</sum_visit_length> <max_actions>3</max_actions> - <bounce_rate>66.67%</bounce_rate> - <nb_actions_per_visit>1.67</nb_actions_per_visit> + <bounce_rate>67%</bounce_rate> + <nb_actions_per_visit>1.7</nb_actions_per_visit> <avg_time_on_site>242</avg_time_on_site> </result> <result date="From 2010-01-04 to 2010-01-10" /> |