Benchmarks
Plugin footprint 65% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.37ms] Passed 4 tests
This is a short check of server-side resources used by AI Content Creator - Easy ChatGPT powered article generator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.03 ▼1.48 |
Dashboard /wp-admin | 3.33 ▼0.02 | 49.23 ▼19.30 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.85 ▼7.73 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.69 ▼8.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.58 ▲3.65 |
Articles /wp-admin/admin.php?page=aicc_articles | 3.40 | 37.20 |
Settings /wp-admin/admin.php?page=aicc_settings | 3.22 | 33.33 |
Help /wp-admin/admin.php?page=aicc_help | 3.21 | 33.51 |
Create article /wp-admin/admin.php?page=aicc_menu | 3.40 | 34.24 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 19 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_aicc_pixabay_cache |
wp_aicc_generado |
New WordPress options |
---|
aicc_pxbcversion |
widget_recent-posts |
aicc_dbversion |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
AI Content Creator - Easy ChatGPT powered article generator: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 13.20 ▼1.39 | 1.79 ▲0.01 | 40.50 ▲0.15 |
Dashboard /wp-admin | 2,252 ▲64 | 4.89 ▼0.99 | 114.90 ▲7.25 | 38.40 ▼7.55 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.06 ▲0.04 | 39.79 ▼1.84 | 34.66 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,558 ▲44 | 23.03 ▲5.19 | 654.33 ▼20.08 | 54.98 ▼6.00 |
Media Library /wp-admin/upload.php | 1,432 ▲41 | 4.20 ▲0.06 | 102.74 ▼12.63 | 48.83 ▲0.82 |
Articles /wp-admin/admin.php?page=aicc_articles | 845 | 2.17 | 24.52 | 26.25 |
Settings /wp-admin/admin.php?page=aicc_settings | 1,208 | 1.72 | 28.16 | 70.38 |
Help /wp-admin/admin.php?page=aicc_help | 935 | 2.05 | 23.20 | 29.16 |
Create article /wp-admin/admin.php?page=aicc_menu | 910 | 2.16 | 24.60 | 27.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_aicc_pixabay_cache
- wp_aicc_generado
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/uninstall.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/admin/ayuda.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/admin/idiomas.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/ai-content-creator.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/admin/funciones.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/lista-opciones.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/bbdd.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/admin/crear.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/admin/configuracion.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-creator/admin/opciones.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: gpt, openai, inteligencia artificial, ia, chatgpt
ai-content-creator/ai-content-creator.php Passed 13 tests
This is the main PHP file of "AI Content Creator - Easy ChatGPT powered article generator" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
38 characters long description:
Creates new posts content using AI API
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 plugin3,347 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 564 | 1,409 | 3,312 |
CSS | 2 | 4 | 1 | 30 |
SVG | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 108.00 |
▷ Minimum class complexity | 108.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 54 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 14.29% |
Functions | 151 | |
▷ Named functions | 150 | 99.34% |
▷ Anonymous functions | 1 | 0.66% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin