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-10-21 Branches: 1 2 50.0 %

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