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
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.22ms] Passed 4 tests
An overview of server-side resources used by Social Media Social Share Icon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.26 ▲3.76 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.75 ▼1.57 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.71 ▼6.82 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 88.76 ▼9.43 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.53 ▲0.96 |
Server storage [IO: ▲2.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 105 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Social Media Social Share Icon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲207 | 14.22 ▲0.01 | 8.23 ▲6.34 | 32.74 ▼6.64 |
Dashboard /wp-admin | 2,236 ▲45 | 4.96 ▼0.96 | 114.67 ▲13.46 | 44.05 ▲2.69 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.20 ▲0.15 | 38.24 ▼3.48 | 35.25 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,551 ▲31 | 23.32 ▲0.15 | 651.47 ▼26.53 | 34.47 ▼23.18 |
Media Library /wp-admin/upload.php | 1,424 ▲39 | 4.36 ▲0.14 | 96.57 ▼7.93 | 42.91 ▼3.09 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/add-social-share/wpsocial-enque-script.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/add-social-share/wpsocial-function.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/add-social-share/wpsocial-admin.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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: You are using too many tags: 70 tag instead of maximum 10
add-social-share/wpsocial-function.php 92% from 13 tests
The main PHP script in "Social Media Social Share Icon" version 3.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("add-social-share.php" instead of "wpsocial-function.php")
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
There were no executable files found in this plugin9,644 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 501 | 206 | 6,800 |
JavaScript | 4 | 102 | 8 | 1,156 |
PHP | 4 | 88 | 15 | 949 |
SVG | 2 | 0 | 0 | 739 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
76 PNG files occupy 0.80MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/pinteresttheme12.png | 9.58KB | 4.08KB | ▼ 57.46% |
admin/images/linkedintheme8.png | 3.87KB | 2.18KB | ▼ 43.67% |
admin/images/gplustheme12.png | 9.70KB | 4.01KB | ▼ 58.63% |
admin/images/both.png | 1.65KB | 0.71KB | ▼ 57.00% |
admin/images/linkedintheme11.png | 5.90KB | 3.28KB | ▼ 44.38% |