Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲4.41MB] [CPU: ▲11.60ms] Passed 4 tests
This is a short check of server-side resources used by Social Icons Widget & Block by WPZOOM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.39 ▲4.92 | 48.15 ▲8.60 |
Dashboard /wp-admin | 8.43 ▲5.12 | 59.61 ▲15.81 |
Posts /wp-admin/edit.php | 8.43 ▲5.07 | 60.04 ▲9.72 |
Add New Post /wp-admin/post-new.php | 8.43 ▲2.54 | 129.05 ▲43.03 |
Media Library /wp-admin/upload.php | 8.43 ▲5.20 | 46.83 ▲12.28 |
Social Icons Widget /wp-admin/options-general.php?page=wpzoom-social-icons-widget | 8.43 | 46.68 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_zoom-social-icons-widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Social Icons Widget & Block by WPZOOM
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲135 | 13.44 ▼0.94 | 8.42 ▲6.56 | 37.61 ▼5.93 |
Dashboard /wp-admin | 2,204 ▲27 | 5.59 ▼0.04 | 91.41 ▼6.05 | 39.20 ▼5.35 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 1.95 ▼0.07 | 39.73 ▼3.31 | 37.07 ▼3.78 |
Add New Post /wp-admin/post-new.php | 6,210 ▲4,670 | 19.28 ▼6.11 | 867.32 ▲246.01 | 50.45 ▼29.14 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.14 ▲0.01 | 101.29 ▼1.06 | 43.53 ▼2.90 |
Social Icons Widget /wp-admin/options-general.php?page=wpzoom-social-icons-widget | 1,212 | 1.93 | 38.38 | 32.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_zoom-social-icons-widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/social-icons-widget-by-wpzoom/social-icons-widget-by-wpzoom.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (17 tag instead of maximum 10)
social-icons-widget-by-wpzoom/social-icons-widget-by-wpzoom.php 92% from 13 tests
The main PHP script in "Social Icons Widget & Block by WPZOOM" version 4.2.15 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 213 characters long)
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 plugin24,385 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 1,090 | 596 | 20,893 |
CSS | 10 | 517 | 37 | 2,657 |
JavaScript | 10 | 94 | 20 | 596 |
SVG | 1 | 0 | 0 | 239 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 3 | 6.67% |
▷ Public methods | 43 | 95.56% |
▷ Protected methods | 1 | 2.22% |
▷ Private methods | 1 | 2.22% |
Functions | 26 | |
▷ Named functions | 24 | 92.31% |
▷ Anonymous functions | 2 | 7.69% |
Constants | 4 | |
▷ Global constants | 4 | 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 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/social-icons-pro-avatar.png | 11.82KB | 12.52KB | 0.00% |