DETROIT ? Computer software and services company Compuware Corp. said its second-quarter profit rose 3 percent, in line with earlier predictions that triggered a slight rise in the company’s common stock.

Quarterly earnings rose to $24.8 million, or 7 cents per share, from $24.2 million, or 6 cents per share during the same period last year, helped by an increase in maintenance fees.

Compuware?s financials matched analysts’ average estimate of 7 cents per share, according to a Thomson Financial poll.

Revenue for the quarter fell 1 percent to $288.5 million, from $292.6 million in the year-ago quarter. Analysts were looking for $292.2 million in revenue.

Maintenance fees rose 4 percent to $115.1 million, and professional services fees dipped 1 percent to $116.7 million. License fees brought in $56.7 million in the quarter, down 11 percent from a year ago.

Shares of Compuware rose to above $8 a share in trading Tuesday, after tumbling nearly 50 cents a share in after hours trading Friday night.