Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲0.89ms] Passed 4 tests
Server-side resources used by AI Engine for WordPress: ChatGPT, GPT Content Generator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 39.04 ▼4.32 |
Dashboard /wp-admin | 3.41 ▲0.11 | 49.07 ▲1.46 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 51.22 ▲2.72 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 108.29 ▲10.81 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.91 ▲3.69 |
Liquid ChatGPT /wp-admin/admin.php?page=lqdai | 3.30 | 31.77 |
Logs /wp-admin/admin.php?page=lqdai-logs | 3.30 | 33.89 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by AI Engine for WordPress: ChatGPT, GPT Content Generator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.30 ▼0.99 | 1.52 ▼0.35 | 39.99 ▼5.32 |
Dashboard /wp-admin | 2,237 ▲49 | 4.89 ▼0.96 | 109.66 ▲7.11 | 44.06 ▲4.02 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.04 ▼0.00 | 40.04 ▼0.15 | 32.94 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,718 ▲204 | 18.46 ▲0.90 | 616.43 ▼38.67 | 58.73 ▲2.02 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.27 ▼0.02 | 96.76 ▼1.20 | 42.20 ▼2.49 |
Liquid ChatGPT /wp-admin/admin.php?page=lqdai | 899 | 2.04 | 23.82 | 28.75 |
Logs /wp-admin/admin.php?page=lqdai-logs | 784 | 2.17 | 26.19 | 24.90 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/liquid-chatgpt/include/page-logs.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/liquid-chatgpt/include/page-options.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: gpt, ai, gpt-3, content generator, openai...
liquid-chatgpt/liquid-chatgpt.php 85% from 13 tests
The entry point to "AI Engine for WordPress: ChatGPT, GPT Content Generator" version 1.0.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin863 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 124 | 70 | 491 |
CSS | 1 | 33 | 1 | 219 |
JavaScript | 1 | 28 | 6 | 153 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 11 | 84.62% |
▷ Anonymous functions | 2 | 15.38% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected