Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin cannot be installed
- > Warning in wp-content/plugins/seo-multiposition/seo-multi-position.php+24
include(unlock.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.71MB] [CPU: ▼49.59ms] Passed 4 tests
An overview of server-side resources used by SEO Multi Position
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.28 ▼1.18 | 5.89 ▼36.21 |
Dashboard /wp-admin | 2.30 ▼1.01 | 8.06 ▼33.75 |
Posts /wp-admin/edit.php | 2.30 ▼1.06 | 7.91 ▼36.54 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.59 | 6.76 ▼91.87 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 7.03 ▼28.03 |
Server storage [IO: ▲0.12MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 33 new files
Database: 7 new tables, 7 new options
New tables |
---|
wp_seo_multi_position |
wp_seo_multi_position_list_utility |
wp_seo_multi_position_list |
wp_seo_multi_position_list_attr |
wp_seo_multi_position_list_municipal |
wp_seo_multi_position_list_brand |
wp_seo_multi_position_unlock_code |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_rsduplicatepagewidget |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
SEO Multi Position: 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,802 ▲67 | 13.58 ▼0.80 | 4.14 ▲2.49 | 38.99 ▼6.54 |
Dashboard /wp-admin | 2,205 ▲13 | 5.82 ▲0.87 | 94.73 ▼14.42 | 40.38 ▲0.31 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.00 ▲0.01 | 39.64 ▲3.56 | 34.90 ▲4.32 |
Add New Post /wp-admin/post-new.php | 1,516 ▼4 | 17.42 ▼5.71 | 655.39 ▼54.24 | 67.67 ▲16.23 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.17 ▼0.02 | 96.29 ▲1.42 | 43.35 ▲0.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/seo-multiposition/seo-multi-position.php+24
include(unlock.php): failed to open stream: No such file or directory
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_rsduplicatepagewidget
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means 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 take a closer look at the following
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/seo-multiposition/duplicate.php on line 4
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/seo-multiposition/metabox/meta/page-header.php on line 3
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/seo-multiposition/metabox/meta/page-header.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/seo-multiposition/metabox/meta/page-header.php:12
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/seo-multiposition/metabox/meta/page-header.php on line 3
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/seo-multiposition/duplicate.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/seo-multiposition/metabox/meta/page-header.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/seo-multiposition/seo-multi-position.php:15
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/seo-multiposition/metabox/meta/page-header.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-multiposition/core/base.php:265
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== seo-multiposition ===
)
seo-multiposition/seo-multi-position.php 77% from 13 tests
The main PHP file in "SEO Multi Position" ver. 2.3.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 547 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("seo-multiposition.php" instead of "seo-multi-position.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin2,180 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 310 | 137 | 2,159 |
CSS | 1 | 5 | 0 | 15 |
JavaScript | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 1.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 68 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plugin-FAQ.png | 9.19KB | 4.61KB | ▼ 49.88% |