Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/tipsy-social-icons/tipsy-social-icons.php+27
Methods with the same name as their class will not be constructors in a future version of PHP; Tipsy_Social_Icons has a deprecated constructor
Server metrics [RAM: ▼1.82MB] [CPU: ▼51.30ms] Passed 4 tests
This is a short check of server-side resources used by Tipsy Social Icons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.30 | 4.81 ▼36.26 |
Dashboard /wp-admin | 2.19 ▼1.12 | 6.13 ▼40.47 |
Posts /wp-admin/edit.php | 2.19 ▼1.17 | 5.57 ▼42.48 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.70 | 6.62 ▼86.00 |
Media Library /wp-admin/upload.php | 2.19 ▼1.05 | 5.72 ▼27.99 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 83 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_tipsy-social-icons |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Tipsy Social Icons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲128 | 13.60 ▼0.78 | 5.64 ▲3.29 | 44.84 ▼3.03 |
Dashboard /wp-admin | 2,208 ▲17 | 4.84 ▼0.06 | 101.82 ▼6.07 | 39.73 ▲0.61 |
Posts /wp-admin/edit.php | 2,088 ▲2 | 1.97 ▼0.03 | 38.57 ▼2.14 | 34.01 ▼2.67 |
Add New Post /wp-admin/post-new.php | 1,516 ▼17 | 17.85 ▼5.16 | 635.79 ▼41.81 | 59.76 ▲7.84 |
Media Library /wp-admin/upload.php | 1,387 ▼1 | 4.28 ▲0.08 | 101.79 ▼4.30 | 43.42 ▼0.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/tipsy-social-icons/tipsy-social-icons.php+27
Methods with the same name as their class will not be constructors in a future version of PHP; Tipsy_Social_Icons has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_tipsy-social-icons
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/tipsy-social-icons/views/widget.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: instance in wp-content/plugins/tipsy-social-icons/views/widget.php on line 4
- > PHP Notice
Undefined variable: use_large_icons in wp-content/plugins/tipsy-social-icons/views/widget.php on line 3
- > PHP Notice
Undefined variable: tooltip_position in wp-content/plugins/tipsy-social-icons/views/widget.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/tipsy-social-icons/tipsy-social-icons.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tipsy-social-icons/views/admin.php:2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/tipsy-social-icons/views/widget.php on line 4
- > PHP Notice
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
3 plugin tags: widgets, icons, social
tipsy-social-icons/tipsy-social-icons.php Passed 13 tests
"Tipsy Social Icons" version 4.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
57 characters long description:
The easiest way to add your social networks to your blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin551 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 44 | 75 | 254 |
PO File | 2 | 34 | 34 | 117 |
JavaScript | 4 | 27 | 5 | 99 |
LESS | 2 | 23 | 0 | 65 |
CSS | 3 | 0 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 5.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
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
PNG files should be compressed to save space and minimize bandwidth usage
65 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/32/mixcloud_32.png | 5.43KB | 1.29KB | ▼ 76.18% |
images/16/stumbleupon_16.png | 4.33KB | 0.46KB | ▼ 89.29% |
images/16/digg_16.png | 0.66KB | 0.45KB | ▼ 31.74% |
images/16/skype_16.png | 0.70KB | 0.54KB | ▼ 22.32% |
images/16/googleplus_16.png | 0.52KB | 0.41KB | ▼ 21.55% |