Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.70ms] Passed 4 tests
Server-side resources used by Checkout Popup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.88 ▼4.02 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.15 ▼6.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.74 ▼1.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.30 ▼11.23 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.01 ▲3.24 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checkout Popup: 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,800 ▲65 | 13.66 ▼0.64 | 1.63 ▼0.22 | 41.72 ▼10.28 |
Dashboard /wp-admin | 2,206 ▲15 | 5.79 ▼0.03 | 104.11 ▼2.54 | 40.49 ▼8.90 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.00 | 37.06 ▲0.94 | 32.57 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.20 ▲4.99 | 669.72 ▲28.06 | 53.05 ▼13.36 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.24 ▲0.02 | 100.41 ▼1.98 | 45.31 ▲3.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/woo-awesome-checkout-popup-form/checkout-popup.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/woo-awesome-checkout-popup-form/checkout-form.php:10
- > 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)
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
Please fix the following attributes:
- Screenshots: A description for screenshot #0 is missing in woo-awesome-checkout-popup-form/assets to your readme.txt
woo-awesome-checkout-popup-form/checkout-popup.php 92% from 13 tests
This is the main PHP file of "Checkout Popup" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-awesome-checkout-popup-form.php" instead of "checkout-popup.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin301 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 101 | 118 | 295 |
JavaScript | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 3 | |
▷ Named functions | 3 | 100.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 were not PNG files found in your plugin