The following
table presents the calculation of basic and diluted net income per
share attributable to common stockholders:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Year Ended
December 31, |
|
|
|
2012 |
|
|
2011 |
|
|
2010 |
|
|
|
(in thousands, except per share amounts) |
|
Numerator:
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income
(loss)
|
|
$ |
5,183 |
|
|
$ |
(1,231 |
) |
|
$ |
67 |
|
8% cumulative dividends on
participating preferred stock
|
|
|
— |
|
|
|
— |
|
|
|
(2,944 |
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income (loss)
attributable to common stockholders — basic and
diluted
|
|
$ |
5,183 |
|
|
$ |
(1,231 |
) |
|
$ |
(2,877 |
) |
Denominator:
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic:
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted average common
shares used in computing basic net income (loss) per
share
|
|
|
71,838 |
|
|
|
68,480 |
|
|
|
39,737 |
|
Diluted:
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted average common
shares used in computing basic net income (loss) per
share
|
|
|
71,838 |
|
|
|
68,480 |
|
|
|
39,737 |
|
Add weighted average effect
of dilutive securities:
|
|
|
|
|
|
|
|
|
|
|
|
|
Stock options and
restricted stock
|
|
|
2,164 |
|
|
|
— |
|
|
|
— |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted average common
shares used in computing diluted net income (loss) per
share
|
|
|
74,002 |
|
|
|
68,480 |
|
|
|
39,737 |
|
Net income (loss) per
common share:
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic
|
|
$ |
0.07 |
|
|
$ |
(0.02 |
) |
|
$ |
(0.07 |
) |
Diluted
|
|
$ |
0.07 |
|
|
$ |
(0.02 |
) |
|
$ |
(0.07 |
) |
|