Annual report pursuant to Section 13 and 15(d)

Net Income (Loss) Per Share (Tables)

v3.8.0.1
Net Income (Loss) Per Share (Tables)
12 Months Ended
Dec. 31, 2017
Earnings Per Share [Abstract]  
Calculation of Basic and Diluted Net Income (Loss) Per Share
The following table presents the calculation of basic and diluted net income (loss) per share attributable to common stockholders:
 
 
Year Ended December 31,
 
 
2017
 
2016
 
2015
 
 
(in thousands, except per share amounts)
Numerator:
 
 
 
 
 
 
Net income (loss)
 
$
377

 
$
16,650

 
$
(9,218
)
Denominator:
 
 
 
 
 
 
Basic:
 
 
 
 
 
 
Weighted average shares used in computing basic net income (loss) per share:
 
79,433

 
76,854

 
76,689

Diluted:
 
 
 
 
 
 
Weighted average shares used in computing basic net income (loss) per share:
 
79,433

 
76,854

 
76,689

Add weighted average effect of dilutive securities:
 
 
 
 
 
 
Stock options and restricted stock
 
2,884

 
989

 

Convertible Notes
 
81

 

 

Weighted average shares used in computing diluted net income (loss) per share:
 
82,398

 
77,843

 
76,689

Net income (loss) per share attributable to common stockholders:
 
 
 
 
 
 
Basic
 
$
0.00

 
$
0.22

 
$
(0.12
)
Diluted
 
$
0.00

 
$
0.21

 
$
(0.12
)