Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.49ms] Passed 4 tests
This is a short check of server-side resources used by Social Media Sharing by FVP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.62 ▼2.59 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.42 ▼2.89 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.70 ▼0.28 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.63 ▼20.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.49 ▲2.95 |
Customize /wp-admin/admin.php?page=fvp_social_media_plugin_customize | 3.26 | 31.48 |
Settings /wp-admin/admin.php?page=fvp_social_media_plugin_settings | 3.26 | 32.88 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Media Sharing by FVP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲30 | 14.35 ▼0.01 | 1.65 ▼0.30 | 39.89 ▼6.42 |
Dashboard /wp-admin | 2,215 ▲35 | 5.54 ▼0.11 | 87.83 ▲1.26 | 39.30 ▼2.87 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 1.97 ▼0.01 | 35.60 ▼5.13 | 32.96 ▼3.34 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.10 ▲0.01 | 647.59 ▼21.18 | 55.86 ▼17.99 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.18 ▼0.03 | 98.55 ▲2.73 | 40.59 ▼8.10 |
Customize /wp-admin/admin.php?page=fvp_social_media_plugin_customize | 1,018 | 1.82 | 24.98 | 31.16 |
Settings /wp-admin/admin.php?page=fvp_social_media_plugin_settings | 913 | 1.93 | 34.37 | 28.25 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/social-media-sharing-by-fvp/fvp-social-media.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/social-media-sharing-by-fvp/inc/core.php:91
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/social-media-sharing-by-fvp/inc/templates/settings-panel.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/social-media-sharing-by-fvp/inc/templates/customize-panel.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/social-media-sharing-by-fvp/inc/panels.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid url: ""
social-media-sharing-by-fvp/fvp-social-media.php 92% from 13 tests
The entry point to "Social Media Sharing by FVP" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("social-media-sharing-by-fvp.php" instead of "fvp-social-media.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
Success! There were no dangerous files found in this plugin1,409 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 685 |
CSS | 2 | 47 | 31 | 482 |
PHP | 7 | 73 | 36 | 232 |
JavaScript | 1 | 1 | 0 | 10 |
PHP code Passed 2 tests
A short review of 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.23 |
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 | 17 | |
▷ Named functions | 17 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
16 PNG files occupy 0.18MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/type1.png | 7.51KB | 3.81KB | ▼ 49.26% |
assets/screenshot-3.png | 81.27KB | 27.27KB | ▼ 66.44% |
img/type10.png | 4.42KB | 2.29KB | ▼ 48.10% |
img/type11.png | 3.96KB | 1.49KB | ▼ 62.22% |
assets/screenshot-2.png | 33.25KB | 12.00KB | ▼ 63.91% |