Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼123.13ms] Passed 4 tests
An overview of server-side resources used by Axel Pro for Woocommerce WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.88 ▼14.08 |
Dashboard /wp-admin | 3.32 ▼0.10 | 50.32 ▼465.42 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 53.14 ▼1.27 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.79 ▼11.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.40 ▼1.03 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_axel_pro |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Axel Pro for Woocommerce WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.23 ▼0.43 | 1.70 ▼0.48 | 43.68 ▲2.40 |
Dashboard /wp-admin | 2,201 ▲21 | 5.64 ▼0.02 | 93.47 ▲0.61 | 42.79 ▲4.08 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 1.97 ▼0.05 | 36.41 ▲0.61 | 37.14 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,532 ▲5 | 23.45 ▲0.56 | 686.17 ▲44.98 | 56.90 ▲5.63 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.16 ▼0.08 | 97.57 ▼6.11 | 46.58 ▲2.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_axel_pro
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- 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
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/axel-pro-for-woocommerce/axel-pro-for-woocommerce.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/axel-pro-for-woocommerce/src/hu/bobnet/axpfw/views/axel_pro_settings_page.php:9
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: woocommerce, axel pro
axel-pro-for-woocommerce/axel-pro-for-woocommerce.php 92% from 13 tests
The main file in "Axel Pro for Woocommerce WordPress" v. 1.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
Good job! No executable or dangerous file extensions detected921 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 228 | 224 | 921 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 1 | 1.41% |
▷ Public methods | 69 | 97.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.82% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
4 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/hu/bobnet/axpfw/views/assets/images/icon-128x128.png | 12.86KB | 4.90KB | ▼ 61.90% |
src/hu/bobnet/axpfw/views/assets/images/stacked_wm_no_bg.png | 45.27KB | 17.55KB | ▼ 61.23% |
src/hu/bobnet/axpfw/views/assets/images/bob-net-network-transparent.png | 20.36KB | 10.38KB | ▼ 49.03% |
src/hu/bobnet/axpfw/views/assets/images/bobesz_transparent_4096x4096.png | 19.62KB | 9.68KB | ▼ 50.68% |