Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.39ms] Passed 4 tests
This is a short check of server-side resources used by WP Post Corrector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.27 ▲0.53 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.15 ▲0.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.36 ▲0.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.02 ▼13.07 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.52 ▼1.27 |
WP Correct /wp-admin/tools.php?page=export | 3.20 | 29.23 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Post Corrector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.22 ▼1.13 | 1.81 ▼0.00 | 42.87 ▲0.05 |
Dashboard /wp-admin | 2,204 ▲19 | 5.81 ▼0.08 | 104.89 ▲2.65 | 36.73 ▼4.10 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.02 | 41.04 ▲2.67 | 36.16 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,538 ▲8 | 23.53 ▲0.30 | 654.50 ▲3.26 | 59.82 ▲8.50 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.38 ▲0.12 | 96.25 ▼5.20 | 43.55 ▼0.76 |
WP Correct /wp-admin/tools.php?page=export | 960 | 2.03 | 26.02 | 43.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
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 everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 20× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined index: uemsg in wp-content/plugins/wp-post-corrector/messages.php on line 27
- > PHP Notice
Undefined index: uemsg in wp-content/plugins/wp-post-corrector/messages.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-post-corrector/export/form.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-post-corrector/wp_export.php:22
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-post-corrector/update/bulk_update.php on line 2
- > PHP Notice
Undefined index: backup in wp-content/plugins/wp-post-corrector/export/admin_export.php on line 3
- > PHP Notice
Undefined index: emsg in wp-content/plugins/wp-post-corrector/messages.php on line 8
- > PHP Notice
Undefined index: emsg in wp-content/plugins/wp-post-corrector/messages.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-post-corrector/update/form.php:2
- > PHP Notice
Undefined index: msg in wp-content/plugins/wp-post-corrector/upload/form.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Screenshot #2 (screen 02) image missing
wp-post-corrector/wp_export.php 85% from 13 tests
"WP Post Corrector" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-post-corrector.php" instead of "wp_export.php")
- Description: Keep the plugin description shorter than 140 characters (currently 384 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,608 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 75 | 28 | 1,608 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin