Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/social-site-sharer-links-widget/social-site-sharer-links-widget.php+202
Function create_function() is deprecated
Server metrics [RAM: ▼2.41MB] [CPU: ▼345.83ms] Passed 4 tests
An overview of server-side resources used by Social Site Sharer Links Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.96 ▼1.56 | 4.51 ▼48.57 |
Dashboard /wp-admin | 1.98 ▼1.43 | 4.27 ▼30.85 |
Posts /wp-admin/edit.php | 1.98 ▼1.66 | 5.19 ▼32.79 |
Add New Post /wp-admin/post-new.php | 1.98 ▼4.99 | 4.22 ▼1,271.11 |
Media Library /wp-admin/upload.php | 1.98 ▼1.32 | 3.75 ▼27.32 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_social_site_sharer_links_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Social Site Sharer Links Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲19 | 16.01 ▲0.33 | 7.10 ▲0.66 | 3.04 ▲1.10 |
Dashboard /wp-admin | 2,895 ▲34 | 6.22 ▲0.06 | 117.77 ▼20.46 | 155.57 ▼9.04 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.01 | 64.46 ▲0.03 | 142.32 ▼4.63 |
Add New Post /wp-admin/post-new.php | 1,661 ▼58 | 15.87 ▼6.54 | 411.07 ▼48.72 | 154.68 ▼3.40 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.49 ▼0.03 | 142.88 ▼3.00 | 184.50 ▼12.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/social-site-sharer-links-widget/social-site-sharer-links-widget.php+202
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 1 option
- widget_social_site_sharer_links_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/social-site-sharer-links-widget/social-site-sharer-links-widget.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (14 tag instead of maximum 10)
- Donate link: Please fix this invalid url: ""
social-site-sharer-links-widget/social-site-sharer-links-widget.php Passed 13 tests
The principal PHP file in "Social Site Sharer Links Widget" v. 1.0 is loaded by WordPress automatically on each request
124 characters long description:
Social site sharer links widget automatically places popular social share links in a widget placement without configuration.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected138 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 24 | 138 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
13 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon/google.png | 3.62KB | 0.95KB | ▼ 73.78% |
icon/delicious.png | 3.44KB | 0.85KB | ▼ 75.23% |
icon/facebook.png | 3.33KB | 0.67KB | ▼ 80.01% |
icon/friendfeed.png | 1.67KB | 1.62KB | ▼ 3.21% |
icon/myspace.png | 3.49KB | 0.82KB | ▼ 76.47% |