Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.10ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Frotel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.86 ▼1.47 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.08 ▼16.42 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 47.80 ▼0.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.99 ▼13.71 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.39 ▼0.80 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Frotel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 14.24 ▼0.11 | 2.01 ▲0.19 | 39.86 ▲2.46 |
Dashboard /wp-admin | 2,195 ▲17 | 5.62 ▼0.03 | 85.92 ▼18.02 | 36.06 ▼9.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.03 | 35.07 ▼4.29 | 33.01 ▼7.99 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.79 ▲0.67 | 610.66 ▲0.66 | 58.71 ▲5.90 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.27 ▲0.06 | 100.77 ▼3.08 | 43.23 ▼1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-frotel/lib/nusoap/class.soap_fault.php:14
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-frotel/lib/nusoap/class.soapclient.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/woocommerce-frotel/frotel.php:36
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-frotel/lib/nusoap/class.soap_transport_http.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-frotel/lib/nusoap/class.xmlschema.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-frotel/lib/nusoap/class.soap_parser.php:15
- > PHP Warning
require_once(Mail/mimeDecode.php): failed to open stream: No such file or directory in wp-content/plugins/woocommerce-frotel/lib/nusoap/nusoapmime.php on line 42
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-frotel/lib/nusoap/class.wsdl.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-frotel/lib/nusoap/class.soap_server.php:16
- > PHP Fatal error
require_once(): Failed opening required 'Mail/mimeDecode.php' (include_path='.:/usr/share/php') in wp-content/plugins/woocommerce-frotel/lib/nusoap/nusoapmime.php on line 42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
woocommerce-frotel/frotel.php 85% from 13 tests
"WooCommerce Frotel" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("woocommerce-frotel.php" instead of "frotel.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected12,922 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 1,293 | 5,181 | 12,347 |
JavaScript | 2 | 5 | 19 | 542 |
PO File | 1 | 2 | 5 | 20 |
CSS | 1 | 0 | 2 | 13 |
PHP code Passed 2 tests
A short review 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.47 |
Average class complexity | 74.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 388.00 |
Average method complexity | 8.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 38 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 368 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 367 | 99.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.27% |
Functions | 10 | |
▷ Named functions | 10 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin