Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/premium-seo-pack-light-version/aa-framework/framework.class.php+3281
Undefined variable: value
Server metrics [RAM: ▼0.38MB] [CPU: ▼47.68ms] Passed 4 tests
An overview of server-side resources used by Premium Seo Pack - Light Version
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 10.82 ▼31.30 |
Dashboard /wp-admin | 3.62 ▲0.32 | 11.94 ▼41.33 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 16.76 ▼30.33 |
Add New Post /wp-admin/post-new.php | 3.62 ▼2.26 | 12.74 ▼87.77 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 10.38 ▼22.83 |
Server storage [IO: ▲11.39MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 757 new files
Database: 7 new tables, 11 new options
New tables |
---|
wp_psp_serp_reporter2rank |
wp_psp_post_planner_cron |
wp_psp_serp_reporter |
wp_psp_monitor_404 |
wp_psp_link_builder |
wp_psp_link_redirect |
wp_psp_web_directories |
New WordPress options |
---|
psp_integrity_check |
psp_cronjobs |
psp_cronjobs_clean |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
psp_db_version |
db_upgraded |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Premium Seo Pack - Light Version
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲125 | 13.36 ▼1.02 | 1.68 ▼0.24 | 45.66 ▼2.09 |
Dashboard /wp-admin | 2,266 ▲81 | 5.02 ▲0.15 | 99.18 ▼18.33 | 95.21 ▲51.75 |
Posts /wp-admin/edit.php | 2,137 ▲48 | 2.46 ▲0.43 | 48.97 ▲12.81 | 47.31 ▲8.07 |
Add New Post /wp-admin/post-new.php | 1,595 ▲67 | 18.06 ▼0.29 | 626.95 ▲16.86 | 175.65 ▲118.42 |
Media Library /wp-admin/upload.php | 1,439 ▲51 | 4.33 ▲0.11 | 98.21 ▲0.89 | 94.84 ▲48.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/premium-seo-pack-light-version/aa-framework/framework.class.php+3281
Undefined variable: value
- Zombie tables were found after uninstall: 7 tables
- wp_psp_monitor_404
- wp_psp_serp_reporter2rank
- wp_psp_post_planner_cron
- wp_psp_web_directories
- wp_psp_link_redirect
- wp_psp_serp_reporter
- wp_psp_link_builder
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- psp_fix_backlinkbuilder
- db_upgraded
- widget_recent-posts
- psp_db_version
- psp_cronjobs_clean
- psp_cronjobs
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/premium-seo-pack-light-version/modules/depedencies/server-stats.php
- > /wp-content/plugins/premium-seo-pack-light-version/modules/W3C_HTMLValidator/options.php
- > /wp-content/plugins/premium-seo-pack-light-version/aa-framework/shortcodes/tinymce.popup.php
- > /wp-content/plugins/premium-seo-pack-light-version/modules/Backlink_Builder/backlink.php
- > /wp-content/plugins/premium-seo-pack-light-version/modules/facebook_planner/app.cron.class.php
- > /wp-content/plugins/premium-seo-pack-light-version/modules/dashboard/server-stats.php
- > /wp-content/plugins/premium-seo-pack-light-version/modules/cronjobs/options.php
- 204× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookSDKException' not found in wp-content/plugins/premium-seo-pack-light-version/lib/scripts/facebook-v5-5.0.0/Exceptions/FacebookResumableUploadException.php:31
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\HttpClients\\FacebookHttpClientInterface' not found in wp-content/plugins/premium-seo-pack-light-version/lib/scripts/facebook-v5-5.0.0/HttpClients/FacebookCurlHttpClient.php:34
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphEdge' not found in wp-content/plugins/premium-seo-pack-light-version/lib/scripts/facebook-v5-5.0.0/GraphNodes/GraphList.php:34
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/premium-seo-pack-light-version/modules/sitemap/init.php on line 98
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Helpers\\FacebookSignedRequestFromInputHelper' not found in wp-content/plugins/premium-seo-pack-light-version/lib/scripts/facebook-v5-5.0.0/Helpers/FacebookJavaScriptHelper.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/premium-seo-pack-light-version/modules/seo_friendly_images/config.php:16
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\FacebookResponse' not found in wp-content/plugins/premium-seo-pack-light-version/lib/scripts/facebook-v5-5.0.0/FacebookBatchResponse.php:35
- > PHP Fatal error
require(): Failed opening required 'modules/rich_snippets/lists.inc.php' (include_path='.:/usr/share/php') in wp-content/plugins/premium-seo-pack-light-version/modules/rich_snippets/shortcodes/article/options.php on line 5
- > PHP Notice
Undefined variable: tryed_module in wp-content/plugins/premium-seo-pack-light-version/modules/sitemap/options.php on line 393
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/premium-seo-pack-light-version/modules/rich_snippets/shortcodes/recipe/options.php on line 5
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 83% 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 need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in premium-seo-pack-light-version/assets to your readme.txt
premium-seo-pack-light-version/plugin.php 69% from 13 tests
The entry point to "Premium Seo Pack - Light Version" version 2.3.1 Lite... is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "2.3.1 Lite...")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("premium-seo-pack-light-version.php" instead of "plugin.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 307 characters long)
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
These items require your attention
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/premium-seo-pack-light-version/lib/scripts/facebook/_fb_ca_chain_bundle.crt
- ☣ wp-content/plugins/premium-seo-pack-light-version/lib/scripts/facebook/fb_ca_chain_bundle.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 240 | 12,117 | 18,450 | 59,136 |
JavaScript | 47 | 3,632 | 2,798 | 14,971 |
Sass | 42 | 468 | 37 | 10,965 |
CSS | 39 | 304 | 175 | 10,952 |
PO File | 1 | 1,570 | 3,926 | 3,406 |
XML | 1 | 0 | 0 | 1,554 |
XSLT | 3 | 13 | 0 | 505 |
JSON | 2 | 0 | 0 | 430 |
SQL | 1 | 20 | 28 | 119 |
SVG | 2 | 0 | 0 | 95 |
HTML | 1 | 22 | 6 | 87 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 210)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 58.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 873.00 |
Average method complexity | 5.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 210.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 6 | |
Traits | 1 | |
Classes | 175 | |
▷ Abstract classes | 5 | 2.86% |
▷ Concrete classes | 170 | 97.14% |
▷ Final classes | 0 | 0.00% |
Methods | 2,459 | |
▷ Static methods | 196 | 7.97% |
▷ Public methods | 1,675 | 68.12% |
▷ Protected methods | 369 | 15.01% |
▷ Private methods | 415 | 16.88% |
Functions | 52 | |
▷ Named functions | 49 | 94.23% |
▷ Anonymous functions | 3 | 5.77% |
Constants | 292 | |
▷ Global constants | 156 | 53.42% |
▷ Class constants | 136 | 46.58% |
▷ Public constants | 136 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
263 PNG files occupy 6.07MB with 2.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
aa-framework/images/dt-arrow-right.png | 0.16KB | 0.27KB | 0.00% |
modules/cronjobs/images/wpcron-current-cron-job.png | 8.06KB | 7.95KB | ▼ 1.39% |
modules/serp/assets/menu_icon.png | 18.86KB | 0.37KB | ▼ 98.06% |
aa-framework/images/submenu-shadow.png | 0.07KB | 0.10KB | 0.00% |
modules/file_edit/assets/menu_icon.png | 19.93KB | 0.57KB | ▼ 97.14% |