Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.89ms] Passed 4 tests
Analyzing server-side resources used by Zedna Social Share Floating Buttons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.15 ▼0.10 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.30 ▼2.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.37 ▼10.71 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.22 ▼14.63 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 60.15 ▲25.03 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 103 new files
Database: no new tables, 13 new options
New WordPress options |
---|
zedna_social_share_buttons_show_linkedin |
zedna_social_share_buttons_show_twitter |
db_upgraded |
zedna_social_share_buttons_position |
zedna_social_share_buttons_show_rss |
zedna_social_share_buttons_width |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Zedna Social Share Floating Buttons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲100 | 13.58 ▼0.78 | 1.87 ▼0.10 | 42.10 ▲2.02 |
Dashboard /wp-admin | 2,224 ▲33 | 4.92 ▲0.05 | 109.06 ▲5.70 | 86.22 ▲39.57 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 1.97 ▼0.13 | 36.28 ▼8.27 | 32.97 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,680 ▲145 | 21.90 ▼1.10 | 754.59 ▲117.61 | 57.68 ▼3.29 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.14 ▼0.03 | 96.26 ▼1.29 | 76.33 ▲33.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 13 options in the database
- zedna_social_share_buttons_width
- zedna_social_share_buttons_show_googleplus
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- zedna_social_share_buttons_show_linkedin
- zedna_social_share_buttons_show_facebook
- widget_recent-comments
- widget_theysaidso_widget
- zedna_social_share_buttons_position
- ...
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/zedna-social-share-floating-buttons/zedna-social-share-buttons-widget.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/zedna-social-share-floating-buttons/zedna-social-share-buttons.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: icons, share, button, social, floating
zedna-social-share-floating-buttons/zedna-social-share-buttons.php 92% from 13 tests
The main PHP script in "Zedna Social Share Floating Buttons" version 1.1 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("zedna-social-share-floating-buttons.php" instead of "zedna-social-share-buttons.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
Good job! No executable or dangerous file extensions detected186 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 29 | 25 | 186 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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
PNG files should be compressed to save space and minimize bandwidth usage
100 PNG files occupy 0.21MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
social-icons/128-instagram.png | 0.84KB | 0.89KB | 0.00% |
social-icons/64-dropbox.png | 0.82KB | 0.86KB | 0.00% |
social-icons/16-digg.png | 1.04KB | 0.10KB | ▼ 90.00% |
social-icons/128-yahoo.png | 0.79KB | 0.85KB | 0.00% |
social-icons/16-dropbox.png | 1.25KB | 0.32KB | ▼ 74.22% |