Benchmarks
Plugin footprint 83% from 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 gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼11.10ms] Passed 4 tests
A check of server-side resources used by 1Tool to WooCommerce / Wordpress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 43.20 ▲1.03 |
Dashboard /wp-admin | 3.41 ▲0.06 | 49.48 ▼14.34 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 44.85 ▼6.75 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 83.92 ▼23.88 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.61 ▲0.58 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for 1Tool to WooCommerce / Wordpress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 14.18 ▼0.21 | 1.78 ▲0.09 | 41.40 ▼2.55 |
Dashboard /wp-admin | 2,221 ▲47 | 5.64 ▲0.10 | 96.84 ▲9.06 | 44.74 ▲3.86 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.06 ▲0.08 | 36.58 ▼3.61 | 35.03 ▼1.94 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.74 ▲0.65 | 679.05 ▼89.95 | 53.20 ▼12.07 |
Media Library /wp-admin/upload.php | 1,417 ▲14 | 4.23 ▲0.04 | 97.78 ▼6.98 | 40.66 ▼4.38 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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/1tool-to-wc-integration/1tool-order.php:196
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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
1 plugin tags: 1tool woocommerce
1tool-to-wc-integration/1tool-integration.php 85% from 13 tests
"1Tool to WooCommerce / Wordpress" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 217 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("1tool-to-wc-integration.php" instead of "1tool-integration.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected657 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 103 | 243 | 592 |
JavaScript | 1 | 6 | 1 | 51 |
CSS | 1 | 0 | 1 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
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