Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.71ms] Passed 4 tests
Analyzing server-side resources used by Abandoned Cart Reports For WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.37 ▼2.28 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.93 ▼2.46 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.09 ▼2.59 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.84 ▼16.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.90 ▼5.16 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Abandoned Cart Reports For WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.21 | 1.82 ▲0.01 | 44.84 ▲1.99 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.04 | 90.46 ▼5.35 | 39.01 ▼8.74 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.95 ▼0.07 | 35.98 ▼3.69 | 32.07 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 20.92 ▼2.20 | 671.57 ▼120.48 | 54.88 ▼22.71 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.17 ▼0.03 | 101.84 ▼0.34 | 42.14 ▼4.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wc-abandoned-carts-by-small-fish-analytics/admin/class-sfa-abandoned-carts-help.php:19
- > PHP Fatal error
Uncaught Error: Class 'Jaybizzle\\CrawlerDetect\\Fixtures\\AbstractProvider' not found in wp-content/plugins/wc-abandoned-carts-by-small-fish-analytics/libraries/crawler-detect/Fixtures/Headers.php:14
- > PHP Fatal error
Uncaught Error: Class 'Jaybizzle\\CrawlerDetect\\Fixtures\\AbstractProvider' not found in wp-content/plugins/wc-abandoned-carts-by-small-fish-analytics/libraries/crawler-detect/Fixtures/Crawlers.php:14
- > PHP Fatal error
Uncaught Error: Class 'Jaybizzle\\CrawlerDetect\\Fixtures\\AbstractProvider' not found in wp-content/plugins/wc-abandoned-carts-by-small-fish-analytics/libraries/crawler-detect/Fixtures/Exclusions.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% 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: recover abandoned carts, cart abandonment, woocommerce, abandoned carts, abandoned cart report
wc-abandoned-carts-by-small-fish-analytics/class-sfa-woocommerce-abandoned-carts.php 85% from 13 tests
The entry point to "Abandoned Cart Reports For WooCommerce" version 2.6.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wc-abandoned-carts-by-small-fish-analytics.php" instead of "class-sfa-woocommerce-abandoned-carts.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("3.0.1" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected4,298 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 504 | 739 | 3,553 |
JavaScript | 3 | 174 | 158 | 584 |
CSS | 1 | 34 | 0 | 161 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 3 | 13.64% |
▷ Concrete classes | 19 | 86.36% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 96 | 78.05% |
▷ Protected methods | 21 | 17.07% |
▷ Private methods | 6 | 4.88% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin