The record 17-time Grand Slam singles champion spoke out at the ATP and WTA Miami Open, where he ends an eight-week knee injury layoff today.
Third-ranked Federer believes there should be more consistency in the hunt for dope cheats, saying he gets tested more in his homeland than anywhere else.
"I've been in Dubai for 10 years now and been tested once. That's not OK for me," the 34-year-old Swiss said yesterday.
"Tennis is doing a lot better than it has in the past. We're getting more professional. The program is getting bigger and stronger," he added.
Also Read
Stunned about Sharapova
"It was very disappointing news to say the least," Federer said.
"Clearly, I was very surprised. I thought she was going to announce retirement or something. But, it also shows that famous players can get caught in the system that seems to be working."
Sharapova said, she did not check updated lists to see what changes were made to the banned list for 2016.
Federer said, he tends to give fellow players the benefit of doubt, but is skeptical when those who test positive plead ignorance or accident.
Federer said, he would like to see more to combat dope
cheats, including keeping blood samples on players from every event for 10 years so updated testing methods can be used to detect violations many years later.
"You could be punished retroactively," said Federer. "I'm a big believer in that."
Controversial comments by top-ranked Novak Djokovic and now-resigned Indian Wells tournament director Raymond Moore regarding women's tennis and equal pay with the men were not echoed by Federer.
"I'm all for equal prize money. When I was fighting for prize money increases, especially at the Slam level, I was always very aware of the fact that it would impact the women's game," he said. "I'm happy tennis has produced some of the greatest female athletes in the world."
Federer also recalled the terrorist attacks in Paris when speaking of the recent ones in Belgium and the extra stress they add for global-traveling athletes.
One place Federer is excited to visit for the first time is Rio de Janeiro for the Olympics in August.
"Olympic Games is massively important for me," Federer said. "I think it's going to have a very special flair, a unique flair."
Federer collected a silver medal in singles at the 2012 London Olympics and gold in doubles in 2008 alongside Stan Wawrinka.