diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-04-29 01:54:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 01:54:09 +0300 |
commit | 2466e9f4447e2491faea1201c838657e2385cd94 (patch) | |
tree | f49b08c30f6b42540b7ecc8bced4736af5eacbc3 /tests/PHPUnit/System/expected/test_ImportLogs__Actions.getPageUrls_month.xml | |
parent | f88b7fbcfac0aa4f0563bbbffa3c6a5965c41181 (diff) |
Update visit only when needed (#15869)
* update idvisitor only when needed
* better implementation
* fix tests
Diffstat (limited to 'tests/PHPUnit/System/expected/test_ImportLogs__Actions.getPageUrls_month.xml')
-rw-r--r-- | tests/PHPUnit/System/expected/test_ImportLogs__Actions.getPageUrls_month.xml | 212 |
1 files changed, 106 insertions, 106 deletions
diff --git a/tests/PHPUnit/System/expected/test_ImportLogs__Actions.getPageUrls_month.xml b/tests/PHPUnit/System/expected/test_ImportLogs__Actions.getPageUrls_month.xml index 46c3703ced..050773cbf9 100644 --- a/tests/PHPUnit/System/expected/test_ImportLogs__Actions.getPageUrls_month.xml +++ b/tests/PHPUnit/System/expected/test_ImportLogs__Actions.getPageUrls_month.xml @@ -496,8 +496,36 @@ </subtable> </row> <row> + <label>/index</label> + <nb_visits>3</nb_visits> + <nb_hits>3</nb_hits> + <sum_time_spent>0</sum_time_spent> + <nb_hits_with_time_generation>1</nb_hits_with_time_generation> + <min_time_generation>0.001</min_time_generation> + <max_time_generation>0.001</max_time_generation> + <sum_bandwidth>8063</sum_bandwidth> + <nb_hits_with_bandwidth>3</nb_hits_with_bandwidth> + <min_bandwidth>8063</min_bandwidth> + <max_bandwidth>8063</max_bandwidth> + <entry_nb_visits>3</entry_nb_visits> + <entry_nb_actions>3</entry_nb_actions> + <entry_sum_visit_length>0</entry_sum_visit_length> + <entry_bounce_count>3</entry_bounce_count> + <exit_nb_visits>3</exit_nb_visits> + <sum_daily_nb_uniq_visitors>3</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>3</sum_daily_entry_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>3</sum_daily_exit_nb_uniq_visitors> + <avg_bandwidth>2687</avg_bandwidth> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>100%</exit_rate> + <avg_time_generation>0.001</avg_time_generation> + <url>http://piwik.net/</url> + <segment>pageUrl==http%253A%252F%252Fpiwik.net%252F</segment> + </row> + <row> <label>hello</label> - <nb_visits>4</nb_visits> + <nb_visits>3</nb_visits> <nb_hits>4</nb_hits> <sum_time_spent>0</sum_time_spent> <nb_hits_with_time_generation>4</nb_hits_with_time_generation> @@ -507,20 +535,20 @@ <nb_hits_with_bandwidth>0</nb_hits_with_bandwidth> <min_bandwidth /> <max_bandwidth /> - <entry_nb_visits>3</entry_nb_visits> + <entry_nb_visits>2</entry_nb_visits> <entry_nb_actions>4</entry_nb_actions> <entry_sum_visit_length>2</entry_sum_visit_length> - <entry_bounce_count>2</entry_bounce_count> - <exit_nb_visits>3</exit_nb_visits> + <entry_bounce_count>1</entry_bounce_count> + <exit_nb_visits>2</exit_nb_visits> <avg_bandwidth>0</avg_bandwidth> <avg_time_on_page>0</avg_time_on_page> - <bounce_rate>67%</bounce_rate> - <exit_rate>75%</exit_rate> + <bounce_rate>50%</bounce_rate> + <exit_rate>67%</exit_rate> <avg_time_generation>0.359</avg_time_generation> <segment>pageUrl=^http%253A%252F%252Fpiwik.net%252Fhello</segment> <subtable> <row> - <label>from</label> + <label>world</label> <nb_visits>2</nb_visits> <nb_hits>2</nb_hits> <sum_time_spent>0</sum_time_spent> @@ -531,20 +559,72 @@ <nb_hits_with_bandwidth>0</nb_hits_with_bandwidth> <min_bandwidth /> <max_bandwidth /> - <entry_nb_visits>2</entry_nb_visits> - <entry_nb_actions>3</entry_nb_actions> - <entry_sum_visit_length>2</entry_sum_visit_length> + <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>50%</bounce_rate> + <bounce_rate>100%</bounce_rate> <exit_rate>50%</exit_rate> <avg_time_generation>0.359</avg_time_generation> + <segment>pageUrl=^http%253A%252F%252Fpiwik.net%252Fhello%252Fworld</segment> + <subtable> + <row> + <label>/6,681965</label> + <nb_visits>2</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>0</sum_time_spent> + <nb_hits_with_time_generation>2</nb_hits_with_time_generation> + <min_time_generation>0.359</min_time_generation> + <max_time_generation>0.359</max_time_generation> + <sum_bandwidth>0</sum_bandwidth> + <nb_hits_with_bandwidth>0</nb_hits_with_bandwidth> + <min_bandwidth /> + <max_bandwidth /> + <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> + <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> + <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> + <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> + <avg_time_on_page>0</avg_time_on_page> + <bounce_rate>100%</bounce_rate> + <exit_rate>50%</exit_rate> + <avg_time_generation>0.359</avg_time_generation> + <url>http://hello.example.com/hello/world/6,681965</url> + <segment>pageUrl==http%253A%252F%252Fhello.example.com%252Fhello%252Fworld%252F6%252C681965</segment> + </row> + </subtable> + </row> + <row> + <label>from</label> + <nb_visits>1</nb_visits> + <nb_hits>2</nb_hits> + <sum_time_spent>0</sum_time_spent> + <nb_hits_with_time_generation>2</nb_hits_with_time_generation> + <min_time_generation>0.359</min_time_generation> + <max_time_generation>0.359</max_time_generation> + <sum_bandwidth>0</sum_bandwidth> + <nb_hits_with_bandwidth>0</nb_hits_with_bandwidth> + <min_bandwidth /> + <max_bandwidth /> + <entry_nb_visits>1</entry_nb_visits> + <entry_nb_actions>3</entry_nb_actions> + <entry_sum_visit_length>2</entry_sum_visit_length> + <entry_bounce_count>0</entry_bounce_count> + <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> + <avg_time_generation>0.359</avg_time_generation> <segment>pageUrl=^http%253A%252F%252Fpiwik.net%252Fhello%252Ffrom</segment> <subtable> <row> <label>another</label> - <nb_visits>2</nb_visits> + <nb_visits>1</nb_visits> <nb_hits>2</nb_hits> <sum_time_spent>0</sum_time_spent> <nb_hits_with_time_generation>2</nb_hits_with_time_generation> @@ -554,20 +634,20 @@ <nb_hits_with_bandwidth>0</nb_hits_with_bandwidth> <min_bandwidth /> <max_bandwidth /> - <entry_nb_visits>2</entry_nb_visits> + <entry_nb_visits>1</entry_nb_visits> <entry_nb_actions>3</entry_nb_actions> <entry_sum_visit_length>2</entry_sum_visit_length> - <entry_bounce_count>1</entry_bounce_count> + <entry_bounce_count>0</entry_bounce_count> <exit_nb_visits>1</exit_nb_visits> <avg_time_on_page>0</avg_time_on_page> - <bounce_rate>50%</bounce_rate> - <exit_rate>50%</exit_rate> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> <avg_time_generation>0.359</avg_time_generation> <segment>pageUrl=^http%253A%252F%252Fpiwik.net%252Fhello%252Ffrom%252Fanother</segment> <subtable> <row> <label>world</label> - <nb_visits>2</nb_visits> + <nb_visits>1</nb_visits> <nb_hits>2</nb_hits> <sum_time_spent>0</sum_time_spent> <nb_hits_with_time_generation>2</nb_hits_with_time_generation> @@ -577,20 +657,20 @@ <nb_hits_with_bandwidth>0</nb_hits_with_bandwidth> <min_bandwidth /> <max_bandwidth /> - <entry_nb_visits>2</entry_nb_visits> + <entry_nb_visits>1</entry_nb_visits> <entry_nb_actions>3</entry_nb_actions> <entry_sum_visit_length>2</entry_sum_visit_length> - <entry_bounce_count>1</entry_bounce_count> + <entry_bounce_count>0</entry_bounce_count> <exit_nb_visits>1</exit_nb_visits> <avg_time_on_page>0</avg_time_on_page> - <bounce_rate>50%</bounce_rate> - <exit_rate>50%</exit_rate> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> <avg_time_generation>0.359</avg_time_generation> <segment>pageUrl=^http%253A%252F%252Fpiwik.net%252Fhello%252Ffrom%252Fanother%252Fworld</segment> <subtable> <row> <label>/6,681965</label> - <nb_visits>2</nb_visits> + <nb_visits>1</nb_visits> <nb_hits>2</nb_hits> <sum_time_spent>0</sum_time_spent> <nb_hits_with_time_generation>2</nb_hits_with_time_generation> @@ -600,17 +680,17 @@ <nb_hits_with_bandwidth>0</nb_hits_with_bandwidth> <min_bandwidth /> <max_bandwidth /> - <entry_nb_visits>2</entry_nb_visits> + <entry_nb_visits>1</entry_nb_visits> <entry_nb_actions>3</entry_nb_actions> <entry_sum_visit_length>2</entry_sum_visit_length> - <entry_bounce_count>1</entry_bounce_count> + <entry_bounce_count>0</entry_bounce_count> <exit_nb_visits>1</exit_nb_visits> <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> <avg_time_on_page>0</avg_time_on_page> - <bounce_rate>50%</bounce_rate> - <exit_rate>50%</exit_rate> + <bounce_rate>0%</bounce_rate> + <exit_rate>100%</exit_rate> <avg_time_generation>0.359</avg_time_generation> <url>http://hello.example.com/hello/from/another/world/6,681965</url> <segment>pageUrl==http%253A%252F%252Fhello.example.com%252Fhello%252Ffrom%252Fanother%252Fworld%252F6%252C681965</segment> @@ -621,89 +701,9 @@ </row> </subtable> </row> - <row> - <label>world</label> - <nb_visits>2</nb_visits> - <nb_hits>2</nb_hits> - <sum_time_spent>0</sum_time_spent> - <nb_hits_with_time_generation>2</nb_hits_with_time_generation> - <min_time_generation>0.359</min_time_generation> - <max_time_generation>0.359</max_time_generation> - <sum_bandwidth>0</sum_bandwidth> - <nb_hits_with_bandwidth>0</nb_hits_with_bandwidth> - <min_bandwidth /> - <max_bandwidth /> - <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>2</exit_nb_visits> - <avg_time_on_page>0</avg_time_on_page> - <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> - <avg_time_generation>0.359</avg_time_generation> - <segment>pageUrl=^http%253A%252F%252Fpiwik.net%252Fhello%252Fworld</segment> - <subtable> - <row> - <label>/6,681965</label> - <nb_visits>2</nb_visits> - <nb_hits>2</nb_hits> - <sum_time_spent>0</sum_time_spent> - <nb_hits_with_time_generation>2</nb_hits_with_time_generation> - <min_time_generation>0.359</min_time_generation> - <max_time_generation>0.359</max_time_generation> - <sum_bandwidth>0</sum_bandwidth> - <nb_hits_with_bandwidth>0</nb_hits_with_bandwidth> - <min_bandwidth /> - <max_bandwidth /> - <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>2</exit_nb_visits> - <sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors> - <sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors> - <sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors> - <avg_time_on_page>0</avg_time_on_page> - <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> - <avg_time_generation>0.359</avg_time_generation> - <url>http://hello.example.com/hello/world/6,681965</url> - <segment>pageUrl==http%253A%252F%252Fhello.example.com%252Fhello%252Fworld%252F6%252C681965</segment> - </row> - </subtable> - </row> </subtable> </row> <row> - <label>/index</label> - <nb_visits>3</nb_visits> - <nb_hits>3</nb_hits> - <sum_time_spent>0</sum_time_spent> - <nb_hits_with_time_generation>1</nb_hits_with_time_generation> - <min_time_generation>0.001</min_time_generation> - <max_time_generation>0.001</max_time_generation> - <sum_bandwidth>8063</sum_bandwidth> - <nb_hits_with_bandwidth>3</nb_hits_with_bandwidth> - <min_bandwidth>8063</min_bandwidth> - <max_bandwidth>8063</max_bandwidth> - <entry_nb_visits>3</entry_nb_visits> - <entry_nb_actions>3</entry_nb_actions> - <entry_sum_visit_length>0</entry_sum_visit_length> - <entry_bounce_count>3</entry_bounce_count> - <exit_nb_visits>3</exit_nb_visits> - <sum_daily_nb_uniq_visitors>3</sum_daily_nb_uniq_visitors> - <sum_daily_entry_nb_uniq_visitors>3</sum_daily_entry_nb_uniq_visitors> - <sum_daily_exit_nb_uniq_visitors>3</sum_daily_exit_nb_uniq_visitors> - <avg_bandwidth>2687</avg_bandwidth> - <avg_time_on_page>0</avg_time_on_page> - <bounce_rate>100%</bounce_rate> - <exit_rate>100%</exit_rate> - <avg_time_generation>0.001</avg_time_generation> - <url>http://piwik.net/</url> - <segment>pageUrl==http%253A%252F%252Fpiwik.net%252F</segment> - </row> - <row> <label>Citrix</label> <nb_visits>2</nb_visits> <nb_hits>2</nb_hits> |