Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.90MB] [CPU: ▲9.81ms] Passed 4 tests
An overview of server-side resources used by AI Engine: Chatbots, Generators, Assistants, GPT 4 and more!
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.23 ▲0.77 | 41.84 ▲0.44 |
Dashboard /wp-admin | 4.29 ▲0.98 | 65.12 ▲14.85 |
Posts /wp-admin/edit.php | 4.39 ▲1.03 | 63.86 ▲17.44 |
Add New Post /wp-admin/post-new.php | 6.78 ▲0.89 | 109.27 ▲6.49 |
Media Library /wp-admin/upload.php | 4.17 ▲0.94 | 52.53 ▲19.77 |
AI Engine /wp-admin/admin.php?page=mwai_settings | 4.16 | 45.41 |
Playground /wp-admin/tools.php?page=mwai_dashboard | 4.18 | 46.44 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 4.37 | 63.93 |
Generate New /wp-admin/edit.php?page=mwai_content_generator | 4.17 | 44.04 |
Generate Content /wp-admin/tools.php?page=mwai_content_generator | 4.18 | 47.55 |
Generate Images /wp-admin/tools.php?page=mwai_images_generator | 4.18 | 44.20 |
Server storage [IO: ▲3.46MB] [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: 91 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_mwai_files |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
AI Engine: Chatbots, Generators, Assistants, GPT 4 and more!: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,225 ▲438 | 23.24 ▲8.53 | 2.50 ▲0.58 | 39.48 ▼3.80 |
Dashboard /wp-admin | 2,599 ▲419 | 15.33 ▲9.67 | 420.14 ▲322.43 | 40.74 ▼6.54 |
Posts /wp-admin/edit.php | 2,550 ▲450 | 15.23 ▲13.29 | 159.25 ▲118.84 | 30.12 ▼6.91 |
Add New Post /wp-admin/post-new.php | 6,435 ▲4,909 | 27.37 ▲5.62 | 904.30 ▲284.72 | 39.94 ▼21.03 |
Media Library /wp-admin/upload.php | 1,286 ▼111 | 12.18 ▲7.89 | 213.55 ▲113.11 | 45.10 ▼0.60 |
AI Engine /wp-admin/admin.php?page=mwai_settings | 1,423 | 12.30 | 226.58 | 60.92 |
Playground /wp-admin/tools.php?page=mwai_dashboard | 1,493 | 14.85 | 217.37 | 47.18 |
Dashboard /wp-admin/admin.php?page=meowapps-main-menu | 5,714 | 12.45 | 222.89 | 74.91 |
Generate New /wp-admin/edit.php?page=mwai_content_generator | 1,349 | 13.35 | 241.13 | 45.72 |
Generate Content /wp-admin/tools.php?page=mwai_content_generator | 1,626 | 17.28 | 223.28 | 39.67 |
Generate Images /wp-admin/tools.php?page=mwai_images_generator | 1,488 | 16.48 | 221.01 | 41.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/ai-engine/uninstall.php+26
Undefined index: clean_uninstall
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_mwai_files
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant MWAI_PATH - assumed 'MWAI_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-engine/constants/init.php on line 3
- > PHP Warning
require_once(MWAI_PATH/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/ai-engine/classes/core.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Meow_MWAI_Query_Base' not found in wp-content/plugins/ai-engine/classes/queries/assistant.php:3
- > PHP Warning
Use of undefined constant MWAI_PATH - assumed 'MWAI_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-engine/classes/init.php on line 52
- > PHP Fatal error
Uncaught Error: Class 'Meow_MWAI_Query_Base' not found in wp-content/plugins/ai-engine/classes/queries/transcribe.php:3
- > PHP Fatal error
Uncaught Error: Class 'Meow_MWAI_Query_Base' not found in wp-content/plugins/ai-engine/classes/queries/text.php:3
- > PHP Fatal error
require_once(): Failed opening required 'MWAI_PATH/constants/models.php' (include_path='.:/usr/share/php') in wp-content/plugins/ai-engine/constants/init.php on line 3
- > PHP Warning
Use of undefined constant MWAI_PATH - assumed 'MWAI_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-engine/classes/core.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Meow_MWAI_Query_Base' not found in wp-content/plugins/ai-engine/classes/queries/embed.php:3
- > PHP Warning
require_once(MWAI_PATH/constants/models.php): failed to open stream: No such file or directory in wp-content/plugins/ai-engine/constants/init.php on line 3
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=meowapps-main-menu
- > Network (severe)
https://ps.w.org/ai-seo/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7 in ai-engine/assets to your readme.txt
ai-engine/ai-engine.php 92% from 13 tests
The entry point to "AI Engine: Chatbots, Generators, Assistants, GPT 4 and more!" version 2.0.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin13,211 lines of code in 83 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 1,302 | 1,110 | 8,576 |
JavaScript | 6 | 16 | 11 | 1,592 |
CSS | 3 | 269 | 11 | 1,416 |
Sass | 6 | 255 | 14 | 1,249 |
JSON | 4 | 0 | 0 | 202 |
SVG | 15 | 0 | 1 | 106 |
Markdown | 1 | 32 | 0 | 54 |
XML | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 34.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 452 | |
▷ Static methods | 52 | 11.50% |
▷ Public methods | 383 | 84.73% |
▷ Protected methods | 56 | 12.39% |
▷ Private methods | 13 | 2.88% |
Functions | 34 | |
▷ Named functions | 4 | 11.76% |
▷ Anonymous functions | 30 | 88.24% |
Constants | 25 | |
▷ Global constants | 24 | 96.00% |
▷ Class constants | 1 | 4.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wand.png | 2.87KB | 2.10KB | ▼ 26.86% |