Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼1.16ms] Passed 4 tests
This is a short check of server-side resources used by Social Media Icons - Social Icons Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 36.49 ▼0.21 |
Dashboard /wp-admin | 3.43 ▲0.13 | 44.78 ▼0.82 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.32 ▼0.59 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 82.92 ▼3.03 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 32.33 ▼0.12 |
Server storage [IO: ▲1.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_new_social_media_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Media Icons - Social Icons Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.00 | 1.68 ▲0.18 | 39.72 ▼5.57 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.02 | 80.18 ▼9.00 | 38.22 ▼0.46 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.04 | 34.05 ▼2.27 | 32.11 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.22 ▲5.03 | 635.08 ▼5.15 | 55.83 ▼17.21 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.05 | 95.40 ▼17.51 | 41.58 ▼6.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_new_social_media_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/new-social-media-widget/new-social-media-widget.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: social media icons, facebook twitter icon, social account icons, social profile icons, profile icon plugin
new-social-media-widget/new-social-media-widget.php 92% from 13 tests
The principal PHP file in "Social Media Icons - Social Icons Widget" v. 1.1.22 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 257 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 plugin15,708 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 21 | 4,158 | 10,843 |
JavaScript | 2 | 1,077 | 501 | 3,469 |
SVG | 1 | 0 | 0 | 685 |
PHP | 1 | 33 | 47 | 625 |
PO File | 1 | 37 | 41 | 86 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 136.00 |
▷ Minimum class complexity | 136.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 34.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.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 | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin