94% wp-revision-master

Code Review | WP Revision Master

WordPress plugin WP Revision Master scored 94% from 54 tests.

About plugin

  • Plugin page: wp-revision-master
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-4.7.2
  • WordPress version: 5.8.1
  • First release: Mar 2, 2017
  • Latest release: Mar 14, 2017
  • Number of updates: 9
  • Update frequency: every 1.1 days
  • Top authors: leonis (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

1,000+ active / 5,115 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.03MB] [CPU: ▼153.13ms] Passed 4 tests

Analyzing server-side resources used by WP Revision Master
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.96 ▲0.2435.49 ▲8.44
Dashboard /wp-admin3.21 ▲0.1547.43 ▼5.85
Posts /wp-admin/edit.php3.32 ▲0.2147.16 ▲6.39
Add New Post /wp-admin/post-new.php4.79 ▼0.6461.67 ▼610.36
Media Library /wp-admin/upload.php3.15 ▲0.1534.26 ▼2.71
Revision Settings /wp-admin/options-general.php?page=tmx-revision-master3.1028.74

Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by WP Revision Master
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,694 ▲12215.95 ▲0.389.65 ▼4.6551.44 ▼3.72
Dashboard /wp-admin2,972 ▲415.95 ▲0.00146.30 ▼16.98109.10 ▼18.80
Posts /wp-admin/edit.php2,744 ▲52.72 ▲0.0071.83 ▲4.6283.87 ▼9.03
Add New Post /wp-admin/post-new.php1,686 ▲7118.30 ▼3.06412.63 ▲114.25114.31 ▲13.71
Media Library /wp-admin/upload.php1,812 ▲55.02 ▲0.01171.38 ▲16.71107.35 ▼15.56
Revision Settings /wp-admin/options-general.php?page=tmx-revision-master1,1422.1057.2083.92

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tmx-revision-master
    • > Notice in wp-content/plugins/wp-revision-master/Themeaxe/class.RevisionAdmin.php+135
    Trying to access array offset on value of type bool

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Donate link: Please fix this invalid url: ""
The official readme.txt might help

wp-revision-master/wp-revision-master.php Passed 13 tests

The primary PHP file in "WP Revision Master" version 1.0.2 is used by WordPress to initiate all plugin functionality
35 characters long description:
Controls post revision in WordPress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin653 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity16.75
▷ Minimum class complexity1.00
▷ Maximum class complexity50.00
Average method complexity2.70
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
▷ Static methods38.11%
▷ Public methods3389.19%
▷ Protected methods00.00%
▷ Private methods410.81%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin