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.00MB] [CPU: ▼3.88ms] Passed 4 tests
This is a short check of server-side resources used by ConvertedIn AI-Powered E-Commerce Marketing Automation for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.66 ▼3.01 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.48 ▼1.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.54 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.55 ▼10.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.00 ▲2.51 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
ConvertedIn AI-Powered E-Commerce Marketing Automation for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.09 | 1.76 ▼0.07 | 44.02 ▼2.85 |
Dashboard /wp-admin | 2,206 ▲15 | 5.88 ▲1.00 | 96.72 ▼20.19 | 37.79 ▼11.43 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.00 | 39.79 ▲2.02 | 35.77 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.64 ▼5.80 | 666.81 ▼9.37 | 58.39 ▲6.88 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.29 ▲0.08 | 91.53 ▼3.91 | 41.27 ▼6.00 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/convertedin-ai-automation-for-woocommerce/public/partials/ConvertedIn-WooCommerce-public-display.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/convertedin-ai-automation-for-woocommerce/admin/partials/installationPage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/convertedin-ai-automation-for-woocommerce/includes/class-Synchronization-service.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/convertedin-ai-automation-for-woocommerce/includes/class-ConvertedIn-WooCommerce-activator.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/convertedin-ai-automation-for-woocommerce/admin/partials/ConvertedIn-WooCommerce-admin-display.php:146
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/convertedin-ai-automation-for-woocommerce/admin/partials/settingsPage.php:3
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI found ("#")
- Screenshots: Screenshot #2 (screenshots will be added later) image missing
convertedin-ai-automation-for-woocommerce/convertedin-woocommerce.php 92% from 13 tests
The main PHP file in "ConvertedIn AI-Powered E-Commerce Marketing Automation for WooCommerce" ver. 1.0.20 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("convertedin-ai-automation-for-woocommerce.php" instead of "convertedin-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,219 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 256 | 691 | 1,170 |
SVG | 2 | 0 | 1 | 46 |
JavaScript | 1 | 1 | 28 | 3 |
CSS | 1 | 1 | 5 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 5.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 4 | 5.56% |
▷ Public methods | 65 | 90.28% |
▷ Protected methods | 2 | 2.78% |
▷ Private methods | 5 | 6.94% |
Functions | 16 | |
▷ Named functions | 7 | 43.75% |
▷ Anonymous functions | 9 | 56.25% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 8.13KB | 3.59KB | ▼ 55.80% |