Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.58ms] Passed 4 tests
This is a short check of server-side resources used by Storefront Product Sharing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.08 ▼4.49 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.89 ▼5.32 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 42.64 ▼5.72 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.67 ▼2.77 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 47.44 ▲12.88 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
storefront-product-sharing-version |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Storefront Product Sharing
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.36 ▼1.32 | 1.63 ▼0.28 | 40.68 ▲0.97 |
Dashboard /wp-admin | 2,219 ▲31 | 5.79 ▼0.09 | 96.59 ▼24.98 | 41.59 ▼12.67 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.00 ▼0.01 | 41.73 ▲0.37 | 40.88 ▲3.73 |
Add New Post /wp-admin/post-new.php | 1,535 ▲6 | 23.27 ▲4.79 | 650.48 ▼61.54 | 55.97 ▼1.26 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.24 ▲0.06 | 113.98 ▲5.73 | 47.21 ▲0.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- storefront-product-sharing-version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: woocommerce, storefront, social, ecommerce, sharing...
storefront-product-sharing/storefront-product-sharing.php Passed 13 tests
The principal PHP file in "Storefront Product Sharing" v. 1.0.6 is loaded by WordPress automatically on each request
101 characters long description:
Add attractive social sharing icons for Facebook, Twitter, Pinterest and Email to your product pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin255 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 1 | 21 | 2 | 105 |
PHP | 2 | 30 | 130 | 91 |
CSS | 1 | 6 | 0 | 59 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin