diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__API.getBulkRequest.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__API.getBulkRequest.xml new file mode 100755 index 0000000000000000000000000000000000000000..97aa954b60180593c973d7d3709a39d41eca9e14 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__API.getBulkRequest.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row>{"nb_uniq_visitors":1,"nb_visits":2,"nb_actions":8,"nb_visits_converted":2,"bounce_count":1,"sum_visit_length":1621,"max_actions":7,"bounce_rate":"50%","nb_actions_per_visit":4,"avg_time_on_site":811}</row> + <row><?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <nb_visits_converted>2</nb_visits_converted> + <bounce_count>1</bounce_count> + <sum_visit_length>1621</sum_visit_length> + <max_actions>7</max_actions> + <bounce_rate>50%</bounce_rate> + <nb_actions_per_visit>4</nb_actions_per_visit> + <avg_time_on_site>811</avg_time_on_site> +</result></row> + <row>[{"label":"0-10s","nb_visits":"1"},{"label":"11-30s","nb_visits":"0"},{"label":"31-60s","nb_visits":"0"},{"label":"1-2 min","nb_visits":"0"},{"label":"2-4 min","nb_visits":"0"},{"label":"4-7 min","nb_visits":"0"},{"label":"7-10 min","nb_visits":"0"},{"label":"10-15 min","nb_visits":"0"},{"label":"15-30 min","nb_visits":"1"},{"label":"30+ min","nb_visits":"0"}]</row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getDownload_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getDownload_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..32470e4bcbcbbfa7a9938fdc630fc1ae8665a2f2 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getDownload_day.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>/path/again/latest.zip</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>72</sum_time_spent> + <url>http://piwik.org/path/again/latest.zip</url> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getDownloads_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getDownloads_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c064136f4346ff3daf2406ccf7e51ea9d6ec4f62 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getDownloads_day.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>piwik.org</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>72</sum_time_spent> + <subtable> + <row> + <label>/path/again/latest.zip</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>72</sum_time_spent> + <url>http://piwik.org/path/again/latest.zip</url> + </row> + </subtable> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getEntryPageTitles_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getEntryPageTitles_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..1179612cd48dee1bc7d2ee59beadca89aeeb8d0c --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getEntryPageTitles_day.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> + <row> + <label> incredible title!</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>180</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>7</entry_nb_actions> + <entry_sum_visit_length>1621</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>180</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getEntryPageUrls_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getEntryPageUrls_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..7fa327713e74d80baae7ce337d860854859537b1 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getEntryPageUrls_day.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>/index.htm?parameter=Should display</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>180</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>7</entry_nb_actions> + <entry_sum_visit_length>1621</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>180</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm?parameter=Should display</url> + </row> + <row> + <label>store</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label>/purchase.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/store/purchase.htm</url> + </row> + </subtable> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getExitPageTitles_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getExitPageTitles_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..2ee22ef5cf92f06fcedba694020fbd4a79443cbc --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getExitPageTitles_day.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> + <row> + <label> Looking at homepage (again)...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getExitPageUrls_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getExitPageUrls_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..943302c205753903472cd4a6888bf39112307365 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getExitPageUrls_day.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + <row> + <label>store</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label>/purchase.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/store/purchase.htm</url> + </row> + </subtable> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getOutlink_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getOutlink_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..597186332640a8a2e7868a5db30cd75fad63eafe --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getOutlink_day.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>/svn</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>2</nb_hits> + <sum_time_spent>540</sum_time_spent> + <url>http://dev.piwik.org/svn</url> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getOutlinks_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getOutlinks_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..539d798e9bc884d4c0babe52bd864ff99aeda36f --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getOutlinks_day.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>dev.piwik.org</label> + <nb_visits>1</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>540</sum_time_spent> + <subtable> + <row> + <label>/svn</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>2</nb_hits> + <sum_time_spent>540</sum_time_spent> + <url>http://dev.piwik.org/svn</url> + </row> + </subtable> + </row> + <row> + <label>outlinks.org</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>108</sum_time_spent> + <subtable> + <row> + <label>/other_outlink</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>108</sum_time_spent> + <url>http://outlinks.org/other_outlink</url> + </row> + </subtable> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageTitle_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageTitle_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..07ef5d536a6b6d692306c79bf0d658d3eee757b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageTitle_day.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageTitlesFollowingSiteSearch_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageTitlesFollowingSiteSearch_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageTitlesFollowingSiteSearch_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageTitles_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageTitles_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..e3df8a41dd4ec9a257e804704f182b65183f62e8 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageTitles_day.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Checkout</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> + <row> + <label> incredible title!</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>180</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>7</entry_nb_actions> + <entry_sum_visit_length>1621</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>180</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + <row> + <label> Looking at homepage (again)...</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + </row> + <row> + <label> Second page view - should be registered as URL</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>900</sum_time_spent> + <avg_time_on_page>900</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageUrl_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageUrl_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..cee7b54dd805e4630f9d7fd54e831da2031e2467 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageUrl_day.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/index.htm</url> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageUrlsFollowingSiteSearch_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageUrlsFollowingSiteSearch_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageUrlsFollowingSiteSearch_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageUrls_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageUrls_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..838606a12ec31674138ac048bb7b3d3b974012a6 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getPageUrls_day.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>/index</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>180</sum_time_spent> + <avg_time_on_page>180</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/</url> + </row> + <row> + <label>/index.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/index.htm</url> + </row> + <row> + <label>/index.htm?parameter=Should display</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>180</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>7</entry_nb_actions> + <entry_sum_visit_length>1621</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>180</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/index.htm?parameter=Should display</url> + </row> + <row> + <label>store</label> + <nb_visits>1</nb_visits> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label>/purchase.htm</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>1</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>1</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/store/purchase.htm</url> + </row> + </subtable> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getSiteSearchCategories_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getSiteSearchCategories_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getSiteSearchCategories_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getSiteSearchKeywords_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getSiteSearchKeywords_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getSiteSearchKeywords_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getSiteSearchNoResultKeywords_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getSiteSearchNoResultKeywords_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.getSiteSearchNoResultKeywords_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.get_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.get_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..a3d15825bc227aee50d0743072fc8336c4182090 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Actions.get_day.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_pageviews>4</nb_pageviews> + <nb_uniq_pageviews>4</nb_uniq_pageviews> + <nb_downloads>1</nb_downloads> + <nb_uniq_downloads>1</nb_uniq_downloads> + <nb_outlinks>3</nb_outlinks> + <nb_uniq_outlinks>2</nb_uniq_outlinks> + <nb_searches>0</nb_searches> + <nb_keywords>0</nb_keywords> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__CoreAdminHome.getKnownSegmentsToArchive.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__CoreAdminHome.getKnownSegmentsToArchive.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__CoreAdminHome.getKnownSegmentsToArchive.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__CoreAdminHome.getWebsiteIdsToInvalidate.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__CoreAdminHome.getWebsiteIdsToInvalidate.xml new file mode 100755 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__CoreAdminHome.getWebsiteIdsToInvalidate.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__CustomVariables.getCustomVariables_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__CustomVariables.getCustomVariables_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__CustomVariables.getCustomVariables_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getConversionRate_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getConversionRate_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..dff1089a7196f914dd9905fd8cc2abab8c34d959 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getConversionRate_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>100</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getConversions_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getConversions_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..13002b20179a7f01ad26b5afab050d0539adedf7 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getConversions_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>2</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getDaysToConversion_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getDaysToConversion_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..3c241e5091c84b2482882b0093a691a860703a4d --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getDaysToConversion_day.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>0 days</label> + <nb_conversions>2</nb_conversions> + </row> + <row> + <label>1 day</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>2 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>3 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>4 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>5 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>6 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>7 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>8-14 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>15-30 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>31-60 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>61-120 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>121-364 days</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>365+ days</label> + <nb_conversions>0</nb_conversions> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getGoals.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getGoals.xml new file mode 100644 index 0000000000000000000000000000000000000000..792ce9ebcdf30bc0c1ca16bfc6fabe96b41557da --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getGoals.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <idsite>1</idsite> + <idgoal>1</idgoal> + <name>triggered js</name> + <match_attribute>manually</match_attribute> + <allow_multiple>0</allow_multiple> + <revenue>0</revenue> + <deleted>0</deleted> + </row> + <row> + <idsite>1</idsite> + <idgoal>2</idgoal> + <name>matching purchase.htm</name> + <match_attribute>url</match_attribute> + <pattern>(.*)store\/purchase\.(.*)</pattern> + <pattern_type>regex</pattern_type> + <case_sensitive>0</case_sensitive> + <allow_multiple>0</allow_multiple> + <revenue>1</revenue> + <deleted>0</deleted> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getItemsCategory_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getItemsCategory_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getItemsCategory_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getItemsName_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getItemsName_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getItemsName_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getItemsSku_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getItemsSku_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getItemsSku_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getNbVisitsConverted_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getNbVisitsConverted_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..13002b20179a7f01ad26b5afab050d0539adedf7 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getNbVisitsConverted_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>2</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getRevenue_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getRevenue_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..4ca6db758a4f42cd5b11dd0a0d7ababd1c0d2556 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getRevenue_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>43</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getVisitsUntilConversion_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getVisitsUntilConversion_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..ec350f6b486dd7f1c90e5f0c013783eac7a91280 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.getVisitsUntilConversion_day.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>1 visit</label> + <nb_conversions>1</nb_conversions> + </row> + <row> + <label>2 visits</label> + <nb_conversions>1</nb_conversions> + </row> + <row> + <label>3 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>4 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>5 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>6 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>7 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>8 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>9-14 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>15-25 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>26-50 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>51-100 visits</label> + <nb_conversions>0</nb_conversions> + </row> + <row> + <label>101+ visits</label> + <nb_conversions>0</nb_conversions> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.get_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.get_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..d0e395f9e8bfada27a441fdb1e9ac1089e01a5da --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Goals.get_day.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_conversions>2</nb_conversions> + <nb_visits_converted>2</nb_visits_converted> + <conversion_rate>100</conversion_rate> + <revenue>43</revenue> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__MultiSites.getAll_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__MultiSites.getAll_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..78d5baaa75e14012b905606c57e55d489574a855 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__MultiSites.getAll_day.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>new name</label> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <nb_pageviews>4</nb_pageviews> + <revenue>43</revenue> + <visits_evolution>100%</visits_evolution> + <actions_evolution>100%</actions_evolution> + <pageviews_evolution>100%</pageviews_evolution> + <revenue_evolution>100%</revenue_evolution> + <idsite>1</idsite> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__MultiSites.getOne_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__MultiSites.getOne_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..73ac235db9b5f7fdc1c9282bd4385b29887f22df --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__MultiSites.getOne_day.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <nb_pageviews>4</nb_pageviews> + <revenue>43</revenue> + <visits_evolution>100%</visits_evolution> + <actions_evolution>100%</actions_evolution> + <pageviews_evolution>100%</pageviews_evolution> + <revenue_evolution>100%</revenue_evolution> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Provider.getProvider_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Provider.getProvider_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..7b9b086c4412c46d38e01d6d37e68ab3fe539fe2 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Provider.getProvider_day.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Unknown</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + <url>http://piwik.org/faq/general/#faq_52</url> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getCampaigns_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getCampaigns_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getCampaigns_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getKeywordsForPageUrl_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getKeywordsForPageUrl_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..7ade91cdb5880fbaf6ad7a08d67b198a4b09c92b --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getKeywordsForPageUrl_day.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row>purchase</row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getKeywords_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getKeywords_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..e5e6ad0926e2e3afcdf3b59298c546dedf80e7f7 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getKeywords_day.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>purchase</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='2'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>1</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>1</revenue> + <subtable> + <row> + <label>Yahoo!</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>1</nb_visits_converted> + </row> + </subtable> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctCampaigns_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctCampaigns_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..f5722c2b947ae81c5390b2448986be96d1bf4ff3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctCampaigns_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>0</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctKeywords_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctKeywords_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctKeywords_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctSearchEngines_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctSearchEngines_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctSearchEngines_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctWebsitesUrls_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctWebsitesUrls_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctWebsitesUrls_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctWebsites_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctWebsites_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getNumberOfDistinctWebsites_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getRefererType_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getRefererType_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..720d7da20870a2ca41939ba7a54ae87ad67830d1 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getRefererType_day.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Search Engines</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='2'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>1</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>1</revenue> + </row> + <row> + <label>Websites</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>7</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>0</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>42</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>42</revenue> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getSearchEngines_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getSearchEngines_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..ebb9a7a4adcd33b6572e2a70f4500d89b8409da5 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getSearchEngines_day.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Yahoo!</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='2'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>1</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>1</revenue> + <url>http://search.yahoo.com</url> + <logo>plugins/Referers/images/searchEngines/search.yahoo.com.png</logo> + <subtable> + <row> + <label>purchase</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>1</nb_visits_converted> + </row> + </subtable> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getWebsites_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getWebsites_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..2450421efd9d7231121db4bfbd577409992a85e5 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Referers.getWebsites_day.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>referer.com</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>7</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>0</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>42</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>42</revenue> + <subtable> + <row> + <label>http://referer.com/page.htm?param=valuewith some spaces</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>7</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>1</nb_visits_converted> + </row> + </subtable> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getCity_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getCity_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..879e8a333ff78166dbbc106b0ee823ede5327629 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getCity_day.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Unknown</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>42</revenue> + </row> + <row idgoal='2'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>1</revenue> + </row> + </goals> + <nb_conversions>2</nb_conversions> + <revenue>43</revenue> + <city_name>Unknown</city_name> + <region>xx</region> + <country>xx</country> + <country_name>Unknown</country_name> + <region_name>Unknown</region_name> + <logo>plugins/UserCountry/flags/xx.png</logo> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getContinent_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getContinent_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..280b7fd6fcdaf46d3158ea1835faf5788e0f2bf5 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getContinent_day.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Europe</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>42</revenue> + </row> + <row idgoal='2'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>1</revenue> + </row> + </goals> + <nb_conversions>2</nb_conversions> + <revenue>43</revenue> + <code>Europe</code> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getCountry_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getCountry_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..0ddbedd976dde83fe69221ee13c4d321d95a1d0f --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getCountry_day.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>France</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>42</revenue> + </row> + <row idgoal='2'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>1</revenue> + </row> + </goals> + <nb_conversions>2</nb_conversions> + <revenue>43</revenue> + <code>fr</code> + <logo>plugins/UserCountry/flags/fr.png</logo> + <logoWidth>16</logoWidth> + <logoHeight>11</logoHeight> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getNumberOfDistinctCountries_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getNumberOfDistinctCountries_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getNumberOfDistinctCountries_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getRegion_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getRegion_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..cccafaa0f25487323e3bdac651a2cf996fb7e393 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserCountry.getRegion_day.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Unknown</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>42</revenue> + </row> + <row idgoal='2'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>1</revenue> + </row> + </goals> + <nb_conversions>2</nb_conversions> + <revenue>43</revenue> + <region>xx</region> + <country>xx</country> + <country_name>Unknown</country_name> + <region_name>Unknown</region_name> + <logo>plugins/UserCountry/flags/xx.png</logo> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getBrowserType_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getBrowserType_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..6d13aaf7365e5e3525a2c24d2b76c6b0e944c85d --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getBrowserType_day.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Gecko (Firefox)</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + <shortLabel>Gecko</shortLabel> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getBrowserVersion_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getBrowserVersion_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..82104979100442c661edb2a4a1f8d9e07ca9b9e9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getBrowserVersion_day.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Firefox 3.6</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + <logo>plugins/UserSettings/images/browsers/FF.gif</logo> + <shortLabel>Firefox 3.6</shortLabel> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getBrowser_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getBrowser_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..84860eba92c41f254e96dccc3b707c34a79d3d58 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getBrowser_day.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Firefox</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + <logo>plugins/UserSettings/images/browsers/FF.gif</logo> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getConfiguration_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getConfiguration_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..1a63f1933ae42cc012b38b3c3c2c54a58304f9e9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getConfiguration_day.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Windows XP / Firefox / 1024x768</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getMobileVsDesktop_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getMobileVsDesktop_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..fe566ebe7c2681f602c4d9f4d02111ce4503c96a --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getMobileVsDesktop_day.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Desktop</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + <logo>plugins/UserSettings/images/screens/normal.gif</logo> + </row> + <row> + <label>Mobile</label> + <nb_visits>0</nb_visits> + <logo>plugins/UserSettings/images/screens/mobile.gif</logo> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getOSFamily_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getOSFamily_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c3a3311e3dd8a0708259e2e5696a7c68b4a7661 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getOSFamily_day.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Windows</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + <logo>plugins/UserSettings/images/os/WXP.gif</logo> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getOS_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getOS_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..32ec517b60a4f03c6d54c6868519a49f35f83c8f --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getOS_day.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Windows XP</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + <logo>plugins/UserSettings/images/os/WXP.gif</logo> + <shortLabel>Win XP</shortLabel> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getPlugin_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getPlugin_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..9ddd1bed446fec2059b602fdf83f9898cff37ca5 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getPlugin_day.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Cookie</label> + <nb_visits>2</nb_visits> + <nb_visits_percentage>100%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/cookie.gif</logo> + </row> + <row> + <label>Flash</label> + <nb_visits>2</nb_visits> + <nb_visits_percentage>100%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/flash.gif</logo> + </row> + <row> + <label>Java</label> + <nb_visits>2</nb_visits> + <nb_visits_percentage>100%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/java.gif</logo> + </row> + <row> + <label>Director</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/director.gif</logo> + </row> + <row> + <label>Gears</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/gears.gif</logo> + </row> + <row> + <label>Pdf</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/pdf.gif</logo> + </row> + <row> + <label>Quicktime</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/quicktime.gif</logo> + </row> + <row> + <label>Realplayer</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/realplayer.gif</logo> + </row> + <row> + <label>Silverlight</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/silverlight.gif</logo> + </row> + <row> + <label>Windowsmedia</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + <logo>plugins/UserSettings/images/plugins/windowsmedia.gif</logo> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getResolution_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getResolution_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..ede209680dab5a18a20587e9749b6c1acf1fda05 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getResolution_day.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>1024x768</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getWideScreen_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getWideScreen_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..f1acb38cb949dc9c0f8185389a7edd5488ce1b86 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__UserSettings.getWideScreen_day.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Normal</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + <logo>plugins/UserSettings/images/screens/normal.gif</logo> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getActionsReturning_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getActionsReturning_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getActionsReturning_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getBounceCountReturning_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getBounceCountReturning_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getBounceCountReturning_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getConvertedVisitsReturning_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getConvertedVisitsReturning_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getConvertedVisitsReturning_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getSumVisitsLengthReturning_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getSumVisitsLengthReturning_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..f5722c2b947ae81c5390b2448986be96d1bf4ff3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getSumVisitsLengthReturning_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>0</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getVisitsReturning_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getVisitsReturning_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.getVisitsReturning_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.get_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.get_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..cbc90ba42f38b18121a0c9b69f08a36bace29278 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitFrequency.get_day.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_uniq_visitors_returning>1</nb_uniq_visitors_returning> + <nb_visits_returning>1</nb_visits_returning> + <nb_actions_returning>1</nb_actions_returning> + <max_actions_returning>1</max_actions_returning> + <sum_visit_length_returning>0</sum_visit_length_returning> + <bounce_count_returning>1</bounce_count_returning> + <nb_visits_converted_returning>1</nb_visits_converted_returning> + <bounce_rate_returning>100%</bounce_rate_returning> + <nb_actions_per_visit_returning>1</nb_actions_per_visit_returning> + <avg_time_on_site_returning>0</avg_time_on_site_returning> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitTime.getByDayOfWeek_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitTime.getByDayOfWeek_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..7052ae2d51c987c541eeee1d36ab7502691284bd --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitTime.getByDayOfWeek_day.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Monday</label> + <nb_visits>0</nb_visits> + <day_of_week>1</day_of_week> + </row> + <row> + <label>Tuesday</label> + <nb_visits>0</nb_visits> + <day_of_week>2</day_of_week> + </row> + <row> + <label>Wednesday</label> + <nb_visits>0</nb_visits> + <day_of_week>3</day_of_week> + </row> + <row> + <label>Thursday</label> + <nb_visits>0</nb_visits> + <day_of_week>4</day_of_week> + </row> + <row> + <label>Friday</label> + <nb_visits>0</nb_visits> + <day_of_week>5</day_of_week> + </row> + <row> + <label>Saturday</label> + <nb_visits>2</nb_visits> + <bounce_count>1</bounce_count> + <nb_actions>8</nb_actions> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits_converted>2</nb_visits_converted> + <sum_visit_length>1621</sum_visit_length> + <day_of_week>6</day_of_week> + </row> + <row> + <label>Sunday</label> + <nb_visits>0</nb_visits> + <day_of_week>7</day_of_week> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitTime.getVisitInformationPerLocalTime_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitTime.getVisitInformationPerLocalTime_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..b95f277bfc12ec5633d4020abcff53dded9dbf21 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitTime.getVisitInformationPerLocalTime_day.xml @@ -0,0 +1,243 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>0h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>1h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>2h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>3h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>4h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>5h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>6h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>7h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>8h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>9h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>10h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>11h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>12h</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>2</nb_visits_converted> + </row> + <row> + <label>13h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>14h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>15h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>16h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>17h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>18h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>19h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>20h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>21h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>22h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>23h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitTime.getVisitInformationPerServerTime_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitTime.getVisitInformationPerServerTime_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..5f96c55a5b4b34c000dba56e650a652fa1cd37b5 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitTime.getVisitInformationPerServerTime_day.xml @@ -0,0 +1,259 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>0h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>1h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>2h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>3h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>4h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>5h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>6h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>7h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>8h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>9h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>10h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>11h</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>7</nb_actions> + <max_actions>7</max_actions> + <sum_visit_length>1621</sum_visit_length> + <bounce_count>0</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>42</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>42</revenue> + </row> + <row> + <label>12h</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='2'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>1</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>1</revenue> + </row> + <row> + <label>13h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>14h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>15h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>16h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>17h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>18h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>19h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>20h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>21h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>22h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>23h</label> + <nb_uniq_visitors>0</nb_uniq_visitors> + <nb_visits>0</nb_visits> + <nb_actions>0</nb_actions> + <max_actions>0</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsByDaysSinceLast_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsByDaysSinceLast_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..ce8a1e0b00927722b38bd98ff8cdc68d563efe89 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsByDaysSinceLast_day.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>New visits</label> + <nb_visits>1</nb_visits> + </row> + <row> + <label>0 days</label> + <nb_visits>1</nb_visits> + </row> + <row> + <label>1 day</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>2 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>3 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>4 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>5 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>6 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>7 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>8-14 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>15-30 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>31-60 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>61-120 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>121-364 days</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>365+ days</label> + <nb_visits>0</nb_visits> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsByVisitCount_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsByVisitCount_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..eefa7f6d38e196fc70976121cd3ae8629f954dcd --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsByVisitCount_day.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>1 visit</label> + <nb_visits>1</nb_visits> + <nb_visits_percentage>50%</nb_visits_percentage> + </row> + <row> + <label>2 visits</label> + <nb_visits>1</nb_visits> + <nb_visits_percentage>50%</nb_visits_percentage> + </row> + <row> + <label>3 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>4 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>5 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>6 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>7 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>8 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>9-14 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>15-25 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>26-50 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>51-100 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>101-200 visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> + <row> + <label>201+ visits</label> + <nb_visits>0</nb_visits> + <nb_visits_percentage>0%</nb_visits_percentage> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsPerPage_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsPerPage_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..30a3a7f161d13acfc7d3ffa7553a912608361943 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsPerPage_day.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>1 page</label> + <nb_visits>1</nb_visits> + </row> + <row> + <label>2 pages</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>3 pages</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>4 pages</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>5 pages</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>6-7 pages</label> + <nb_visits>1</nb_visits> + </row> + <row> + <label>8-10 pages</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>11-14 pages</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>15-20 pages</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>21+ pages</label> + <nb_visits>0</nb_visits> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..730677c405e758681bdeb865f8b083309efa8a97 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitorInterest.getNumberOfVisitsPerVisitDuration_day.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>0-10s</label> + <nb_visits>1</nb_visits> + </row> + <row> + <label>11-30s</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>31-60s</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>1-2 min</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>2-4 min</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>4-7 min</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>7-10 min</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>10-15 min</label> + <nb_visits>0</nb_visits> + </row> + <row> + <label>15-30 min</label> + <nb_visits>1</nb_visits> + </row> + <row> + <label>30+ min</label> + <nb_visits>0</nb_visits> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getActions_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getActions_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..e52ca0ecb15aabd3c0978ada9f4886e6895a47db --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getActions_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>8</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getBounceCount_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getBounceCount_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getBounceCount_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getMaxActions_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getMaxActions_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..773871bab0c36700c4796d59d13528a1717a7e8d --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getMaxActions_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>7</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getSumVisitsLengthPretty_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getSumVisitsLengthPretty_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..3912ba15a217f50b785344e126b7e3d456d7a82c --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getSumVisitsLengthPretty_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>27 min 1s</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getSumVisitsLength_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getSumVisitsLength_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..f7692644ac2c8f2bbe4eabcfd3829d03dd45ad67 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getSumVisitsLength_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1621</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getUniqueVisitors_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getUniqueVisitors_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..606fbb524182170284d7f1baad7fce4697d9b8b3 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getUniqueVisitors_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>1</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getVisitsConverted_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getVisitsConverted_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..13002b20179a7f01ad26b5afab050d0539adedf7 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getVisitsConverted_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>2</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getVisits_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getVisits_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..13002b20179a7f01ad26b5afab050d0539adedf7 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.getVisits_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result>2</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.get_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.get_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..40498bf45d736fb3ca53e70a6d1cdd748909a8f6 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__VisitsSummary.get_day.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> + <nb_visits_converted>2</nb_visits_converted> + <bounce_count>1</bounce_count> + <sum_visit_length>1621</sum_visit_length> + <max_actions>7</max_actions> + <bounce_rate>50%</bounce_rate> + <nb_actions_per_visit>4</nb_actions_per_visit> + <avg_time_on_site>811</avg_time_on_site> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideAllColumns___VisitsSummary.get_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideAllColumns___VisitsSummary.get_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..c234bed59e963e268d7a9bc05348d941758c4aa9 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideAllColumns___VisitsSummary.get_day.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result /> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideColumns___API.getProcessedReport_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideColumns___API.getProcessedReport_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..c74b472e6000fd5cf4b2148de6a28685ec3fce69 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideColumns___API.getProcessedReport_day.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <website>new name</website> + <prettyDate>Saturday 6 March 2010</prettyDate> + <metadata> + <category>Actions</category> + <name>Page titles</name> + <module>Actions</module> + <action>getPageTitles</action> + <dimension>Page Name</dimension> + <metrics> + <nb_hits>Pageviews</nb_hits> + <nb_visits>Unique Pageviews</nb_visits> + <bounce_rate>Bounce Rate</bounce_rate> + <avg_time_on_page>Avg. time on page</avg_time_on_page> + <exit_rate>Exit rate</exit_rate> + + </metrics> + <metricsDocumentation> + <nb_hits>The number of times this page was visited.</nb_hits> + <nb_visits>The number of visits that included this page. If a page was viewed multiple times during one visit, it is only counted once.</nb_visits> + <bounce_rate>The percentage of visits that started on this page and left the website straight away.</bounce_rate> + <avg_time_on_page>The average amount of time visitors spent on this page (only the page, not the entire website).</avg_time_on_page> + <exit_rate>The percentage of visits that left the website after viewing this page.</exit_rate> + + </metricsDocumentation> + <documentation>This report contains information about the titles of the pages that have been visited. <br /> The page title is the HTML <title> Tag that most browsers show in their window title.</documentation> + <actionToLoadSubTables>getPageTitles</actionToLoadSubTables> + <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Actions&apiAction=getPageTitles&period=day&date=2010-03-06</imageGraphUrl> + <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Actions&apiAction=getPageTitles&period=day&date=2010-02-05,2010-03-06</imageGraphEvolutionUrl> + <uniqueId>Actions_getPageTitles</uniqueId> + + </metadata> + <columns> + <label>Page Name</label> + <exit_rate>Exit rate</exit_rate> + + </columns> + <reportData> + <row> + <label>Checkout</label> + <exit_rate>100%</exit_rate> + </row> + <row> + <label> incredible title!</label> + <exit_rate>0%</exit_rate> + </row> + <row> + <label> Looking at homepage (again)...</label> + <exit_rate>100%</exit_rate> + </row> + <row> + <label> Second page view - should be registered as URL</label> + <exit_rate>0%</exit_rate> + </row> + </reportData> + <reportMetadata> + <row> + + </row> + </reportMetadata> + +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideColumns___Actions.getPageTitles_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideColumns___Actions.getPageTitles_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..a7cee4a486162dab2aa5167b40f7374816eaa997 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideColumns___Actions.getPageTitles_day.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Checkout</label> + <avg_time_on_page>0</avg_time_on_page> + <exit_rate>100%</exit_rate> + <subtable> + <row> + <label> Purchasing...</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <exit_rate>100%</exit_rate> + </row> + </subtable> + </row> + <row> + <label> incredible title!</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <avg_time_on_page>180</avg_time_on_page> + <exit_rate>0%</exit_rate> + </row> + <row> + <label> Looking at homepage (again)...</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <exit_rate>100%</exit_rate> + </row> + <row> + <label> Second page view - should be registered as URL</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <avg_time_on_page>900</avg_time_on_page> + <exit_rate>0%</exit_rate> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideColumns___VisitsSummary.get_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideColumns___VisitsSummary.get_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..9f4dbd2d9a3cc170d0f92a7d881f0aa3227aa644 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_hideColumns___VisitsSummary.get_day.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_uniq_visitors>1</nb_uniq_visitors> + <bounce_rate>50%</bounce_rate> + <nb_actions_per_visit>4</nb_actions_per_visit> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_showColumns___API.getProcessedReport_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_showColumns___API.getProcessedReport_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..2a3855f825c6f2e6dda5c7975045872e56c1a664 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_showColumns___API.getProcessedReport_day.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <website>new name</website> + <prettyDate>Saturday 6 March 2010</prettyDate> + <metadata> + <category>Actions</category> + <name>Page titles</name> + <module>Actions</module> + <action>getPageTitles</action> + <dimension>Page Name</dimension> + <metrics> + <nb_hits>Pageviews</nb_hits> + <nb_visits>Unique Pageviews</nb_visits> + <bounce_rate>Bounce Rate</bounce_rate> + <avg_time_on_page>Avg. time on page</avg_time_on_page> + <exit_rate>Exit rate</exit_rate> + + </metrics> + <metricsDocumentation> + <nb_hits>The number of times this page was visited.</nb_hits> + <nb_visits>The number of visits that included this page. If a page was viewed multiple times during one visit, it is only counted once.</nb_visits> + <bounce_rate>The percentage of visits that started on this page and left the website straight away.</bounce_rate> + <avg_time_on_page>The average amount of time visitors spent on this page (only the page, not the entire website).</avg_time_on_page> + <exit_rate>The percentage of visits that left the website after viewing this page.</exit_rate> + + </metricsDocumentation> + <documentation>This report contains information about the titles of the pages that have been visited. <br /> The page title is the HTML <title> Tag that most browsers show in their window title.</documentation> + <actionToLoadSubTables>getPageTitles</actionToLoadSubTables> + <imageGraphUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Actions&apiAction=getPageTitles&period=day&date=2010-03-06</imageGraphUrl> + <imageGraphEvolutionUrl>index.php?module=API&method=ImageGraph.get&idSite=1&apiModule=Actions&apiAction=getPageTitles&period=day&date=2010-02-05,2010-03-06</imageGraphEvolutionUrl> + <uniqueId>Actions_getPageTitles</uniqueId> + + </metadata> + <columns> + <label>Page Name</label> + <nb_hits>Pageviews</nb_hits> + <bounce_rate>Bounce Rate</bounce_rate> + + </columns> + <reportData> + <row> + <label>Checkout</label> + <nb_hits>1</nb_hits> + <bounce_rate>100%</bounce_rate> + </row> + <row> + <label> incredible title!</label> + <nb_hits>1</nb_hits> + <bounce_rate>0%</bounce_rate> + </row> + <row> + <label> Looking at homepage (again)...</label> + <nb_hits>1</nb_hits> + <bounce_rate>0%</bounce_rate> + </row> + <row> + <label> Second page view - should be registered as URL</label> + <nb_hits>1</nb_hits> + <bounce_rate>0%</bounce_rate> + </row> + </reportData> + <reportMetadata> + <row> + + </row> + </reportMetadata> + +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_showColumns___VisitsSummary.get_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_showColumns___VisitsSummary.get_day.xml new file mode 100755 index 0000000000000000000000000000000000000000..4d2a909a675fc11426b1c67bbb7a32d438138158 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits_showColumns___VisitsSummary.get_day.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <nb_visits>2</nb_visits> + <nb_actions>8</nb_actions> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitor_LongUrlsTruncated__Actions.getPageUrls_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitor_LongUrlsTruncated__Actions.getPageUrls_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..d1914d0e116cc1b1e0f63129a3deba8d81917e98 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitor_LongUrlsTruncated__Actions.getPageUrls_day.xml @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>/contact.htm</label> + <nb_visits>7</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>7</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>6</entry_nb_visits> + <entry_nb_actions>6</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>6</entry_bounce_count> + <exit_nb_uniq_visitors>1</exit_nb_uniq_visitors> + <exit_nb_visits>7</exit_nb_visits> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <url>http://example.org/contact.htm</url> + </row> + <row> + <label>category</label> + <nb_visits>4</nb_visits> + <nb_hits>7</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>13</entry_nb_actions> + <entry_sum_visit_length>1</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <subtable> + <row> + <label>/Page1</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <entry_nb_uniq_visitors>1</entry_nb_uniq_visitors> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>13</entry_nb_actions> + <entry_sum_visit_length>1</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/category/Page1</url> + </row> + <row> + <label>/Page2</label> + <nb_visits>1</nb_visits> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_hits>1</nb_hits> + <sum_time_spent>0</sum_time_spent> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + <url>http://example.org/category/Page2</url> + </row> + <row> + <label>Autres</label> + <nb_visits>2</nb_visits> + <nb_uniq_visitors>2</nb_uniq_visitors> + <nb_hits>5</nb_hits> + <sum_time_spent>0</sum_time_spent> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> + </subtable> + </row> + <row> + <label>Autres</label> + <nb_visits>3</nb_visits> + <nb_uniq_visitors>3</nb_uniq_visitors> + <nb_hits>5</nb_hits> + <sum_time_spent>0</sum_time_spent> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>0%</bounce_rate> + <exit_rate>0%</exit_rate> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitor_LongUrlsTruncated__Referers.getKeywords_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitor_LongUrlsTruncated__Referers.getKeywords_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..4d6615ab1132eda8f85e5756ed8649c2330c249b --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitor_LongUrlsTruncated__Referers.getKeywords_day.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>kia ora</label> + <nb_uniq_visitors>4</nb_uniq_visitors> + <nb_visits>5</nb_visits> + <nb_actions>5</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>5</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <subtable> + <row> + <label>Google</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>2</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>Bing Images</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + <row> + <label>Autres</label> + <nb_uniq_visitors>2</nb_uniq_visitors> + <nb_visits>2</nb_visits> + <nb_actions>2</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>2</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + </subtable> + </row> + <row> + <label>hello world</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>13</nb_actions> + <max_actions>13</max_actions> + <sum_visit_length>1</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <subtable> + <row> + <label>Bing</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>13</nb_actions> + <max_actions>13</max_actions> + <sum_visit_length>1</sum_visit_length> + <bounce_count>0</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + </subtable> + </row> + <row> + <label>salut</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <subtable> + <row> + <label>Google</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + </subtable> + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Live.getLastVisitsDetails_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Live.getLastVisitsDetails_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..8b2e64ddf70170d14a1396a07d53bce84c33772b --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Live.getLastVisitsDetails_day.xml @@ -0,0 +1,172 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <idSite>1</idSite> + <idVisit>2</idVisit> + <visitIp>156.5.0.0</visitIp> + + <visitorType>new</visitorType> + <visitorTypeIcon /> + <visitConverted>0</visitConverted> + <visitConvertedIcon /> + <visitEcommerceStatus>none</visitEcommerceStatus> + <visitEcommerceStatusIcon /> + <actions>1</actions> + <actionDetails> + <row> + <type>action</type> + <url>http://example.org/this%20is%20cool!</url> + <pageTitle /> + <pageIdAction>2</pageIdAction> + <pageId>2</pageId> + + <icon /> + </row> + </actionDetails> + <customVariables> + </customVariables> + <goalConversions>0</goalConversions> + <siteCurrency>USD</siteCurrency> + <siteCurrencySymbol>$</siteCurrencySymbol> + + <visitLocalTime>12:34:06</visitLocalTime> + + + + <visitDuration>0</visitDuration> + <visitDurationPretty>0s</visitDurationPretty> + <visitCount>1</visitCount> + <daysSinceLastVisit>0</daysSinceLastVisit> + <daysSinceFirstVisit>0</daysSinceFirstVisit> + <daysSinceLastEcommerceOrder>0</daysSinceLastEcommerceOrder> + <country>France</country> + <countryFlag>plugins/UserCountry/flags/fr.png</countryFlag> + <continent>Europe</continent> + <location>France</location> + <provider>Inconnu</provider> + <providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl> + <referrerType>search</referrerType> + <referrerTypeName>Moteurs de recherche</referrerTypeName> + <referrerName>Google</referrerName> + <referrerKeyword><>&\"the pdo extension is required for this adapter but the extension is not loaded</referrerKeyword> + <referrerKeywordPosition>4</referrerKeywordPosition> + <referrerUrl>http://www.google.com.vn/search?q=%3C%3E%26%5C%22the+pdo+extension+is+required+for+this+adapter+but+the+extension+is+not+loaded</referrerUrl> + <referrerSearchEngineUrl>http://google.com</referrerSearchEngineUrl> + <referrerSearchEngineIcon>plugins/Referers/images/searchEngines/google.com.png</referrerSearchEngineIcon> + <operatingSystem>Inconnu</operatingSystem> + <operatingSystemShortName>Unknown</operatingSystemShortName> + <operatingSystemIcon>plugins/UserSettings/images/os/UNK.gif</operatingSystemIcon> + <browserFamily>gecko</browserFamily> + <browserFamilyDescription>Gecko (Firefox)</browserFamilyDescription> + <browserName>Netscape 5.0</browserName> + <browserIcon>plugins/UserSettings/images/browsers/NS.gif</browserIcon> + <screenType>normal</screenType> + <resolution>1024x768</resolution> + <screenTypeIcon>plugins/UserSettings/images/screens/normal.gif</screenTypeIcon> + <plugins>flash, java</plugins> + <pluginsIcons> + <row> + <pluginIcon>plugins/UserSettings/images/plugins/flash.gif</pluginIcon> + <pluginName>flash</pluginName> + </row> + <row> + <pluginIcon>plugins/UserSettings/images/plugins/java.gif</pluginIcon> + <pluginName>java</pluginName> + </row> + </pluginsIcons> + + + + + + </row> + <row> + <idSite>1</idSite> + <idVisit>1</idVisit> + <visitIp>156.5.0.0</visitIp> + + <visitorType>new</visitorType> + <visitorTypeIcon /> + <visitConverted>1</visitConverted> + <visitConvertedIcon>themes/default/images/goal.png</visitConvertedIcon> + <visitEcommerceStatus>none</visitEcommerceStatus> + <visitEcommerceStatusIcon /> + <actions>1</actions> + <actionDetails> + <row> + <type>action</type> + <url>http://example.org/this%20is%20cool!</url> + <pageTitle>incredible title!</pageTitle> + <pageIdAction>2</pageIdAction> + <pageId>1</pageId> + + <icon /> + </row> + <row> + <type>goal</type> + <goalName>triggered js</goalName> + <revenue>0</revenue> + <goalPageId /> + + <url>http://example.org/this%20is%20cool!</url> + <icon>themes/default/images/goal.png</icon> + </row> + </actionDetails> + <customVariables> + </customVariables> + <goalConversions>1</goalConversions> + <siteCurrency>USD</siteCurrency> + <siteCurrencySymbol>$</siteCurrencySymbol> + + <visitLocalTime>12:34:06</visitLocalTime> + + + + <visitDuration>1084</visitDuration> + <visitDurationPretty>18 min 4s</visitDurationPretty> + <visitCount>1</visitCount> + <daysSinceLastVisit>0</daysSinceLastVisit> + <daysSinceFirstVisit>0</daysSinceFirstVisit> + <daysSinceLastEcommerceOrder>0</daysSinceLastEcommerceOrder> + <country>France</country> + <countryFlag>plugins/UserCountry/flags/fr.png</countryFlag> + <continent>Europe</continent> + <location>France</location> + <provider>Inconnu</provider> + <providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl> + <referrerType>search</referrerType> + <referrerTypeName>Moteurs de recherche</referrerTypeName> + <referrerName>Google</referrerName> + <referrerKeyword>Mot clef indéfini</referrerKeyword> + <referrerKeywordPosition>1</referrerKeywordPosition> + <referrerUrl>http://piwik.org/faq/general/#faq_144</referrerUrl> + <referrerSearchEngineUrl>http://google.com</referrerSearchEngineUrl> + <referrerSearchEngineIcon>plugins/Referers/images/searchEngines/google.com.png</referrerSearchEngineIcon> + <operatingSystem>Inconnu</operatingSystem> + <operatingSystemShortName>Unknown</operatingSystemShortName> + <operatingSystemIcon>plugins/UserSettings/images/os/UNK.gif</operatingSystemIcon> + <browserFamily>gecko</browserFamily> + <browserFamilyDescription>Gecko (Firefox)</browserFamilyDescription> + <browserName>Netscape 5.0</browserName> + <browserIcon>plugins/UserSettings/images/browsers/NS.gif</browserIcon> + <screenType>normal</screenType> + <resolution>1024x768</resolution> + <screenTypeIcon>plugins/UserSettings/images/screens/normal.gif</screenTypeIcon> + <plugins>flash, java</plugins> + <pluginsIcons> + <row> + <pluginIcon>plugins/UserSettings/images/plugins/flash.gif</pluginIcon> + <pluginName>flash</pluginName> + </row> + <row> + <pluginIcon>plugins/UserSettings/images/plugins/java.gif</pluginIcon> + <pluginName>java</pluginName> + </row> + </pluginsIcons> + + + + + + </row> +</result> \ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Referers.getKeywords_day.xml b/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Referers.getKeywords_day.xml new file mode 100644 index 0000000000000000000000000000000000000000..c0a8e14b12e1f06668f45179e36c99d9af2f4a01 --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitor_NoKeywordSpecified__Referers.getKeywords_day.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result> + <row> + <label>Mot clef indéfini</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>1084</sum_visit_length> + <bounce_count>1</bounce_count> + <goals> + <row idgoal='1'> + <nb_conversions>1</nb_conversions> + <nb_visits_converted>1</nb_visits_converted> + <revenue>42</revenue> + </row> + </goals> + <nb_conversions>1</nb_conversions> + <revenue>42</revenue> + <subtable> + <row> + <label>Google</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>1084</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>1</nb_visits_converted> + </row> + </subtable> + </row> + <row> + <label><>&\"the pdo extension is required for this adapter but the extension is not loaded</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + <subtable> + <row> + <label>Google</label> + <nb_uniq_visitors>1</nb_uniq_visitors> + <nb_visits>1</nb_visits> + <nb_actions>1</nb_actions> + <max_actions>1</max_actions> + <sum_visit_length>0</sum_visit_length> + <bounce_count>1</bounce_count> + <nb_visits_converted>0</nb_visits_converted> + </row> + </subtable> + </row> +</result> \ No newline at end of file