GCC Code Coverage Report
Directory: ../ Exec Total Coverage
File: /home/iojs/build/workspace/node-test-commit-linux-coverage/nodes/benchmark/out/../src/connect_wrap.cc Lines: 7 7 100.0 %
Date: 2017-11-19 Branches: 1 2 50.0 %

Line Branch Exec Source
1
#include "connect_wrap.h"
2
3
#include "env-inl.h"
4
#include "req_wrap-inl.h"
5
#include "util-inl.h"
6
7
namespace node {
8
9
using v8::Local;
10
using v8::Object;
11
12
13
2491
ConnectWrap::ConnectWrap(Environment* env,
14
    Local<Object> req_wrap_obj,
15
2491
    AsyncWrap::ProviderType provider) : ReqWrap(env, req_wrap_obj, provider) {
16
2491
  Wrap(req_wrap_obj, this);
17
2491
}
18
19
20
7473
ConnectWrap::~ConnectWrap() {
21
2491
  ClearWrap(object());
22
4982
}
23
24
}  // namespace node