Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼295.82ms] Passed 4 tests
This is a short check of server-side resources used by All in One Woo
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.19 | 58.74 ▲10.25 |
Dashboard /wp-admin | 3.54 ▲0.13 | 33.34 ▼0.38 |
Posts /wp-admin/edit.php | 3.77 ▲0.13 | 38.90 ▲2.39 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.03 | 96.44 ▼1,186.35 |
Media Library /wp-admin/upload.php | 3.42 ▲0.12 | 25.16 ▲1.05 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for All in One Woo
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲83 | 15.78 ▲0.01 | 5.86 ▲0.07 | 2.60 ▲0.50 |
Dashboard /wp-admin | 2,904 ▲46 | 6.16 ▼0.03 | 118.09 ▼20.58 | 155.30 ▼6.08 |
Posts /wp-admin/edit.php | 2,667 ▼21 | 3.24 ▲0.02 | 62.27 ▼1.50 | 138.36 ▼4.53 |
Add New Post /wp-admin/post-new.php | 1,698 ▲37 | 20.59 ▲4.53 | 450.51 ▲27.25 | 155.10 ▲4.31 |
Media Library /wp-admin/upload.php | 1,710 ▲12 | 5.54 ▲0.00 | 141.97 ▲2.77 | 185.79 ▲1.51 |
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
This plugin's uninstaller ran successfully
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-woo/includes/misc.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/all-in-one-woo/public/css/css.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-woo/includes/product-tab.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-woo/includes/tracking.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-woo/includes/checkout-tab.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-woo/includes/my-account.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-woo/includes/color-tab.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-woo/includes/cart-tab.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/all-in-one-woo/includes/default-values.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-woo/includes/rename-labels.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: woocommerce shop, woocommerce text, sale, store, sell...
all-in-one-woo/all-in-one-woo.php 92% from 13 tests
"All in One Woo" version 1.0.3'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 does not match the one declared in readme.txt ("4.1" instead of "2.5.5")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,577 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 158 | 101 | 1,516 |
JavaScript | 2 | 6 | 4 | 39 |
CSS | 1 | 1 | 0 | 22 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 93.00 |
▷ Minimum class complexity | 93.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 2 | 5.56% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin