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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▼282.86ms] Passed 4 tests
This is a short check of server-side resources used by Checkout Countdown for WooCommerce - FOMO Cart Abandonment
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.20 | 56.13 ▲6.92 |
Dashboard /wp-admin | 3.62 ▲0.22 | 37.81 ▲1.35 |
Posts /wp-admin/edit.php | 3.85 ▲0.21 | 42.58 ▲6.83 |
Add New Post /wp-admin/post-new.php | 7.06 ▲0.09 | 95.27 ▼1,143.97 |
Media Library /wp-admin/upload.php | 3.48 ▲0.18 | 28.25 ▲4.35 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ccfwoo_general_section |
Browser metrics Passed 4 tests
Checking browser requirements for Checkout Countdown for WooCommerce - FOMO Cart Abandonment
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,001 ▲243 | 17.70 ▲1.66 | 5.91 ▲0.08 | 2.21 ▼0.39 |
Dashboard /wp-admin | 3,130 ▲276 | 8.32 ▲2.15 | 142.18 ▲7.93 | 149.14 ▼9.78 |
Posts /wp-admin/edit.php | 2,961 ▲270 | 5.23 ▲2.00 | 78.99 ▲16.73 | 138.46 ▼3.68 |
Add New Post /wp-admin/post-new.php | 1,780 ▲69 | 21.54 ▲0.84 | 421.56 ▼36.05 | 176.39 ▲19.98 |
Media Library /wp-admin/upload.php | 1,743 ▲42 | 5.65 ▲0.11 | 107.52 ▼36.36 | 188.50 ▲0.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- ccfwoo_general_section
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/checkout-countdown-for-woocommerce/functions/shortcode.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/checkout-countdown-for-woocommerce/functions/enqueue.php:75
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
checkout-countdown-for-woocommerce/checkout-countdown-for-woocommerce.php 92% from 13 tests
The entry point to "Checkout Countdown for WooCommerce - FOMO Cart Abandonment" version 3.1.6 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,468 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 332 | 372 | 1,158 |
JavaScript | 2 | 55 | 68 | 246 |
CSS | 2 | 0 | 2 | 64 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected