Mylan Inc. ($MYL) released its earnings report for the second quarter of 2013, and the drug manufacturer slightly beat analyst expectations. While the company fell slightly below revenue expectations they posted higher earnings, and most signs pointed to a positive outlook for company going forward.

Following their earnings report, analysts were split on the outlook of the company. JP Morgan analyst Chris Schott said in a note, "We believe Mylan is a business capable of generating low double digit bottom line growth over the next several years, aided by a mix of bolt-on acquisitions and share repurchases.” Needham, however, on Aug 2 downgraded the company from a Strong Buy to a Buy, putting their price target at $40 a share. CRT Capital was more bearish, putting a $34 price target on the stock. Out of 14 analytical firms surveyed by NASDAQ, seven held a strong buy, Needham downgraded the stock to buy, and six companies had a hold.

The Cecil Township, Pa.-based company sells drugs in 150 countries, and has over 1,000 separate products. The last several years Mylan has focused on aggressively acquiring other drug companies and reinvestment. In 2007 Mylan acquired the generic wing of Merck & Co Inc (MRK) . In Feb. 2013, Mylan announced it would spend $1.6 billion to buy Agila Specialties, an injectable drugs unit, from India’s Strides Arcolab Ltd. Mylan's sales have more than tripled since 2007, and the company's stock is near its all-time high.

Mylan reported earnings of $178 million, or an adjusted $0.68 a share, versus the $133 million net income, or $0.33 per share, from the same period a year ago. Revenue for the quarter was $1.70 billion, as compared to $1.69 billion from the previous year. Analysts were expecting a profit of $0.67 per share on revenues of $1.73 billion.

The company's stock surged on the positive news. Mylan is up 6.8 percent to hit $36.29 a share. The stock is up 22.67 on the year.