Benchmarks
Plugin footprint 65% 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.21MB] [CPU: ▼4.26ms] Passed 4 tests
A check of server-side resources used by SP Feedbacks - Your eBay in Your Site
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 39.13 ▼5.94 |
Dashboard /wp-admin | 3.56 ▲0.25 | 47.07 ▼7.34 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 50.66 ▲0.41 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 90.05 ▼4.18 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 35.34 ▲1.68 |
Auth /wp-admin/admin.php?page=sp_ebay_auth | 3.39 | 32.84 |
Feedbacks Settings /wp-admin/admin.php?page=sp_ebay_feedbacks | 3.38 | 34.53 |
Server storage [IO: ▲2.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
SP Feedbacks - Your eBay in Your Site: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲190 | 14.06 ▼0.69 | 5.65 ▲3.41 | 39.05 ▼11.46 |
Dashboard /wp-admin | 2,237 ▲49 | 5.87 ▲0.86 | 103.94 ▼10.15 | 42.27 ▼0.99 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.33 ▲0.33 | 35.47 ▼4.13 | 31.64 ▼7.67 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 17.63 ▼5.28 | 657.27 ▲4.85 | 39.01 ▼14.35 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.48 ▲0.27 | 96.38 ▼5.47 | 43.45 ▲2.37 |
Auth /wp-admin/admin.php?page=sp_ebay_auth | 909 | 1.92 | 23.40 | 27.77 |
Feedbacks Settings /wp-admin/admin.php?page=sp_ebay_feedbacks | 871 | 1.92 | 25.06 | 29.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/siliconplex-ebay-feedback-listing/uninstall.php+23
Undefined variable: option
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/siliconplex-ebay-feedback-listing/sp-ebay.php
- 10× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'SpEFLInc\\Base\\BaseController' not found in wp-content/plugins/siliconplex-ebay-feedback-listing/includes/Base/Enqueue.php:17
- > PHP Fatal error
Uncaught Error: Class 'SpEFLInc\\Base\\BaseController' not found in wp-content/plugins/siliconplex-ebay-feedback-listing/includes/Api/Callbacks/AdminCallbacks.php:16
- > PHP Fatal error
Uncaught Error: Class 'SpEFLInc\\Base\\BaseController' not found in wp-content/plugins/siliconplex-ebay-feedback-listing/includes/Api/Callbacks/SectionsCallbacks.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/siliconplex-ebay-feedback-listing/templates/public/feedbacks/feedbacks_shortcode.php:67
- > PHP Fatal error
Uncaught Error: Class 'SpEFLInc\\Base\\BaseController' not found in wp-content/plugins/siliconplex-ebay-feedback-listing/includes/Api/Callbacks/FieldsCallbacks.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/siliconplex-ebay-feedback-listing/templates/admin/auth.php:17
- > PHP Fatal error
Uncaught Error: Class 'SpEFLInc\\Base\\BaseController' not found in wp-content/plugins/siliconplex-ebay-feedback-listing/includes/Pages/Admin.php:21
- > PHP Fatal error
Uncaught Error: Class 'SpEFLInc\\Base\\BaseController' not found in wp-content/plugins/siliconplex-ebay-feedback-listing/includes/Api/Callbacks/PagesCallbacks.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/siliconplex-ebay-feedback-listing/templates/admin/feedbacks.php:16
- > PHP Fatal error
Uncaught Error: Class 'SpEFLInc\\Base\\BaseController' not found in wp-content/plugins/siliconplex-ebay-feedback-listing/includes/Base/SettingsLinks.php:17
- > 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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: ebay feedbacks, ebay reviews, feedbacks, reviews
siliconplex-ebay-feedback-listing/sp-ebay.php 77% from 13 tests
Analyzing the main PHP file in "SP Feedbacks - Your eBay in Your Site" version 1.0.0
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 183 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("siliconplex-ebay-feedback-listing.php" instead of "sp-ebay.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin1,311 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 34,691 | 55,370 | 1,053 |
JavaScript | 1 | 64 | 9 | 180 |
CSS | 2 | 16 | 3 | 62 |
JSON | 2 | 2 | 0 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 6.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 1 | 5.88% |
Methods | 67 | |
▷ Static methods | 9 | 13.43% |
▷ Public methods | 65 | 97.01% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.99% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.32MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 133.23KB | 32.55KB | ▼ 75.57% |
assets/public/images/feedback_type_icons/Positive.png | 0.49KB | 0.25KB | ▼ 49.60% |
assets/screenshot-1.png | 192.03KB | 46.70KB | ▼ 75.68% |
assets/public/images/feedback_type_icons/Negative.png | 0.53KB | 0.28KB | ▼ 46.57% |
assets/public/images/feedback_type_icons/Neutral.png | 0.51KB | 0.26KB | ▼ 48.27% |