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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.24ms] Passed 4 tests
This is a short check of server-side resources used by Ed's Social Share
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 48.27 ▲0.97 |
Dashboard /wp-admin | 3.37 ▲0.02 | 51.62 ▼16.35 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 54.32 ▼0.67 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.66 ▼19.29 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.34 ▼0.65 |
Dashboard /wp-admin/admin.php?page=ess_dashboard_admin_page | 3.26 | 35.04 |
Plugin Options /wp-admin/admin.php?page=essp_options_admin_page | 3.26 | 30.45 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ed's Social Share
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲35 | 14.28 ▲0.00 | 1.92 ▼0.23 | 46.24 ▲2.75 |
Dashboard /wp-admin | 2,219 ▲42 | 5.50 ▼0.02 | 87.54 ▼3.80 | 39.50 ▼0.98 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 1.94 ▼0.05 | 37.04 ▼6.20 | 36.89 ▼3.18 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.36 ▲0.37 | 644.01 ▼68.95 | 49.76 ▼5.99 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.18 ▼0.07 | 99.94 ▼6.52 | 41.77 ▼3.25 |
Dashboard /wp-admin/admin.php?page=ess_dashboard_admin_page | 890 | 2.00 | 23.47 | 30.54 |
Plugin Options /wp-admin/admin.php?page=essp_options_admin_page | 885 | 2.01 | 23.50 | 24.15 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eds-social-share/eds_social_share.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=ess_dashboard_admin_page
- > Network (severe)
wp-content/plugins/eds-social-share/assets/banner-772x250.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please describe screenshot #6 in eds-social-share/assets to your readme.txt
eds-social-share/eds_social_share.php 85% from 13 tests
The main PHP script in "Ed's Social Share" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("eds-social-share.php" instead of "eds_social_share.php")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected472 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 54 | 43 | 325 |
CSS | 2 | 3 | 2 | 109 |
Markdown | 1 | 19 | 0 | 38 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected