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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▲9.82ms] Passed 4 tests
Analyzing server-side resources used by WordPress On Page SEO
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.22 ▲3.95 |
Dashboard /wp-admin | 3.51 ▲0.20 | 68.12 ▲20.46 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 78.60 ▲28.78 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 96.96 ▲12.11 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 37.68 ▲2.74 |
Options /wp-admin/admin.php?page=OnPageSeo-options | 3.74 | 64.82 |
Admin /wp-admin/admin.php?page=OnPageSeo | 3.31 | 64.39 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 158 new files
Database: no new tables, 13 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
ops_announcement_cache |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
ops_orderby |
widget_recent-comments |
ops_posts_per_page |
ops_post_type |
... |
Browser metrics Passed 4 tests
WordPress On Page SEO: 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,826 ▲80 | 13.56 ▼1.11 | 1.75 ▲0.04 | 37.58 ▼6.21 |
Dashboard /wp-admin | 2,220 ▲29 | 5.85 ▼0.03 | 108.09 ▲2.94 | 75.59 ▲32.82 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 1.98 ▲0.01 | 36.77 ▼3.29 | 35.69 ▼2.41 |
Add New Post /wp-admin/post-new.php | 6,893 ▲5,370 | 19.07 ▼4.27 | 976.49 ▲308.23 | 56.65 ▲0.81 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.11 ▼0.12 | 97.08 ▼6.13 | 71.08 ▲26.26 |
Options /wp-admin/admin.php?page=OnPageSeo-options | 1,779 | 1.89 | 31.14 | 36.06 |
Admin /wp-admin/admin.php?page=OnPageSeo | 1,827 | 1.78 | 25.27 | 40.49 |
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
- The uninstall procedure has failed, leaving 13 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- ops_posts_per_page
- db_upgraded
- can_compress_scripts
- ops_extra_content_mode-mass
- ops_order
- ops_factors
- ops_post_type
- widget_recent-comments
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=OnPageSeo
- > Notice in wp-content/plugins/wp-onpage-seo/application/views/Engine.php+176
Undefined index: messages
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=OnPageSeo
- > Notice in wp-content/plugins/wp-onpage-seo/application/views/Engine.php+176
Undefined index: hideHeaderTabs
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=OnPageSeo
- > Notice in wp-content/plugins/wp-onpage-seo/application/views/Engine.php+176
Undefined index: headerTabs
- > GET request to /wp-admin/admin.php?page=OnPageSeo
- > Notice in wp-content/plugins/wp-onpage-seo/on_page_seo.php+581
Undefined index: controller
- > GET request to /wp-admin/admin.php?page=OnPageSeo
- > Notice in wp-content/plugins/wp-onpage-seo/on_page_seo.php+583
Undefined index: action
- > GET request to /wp-admin/admin.php?page=OnPageSeo
- > Notice in wp-content/plugins/wp-onpage-seo/application/views/Engine.php+176
Undefined index: command
- > GET request to /wp-admin/admin.php?page=OnPageSeo
- > Notice in wp-content/plugins/wp-onpage-seo/application/views/Engine.php+145
Undefined index: LimitStringLength
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
- 238× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
require_once(OPS_APPLICATION_PATH/services/Optimization/Helper/Abstract/Base.php): failed to open stream: No such file or directory in wp-content/plugins/wp-onpage-seo/application/services/Optimization/Helper/AddMetaTag.php on line 3
- > PHP Warning
Use of undefined constant OPS_APPLICATION_PATH - assumed 'OPS_APPLICATION_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-onpage-seo/application/forms/Metabox.php on line 2
- > PHP Warning
require_once(OPS_APPLICATION_PATH/services/Optimization/Helper/Abstract/Base.php): failed to open stream: No such file or directory in wp-content/plugins/wp-onpage-seo/application/services/Optimization/Helper/PrepareForUri.php on line 2
- > PHP Warning
require_once(OPS_APPLICATION_PATH/forms/Admin.php): failed to open stream: No such file or directory in wp-content/plugins/wp-onpage-seo/application/forms/Admin/Navigation.php on line 2
- > PHP Warning
Use of undefined constant OPS_APPLICATION_PATH - assumed 'OPS_APPLICATION_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-onpage-seo/application/services/Optimization/Filter/MetaDescription.php on line 2
- > PHP Warning
Use of undefined constant OPS_APPLICATION_PATH - assumed 'OPS_APPLICATION_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-onpage-seo/application/services/Optimization/Filter/MetaKeywords.php on line 2
- > PHP Warning
Use of undefined constant OPS_APPLICATION_PATH - assumed 'OPS_APPLICATION_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-onpage-seo/application/services/Optimization/Factor/MetaKeywords.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'OPS_APPLICATION_PATH/services/Optimization/Analyzer/Abstract/Base.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-onpage-seo/application/services/Optimization/Analyzer/KeywordInEveryPattern.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'OPS_APPLICATION_PATH/services/Optimization/Helper/Abstract/Base.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-onpage-seo/application/services/Optimization/Helper/NormalizeWhitespace.php on line 2
- > PHP Warning
Use of undefined constant OPS_APPLICATION_PATH - assumed 'OPS_APPLICATION_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-onpage-seo/application/services/Optimization/Helper/Strings.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 26 tag instead of maximum 10
wp-onpage-seo/on_page_seo.php 92% from 13 tests
Analyzing the main PHP file in "WordPress On Page SEO" version 2.4
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-onpage-seo.php" instead of "on_page_seo.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
There were no executable files found in this plugin6,372 lines of code in 135 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 128 | 1,042 | 585 | 5,562 |
CSS | 4 | 86 | 13 | 496 |
JavaScript | 3 | 46 | 11 | 314 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 5.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 22 | 21.57% |
▷ Concrete classes | 80 | 78.43% |
▷ Final classes | 0 | 0.00% |
Methods | 298 | |
▷ Static methods | 36 | 12.08% |
▷ Public methods | 238 | 79.87% |
▷ Protected methods | 60 | 20.13% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 29 | |
▷ Global constants | 1 | 3.45% |
▷ Class constants | 28 | 96.55% |
▷ Public constants | 28 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
18 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
images/ui/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
images/factor_na.png | 0.93KB | 1.01KB | 0.00% |
images/ui/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
images/icon.png | 0.80KB | 0.79KB | ▼ 1.70% |