Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▼3.36ms] Passed 4 tests
Server-side resources used by Easy Social Sharing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 53.43 ▲9.75 |
Dashboard /wp-admin | 3.78 ▲0.44 | 51.38 ▼6.98 |
Posts /wp-admin/edit.php | 3.83 ▲0.48 | 48.72 ▲4.97 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 87.03 ▼15.63 |
Media Library /wp-admin/upload.php | 3.64 ▲0.42 | 39.21 ▲4.20 |
Easy Social Sharing /wp-admin/options-general.php?page=easy-social-sharing | 3.86 | 37.31 |
Server storage [IO: ▲2.59MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 121 new files
Database: 2 new tables, 20 new options
New tables |
---|
wp_ess_social_statistics |
wp_ess_social_networks |
New WordPress options |
---|
widget_recent-posts |
easy_social_sharing_sidebar_icon_shape |
easy_social_sharing_all_except_screens |
easy_social_sharing_allowed_locations |
easy_social_sharing_inline_layouts |
easy_social_sharing_inline_icon_shape |
widget_recent-comments |
widget_theysaidso_widget |
easy_social_sharing_allowed_screens |
db_upgraded |
... |
Browser metrics Passed 4 tests
Easy Social Sharing: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,548 ▲802 | 14.14 ▼0.28 | 17.33 ▲15.42 | 78.72 ▲34.81 |
Dashboard /wp-admin | 2,215 ▲27 | 4.87 ▲0.02 | 98.80 ▼11.18 | 38.67 ▼6.62 |
Posts /wp-admin/edit.php | 2,077 ▼12 | 2.04 ▲0.07 | 38.75 ▼1.79 | 33.74 ▼2.07 |
Add New Post /wp-admin/post-new.php | 6,290 ▲4,747 | 26.29 ▲7.99 | 961.23 ▲338.01 | 43.06 ▼16.38 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.27 ▲0.06 | 95.83 ▼1.83 | 40.78 ▼0.38 |
Easy Social Sharing /wp-admin/options-general.php?page=easy-social-sharing | 1,320 | 2.97 | 60.18 | 35.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_ess_social_statistics
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- ess-social-network-cache-date
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/easy-social-sharing/includes/libraries/wp-background-process.php:16
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
easy-social-sharing/easy-social-sharing.php Passed 13 tests
The main file in "Easy Social Sharing" v. 1.3.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
98 characters long description:
Easy Social Sharing provides you with an easy way to display various popular social share buttons.
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
There were no executable files found in this plugin28,389 lines of code in 97 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 22 | 2,656 | 921 | 10,799 |
PHP | 39 | 1,027 | 1,776 | 4,081 |
JSON | 1 | 0 | 0 | 3,672 |
CSS | 13 | 43 | 66 | 3,562 |
Sass | 18 | 657 | 1 | 3,474 |
SVG | 4 | 1 | 1 | 2,801 |
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.45 |
Average class complexity | 19.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 3 | 15.00% |
▷ Concrete classes | 17 | 85.00% |
▷ Final classes | 1 | 5.88% |
Methods | 184 | |
▷ Static methods | 81 | 44.02% |
▷ Public methods | 130 | 70.65% |
▷ Protected methods | 22 | 11.96% |
▷ Private methods | 32 | 17.39% |
Functions | 44 | |
▷ Named functions | 43 | 97.73% |
▷ Anonymous functions | 1 | 2.27% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
13 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.26KB | 0.09KB | ▼ 66.79% |
assets/css/jquery-ui/images/ui-icons_cd0a0a_256x240.png | 4.51KB | 4.18KB | ▼ 7.28% |
assets/css/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.32KB | 0.18KB | ▼ 44.00% |
assets/css/jquery-ui/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
assets/css/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png | 0.32KB | 0.16KB | ▼ 50.46% |