Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼6.91ms] Passed 4 tests
Analyzing server-side resources used by Wootomation - Machine Learning AI
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 34.12 ▼13.05 |
Dashboard /wp-admin | 3.46 ▲0.11 | 46.08 ▼13.79 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 52.00 ▼0.55 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 96.42 ▼0.23 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.62 ▲0.31 |
Wootomation /wp-admin/admin.php?page=wootomation | 3.28 | 33.31 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.38 | 35.17 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 58 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_wootomation_suggestions |
wp_wootomation_indexing |
New WordPress options |
---|
can_compress_scripts |
wootomation_suggestions_db_version |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
wootomation_indexing_db_version |
Browser metrics Passed 4 tests
A check of browser resources used by Wootomation - Machine Learning AI
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲85 | 13.28 ▼1.09 | 1.76 ▼0.05 | 44.59 ▲6.64 |
Dashboard /wp-admin | 2,244 ▲53 | 5.89 ▲1.00 | 107.90 ▲2.07 | 46.93 ▲7.55 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.07 ▲0.02 | 41.17 ▲6.58 | 41.29 ▲5.64 |
Add New Post /wp-admin/post-new.php | 1,557 ▲43 | 18.56 ▲0.87 | 611.98 ▼53.05 | 58.65 ▲6.14 |
Media Library /wp-admin/upload.php | 1,428 ▲43 | 4.31 ▲0.14 | 98.80 ▲0.61 | 47.09 ▲4.33 |
Wootomation /wp-admin/admin.php?page=wootomation | 942 | 2.24 | 26.17 | 33.72 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 972 | 2.10 | 27.15 | 32.36 |
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
It is recommended to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_wootomation_indexing
- wp_wootomation_suggestions
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- wootomation_indexing_db_version
- widget_theysaidso_widget
- db_upgraded
- wootomation_suggestions_db_version
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
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 | 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/wootomation/vendor/tgm/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: Plugin contributors field is missing
wootomation/wootomation.php 85% from 13 tests
The principal PHP file in "Wootomation - Machine Learning AI" v. 2.0.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: Please don't use more than 140 characters for the plugin description (currently 243 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin8,204 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 17 | 1,449 | 1,993 | 4,842 |
PHP | 14 | 719 | 1,923 | 2,829 |
Markdown | 3 | 103 | 0 | 340 |
CSS | 1 | 22 | 4 | 131 |
JavaScript | 1 | 11 | 8 | 61 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 30.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 169 | |
▷ Static methods | 20 | 11.83% |
▷ Public methods | 143 | 84.62% |
▷ Protected methods | 25 | 14.79% |
▷ Private methods | 1 | 0.59% |
Functions | 9 | |
▷ Named functions | 4 | 44.44% |
▷ Anonymous functions | 5 | 55.56% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin