Advance Auto Parts (AAP) - Get Report  was rising Wednesday after the company announced first-quarter results that topped analysts' expectations. 

The Raleigh, N.C.-based company reported earnings of $2.46 a share on revenue of $2.95 billion. Analysts were expecting the company to report earnings of $2.36 a share on revenue of $2.94 billion. 

The company expects to generate full-year revenue of between $9.65 billion and $9.8 billion. Analysts polled by FactSet forecast revenue of $9.78 billion for Advance Auto Parts. 

"We delivered our fourth consecutive quarter of increased top line sales and gross profit expansion," said Tom Greco, president and CEO. "Our free cash flow improved by nearly 20% as a result of our continued disciplined approach to cash management. The early progress against our strategic transformation agenda is becoming more evident throughout our culture and in our improving results."

The stock was up 4.8% to $169.07 in trading Wednesday.