Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-seo-supercharger/wp_seo_supercharger.php+528
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.05MB] [CPU: ▼7.67ms] Passed 4 tests
Analyzing server-side resources used by WP SEO Supercharger
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▼0.53 | 17.87 ▼20.76 |
Dashboard /wp-admin | 3.41 ▲0.11 | 48.86 ▼1.63 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 49.02 ▼3.00 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 93.08 ▼4.16 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.96 ▼2.77 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
WPSEOSupercharger |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP SEO Supercharger
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.35 ▲0.00 | 1.78 ▼0.03 | 42.79 ▲0.98 |
Dashboard /wp-admin | 2,208 ▲37 | 5.50 ▼0.11 | 83.35 ▼14.37 | 39.80 ▼1.71 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.99 ▲0.04 | 39.32 ▲0.23 | 36.18 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.17 ▲0.06 | 680.17 ▼51.05 | 55.92 ▲2.64 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.17 ▲0.01 | 95.46 ▼17.91 | 46.44 ▼5.63 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- WPSEOSupercharger
- widget_theysaidso_widget
- widget_recent-posts
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)
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
- 5× 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-supercharger/wp_seo_supercharger.php:23
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-seo-supercharger/wp_seo_supercharger.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/wp-seo-supercharger/wp_seo_supercharger_settings_page.php:2
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-seo-supercharger/wp_seo_supercharger.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-seo-supercharger/wp_seo_supercharger.php:23
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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: Please add images for these screenshots: #1 (How it works), #2 (General Settings), #3 (Post Settings)
wp-seo-supercharger/index.php 92% from 13 tests
The main PHP script in "WP SEO Supercharger" version 0.3 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-seo-supercharger.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected902 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 248 | 10 | 620 |
CSS | 1 | 23 | 72 | 250 |
JavaScript | 1 | 5 | 0 | 22 |
Markdown | 1 | 4 | 0 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 101.00 |
▷ Minimum class complexity | 101.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 51 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 51 | 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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
19 PNG files occupy 0.21MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/images/request.png | 2.18KB | 1.71KB | ▼ 21.36% |
static/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
screenshot-1.png | 83.67KB | 33.68KB | ▼ 59.75% |
static/images/ui-icons_ffffff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
static/images/ui-icons_0073ea_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |