Benchmarks
Plugin footprint 83% 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.62MB] [CPU: ▼20.42ms] Passed 4 tests
This is a short check of server-side resources used by Super Easy Social Share
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.62 ▼1.47 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.59 ▼12.73 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 51.76 ▼3.17 |
Add New Post /wp-admin/post-new.php | 3.22 ▼2.66 | 36.62 ▼64.32 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 44.04 ▲5.21 |
SE Social Share /wp-admin/options-general.php?page=social-share | 3.24 | 31.42 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
se-social-share |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Super Easy Social Share
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲38 | 14.33 ▼0.08 | 1.55 ▼0.47 | 41.05 ▼8.26 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▲0.05 | 86.48 ▼4.19 | 40.63 ▼3.84 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.02 | 39.67 ▼0.96 | 32.48 ▼6.42 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.18 ▼0.14 | 694.79 ▼6.90 | 54.26 ▼8.58 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.01 | 112.59 ▲7.54 | 48.03 ▲0.91 |
SE Social Share /wp-admin/options-general.php?page=social-share | 980 | 2.00 | 25.45 | 29.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- se-social-share
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=social-share
- > Notice in wp-content/plugins/super-easy-social-share/se-social-share.php+215
Undefined index: prompt
- > GET request to /wp-admin/options-general.php?page=social-share
- > Notice in wp-content/plugins/super-easy-social-share/se-social-share.php+229
Undefined index: below
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=social-share
- > Notice in wp-content/plugins/super-easy-social-share/se-social-share.php+265
Undefined index: shape
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=social-share
- > Notice in wp-content/plugins/super-easy-social-share/se-social-share.php+253
Undefined index: float
- > GET request to /wp-admin/options-general.php?page=social-share
- > Notice in wp-content/plugins/super-easy-social-share/se-social-share.php+243
Undefined index: hide_mobile
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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/super-easy-social-share/se-social-share.php
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: social share icons, share buttons, social media
super-easy-social-share/se-social-share.php 92% from 13 tests
Analyzing the main PHP file in "Super Easy Social Share" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("super-easy-social-share.php" instead of "se-social-share.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin504 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 88 | 29 | 326 |
Sass | 1 | 33 | 1 | 142 |
SVG | 5 | 0 | 0 | 35 |
CSS | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected