Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▼2.95ms] Passed 4 tests
A check of server-side resources used by Revisionize
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 48.35 ▲7.63 |
Dashboard /wp-admin | 3.60 ▲0.30 | 53.35 ▼0.14 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 50.87 ▲3.11 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 89.50 ▼18.42 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 37.88 ▲3.66 |
Revisionize /wp-admin/options-general.php?page=revisionize | 3.43 | 39.98 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
revisionize_settings |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Revisionize: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲120 | 13.19 ▼1.19 | 2.16 ▼0.06 | 46.18 ▲4.20 |
Dashboard /wp-admin | 2,230 ▲42 | 4.86 ▼0.10 | 112.34 ▼5.89 | 42.55 ▼1.38 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.01 ▼0.13 | 34.54 ▼4.76 | 35.37 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 23.45 ▲5.88 | 666.66 ▲45.06 | 52.87 ▼7.86 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.18 ▼0.20 | 106.96 ▲10.60 | 46.30 ▲4.24 |
Revisionize /wp-admin/options-general.php?page=revisionize | 896 | 2.02 | 25.50 | 36.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- revisionize_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function Revisionize\\plugin_basename() in wp-content/plugins/revisionize/revisionize.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function Revisionize\\add_action() in wp-content/plugins/revisionize/settings.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: cron, stage, staging, schedule, publishing...
revisionize/revisionize.php 92% from 13 tests
The entry point to "Revisionize" version 2.3.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin901 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 209 | 81 | 901 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 1 | 100.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 2 | 25.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 88 | |
▷ Named functions | 87 | 98.86% |
▷ Anonymous functions | 1 | 1.14% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected