Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲1.45MB] [CPU: ▲8.03ms] Passed 4 tests
Analyzing server-side resources used by WPZOOM Social Feed Widget & Block
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.90 ▲1.43 | 48.48 ▲5.95 |
Dashboard /wp-admin | 4.77 ▲1.47 | 57.96 ▲4.22 |
Posts /wp-admin/edit.php | 4.82 ▲1.46 | 59.79 ▲9.41 |
Add New Post /wp-admin/post-new.php | 7.50 ▲1.61 | 106.50 ▲12.52 |
Media Library /wp-admin/upload.php | 4.69 ▲1.46 | 51.16 ▲17.30 |
Support /wp-admin/edit.php?post_type=wpz-insta_feed&page=wpzoom-instagram-support | 4.69 | 44.68 |
Feeds /wp-admin/edit.php?post_type=wpz-insta_feed | 4.76 | 51.14 |
Users /wp-admin/edit.php?post_type=wpz-insta_user | 4.76 | 46.72 |
Settings /wp-admin/edit.php?post_type=wpz-insta_feed&page=wpz-insta_settings | 4.69 | 41.97 |
Server storage [IO: ▲1.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 88 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
wpzoom_run_only_once_01 |
db_upgraded |
widget_wpzoom_instagram_widget |
wpzoom_run_only_once_02 |
wpzoom-instagram-transition-between-4_7-4_8-versions |
Browser metrics Passed 4 tests
WPZOOM Social Feed Widget & Block: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲132 | 14.78 ▲0.43 | 1.72 ▲0.01 | 42.03 ▼1.92 |
Dashboard /wp-admin | 2,284 ▲106 | 5.79 ▲0.05 | 99.79 ▼12.23 | 53.38 ▲6.37 |
Posts /wp-admin/edit.php | 2,189 ▲89 | 2.29 ▲0.28 | 54.70 ▲16.11 | 45.78 ▲9.51 |
Add New Post /wp-admin/post-new.php | 6,425 ▲4,899 | 28.13 ▲4.93 | 946.98 ▲322.84 | 39.35 ▼12.54 |
Media Library /wp-admin/upload.php | 1,486 ▲86 | 4.36 ▲0.18 | 106.84 ▲8.03 | 51.23 ▲8.73 |
Support /wp-admin/edit.php?post_type=wpz-insta_feed&page=wpzoom-instagram-support | 1,212 | 3.61 | 73.50 | 45.89 |
Feeds /wp-admin/edit.php?post_type=wpz-insta_feed | 1,364 | 3.85 | 65.61 | 69.92 |
Users /wp-admin/edit.php?post_type=wpz-insta_user | 1,390 | 3.89 | 61.25 | 48.62 |
Settings /wp-admin/edit.php?post_type=wpz-insta_feed&page=wpz-insta_settings | 1,303 | 3.60 | 61.00 | 45.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 10 options in the database
- db_upgraded
- wpzoom_run_only_once_02
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- wpzoom-instagram-transition-between-4_7-4_8-versions
- widget_wpzoom_instagram_widget
- theysaidso_admin_options
- wpzoom_run_only_once_01
- can_compress_scripts
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'DiDom\ode' not found in wp-content/plugins/instagram-widget-by-wpzoom/vendor/imangazaliev/didom/src/DiDom/DocumentFragment.php:12
- > PHP Fatal error
Uncaught Error: Class 'DiDom\ode' not found in wp-content/plugins/instagram-widget-by-wpzoom/vendor/imangazaliev/didom/src/DiDom/Element.php:18
- > 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 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
instagram-widget-by-wpzoom/instagram-widget-by-wpzoom.php 92% from 13 tests
The principal PHP file in "WPZOOM Social Feed Widget & Block" v. 2.1.10 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin13,950 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 1,931 | 2,299 | 7,739 |
Sass | 3 | 674 | 30 | 3,362 |
JavaScript | 21 | 230 | 60 | 1,358 |
Markdown | 2 | 383 | 0 | 723 |
JSON | 2 | 0 | 0 | 442 |
CSS | 8 | 36 | 17 | 317 |
SVG | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 323.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 1 | 4.17% |
▷ Concrete classes | 23 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 373 | |
▷ Static methods | 76 | 20.38% |
▷ Public methods | 344 | 92.23% |
▷ Protected methods | 24 | 6.43% |
▷ Private methods | 5 | 1.34% |
Functions | 19 | |
▷ Named functions | 10 | 52.63% |
▷ Anonymous functions | 9 | 47.37% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 100.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
3 compressed PNG files occupy 0.02MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/backend/icon-insta.png | 6.83KB | 7.09KB | 0.00% |
assets/backend/img/icon-insta.png | 6.83KB | 7.09KB | 0.00% |
src/images/backend/icon-insta.png | 6.83KB | 7.09KB | 0.00% |