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.00MB] [CPU: ▼3.25ms] Passed 4 tests
A check of server-side resources used by WordPress Social Share Buttons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.46 ▲4.24 |
Dashboard /wp-admin | 3.32 ▼0.03 | 44.78 ▼15.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.19 ▼0.68 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.01 ▼0.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.93 ▲3.57 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Social Share Buttons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.41 ▲0.04 | 1.77 ▲0.17 | 44.72 ▲4.17 |
Dashboard /wp-admin | 2,198 ▲18 | 5.68 ▲0.02 | 86.16 ▼15.23 | 34.24 ▼6.33 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.00 | 39.64 ▲3.66 | 36.41 ▲1.95 |
Add New Post /wp-admin/post-new.php | 1,528 ▼3 | 23.14 ▼0.12 | 598.26 ▼23.53 | 50.05 ▼4.70 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.24 ▲0.07 | 97.54 ▼1.03 | 43.70 ▲2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-social-share-buttons/wp-social-share-buttons.php:59
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (demo)
- Requires at least: Invalid plugin version format
- Tags: Too many tags (24 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-social-share-buttons/wp-social-share-buttons.php Passed 13 tests
The main PHP file in "WordPress Social Share Buttons" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
123 characters long description:
WordPress Social Share Buttons - Facebook Share, Tweet, Google+, Buffer, LinkedIn, StumbleUpon, Pin it Buttons after posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin84 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 28 | 84 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 4 | |
▷ Named functions | 4 | 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
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
demo.png | 28.82KB | 15.81KB | ▼ 45.13% |