Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.98ms] Passed 4 tests
An overview of server-side resources used by On-Page and Post SEO
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 46.25 ▲6.18 |
Dashboard /wp-admin | 3.42 ▲0.08 | 49.86 ▼18.27 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 44.91 ▼6.80 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 99.19 ▼8.82 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 42.17 ▲5.98 |
SEO Check /wp-admin/admin.php?page=wtb_seo_settings | 3.22 | 32.32 |
OnPage Post SEO /wp-admin/admin.php?page=onpage-post-seo-settings | 3.29 | 33.75 |
SEO Premium /wp-admin/admin.php?page=onpage-post-seo-premium | 3.27 | 34.37 |
Keyword Tool /wp-admin/admin.php?page=wp_keyword_tools_settings | 3.26 | 33.52 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by On-Page and Post SEO
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲187 | 13.69 ▼0.71 | 1.68 ▲0.07 | 41.23 ▼2.41 |
Dashboard /wp-admin | 2,327 ▲126 | 5.91 ▲1.00 | 104.16 ▼10.03 | 75.26 ▲32.90 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.02 ▲0.01 | 38.17 ▲2.69 | 37.21 ▲0.65 |
Add New Post /wp-admin/post-new.php | 6,675 ▲5,144 | 28.96 ▲5.97 | 979.66 ▲307.04 | 92.82 ▲33.80 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.23 ▲0.02 | 109.09 ▲6.66 | 51.66 ▲6.71 |
SEO Check /wp-admin/admin.php?page=wtb_seo_settings | 1,098 | 2.06 | 23.29 | 34.95 |
OnPage Post SEO /wp-admin/admin.php?page=onpage-post-seo-settings | 881 | 2.18 | 27.35 | 42.84 |
SEO Premium /wp-admin/admin.php?page=onpage-post-seo-premium | 827 | 2.22 | 23.54 | 27.70 |
Keyword Tool /wp-admin/admin.php?page=wp_keyword_tools_settings | 2,384 | 2.14 | 29.04 | 42.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=wtb_seo_settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=wtb_seo_settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/on-page-and-post-seo/onpage-post-seo-premium-options.php
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/on-page-and-post-seo/widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/on-page-and-post-seo/views/general.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/on-page-and-post-seo/views/box_header.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/on-page-and-post-seo/onpage-post-primary-options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/on-page-and-post-seo/views/section.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/on-page-and-post-seo/ptranslation.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/on-page-and-post-seo/wp-onpage-post-seo.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/on-page-and-post-seo/wp_keyword_ajax.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% 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 require attention:
- Screenshots: Add descriptions for screenshots #2, #3, #4 in on-page-and-post-seo/assets to your readme.txt
on-page-and-post-seo/wp-onpage-post-seo.php 85% from 13 tests
Analyzing the main PHP file in "On-Page and Post SEO" version 1.0
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 188 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("on-page-and-post-seo.php" instead of "wp-onpage-post-seo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin72 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 3 | 0 | 53 |
CSS | 6 | 0 | 0 | 6 |
JavaScript | 6 | 0 | 1 | 5 |
INI | 2 | 0 | 0 | 4 |
XML | 4 | 0 | 0 | 4 |
PO File | 2 | 0 | 2 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 51.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 151 | |
▷ Static methods | 4 | 2.65% |
▷ Public methods | 120 | 79.47% |
▷ Protected methods | 26 | 17.22% |
▷ Private methods | 5 | 3.31% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.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
25 PNG files occupy 0.32MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 28.86KB | 11.58KB | ▼ 59.86% |
images/widget/help.png | 7.43KB | 3.13KB | ▼ 57.85% |
assets/icon-128x128.png | 12.47KB | 5.15KB | ▼ 58.69% |
img/keyword-suggestion-tool-list.png | 10.96KB | 5.32KB | ▼ 51.41% |
assets/img/refresh.png | 1.19KB | 0.46KB | ▼ 61.36% |