Benchmarks
Plugin footprint 65% 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.13MB] [CPU: ▼8.13ms] Passed 4 tests
A check of server-side resources used by AI Content X: GPT-3 Content Generator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.87 ▲1.78 |
Dashboard /wp-admin | 3.44 ▲0.13 | 44.28 ▼1.78 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.05 ▼6.52 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 83.23 ▼25.98 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.89 ▲2.32 |
OpenAI Settings /wp-admin/admin.php?page=ai-content-x-openai-settings | 3.34 | 42.18 |
Settings /wp-admin/admin.php?page=ai-content-x | 3.33 | 30.52 |
Queue & Logs /wp-admin/admin.php?page=ai-content-x-logs | 3.33 | 31.49 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 48 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_ai_content_x_logs |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
ai_content_x |
widget_recent-comments |
ai_content_x_openai |
Browser metrics Passed 4 tests
AI Content X: GPT-3 Content Generator: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲149 | 13.55 ▼0.83 | 1.69 ▲0.09 | 33.66 ▼6.36 |
Dashboard /wp-admin | 2,301 ▲110 | 5.93 ▲0.03 | 99.29 ▼1.18 | 84.31 ▲40.04 |
Posts /wp-admin/edit.php | 2,198 ▲109 | 2.16 ▲0.12 | 36.26 ▼1.87 | 35.21 ▲2.16 |
Add New Post /wp-admin/post-new.php | 6,479 ▲4,946 | 27.76 ▲4.75 | 919.59 ▲244.36 | 39.50 ▼15.53 |
Media Library /wp-admin/upload.php | 1,477 ▲92 | 4.14 ▼0.07 | 96.70 ▼14.25 | 86.59 ▲41.59 |
OpenAI Settings /wp-admin/admin.php?page=ai-content-x-openai-settings | 1,019 | 2.08 | 28.00 | 36.81 |
Settings /wp-admin/admin.php?page=ai-content-x | 951 | 2.03 | 24.17 | 51.40 |
Queue & Logs /wp-admin/admin.php?page=ai-content-x-logs | 906 | 2.03 | 28.11 | 32.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_ai_content_x_logs
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- ai_content_x_openai
- ai_content_x
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% 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)
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
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Jodacame' not found in wp-content/plugins/ai-content-x/admin/inc/custom-fields/Post.class.php:13
- > PHP Fatal error
Uncaught Error: Class 'Jodacame' not found in wp-content/plugins/ai-content-x/admin/inc/Ajax.class.php:12
- > PHP Warning
require_once(AICX_PRO_PLUGIN_PATHadmin/inc/pages/Logs.class.php): failed to open stream: No such file or directory in wp-content/plugins/ai-content-x/admin/inc/Menus.class.php on line 10
- > PHP Warning
Use of undefined constant AICX_PRO_PLUGIN_PATH - assumed 'AICX_PRO_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-content-x/admin/inc/Menus.class.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'Jodacame' not found in wp-content/plugins/ai-content-x/admin/inc/Language.class.php:13
- > PHP Fatal error
Uncaught Error: Class 'Jodacame' not found in wp-content/plugins/ai-content-x/admin/inc/Assets.class.php:12
- > PHP Fatal error
Uncaught Error: Class 'Jodacame' not found in wp-content/plugins/ai-content-x/admin/inc/pages/OpenAI-Settings.class.php:13
- > PHP Fatal error
require_once(): Failed opening required 'AICX_PRO_PLUGIN_PATHadmin/inc/pages/Logs.class.php' (include_path='.:/usr/share/php') in wp-content/plugins/ai-content-x/admin/inc/Menus.class.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'Jodacame' not found in wp-content/plugins/ai-content-x/admin/inc/Process.class.php:11
- > PHP Fatal error
Uncaught Error: Class 'Jodacame' not found in wp-content/plugins/ai-content-x/admin/inc/Defaults.class.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: openai, seo, gpt3, artificial intelligence, content creation...
ai-content-x/index.php 77% from 13 tests
The main PHP file in "AI Content X: GPT-3 Content Generator" ver. 2.0.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ai-content-x.php" instead of "index.php")
- Description: Keep the plugin description shorter than 140 characters (currently 272 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected3,225 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 585 | 930 | 2,467 |
CSS | 1 | 26 | 6 | 571 |
JavaScript | 1 | 2 | 2 | 171 |
SVG | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 184 | |
▷ Static methods | 17 | 9.24% |
▷ Public methods | 183 | 99.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.54% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.23MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/others.png | 16.95KB | 6.66KB | ▼ 60.71% |
assets/img/settings.png | 17.09KB | 6.76KB | ▼ 60.41% |
assets/img/no-image.png | 63.34KB | 24.15KB | ▼ 61.87% |
assets/img/icon-color-64.png | 5.42KB | 3.13KB | ▼ 42.27% |
assets/img/icon-color-128.png | 15.44KB | 7.17KB | ▼ 53.56% |