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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.32ms] Passed 4 tests
This is a short check of server-side resources used by Share Me Floating Share Buttons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.27 ▼1.75 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.19 ▼4.11 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.97 ▲3.85 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.01 ▲4.16 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.20 ▼3.27 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Share Me Floating Share Buttons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲107 | 13.21 ▼1.54 | 1.98 ▲0.05 | 42.93 ▼2.13 |
Dashboard /wp-admin | 2,220 ▲32 | 5.87 ▲0.99 | 97.73 ▼19.20 | 72.46 ▲27.62 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 1.98 ▲0.00 | 38.41 ▲0.78 | 34.33 ▲1.81 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 18.20 ▼4.67 | 750.11 ▲72.94 | 65.79 ▲9.96 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.20 ▲0.02 | 99.04 ▼0.47 | 70.17 ▲25.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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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 50% from 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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/social-buttons-floating-share-me/share-me-socials-output.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/social-buttons-floating-share-me/share-me-socials-admin-page.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
5 plugin tags: share buttons, widget, social buttons, social media widget, social media
social-buttons-floating-share-me/share-me-socials-by-cheeky-apps.php 85% from 13 tests
The main PHP file in "Share Me Floating Share Buttons" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 181 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("social-buttons-floating-share-me.php" instead of "share-me-socials-by-cheeky-apps.php")
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
Success! There were no dangerous files found in this plugin125 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 20 | 24 | 86 |
CSS | 1 | 0 | 1 | 39 |
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.33 |
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 | 6 | |
▷ Named functions | 6 | 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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/socials_icons/share-20.png | 1.23KB | 0.97KB | ▼ 20.97% |
assets/socials_icons/facebook-sprite.png | 1.36KB | 1.06KB | ▼ 22.12% |
assets/socials_icons/google-sprite.png | 2.62KB | 1.86KB | ▼ 29.15% |
assets/socials_icons/twitter-sprite.png | 2.09KB | 1.66KB | ▼ 20.47% |