Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.93MB] [CPU: ▼30.22ms] Passed 4 tests
Server-side resources used by WordPress SEO Locations
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.68 ▲5.49 |
Dashboard /wp-admin | 3.02 ▼0.29 | 22.69 ▼30.14 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 23.40 ▼22.10 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 31.88 ▼54.88 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 21.00 ▼13.77 |
All Locations /wp-admin/edit.php?post_type=locations | 3.02 | 28.54 |
Add New /wp-admin/post-new.php?post_type=locations | 3.02 | 24.47 |
Locations /wp-admin/options-general.php?page=wp-seo-locations/options.php | 3.02 | 23.77 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 12 new options
New WordPress options |
---|
db_upgraded |
wpseol_pin_color |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
wpseol_map_type |
wpseol_map_height |
widget_recent-posts |
wpseol_map_width |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress SEO Locations
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 13.26 ▼1.19 | 5.89 ▲4.19 | 43.92 ▲0.68 |
Dashboard /wp-admin | 2,234 ▲43 | 5.81 ▲0.88 | 112.66 ▲8.59 | 41.23 ▼0.18 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.00 ▼0.02 | 34.23 ▼5.10 | 35.84 ▼3.69 |
Add New Post /wp-admin/post-new.php | 1,560 ▲27 | 22.93 ▼0.45 | 639.96 ▼18.44 | 56.37 ▲4.01 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.17 ▼0.05 | 104.55 ▲0.03 | 46.98 ▲5.02 |
All Locations /wp-admin/edit.php?post_type=locations | 1,081 | 1.93 | 35.42 | 31.34 |
Add New /wp-admin/post-new.php?post_type=locations | 1,572 | 2.51 | 49.80 | 53.20 |
Locations /wp-admin/options-general.php?page=wp-seo-locations/options.php | 1,108 | 2.14 | 24.46 | 24.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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=wp-seo-locations/options.php
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 0% 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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-seo-locations/wp-seo-locations.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-seo-locations/options.php:118
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: location, google, seo, address, map...
wp-seo-locations/wp-seo-locations.php 92% from 13 tests
The primary PHP file in "WordPress SEO Locations" version 0.1.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 155 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
There were no executable files found in this plugin533 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 43 | 47 | 388 |
Markdown | 1 | 54 | 0 | 145 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 3.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 1 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 50.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
3 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/matmon_logo.png | 2.72KB | 1.73KB | ▼ 36.56% |
images/settings.png | 50.21KB | 20.59KB | ▼ 58.99% |
images/edit_location.png | 41.68KB | 18.20KB | ▼ 56.33% |