Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼0.68ms] Passed 4 tests
An overview of server-side resources used by Custom Share Buttons with Floating Sidebar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 43.28 ▲0.76 |
Dashboard /wp-admin | 3.65 ▲0.34 | 50.68 ▼1.11 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 52.82 ▼0.09 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 101.93 ▼0.35 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 36.74 ▼1.19 |
Social Share Buttons(CSBWFS) /wp-admin/options-general.php?page=csbwfs-settings | 3.68 | 50.73 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 44 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Share Buttons with Floating Sidebar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.16 ▼1.22 | 1.72 ▼0.30 | 44.74 ▼4.02 |
Dashboard /wp-admin | 2,224 ▲36 | 4.91 ▼0.97 | 109.00 ▲0.14 | 43.32 ▼2.75 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.01 ▼0.02 | 39.97 ▼5.05 | 34.76 ▼2.93 |
Add New Post /wp-admin/post-new.php | 1,554 ▲40 | 18.40 ▲1.00 | 606.60 ▼47.90 | 50.81 ▼8.37 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.20 ▼0.01 | 95.55 ▼14.56 | 41.72 ▼2.35 |
Social Share Buttons(CSBWFS) /wp-admin/options-general.php?page=csbwfs-settings | 3,595 | 17.74 | 599.00 | 87.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Csbwfs_Class::csbwfs_uninstall() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/custom-share-buttons-with-floating-sidebar/lib/settings.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
custom-share-buttons-with-floating-sidebar/custom-share-buttons-with-floating-sidebar.php 92% from 13 tests
The entry point to "Custom Share Buttons with Floating Sidebar" version 4.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,307 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 87 | 225 | 1,123 |
CSS | 2 | 8 | 27 | 120 |
JavaScript | 1 | 5 | 7 | 46 |
SVG | 1 | 6 | 0 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 4 | 30.77% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
22 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ml.png | 0.45KB | 0.20KB | ▼ 56.33% |
images/pinit.png | 2.11KB | 1.12KB | ▼ 46.66% |
images/minify-social.png | 7.83KB | 8.22KB | 0.00% |
images/in.png | 1.25KB | 0.47KB | ▼ 62.33% |
images/overlay.png | 0.11KB | 0.09KB | ▼ 12.84% |