Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.88MB] [CPU: ▲14.73ms] Passed 4 tests
Server-side resources used by AI Content Writer - ChatGPT
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.59 ▲1.09 | 56.58 ▲12.78 |
Dashboard /wp-admin | 69.65 ▲0.26 | 13,701,272.62 ▲9,323.17 |
Posts /wp-admin/edit.php | 4.56 ▲1.16 | 71.13 ▲17.65 |
Add New Post /wp-admin/post-new.php | 7.04 ▲1.11 | 110.18 ▲14.60 |
Media Library /wp-admin/upload.php | 4.35 ▲1.07 | 56.64 ▲13.91 |
Settings /wp-admin/admin.php?page=acwc | 4.79 | 58.92 |
Prompt Content Generator /wp-admin/admin.php?page=acwc_promptbase | 4.57 | 50.91 |
Help /wp-admin/admin.php?page=acwc_help | 4.34 | 52.00 |
AI Forms /wp-admin/admin.php?page=acwc_forms | 4.70 | 55.94 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 102 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_acwc_form_logs |
wp_acwc_promptbase_logs |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
acwc_activation_date |
acwc_role_to_administrator |
can_compress_scripts |
Browser metrics Passed 4 tests
AI Content Writer - ChatGPT: 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,079 ▲293 | 14.64 ▲0.41 | 1.77 ▼0.34 | 42.17 ▼1.02 |
Dashboard /wp-admin | 2,458 ▲280 | 6.55 ▲0.88 | 128.29 ▲10.35 | 98.54 ▲55.05 |
Posts /wp-admin/edit.php | 2,398 ▲295 | 3.59 ▲1.56 | 50.22 ▲7.97 | 79.01 ▲41.98 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,840 | 26.06 ▲2.90 | 934.70 ▲233.03 | 44.58 ▼8.66 |
Media Library /wp-admin/upload.php | 1,541 ▲144 | 4.41 ▲0.22 | 90.27 ▼20.33 | 71.64 ▲21.62 |
Settings /wp-admin/admin.php?page=acwc | 2,860 | 3.34 | 41.60 | 78.20 |
Prompt Content Generator /wp-admin/admin.php?page=acwc_promptbase | 2,674 | 4.87 | 64.62 | 101.94 |
Help /wp-admin/admin.php?page=acwc_help | 1,229 | 3.33 | 39.79 | 63.60 |
AI Forms /wp-admin/admin.php?page=acwc_forms | 2,694 | 4.88 | 58.70 | 86.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure failed, leaving 2 tables in the database
- wp_acwc_form_logs
- wp_acwc_promptbase_logs
- This plugin does not fully uninstall, leaving 8 options in the database
- acwc_activation_date
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- acwc_role_to_administrator
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 50 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=acwc_forms
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 50 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=acwc_forms
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
- 73 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=acwc_forms
- > Notice in wp-content/plugins/ai-content-writer-chatgpt/backend/acwc_form_index.php+716
Undefined index: response
SRP 0% 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ai-content-writer-chatgpt/backend/acwc_help.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ai-content-writer-chatgpt/ai-content-writer-chatgpt.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ai-content-writer-chatgpt/includes/acwc-config.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ai-content-writer-chatgpt/includes/acwc-footer.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function acwc_get_api_key_text_converted() in wp-content/plugins/ai-content-writer-chatgpt/backend/acwc-page.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #10, #11, #12, #4, #5, #6, #7, #8, #9 in ai-content-writer-chatgpt/assets to your readme.txt
ai-content-writer-chatgpt/ai-content-writer-chatgpt.php Passed 13 tests
"AI Content Writer - ChatGPT" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
128 characters long description:
AI Gpt Content Generator - Content Generator,Content Writer, ChatGPT, Title Suggestions,Auto Content Writer with just one click.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin16,609 lines of code in 94 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 534 | 40 | 10,343 |
JSON | 47 | 41 | 0 | 6,259 |
CSS | 4 | 0 | 3 | 4 |
JavaScript | 3 | 0 | 0 | 3 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 114)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 41.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 220.00 |
Average method complexity | 5.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 114.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 1 | 4.76% |
Methods | 182 | |
▷ Static methods | 34 | 18.68% |
▷ Public methods | 176 | 96.70% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 3.30% |
Functions | 16 | |
▷ Named functions | 12 | 75.00% |
▷ Anonymous functions | 4 | 25.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assests/images/icon---.png | 3.02KB | 0.34KB | ▼ 88.75% |
assests/images/icon.png | 0.44KB | 0.31KB | ▼ 29.87% |
assests/images/icon----.png | 0.78KB | 0.75KB | ▼ 4.61% |
assests/images/icon-old.png | 0.48KB | 0.32KB | ▼ 34.48% |