Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼141.86ms] Passed 4 tests
Analyzing server-side resources used by AutomatorWP - WooCommerce integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 56.05 ▲34.62 |
Dashboard /wp-admin | 3.08 ▲0.03 | 45.29 ▼0.12 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 45.89 ▲3.23 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 89.46 ▼572.67 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 31.67 ▲2.12 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for AutomatorWP - WooCommerce integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,731 ▲135 | 15.94 ▲0.28 | 8.91 ▼0.83 | 43.02 ▼1.16 |
Dashboard /wp-admin | 3,001 ▲70 | 5.95 ▼0.20 | 137.07 ▼7.33 | 111.19 ▼4.10 |
Posts /wp-admin/edit.php | 2,770 ▲34 | 2.72 ▼0.12 | 65.08 ▲3.59 | 96.84 ▲7.27 |
Add New Post /wp-admin/post-new.php | 1,691 ▲19 | 18.83 ▼0.23 | 382.87 ▼18.57 | 105.63 ▼2.81 |
Media Library /wp-admin/upload.php | 1,836 ▲26 | 5.04 ▲0.01 | 150.67 ▲13.16 | 116.96 ▲0.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
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 no errors were found, this is by no means 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/automatorwp-woocommerce-integration/automatorwp-woocommerce.php:269
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: ecommerce, automatorwp, store, woocommerce, product...
automatorwp-woocommerce-integration/automatorwp-woocommerce.php 92% from 13 tests
"AutomatorWP - WooCommerce integration" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("automatorwp-woocommerce-integration.php" instead of "automatorwp-woocommerce.php")
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
There were no executable files found in this plugin1,432 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 507 | 951 | 1,319 |
SVG | 1 | 1 | 1 | 113 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 9.79 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 1 | 7.14% |
Methods | 64 | |
▷ Static methods | 1 | 1.56% |
▷ Public methods | 59 | 92.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.81% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
No PNG images were found in this plugin