Clayton Kershaw got his 10th win of the season Friday night and catcher A.J. Ellis said the Dodgers' left-hander was as dominating as he has been at any point this season.

Kershaw's assessment of his performance in the Dodgers' 5-2 victory over the Miami Marlins at Marlins Park was less flattering.

"It was kind of a battle," he said. "I didn't have good fastball command. I kind of broke all the cardinal rules you can't really break — walking leadoff guys, giving up runs when it should be a shutdown inning, giving up an early lead, stuff like that. But the team picked me up today."

Kershaw was particularly upset at his failure to complete seven innings. He pitched 6 1/3, holding the Marlins to two runs and three hits. He struck out seven.

Told of Kershaw's self-appraisal, Ellis said, "He's hard on himself. That's what makes Clayton great. He wants to be perfect every time. But I can tell you he was really good tonight."

Two batters into the bottom of the first inning, Kershaw served up a solo home run to Justin Ruggiano.

"Stupid," Kershaw mouthed to himself.

So who called the stupid pitch?

"I made the poor choice," Ellis said. "Then he made the poor choice of not shaking me off."

Jokingly, Ellis continued, "I was testing him to see if he was smart enough to not throw that pitch. He failed."

But Kershaw retired the next 14 batters he faced.

"I kind of got into a groove there in the middle innings," Kershaw said. "I think I started mixing everything in there. I was kind of going with everything. I got some quick outs. I was really trying to pound the strike zone."