The generate-reports.sh
script generates various reports on a Magento installation that are useful as foundation for a shop audit.
Copy the files of this repository into a Magento installation (Using a development environment and not the live system is strongly recommended):
wget https://github.com/schmengler/magento-audit/tarball/master -O - | tar -xz
Run the script:
./generate-reports.sh
Warning: The script will download a clean Magento source from the Magento website to run comparisons and some addons for n98-magerun and phpcs from Github, all to the user's home directory.
When it's done, you will find the results in var/audit
:
modules.csv
: List of all modules and their status (active or inactive)module-updates-from-connect.csv
: List of extensions that have been installed via Magento Connect and can be updatedsysinfo.csv
: General information about the Magento instancecodepooloverrides.html
: Overridden core classes inapp/code/local
corehacks.html
: Modified core filesrewrites.csv
: List of all class rewritesrewrite-conflicts.xml
: Conflicting class rewritesphpcs.csv
: Report from code sniffer about coding standard violations and possible problems
MIT
- Christian Münch for n98-magerun
- Kalen Jordan for his magerun-addons
- Fabrizio Branca for the Magento Project Mess Detector
- The Magento ECG for their Magento Code Sniffer