XML 29 R17.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Income (Loss) Per Share
3 Months Ended
Sep. 30, 2017
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share

11.

Net Income (Loss) Per Share

Basic earnings per share is calculated by dividing net earnings by the weighted average number of common shares outstanding during the period. Dilutive earnings per share is calculated by dividing net earnings by the weighted average number of common shares used in the basic earnings per share calculation plus the dilutive effect of shares subject to repurchase, options, warrants and unvested restricted stock units.

The following table presents the calculation of net income (loss) per share of basic and diluted (in thousands, except per share data):

 

 

 

Three Months Ended

 

 

 

September 30,

2017

 

 

September 30,

2016

 

 

 

 

 

 

 

(As adjusted)

 

Net income (loss)

 

$

4,376

 

 

$

(5,742

)

 

 

 

 

 

 

 

 

 

Weighted-average shares used in per share - basic calculation

 

 

112,241

 

 

 

105,955

 

Effect of potentially dilutive shares:

 

 

 

 

 

 

 

 

Options to purchase common stock

 

 

1,760

 

 

 

 

Restricted stock units

 

 

4,007

 

 

 

 

Employee Stock Purchase Plan shares

 

 

423

 

 

 

 

Weighted-average shares used in per share - diluted calculation

 

 

118,431

 

 

 

105,955

 

Net income (loss) per share:

 

 

 

 

 

 

 

 

Basic

 

$

0.04

 

 

$

(0.05

)

Diluted

 

$

0.04

 

 

$

(0.05

)

 

The following securities were excluded from the computation of net income (loss) per diluted share of common stock for the periods presented as their effect would have been anti-dilutive (in thousands):

 

 

 

Three Months Ended

 

 

 

September 30,

2017

 

 

September 30,

2016

 

Options to purchase common stock

 

 

 

 

 

3,715

 

Restricted stock units

 

 

496

 

 

 

1,635

 

Employee Stock Purchase Plan shares

 

 

204

 

 

 

201

 

Total shares excluded

 

 

700

 

 

 

5,551