Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.50ms] Passed 4 tests
This is a short check of server-side resources used by Social Links Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 40.69 ▲2.02 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.41 ▼7.88 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.02 ▼8.09 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 87.28 ▼14.47 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.08 ▲0.43 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_social_links_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Social Links Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.26 ▼0.14 | 1.79 ▼0.07 | 39.66 ▼4.27 |
Dashboard /wp-admin | 2,218 ▲18 | 5.80 ▼0.05 | 101.37 ▼5.24 | 40.32 ▼7.43 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.06 ▲0.03 | 37.52 ▼2.21 | 34.03 ▼4.40 |
Add New Post /wp-admin/post-new.php | 1,545 ▲4 | 23.21 ▲4.88 | 702.49 ▲59.91 | 57.49 ▲8.76 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.18 ▼0.05 | 102.37 ▼4.45 | 48.10 ▼1.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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_social_links_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-social-links-widget/includes/social-links-class.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Requires at least: Invalid plugin version format
- Screenshots: These screenshots do not have images: #1 (backend view), #2 (backend view), #3 (front view)
- Requires php: Invalid plugin version format
wp-social-links-widget/wp-social-links-widget.php Passed 13 tests
"Social Links Widget" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
43 characters long description:
Adds social icons with links to profiles to
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected254 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 71 | 63 | 252 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 6.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/instagram.png | 8.11KB | 6.85KB | ▼ 15.55% |
img/dribble.png | 3.83KB | 2.77KB | ▼ 27.86% |
img/facebook.png | 1.19KB | 0.69KB | ▼ 42.02% |
img/google.png | 2.34KB | 1.38KB | ▼ 41.01% |
img/twitter.png | 2.72KB | 1.57KB | ▼ 42.47% |