Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.25ms] Passed 4 tests
A check of server-side resources used by AWcode Toolkit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 48.50 ▲7.77 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.92 ▼2.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.38 ▼11.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.08 ▼9.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.58 ▼0.51 |
AW Toolbox /wp-admin/options-general.php?page=awtoolbox | 3.26 | 35.96 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
AWcode Toolkit: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲22 | 14.15 ▼0.21 | 1.78 ▼0.10 | 47.58 ▲4.20 |
Dashboard /wp-admin | 2,202 ▲32 | 5.62 ▲0.01 | 86.59 ▼14.67 | 36.45 ▼13.95 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.96 ▲0.01 | 35.43 ▼2.35 | 33.82 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.00 ▼0.05 | 670.69 ▼44.70 | 49.81 ▼11.21 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.14 ▼0.00 | 98.27 ▼12.33 | 42.39 ▼5.76 |
AW Toolbox /wp-admin/options-general.php?page=awtoolbox | 1,039 | 2.00 | 23.74 | 27.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/awcode-toolkit/includes/settings-template.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/awcode-toolkit/templete/supplier_add.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awcode-toolkit/includes/class.awtoolkit-woocommerce.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/awcode-toolkit/templete/supplier_list.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awcode-toolkit/includes/class.awtoolkit-setting.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/awcode-toolkit/includes/class.awtoolkit-woo-product-suppliers.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tested up to: Invalid version format
awcode-toolkit/aw-toolkit.php 92% from 13 tests
The entry point to "AWcode Toolkit" version 1.0.14 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("awcode-toolkit.php" instead of "aw-toolkit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,254 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 196 | 114 | 1,254 |
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.60 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 25.00% |
Functions | 43 | |
▷ Named functions | 40 | 93.02% |
▷ Anonymous functions | 3 | 6.98% |
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 are no PNG files in this plugin