Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.57MB] [CPU: ▼133.43ms] Passed 4 tests
Server-side resources used by Platinum SEO
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.07 ▲0.35 | 40.58 ▲19.92 |
Dashboard /wp-admin | 3.72 ▲0.66 | 41.71 ▼3.21 |
Posts /wp-admin/edit.php | 3.78 ▲0.67 | 52.41 ▲6.30 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.70 | 117.61 ▼545.04 |
Media Library /wp-admin/upload.php | 3.60 ▲0.59 | 43.79 ▲8.25 |
Platinum SEO Redirections Manager /wp-admin/tools.php?page=redirectionmanager | 3.69 | 37.03 |
Platinum SEO 404 Manager /wp-admin/tools.php?page=manager404 | 3.67 | 41.84 |
Tools /wp-admin/admin.php?page=psp-tools-by-techblissonline | 3.71 | 43.62 |
Redirections /wp-admin/admin.php?page=redirectionmanager | 3.58 | 43.76 |
Manage 404 Errors /wp-admin/admin.php?page=manager404 | 3.57 | 36.83 |
Setup wizard /wp-admin/admin.php?page=wizard | 3.64 | 42.08 |
Social /wp-admin/admin.php?page=psp-social-by-techblissonline | 3.61 | 42.75 |
SEO /wp-admin/admin.php?page=platinum-seo-social-pack-by-techblissonline | 3.61 | 46.67 |
Role Manager /wp-admin/admin.php?page=pspp-caps | 3.57 | 31.10 |
Server storage [IO: ▲1.89MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 85 new files
Database: 5 new tables, 3 new options
New tables |
---|
wp_psp_redirections |
wp_psp_404_log |
wp_psp_redirections_log |
wp_tempmeta |
wp_platinumseometa |
New WordPress options |
---|
psp_db_version |
psp_sitewide_settings |
psp_version |
Browser metrics Passed 4 tests
Checking browser requirements for Platinum SEO
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,945 ▲349 | 16.40 ▲1.15 | 7.60 ▲0.40 | 47.10 ▼3.87 |
Dashboard /wp-admin | 3,125 ▲194 | 6.30 ▲0.37 | 134.58 ▼8.47 | 130.62 ▲23.86 |
Posts /wp-admin/edit.php | 2,925 ▲186 | 3.00 ▲0.31 | 68.45 ▼2.21 | 111.74 ▲26.64 |
Add New Post /wp-admin/post-new.php | 4,878 ▲3,202 | 23.29 ▲4.46 | 482.71 ▲113.57 | 150.94 ▲37.61 |
Media Library /wp-admin/upload.php | 1,878 ▲68 | 5.33 ▲0.32 | 134.78 ▼14.26 | 140.70 ▲21.94 |
Platinum SEO Redirections Manager /wp-admin/tools.php?page=redirectionmanager | 1,646 | 2.40 | 56.92 | 80.72 |
Platinum SEO 404 Manager /wp-admin/tools.php?page=manager404 | 1,613 | 2.38 | 56.86 | 72.15 |
Tools /wp-admin/admin.php?page=psp-tools-by-techblissonline | 1,980 | 3.71 | 84.70 | 116.73 |
Redirections /wp-admin/admin.php?page=redirectionmanager | 1,646 | 2.38 | 56.61 | 76.60 |
Manage 404 Errors /wp-admin/admin.php?page=manager404 | 1,610 | 2.37 | 52.33 | 72.09 |
Setup wizard /wp-admin/admin.php?page=wizard | 1,528 | 3.66 | 76.77 | 105.60 |
Social /wp-admin/admin.php?page=psp-social-by-techblissonline | 2,531 | 3.81 | 78.70 | 165.13 |
SEO /wp-admin/admin.php?page=platinum-seo-social-pack-by-techblissonline | 3,186 | 4.16 | 110.79 | 196.26 |
Role Manager /wp-admin/admin.php?page=pspp-caps | 4,572 | 3.41 | 141.61 | 150.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The plugin did not uninstall successfully, leaving 5 tables in the database
- wp_tempmeta
- wp_psp_redirections_log
- wp_psp_404_log
- wp_psp_redirections
- wp_platinumseometa
- Zombie WordPress options were found after uninstall: 3 options
- psp_sitewide_settings
- psp_db_version
- psp_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 23× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PspSettings' not found in wp-content/plugins/platinum-seo-pack/psp-include/settings/psp_social_settings.php:12
- > PHP Fatal error
Uncaught Error: Class 'PSP_Sitemaps_Provider' not found in wp-content/plugins/platinum-seo-pack/psp-include/sitemap/inc/providers/class-wp-sitemaps-posts.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/platinum-seo-pack/psp-include/settings/psp_bulk_edit_renderer.php:15
- > PHP Notice
Undefined variable: psp_meta_type in wp-content/plugins/platinum-seo-pack/psp-include/settings/psp_bulk_edit_renderer.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/platinum-seo-pack/psp-include/settings/psp_tools_renderer.php:239
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/platinum-seo-pack/psp-include/settings/psp_basic_metabox_renderer.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/platinum-seo-pack/psp-include/settings/psp_basic_social_metabox_renderer.php:10
- > PHP Fatal error
Uncaught Error: Class 'PSP_Sitemaps_Provider' not found in wp-content/plugins/platinum-seo-pack/psp-include/sitemap/inc/providers/class-wp-sitemaps-taxonomies.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/platinum-seo-pack/psp-include/settings/psp_premiumad_metabox_renderer.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/platinum-seo-pack/psp-include/wizard/psp_wizard_finishbtn_renderer.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
These attributes need your attention:
- Screenshots: Please a description for screenshot #5 in platinum-seo-pack/assets to your readme.txt
platinum-seo-pack/platinum-seo-pack.php 92% from 13 tests
The principal PHP file in "Platinum SEO" v. 2.4.0 is loaded by WordPress automatically on each request
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 151 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin19,500 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 42 | 5,545 | 5,147 | 17,496 |
CSS | 10 | 107 | 360 | 1,151 |
JavaScript | 20 | 39 | 50 | 474 |
XSLT | 4 | 41 | 0 | 379 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 129)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 145.54 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 926.00 |
Average method complexity | 9.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 129.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 1 | 3.57% |
▷ Concrete classes | 27 | 96.43% |
▷ Final classes | 0 | 0.00% |
Methods | 486 | |
▷ Static methods | 19 | 3.91% |
▷ Public methods | 396 | 81.48% |
▷ Protected methods | 9 | 1.85% |
▷ Private methods | 81 | 16.67% |
Functions | 13 | |
▷ Named functions | 8 | 61.54% |
▷ Anonymous functions | 5 | 38.46% |
Constants | 11 | |
▷ Global constants | 7 | 63.64% |
▷ Class constants | 4 | 36.36% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techblissonline-logo.png | 13.52KB | 6.43KB | ▼ 52.48% |
psp-include/settings/snippet-cache.png | 0.17KB | 0.13KB | ▼ 21.26% |