Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.91ms] Passed 4 tests
Analyzing server-side resources used by Essential Social Share
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.53 ▼0.27 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.78 ▼6.49 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.64 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.36 ▼8.10 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.82 ▲1.61 |
Essential Social Share /wp-admin/options-general.php?page=essential-social-share | 3.23 | 29.40 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Essential Social Share
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.59 ▼0.79 | 1.56 ▼0.36 | 41.12 ▼4.44 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼1.13 | 112.40 ▲7.28 | 42.58 ▼2.68 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 40.37 ▲4.90 | 35.34 ▲3.24 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.07 ▼5.17 | 603.55 ▼73.82 | 49.51 ▼3.46 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.19 ▲0.05 | 98.71 ▼1.09 | 46.28 ▲3.18 |
Essential Social Share /wp-admin/options-general.php?page=essential-social-share | 955 | 2.05 | 39.98 | 30.43 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/essential-social-share/essential-social-share.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/essential-social-share/admin/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/essential-social-share/essential_social_share_functions.php:40
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=essential-social-share
- > Network (severe)
wp-content/plugins/essential-social-share/admin/css/essential-social-share.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 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
4 plugin tags: social media icons, social share, social media sharing, essential social share
essential-social-share/essential-social-share.php Passed 13 tests
"Essential Social Share" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
92 characters long description:
Easily add in buttons that enable user to share your content on their social media profiles.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin263 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 27 | 20 | 225 |
CSS | 2 | 5 | 3 | 38 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
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 | 5 | |
▷ Named functions | 5 | 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
There are no PNG files in this plugin