Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼15.01ms] Passed 4 tests
This is a short check of server-side resources used by Structured Social Profiles
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.11 ▼23.32 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.35 ▼27.31 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.47 ▲0.86 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.70 ▼3.42 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 35.32 ▼5.97 |
Structured Social Profiles /wp-admin/options-general.php?page=ssp | 3.21 | 32.51 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
ssp |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Structured Social Profiles
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.27 ▼0.11 | 1.84 ▼0.82 | 39.95 ▼15.38 |
Dashboard /wp-admin | 2,196 ▲16 | 5.62 ▼0.03 | 90.95 ▲1.01 | 42.27 ▲3.69 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▼0.01 | 39.79 ▲2.75 | 36.15 ▲0.66 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 23.21 ▲0.18 | 612.43 ▼11.57 | 48.89 ▼14.04 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.05 | 101.33 ▼1.84 | 44.00 ▼2.05 |
Structured Social Profiles /wp-admin/options-general.php?page=ssp | 1,558 | 9.59 | 255.23 | 84.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- ssp
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ssp
- > Notice in wp-content/plugins/structured-social-profiles/class-admin.php+185
Undefined variable: domain
SRP 50% 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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/structured-social-profiles/class-frontend.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/structured-social-profiles/class-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/structured-social-profiles/structured-social-profiles.php:23
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=ssp
- > Network (severe)
http://platform.stumbleupon.com/1/widgets.js - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/options-general.php?page=ssp
- > Javascript (severe) in unknown
https://button.buffer.com/button/?id=78ef5562a0f7dc2d&url=http%3A%2F%2Fpeadig.com%2Fwordpress-plugins%2Fstructured-social-profiles%2F&text=Just%20been%20using%20Structured%20Social%20Profiles%20%23WordPress%20plugin&via=alexmoss&count=horizontal&placement=button&utm_source=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dssp&utm_medium=buffer_button&utm_campaign=buffer 15:647 Uncaught TypeError: Cannot set properties of null (setting 'onclick')
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ssp
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: structured data, social profiles, social, google
structured-social-profiles/structured-social-profiles.php Passed 13 tests
"Structured Social Profiles" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
58 characters long description:
This plugin adds structured data to Google search results.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin360 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 19 | 259 |
CSS | 1 | 12 | 0 | 101 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/peadig-landscape-300.png | 4.33KB | 2.49KB | ▼ 42.63% |