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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼3.79ms] Passed 4 tests
A check of server-side resources used by Easy Social Icons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 36.03 ▲0.46 |
Dashboard /wp-admin | 3.55 ▲0.24 | 44.48 ▼11.25 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 48.55 ▲3.53 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 89.29 ▼4.37 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 34.81 ▲0.02 |
Sort Icons /wp-admin/admin.php?page=cnss_social_icon_sort | 3.44 | 32.30 |
Add New /wp-admin/admin.php?page=cnss_social_icon_add | 3.55 | 39.29 |
All Icons /wp-admin/admin.php?page=cnss_social_icon_page | 3.44 | 31.49 |
Settings & Instructions /wp-admin/admin.php?page=cnss_social_icon_option | 3.44 | 32.40 |
Server storage [IO: ▲4.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 69 new files
Database: 1 new table, 21 new options
New tables |
---|
wp_cn_social_icon |
New WordPress options |
---|
db_upgraded |
cnss-row-count |
cnss-social-profile-links |
widget_recent-posts |
cnss-width |
can_compress_scripts |
widget_recent-comments |
cnss-social-profile-type |
cnss-margin |
cnss-icon-hover-color |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Social Icons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲189 | 13.75 ▼0.16 | 8.87 ▲7.28 | 38.54 ▼4.82 |
Dashboard /wp-admin | 2,248 ▲71 | 5.79 ▲0.12 | 93.46 ▼9.43 | 42.32 ▼0.60 |
Posts /wp-admin/edit.php | 2,157 ▲54 | 2.29 ▲0.27 | 39.91 ▲1.05 | 36.69 ▲3.56 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 23.57 ▲0.47 | 668.47 ▼25.37 | 56.65 ▼8.60 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.25 ▲0.06 | 101.65 ▲1.31 | 42.00 ▼1.73 |
Sort Icons /wp-admin/admin.php?page=cnss_social_icon_sort | 972 | 2.26 | 30.99 | 47.30 |
Add New /wp-admin/admin.php?page=cnss_social_icon_add | 4,422 | 3.23 | 47.45 | 100.86 |
All Icons /wp-admin/admin.php?page=cnss_social_icon_page | 1,082 | 2.00 | 28.76 | 43.05 |
Settings & Instructions /wp-admin/admin.php?page=cnss_social_icon_option | 1,837 | 2.81 | 57.90 | 45.67 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_cnss_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (display social icons in sidebar using widget), #2 (display social icons in sidebar using widget different icons shape), #3 (display social icons in sidebar using widget different icons colors), #4 (manage icons page layout), #5 (add new icon page layout), #6 (sort icons usign drag drop), #7 (plugins settings page layout), #8 (add Easy Social Icon widget to sidebar using drag drop)
- Donate link: Invalid URI ("")
easy-social-icons/easy-social-icons.php 92% from 13 tests
Analyzing the main PHP file in "Easy Social Icons" version 3.2.5
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 390 characters long)
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
No dangerous file extensions were detected15,563 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 11,282 |
CSS | 10 | 0 | 15 | 2,482 |
PHP | 3 | 164 | 67 | 1,754 |
JavaScript | 2 | 3 | 6 | 45 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 30 | 96.77% |
▷ Anonymous functions | 1 | 3.23% |
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
20 PNG files occupy 0.44MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon/Google-Plus.png | 2.68KB | 1.77KB | ▼ 33.69% |
images/icon/pinterest.png | 2.67KB | 1.77KB | ▼ 33.66% |
images/icon/Twitter.png | 2.05KB | 1.15KB | ▼ 43.90% |
images/icon/flickr.png | 2.06KB | 1.16KB | ▼ 43.74% |
screenshot-2.png | 40.88KB | 19.08KB | ▼ 53.34% |