Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.85ms] Passed 4 tests
Analyzing server-side resources used by AI Content Generator For Elementor - OpenAI ChatGPT
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.45 ▲1.18 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.74 ▼5.37 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.29 ▲4.09 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.53 ▼3.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.15 ▼0.15 |
AI Content Genrator /wp-admin/admin.php?page=auto_content_generator | 3.01 | 22.78 |
Server storage [IO: ▲1.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 138 new files
Database: no new tables, 11 new options
New WordPress options |
---|
aacgfe-version |
db_upgraded |
aacgfe-ratingDiv |
AACGFE_prompt_data |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
aacgfe-plugin-type |
... |
Browser metrics Passed 4 tests
Checking browser requirements for AI Content Generator For Elementor - OpenAI ChatGPT
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.23 ▼1.36 | 1.80 ▼0.08 | 42.99 ▼2.58 |
Dashboard /wp-admin | 2,225 ▲34 | 4.80 ▼0.24 | 110.46 ▲7.28 | 40.12 ▼0.45 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 2.07 ▲0.06 | 40.84 ▲5.10 | 37.41 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,551 ▲9 | 23.45 ▲4.99 | 671.32 ▲23.67 | 53.46 ▼10.25 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.26 ▼0.01 | 99.09 ▼2.07 | 40.51 ▼6.80 |
AI Content Genrator /wp-admin/admin.php?page=auto_content_generator | 28 | 0.44 | 0.08 | 3.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_recent-posts
- db_upgraded
- aacgfe-plugin-type
- aacgfe-installDate
- theysaidso_admin_options
- aacgfe-version
- aacgfe-ratingDiv
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant AACGFE_VERSION - assumed 'AACGFE_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/ai-auto-content-generator-for-elementor/admin/feedback/admin-feedback-form.php on line 167
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ai-auto-content-generator-for-elementor/controls/ai_controller.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ai-auto-content-generator-for-elementor/admin/feedback/admin-feedback-form.php:16
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=auto_content_generator
- > Network (severe)
wp-admin/admin.php?page=auto_content_generator - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: gpt, openai, elementor, gpt-3, chatgpt
ai-auto-content-generator-for-elementor/ai-auto-content-generator-for-elementor.php 92% from 13 tests
The principal PHP file in "AI Content Generator For Elementor - OpenAI ChatGPT" v. 1.0.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin17,855 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 76 | 2,239 | 1,098 | 10,456 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Markdown | 2 | 85 | 0 | 379 |
JavaScript | 5 | 18 | 2 | 252 |
CSS | 6 | 12 | 16 | 208 |
JSON | 1 | 2 | 0 | 58 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 20.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 6.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 2 | 3.39% |
▷ Concrete classes | 57 | 96.61% |
▷ Final classes | 2 | 3.51% |
Methods | 217 | |
▷ Static methods | 39 | 17.97% |
▷ Public methods | 214 | 98.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 1.38% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
2 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
assets/images/acgfe-logo.png | 51.46KB | 8.81KB | ▼ 82.87% |