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.13MB] [CPU: ▼4.52ms] Passed 4 tests
An overview of server-side resources used by Easy Social Sharebar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 40.74 ▲0.72 |
Dashboard /wp-admin | 3.45 ▲0.14 | 49.81 ▲1.01 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 50.03 ▼3.04 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 82.11 ▼15.16 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.54 ▼0.61 |
Easy Social Sharebar /wp-admin/options-general.php?page=ess-settings | 3.39 | 41.12 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 18 new options
New WordPress options |
---|
ess_buttons_color |
ess_include_social_meta |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
ess_buttons_hover_color |
ess_buttons_placement |
ess_version |
widget_recent-posts |
ess_post_types |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Social Sharebar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲177 | 13.22 ▼1.42 | 3.30 ▲1.48 | 38.13 ▼8.85 |
Dashboard /wp-admin | 2,227 ▲42 | 5.84 ▼0.01 | 95.26 ▼11.97 | 39.40 ▼8.24 |
Posts /wp-admin/edit.php | 2,110 ▲18 | 2.06 ▲0.02 | 36.15 ▼10.88 | 31.42 ▼9.92 |
Add New Post /wp-admin/post-new.php | 6,257 ▲4,721 | 25.99 ▲2.67 | 897.57 ▲252.99 | 65.44 ▲11.85 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.25 ▲0.08 | 99.68 ▼2.45 | 42.02 ▼2.00 |
Easy Social Sharebar /wp-admin/options-general.php?page=ess-settings | 1,764 | 3.60 | 58.15 | 72.75 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Admin post type.), #2 (Admin socail button.)
easy-social-sharebar/easy_social_sharebar.php 85% from 13 tests
The main PHP script in "Easy Social Sharebar" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("easy-social-sharebar.php" instead of "easy_social_sharebar.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin3,940 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 6 | 172 | 222 | 825 |
CSS | 4 | 42 | 9 | 257 |
JavaScript | 1 | 51 | 17 | 187 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 17.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ess-button-large.png | 4.05KB | 1.84KB | ▼ 54.62% |
assets/images/ess-button-small.png | 15.42KB | 0.76KB | ▼ 95.08% |
assets/images/ess-button-medium.png | 17.36KB | 1.72KB | ▼ 90.07% |