Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.24ms] Passed 4 tests
An overview of server-side resources used by Easy Social Share Buttons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.42 ▲2.50 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.32 ▼0.70 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 44.53 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 80.53 ▼14.77 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.42 ▼5.31 |
Easy Social Share /wp-admin/options-general.php?page=easy_social_share_buttons_settings | 3.24 | 31.15 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
easy_social_share_buttons_version |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Social Share Buttons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.23 ▼1.07 | 2.23 ▲0.76 | 42.04 ▲5.39 |
Dashboard /wp-admin | 2,210 ▲19 | 5.79 ▼0.07 | 93.82 ▼8.38 | 36.97 ▼6.92 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.02 ▼0.03 | 36.03 ▼0.85 | 34.64 ▲4.16 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.38 ▲0.78 | 616.93 ▼65.53 | 45.18 ▼3.30 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.23 ▼0.03 | 93.83 ▼5.12 | 41.23 ▼5.72 |
Easy Social Share /wp-admin/options-general.php?page=easy_social_share_buttons_settings | 1,078 | 2.19 | 23.39 | 31.04 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- easy_social_share_buttons_version
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
3 plugin tags: plugin, social sharing, wordpress
easy-social-share-buttons/easy-social-share-buttons.php 92% from 13 tests
The primary PHP file in "Easy Social Share Buttons" version 1.4.5 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("3.9" instead of "4.0")
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
Everything looks great! No dangerous files found in this plugin1,375 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 314 | 406 | 898 |
Sass | 1 | 22 | 6 | 147 |
CSS | 2 | 22 | 0 | 138 |
PO File | 1 | 38 | 44 | 106 |
JavaScript | 2 | 18 | 8 | 86 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 2 | 5.00% |
▷ Public methods | 30 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 25.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected