XML 41 R8.htm IDEA: XBRL DOCUMENT v2.4.0.8
Net income (loss) per share
3 Months Ended
Sep. 30, 2014
Earnings Per Share [Abstract]  
Net income (loss) per share
Net income (loss) per share
Basic net income (loss) per share is calculated by dividing net income (loss) by the weighted-average number of common shares outstanding for the period. Diluted net income (loss) per share is computed by dividing net income (loss) by the weighted-average number of common shares outstanding for the period, including potential dilutive common shares assuming the dilutive effect of outstanding stock options, restricted stock units and restricted common stock using the treasury-stock method.
The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share amounts):
 
 
 
Three Months Ended
 
 
September 30,
 
 
2014
 
2013
Net income (loss)
 
$
(7,937
)
 
$
9

Shares used in computing net income (loss) per share:
 
 
 
 
Basic:
 
 
 
 
Weighted average common shares used in computing basic net income (loss) per share
 
39,538

 
38,811

Diluted:
 
 
 
 
Weighted average common shares used in computing basic net income (loss) per share
 
39,538

 
38,811

Add weighted average effect of dilutive securities:
 
 
 
 
Stock options
 
—

 
1,205

Restricted common stock and restricted stock units
 
—

 
199

Weighted average common shares used in computing diluted net income (loss) per share
 
39,538

 
40,215

Net income (loss) per share:
 
 
 
 
Basic
 
$
(0.20
)
 
$
—

Diluted
 
$
(0.20
)
 
$
—



The following outstanding shares were excluded from the computation of diluted net income (loss) per share for the periods presented because including them would have had an antidilutive effect (in thousands):


 
 
Three Months Ended
 
 
September 30,
 
 
2014
 
2013
Stock options
 
5,676

 
4,587

Restricted common stock and restricted stock units
 
4,537

 
735

Total
 
10,213

 
5,322