Skip to content

Sessions stats calculation #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 15, 2016
Merged

Sessions stats calculation #20

merged 9 commits into from
Feb 15, 2016

Conversation

smecsia
Copy link
Member

@smecsia smecsia commented Jan 19, 2016

This PR includes all changes from #19 and provides the ability to implement custom implementations of StatsCounter with any data structure.

innokenty added 7 commits December 9, 2015 19:52
@@ -116,7 +117,7 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)

String target = route + request.getRequestURI();
HttpResponse hubResponse = client.execute(post(target, message));
JsonMessage hubMessage = JsonMessageFactory.from(hubResponse.getEntity().getContent());
hubMessage = JsonMessageFactory.from(hubResponse.getEntity().getContent());

if (hubResponse.getStatusLine().getStatusCode() == SC_OK) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Refactor this code to not nest more than 3 if/for/while/switch/try statements. rule

@qatools-ci
Copy link
Contributor

SonarQube analysis reported 2 issues:

  • MAJOR 2 major

Watch the comments in this conversation to review them.

smecsia added a commit that referenced this pull request Feb 15, 2016
Sessions stats calculation
@smecsia smecsia merged commit 6cb77de into seleniumkit:master Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants