Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.24 | 35.49 ▲8.44 |
Dashboard /wp-admin | 3.21 ▲0.15 | 47.43 ▼5.85 |
Posts /wp-admin/edit.php | 3.32 ▲0.21 | 47.16 ▲6.39 |
Add New Post /wp-admin/post-new.php | 4.79 ▼0.64 | 61.67 ▼610.36 |
Media Library /wp-admin/upload.php | 3.15 ▲0.15 | 34.26 ▼2.71 |
Revision Settings /wp-admin/options-general.php?page=tmx-revision-master | 3.10 | 28.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,694 ▲122 | 15.95 ▲0.38 | 9.65 ▼4.65 | 51.44 ▼3.72 |
Dashboard /wp-admin | 2,972 ▲41 | 5.95 ▲0.00 | 146.30 ▼16.98 | 109.10 ▼18.80 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 71.83 ▲4.62 | 83.87 ▼9.03 |
Add New Post /wp-admin/post-new.php | 1,686 ▲71 | 18.30 ▼3.06 | 412.63 ▲114.25 | 114.31 ▲13.71 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▲0.01 | 171.38 ▲16.71 | 107.35 ▼15.56 |
Revision Settings /wp-admin/options-general.php?page=tmx-revision-master | 1,142 | 2.10 | 57.20 | 83.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
Optimizations
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: ""
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 102 | 306 | 559 |
JavaScript | 2 | 8 | 4 | 78 |
CSS | 1 | 3 | 0 | 16 |
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 code | 0.38 |
Average class complexity | 16.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 3 | 8.11% |
▷ Public methods | 33 | 89.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.81% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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