Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.36ms] Passed 4 tests
Server-side resources used by Popups for WooCommerce: Add to Cart, Checkout & More
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.00 | 38.04 ▼19.53 |
Dashboard /wp-admin | 3.35 ▲0.00 | 57.05 ▲9.03 |
Posts /wp-admin/edit.php | 3.40 ▲0.00 | 52.90 ▼1.95 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.00 | 105.56 ▲5.64 |
Media Library /wp-admin/upload.php | 3.27 ▲0.00 | 40.07 ▼1.59 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Popups for WooCommerce: Add to Cart, Checkout & More
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▼0.08 | 2.03 ▼0.28 | 44.48 ▼17.72 |
Dashboard /wp-admin | 2,195 ▲15 | 5.59 ▼0.07 | 91.57 ▼2.38 | 44.05 ▲1.74 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.04 ▲0.01 | 40.67 ▼0.74 | 37.91 ▲1.48 |
Add New Post /wp-admin/post-new.php | 1,528 ▼9 | 23.34 ▲5.24 | 674.87 ▲23.02 | 61.64 ▼13.00 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.30 ▲0.16 | 97.69 ▼9.15 | 47.89 ▼2.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: woocommerce, modal, popup, notice, notices
popup-notices-for-woocommerce/popup-notices-for-woocommerce.php 92% from 13 tests
"Popups for WooCommerce: Add to Cart, Checkout & More" version 1.4.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("4.4" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected17,097 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 12,929 |
PHP | 20 | 308 | 1,014 | 1,988 |
JavaScript | 8 | 124 | 210 | 1,237 |
PO File | 1 | 125 | 125 | 355 |
Sass | 3 | 46 | 4 | 298 |
CSS | 2 | 36 | 17 | 283 |
Bourne Shell | 1 | 0 | 1 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 21 | 21.43% |
▷ Public methods | 90 | 91.84% |
▷ Protected methods | 3 | 3.06% |
▷ Private methods | 5 | 5.10% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
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
PNG images were not found in this plugin