Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.34MB] [CPU: ▲9.14ms] Passed 4 tests
A check of server-side resources used by AI Content Writing Assistant (Content Writer, GPT 3 & 4, ChatGPT, Image Generator) All in One
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.79 ▲1.33 | 48.26 ▲7.47 |
Dashboard /wp-admin | 4.63 ▲1.33 | 60.04 ▲11.25 |
Posts /wp-admin/edit.php | 4.79 ▲1.43 | 74.30 ▲23.66 |
Add New Post /wp-admin/post-new.php | 7.26 ▲1.38 | 101.67 ▼1.71 |
Media Library /wp-admin/upload.php | 4.55 ▲1.33 | 53.29 ▲19.54 |
GPT Playground /wp-admin/admin.php?page=chat-gpt-playground | 4.69 | 59.12 |
Scheduled Content Generator /wp-admin/admin.php?page=scheduled-content-generator | 4.67 | 54.11 |
Single Content Generator /wp-admin/admin.php?page=single-content-generator | 4.65 | 61.58 |
AI Writing Assistant /wp-admin/admin.php?page=ai-writing-assistant | 4.64 | 63.55 |
AI Image Generator /wp-admin/admin.php?page=ai-image-generator | 4.60 | 46.97 |
Server storage [IO: ▲0.86MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 68 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_ai_writing_assistant_sceduled_posts |
New WordPress options |
---|
category_children |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
aiwa_notices |
widget_recent-posts |
aiwa_wp_plugin_activation_date |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AI Content Writing Assistant (Content Writer, GPT 3 & 4, ChatGPT, Image Generator) All in One
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲190 | 13.26 ▼1.12 | 4.74 ▲2.65 | 37.36 ▼13.22 |
Dashboard /wp-admin | 2,353 ▲162 | 5.81 ▼0.02 | 111.52 ▲5.96 | 42.91 ▲3.68 |
Posts /wp-admin/edit.php | 5,247 ▲3,158 | 7.67 ▲5.64 | 213.51 ▲176.62 | 114.46 ▲80.09 |
Add New Post /wp-admin/post-new.php | 9,239 ▲7,703 | 28.06 ▲4.86 | 957.22 ▲314.17 | 44.37 ▼13.55 |
Media Library /wp-admin/upload.php | 1,535 ▲147 | 4.08 ▼0.26 | 92.26 ▼3.05 | 47.78 ▲4.36 |
GPT Playground /wp-admin/admin.php?page=chat-gpt-playground | 4,930 | 7.11 | 78.39 | 110.69 |
Scheduled Content Generator /wp-admin/admin.php?page=scheduled-content-generator | 4,945 | 7.39 | 90.99 | 176.04 |
Single Content Generator /wp-admin/admin.php?page=single-content-generator | 4,596 | 11.89 | 197.93 | 160.56 |
AI Writing Assistant /wp-admin/admin.php?page=ai-writing-assistant | 6,577 | 7.12 | 77.80 | 140.05 |
AI Image Generator /wp-admin/admin.php?page=ai-image-generator | 1,920 | 7.53 | 69.10 | 100.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- aiwa_notices
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- category_children
- db_upgraded
- aiwa_wp_plugin_activation_date
- widget_recent-posts
Smoke tests 25% 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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ai-content-writing-assistant/admin/includes/menu-pages/chatgpt-playground.php
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ai-content-writing-assistant/admin/includes/menu-pages/image-generator.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ai-content-writing-assistant/admin/includes/menu-pages/generate-single-post.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function aiwa_languages_settings_items() in wp-content/plugins/ai-content-writing-assistant/admin/includes/tab/tab-pane/content-tab.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-content-writing-assistant/admin/includes/menu-pages/settings-page-display.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ai-content-writing-assistant/admin/includes/menu-pages/auto-content-writer.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ai-content-writing-assistant/admin/includes/save-image-to-gallery-modal.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function WpWritingAssistant\\AjaxRequests\\add_action() in wp-content/plugins/ai-content-writing-assistant/admin/includes/ajax-requests/ajax-save-settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ai-content-writing-assistant/admin/includes/cdata.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ai-content-writing-assistant/includes/global-functions.php:847
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ai-content-writing-assistant/admin/includes/title-suggestion-modal.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ai-image-generator
- > Javascript (severe) in unknown
/wp-content/plugins/ai-content-writing-assistant///admin/assets/js/ai-promptbox.js?ver=1.1.5 2718:10 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
ai-content-writing-assistant/ai-writing-assistant.php 62% from 13 tests
The main file in "AI Content Writing Assistant (Content Writer, GPT 3 & 4, ChatGPT, Image Generator) All in One" v. 1.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ai-content-writing-assistant.php" instead of "ai-writing-assistant.php")
- Description: The description should be shorter than 140 characters (currently 313 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 82 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected12,348 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 50 | 1,477 | 865 | 7,016 |
JavaScript | 9 | 878 | 476 | 3,456 |
CSS | 4 | 201 | 60 | 1,876 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 116)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 29.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 271.00 |
Average method complexity | 5.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 116.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 31 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 197 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 123 | 62.44% |
▷ Protected methods | 68 | 34.52% |
▷ Private methods | 6 | 3.05% |
Functions | 80 | |
▷ Named functions | 76 | 95.00% |
▷ Anonymous functions | 4 | 5.00% |
Constants | 96 | |
▷ Global constants | 5 | 5.21% |
▷ Class constants | 91 | 94.79% |
▷ Public constants | 91 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/recorp-logo.png | 10.36KB | 3.47KB | ▼ 66.54% |
admin/assets/images/arrow.png | 1.35KB | 0.43KB | ▼ 68.07% |
admin/assets/images/cafe.png | 0.82KB | 0.96KB | 0.00% |