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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.08ms] Passed 4 tests
Server-side resources used by Woo Customer Feedback Mail
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.81 ▼2.78 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.84 ▼5.74 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.11 ▼0.60 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.11 ▲4.82 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.51 ▲6.14 |
Customer FeedBack Send /wp-admin/admin.php?page=wcfm-customer-feedback-mail | 3.18 | 28.37 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Customer Feedback Mail
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.57 ▼1.05 | 1.76 ▲0.07 | 41.92 ▼0.95 |
Dashboard /wp-admin | 2,206 ▲15 | 4.79 ▼0.23 | 109.39 ▲2.45 | 43.60 ▼0.46 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.00 | 38.48 ▲2.73 | 35.85 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.14 ▲0.62 | 642.54 ▼19.19 | 49.62 ▼3.92 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.20 ▲0.01 | 107.39 ▲3.89 | 46.61 ▲2.26 |
Customer FeedBack Send /wp-admin/admin.php?page=wcfm-customer-feedback-mail | 780 | 1.53 | 6.91 | 27.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wcfm-customer-feedback-mail
- > Notice in wp-content/plugins/woo-customer-feedback-mail/wcfm-admin-field.php+308
Undefined index: orderstatus
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/woo-customer-feedback-mail/wcfm-admin-init.php:20
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/woo-customer-feedback-mail/wcfm-admin-field.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/woo-customer-feedback-mail/wcfm-admin-field.php on line 7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/woo-customer-feedback-mail/wcfm-admin-field.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: customer mail, status mail, send mail, user mail
woo-customer-feedback-mail/wcfm-admin-init.php 92% from 13 tests
The main PHP script in "Woo Customer Feedback Mail" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-customer-feedback-mail.php" instead of "wcfm-admin-init.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 plugin212 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 132 | 42 | 212 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin