From Nektony: Memory Cleaner monitors your memory usage and cleans up your Mac's memory, increasing performance. The application monitors RAM usage on your computer and frees up. CleanMyPhone is a resourcefully simple and effective App to ensure that your iPhone, iPad or iPod touch are clean. Such cleaner Apps for iPhone & iPad comprises with useful tools like App Cleaner, Disk Manager, File and Folder remover, Large Files Finder, One-Click-Copy and way more. CleanMyPhone is one of the best iPhone cleaner Apps of 2020 and a must-have solution for all iOS device users. It is easy to use application, which you can use on almost all the Apple devices like, iPhone, iPad, and Mac. Smart Cleaner: Another free iPhone cleaner is Smart cleaner. The application is efficient enough to remove duplicate contacts, to analyze and clean disk space, to remove duplicate contacts etc.
Mac's don't need defragging as OS X automatically writes 2Gb or below sized files to one contiguous space on the drive. There are certain cases where's it's needed to free up a large spaces on the drive, but not something everyone has to do.
Free Apple Mac Cleaner Mac
Far as other Mac maintainence, there really isn't any except to backup one's files regularly. Keeping Software Updated and run a web browser check to make sure the plug-ins are current. Download ia writer 4 2.
For Safari and Flash, this check is more accurate
Mac File Cleaner
Most of those cleaning programs are junk, especially MacKeeper.
If your friend got onto your computer and visited a bunch of adult sites, then I would recommend something like OnyX, doing ALL the cleaning and maintenance aspects and rebooting, perhaps followed by a Disk Utility Erase free space.
CCleaner beta is out for OS X, used on PC's and combines cleaning and scrubbing of the drive if setup correctly.
If your interested in performance, read my post here