Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.71ms] Passed 4 tests
Analyzing server-side resources used by Future Revisions Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 38.00 ▼2.31 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.10 ▼2.84 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.63 ▼1.51 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.28 ▼4.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.97 ▼0.61 |
Future Revision Manager Settings /wp-admin/options-general.php?page=frm-setting-admin | 3.21 | 29.78 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Future Revisions Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.70 ▼0.61 | 1.75 ▼0.10 | 39.75 ▼6.81 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.04 | 96.27 ▼18.66 | 38.16 ▼6.91 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.01 | 34.18 ▼1.85 | 33.34 ▲1.39 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.12 ▲0.59 | 586.27 ▼105.66 | 55.45 ▼1.01 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.22 ▲0.02 | 96.79 ▼4.78 | 40.55 ▼1.68 |
Future Revision Manager Settings /wp-admin/options-general.php?page=frm-setting-admin | 943 | 2.20 | 24.91 | 30.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/future-revisions-manager/future-revisions-manager.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (The Settings page menu.), #2 (The Settings page interface.)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== future-revisions-manager ===
)
future-revisions-manager/future-revisions-manager.php Passed 13 tests
The main PHP script in "Future Revisions Manager" version 2.0 is automatically included on every request by WordPress
129 characters long description:
This plugin will help you to create a copy of published post to restrict the direct submit for posts/ pages/ any other post type.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected165 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 62 | 165 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin