NEW YORK (TheStreet) -- Apple (AAPL - Get Report) was gaining 7.3% to $562.11 in after-hours trading Wednesday after beating analysts' estimates for earnings and revenue in the second quarter, selling more iPhones that expected and announcing a 7-for-1 stock split.

Read more about Apple's second quarter in the Apple Q2 Earnings Live Blog.

The iPhone maker reported earnings of$11.62 a share in the second quarter, beating analysts' expectations of $10.18 a share by $1.44. Revenue came in at $45.65 billion, above the company's guidance of $42 billion to $44 billion. Analysts surveyed by Thomson Reuters expected revenue of $43.53 billion for the quarter.

Apple sold 43.7 million iPhones, 16.35 million iPads, and 4.1 million Macs in the quarter. Analysts expected the company to sell 38 million iPhones, 19.3 million iPads, and 4 million Macs.

Apple also announced a 7-for-1 stock split beginning on June 2, 2014.

Must read: Warren Buffett's 10 Favorite Growth Stocks

SELL NOW: If you own any of the 900 stocks that TheStreet Quant Ratings has identified as a 'Sell'...you could potentially lose EVERYTHING in the next 6-12 months. Learn more.

TheStreet Ratings team rates APPLE INC as a Buy with a ratings score of B+. TheStreet Ratings Team has this to say about their recommendation:

"We rate APPLE INC (AAPL) a BUY. This is driven by several positive factors, which we believe should have a greater impact than any weaknesses, and should give investors a better performance opportunity than most stocks we cover. The company's strengths can be seen in multiple areas, such as its revenue growth, largely solid financial position with reasonable debt levels by most measures, solid stock price performance, expanding profit margins and growth in earnings per share. We feel these strengths outweigh the fact that the company has had sub par growth in net income."

Highlights from the analysis by TheStreet Ratings Team goes as follows:

  • AAPL's revenue growth has slightly outpaced the industry average of 4.7%. Since the same quarter one year prior, revenues slightly increased by 5.7%. Growth in the company's revenue appears to have helped boost the earnings per share.
  • Although AAPL's debt-to-equity ratio of 0.13 is very low, it is currently higher than that of the industry average. Along with the favorable debt-to-equity ratio, the company maintains an adequate quick ratio of 1.23, which illustrates the ability to avoid short-term cash problems.
  • The stock has risen over the past year as investors have generally rewarded the company for its earnings growth and other positive factors like the ones we have cited in this report. Turning our attention to the future direction of the stock, it goes without saying that even the best stocks can fall in an overall down market. However, in any other environment, this stock still has good upside potential despite the fact that it has already risen in the past year.
  • 41.65% is the gross profit margin for APPLE INC which we consider to be strong. It has increased from the same quarter the previous year. Along with this, the net profit margin of 22.69% is above that of the industry average.
  • APPLE INC's earnings per share improvement from the most recent quarter was slightly positive. This company has reported somewhat volatile earnings recently. But, we feel it is poised for EPS growth in the coming year. During the past fiscal year, APPLE INC reported lower earnings of $39.63 versus $44.16 in the prior year. This year, the market expects an improvement in earnings ($42.74 versus $39.63).
  • You can view the full analysis from the report here: AAPL Ratings Report

STOCKS TO BUY: TheStreet's Stocks Under $10 has identified a handful of stocks that can potentially TRIPLE in the next 12-months. Learn more.