Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/fast-easy-social-sharing/fess-admin.php+170
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.16ms] Passed 4 tests
An overview of server-side resources used by Fast & Easy Social Sharing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.69 ▼0.76 |
Dashboard /wp-admin | 3.31 ▲0.00 | 62.47 ▲9.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.07 ▼6.39 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.32 ▼0.85 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.85 ▼0.65 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Fast & Easy Social Sharing: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.09 ▼0.56 | 1.69 ▼0.16 | 44.77 ▼0.55 |
Dashboard /wp-admin | 2,195 ▲28 | 5.64 ▼0.01 | 87.53 ▼20.81 | 41.04 ▼2.40 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 2.01 ▼0.00 | 32.62 ▼7.73 | 33.16 ▼2.52 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.94 ▼0.25 | 677.32 ▼41.05 | 54.67 ▲0.35 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.20 ▼0.02 | 98.07 ▲3.11 | 42.24 ▼6.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- 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
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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/fast-easy-social-sharing/fasteasysocialsharing.php:12
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/fast-easy-social-sharing/fess-admin.php on line 170
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (18 tag instead of maximum 10)
- Screenshots: Add images for these screenshots: #1 (screenshot-1.png Look and feel.), #2 (screenshot-2.png Hover state. Full opacity on hover.)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== fast-easy-social-sharing ===
)
fast-easy-social-sharing/fasteasysocialsharing.php 85% from 13 tests
The main PHP file in "Fast & Easy Social Sharing" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("fast-easy-social-sharing.php" instead of "fasteasysocialsharing.php")
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin335 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 25 | 200 |
CSS | 1 | 10 | 1 | 90 |
Markdown | 2 | 11 | 0 | 29 |
SVG | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 4.06KB | 3.17KB | ▼ 21.90% |
screenshot-2.png | 5.45KB | 4.57KB | ▼ 16.09% |