Benchmarks
Plugin footprint 81% 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: ▲8.23MB] [CPU: ▼151.60ms] 25% from 4 tests
This is a short check of server-side resources used by WordPress Social and Search Optimization - The Complete Structured Data Plugin for WordPress
It is recommended to improve the following
- RAM: You should keep total memory usage under 10MB (currently 16.02MB on /wp-admin/admin.php?page=wpsso-general)
- CPU: Total CPU usage must kept under 500.00ms (currently 588.34ms on /wp-admin/admin.php?page=wpsso-dashboard)
- Extra RAM: The extra memory usage must be under 5MB (currently 8.23MB on /wp-admin/admin.php?page=wpsso-general)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.96 ▲6.45 | 165.48 ▲83.70 |
Dashboard /wp-admin | 11.78 ▲8.37 | 92.41 ▲46.97 |
Posts /wp-admin/edit.php | 13.33 ▲9.68 | 126.81 ▲77.92 |
Add New Post /wp-admin/post-new.php | 19.95 ▲12.98 | 458.69 ▼803.43 |
Media Library /wp-admin/upload.php | 11.72 ▲8.42 | 105.47 ▲72.14 |
Advanced Settings /wp-admin/admin.php?page=wpsso-advanced | 12.96 | 1,124.82 |
Tools and Actions /wp-admin/admin.php?page=wpsso-tools | 11.74 | 80.09 |
Premium Licenses /wp-admin/admin.php?page=wpsso-licenses | 11.80 | 79.76 |
Setup Guide /wp-admin/admin.php?page=wpsso-setup | 11.78 | 547.67 |
Profile SSO - Social and Search Optimization /wp-admin/users.php?page=wpsso-your-sso | 15.82 | 154.97 |
Dashboard /wp-admin/admin.php?page=wpsso-dashboard | 13.60 | 588.34 |
Essential Settings /wp-admin/admin.php?page=wpsso-essential | 12.11 | 88.95 |
Plugin Add-ons /wp-admin/admin.php?page=wpsso-addons | 11.75 | 85.53 |
Add Person /wp-admin/users.php?page=wpsso-add-person | 11.84 | 83.47 |
General Settings /wp-admin/admin.php?page=wpsso-general | 16.02 | 112.51 |
Server storage [IO: ▲7.93MB] [DB: ▲0.79MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please try to fix the following items
- Illegal file modification detected: 7 files (542.42KB) outside of "wp-content/plugins/wpsso/" and "wp-content/uploads/"
- (new file) wp-content/cache/wpsso/.htaccess
- (new file) wp-content/cache/wpsso/2b4e229f84d63db61d330de40b279391.txt
- (new file) wp-content/cache/wpsso/9888896ca6ccbaeaaea6bfdb95331979.js
- (new file) wp-content/cache/wpsso/e6179578f5872bb88d81a076791ec462.html
- (new file) wp-content/cache/wpsso/d9e5a6f9f4a95b2c877a442f429f83b1.js
- (new file) wp-content/cache/wpsso/ec9ce89da92e0b7a1b416ccd170da670.js
- (new file) wp-content/cache/wpsso/index.php
Filesystem: 233 new files
Database: no new tables, 3 new options
New WordPress options |
---|
wpsso_options |
wpsso_timestamps |
category_children |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Social and Search Optimization - The Complete Structured Data Plugin for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,082 ▲328 | 16.00 ▲0.52 | 9.09 ▲0.19 | 3.14 ▼0.92 |
Dashboard /wp-admin | 3,160 ▲244 | 6.45 ▲0.06 | 197.30 ▼23.08 | 204.40 ▼12.89 |
Posts /wp-admin/edit.php | 2,955 ▲237 | 3.71 ▲0.28 | 106.22 ▲10.68 | 240.97 ▲56.73 |
Add New Post /wp-admin/post-new.php | 8,018 ▲6,369 | 23.99 ▲2.24 | 998.21 ▲339.26 | 329.82 ▲104.47 |
Media Library /wp-admin/upload.php | 1,922 ▲190 | 5.79 ▲0.05 | 202.18 ▲14.31 | 237.52 ▼13.40 |
Advanced Settings /wp-admin/admin.php?page=wpsso-advanced | 9,776 | 6.98 | 252.21 | 295.36 |
Tools and Actions /wp-admin/admin.php?page=wpsso-tools | 1,759 | 5.46 | 116.28 | 209.51 |
Premium Licenses /wp-admin/admin.php?page=wpsso-licenses | 1,862 | 5.49 | 128.22 | 221.22 |
Setup Guide /wp-admin/admin.php?page=wpsso-setup | 2,263 | 5.55 | 120.33 | 240.45 |
Profile SSO - Social and Search Optimization /wp-admin/users.php?page=wpsso-your-sso | 9,033 | 6.57 | 268.07 | 233.01 |
Dashboard /wp-admin/admin.php?page=wpsso-dashboard | 3,402 | 5.55 | 151.51 | 203.80 |
Essential Settings /wp-admin/admin.php?page=wpsso-essential | 2,033 | 5.69 | 122.16 | 184.68 |
Plugin Add-ons /wp-admin/admin.php?page=wpsso-addons | 2,320 | 5.52 | 131.77 | 215.17 |
Add Person /wp-admin/users.php?page=wpsso-add-person | 2,118 | 13.75 | 217.61 | 206.11 |
General Settings /wp-admin/admin.php?page=wpsso-general | 6,291 | 7.53 | 183.89 | 246.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 3 options
- category_children
- wpsso_timestamps
- wpsso_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 137× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wpsso/lib/link-rel.php
- > /wp-content/plugins/wpsso/lib/users/add-person.php
- > /wp-content/plugins/wpsso/lib/pinterest.php
- > /wp-content/plugins/wpsso/lib/sitesubmenu/site-licenses.php
- > /wp-content/plugins/wpsso/lib/compat.php
- > /wp-content/plugins/wpsso/lib/json-filters/type/movie.php
- > /wp-content/plugins/wpsso/lib/submenu/setup.php
- > /wp-content/plugins/wpsso/lib/ext/parse-readme.php
- > /wp-content/plugins/wpsso/lib/functions.php
- > /wp-content/plugins/wpsso/lib/json-filters/type/blog.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Interface 'Michelf\\MarkdownInterface' not found in wp-content/plugins/wpsso/lib/ext/markdown/Markdown.php:16
- > PHP Fatal error
Uncaught Error: Class 'Michelf\\Markdown' not found in wp-content/plugins/wpsso/lib/ext/markdown/MarkdownExtra.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wpsso/lib/theme-compat/embed-content.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wpsso/lib/theme-compat/embed.php:10
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: meta tags, image seo, google search, schema, sitemaps...
wpsso/wpsso.php 92% from 13 tests
Analyzing the main PHP file in "WordPress Social and Search Optimization - The Complete Structured Data Plugin for WordPress" version 12.1.0
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 153 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin62,363 lines of code in 192 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 147 | 24,455 | 13,751 | 49,839 |
PO File | 1 | 2,188 | 2,814 | 5,483 |
CSS | 12 | 559 | 180 | 2,507 |
JavaScript | 14 | 837 | 555 | 2,226 |
HTML | 14 | 702 | 7 | 1,094 |
JSON | 1 | 0 | 0 | 884 |
Markdown | 1 | 47 | 0 | 197 |
SVG | 2 | 102 | 0 | 133 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 307)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 70.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 607.00 |
Average method complexity | 6.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 307.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 132 | |
▷ Abstract classes | 3 | 2.27% |
▷ Concrete classes | 129 | 97.73% |
▷ Final classes | 0 | 0.00% |
Methods | 1,668 | |
▷ Static methods | 422 | 25.30% |
▷ Public methods | 1,407 | 84.35% |
▷ Protected methods | 159 | 9.53% |
▷ Private methods | 102 | 6.12% |
Functions | 42 | |
▷ Named functions | 37 | 88.10% |
▷ Anonymous functions | 5 | 11.90% |
Constants | 17 | |
▷ Global constants | 16 | 94.12% |
▷ Class constants | 1 | 5.88% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-256x256.png | 53.13KB | 24.63KB | ▼ 53.64% |
images/icon-128x128.png | 19.41KB | 9.26KB | ▼ 52.30% |