Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.07MB] [CPU: ▲17.12ms] Passed 4 tests
An overview of server-side resources used by WP AI CoPilot - AI content writer plugin, ChatGPT WordPress, GPT-3/4 , Ai assistance
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.52 ▲2.05 | 54.34 ▲14.33 |
Dashboard /wp-admin | 5.41 ▲2.10 | 59.15 ▲9.99 |
Posts /wp-admin/edit.php | 5.46 ▲2.10 | 64.13 ▲17.77 |
Add New Post /wp-admin/post-new.php | 9.49 ▲3.60 | 868.23 ▲777.92 |
Media Library /wp-admin/upload.php | 5.27 ▲2.04 | 59.48 ▲26.40 |
Server storage [IO: ▲3.49MB] [DB: ▲0.10MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 376 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wp-ai-copilot |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
wp_ai_pilot_models |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP AI CoPilot - AI content writer plugin, ChatGPT WordPress, GPT-3/4 , Ai assistance
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲172 | 13.79 ▼0.56 | 8.81 ▲6.85 | 38.67 ▼6.15 |
Dashboard /wp-admin | 2,250 ▲80 | 5.58 ▼0.04 | 96.48 ▼15.46 | 43.87 ▲0.09 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.00 ▲0.05 | 41.37 ▲4.32 | 34.62 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,659 ▲133 | 23.58 ▲0.58 | 667.46 ▲48.07 | 39.76 ▼13.35 |
Media Library /wp-admin/upload.php | 1,455 ▲58 | 4.18 ▲0.00 | 110.01 ▲5.10 | 46.74 ▲3.56 |
Settings /wp-admin/admin.php?page=aich-settings#tab=settings | 9,175 | 14.37 | 370.39 | 90.97 |
Free Vs Pro /wp-admin/admin.php?page=aich-settings#tab=free-vs-pro | 8,912 | 11.74 | 347.74 | 172.96 |
AI Content Generator /wp-admin/admin.php?page=aich-settings#tab=ai-content-generator | 8,874 | 11.80 | 378.45 | 91.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- wp_ai_pilot_models
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- wp-ai-copilot
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ai-co-pilot-for-wp/public/partials/ai-content-helper-public-display.php
- > /wp-content/plugins/ai-co-pilot-for-wp/admin/partials/ai-content-helper-admin-display.php
- 54× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/ai-co-pilot-for-wp/vendor/guzzlehttp/psr7/src/NoSeekStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestFactoryInterface' not found in wp-content/plugins/ai-co-pilot-for-wp/vendor/guzzlehttp/psr7/src/HttpFactory.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/ai-co-pilot-for-wp/vendor/guzzlehttp/psr7/src/FnStream.php:16
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/ai-co-pilot-for-wp/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:11
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/ai-co-pilot-for-wp/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/ai-co-pilot-for-wp/vendor/guzzlehttp/psr7/src/AppendStream.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ai-co-pilot-for-wp/includes/class-aich-load-block-assets.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\ResponseInterface' not found in wp-content/plugins/ai-co-pilot-for-wp/vendor/guzzlehttp/psr7/src/Response.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/ai-co-pilot-for-wp/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:15
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/ai-co-pilot-for-wp/vendor/guzzlehttp/promises/src/Promise.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots need descriptions #4, #5, #6, #7, #8 in ai-co-pilot-for-wp/assets to your readme.txt
ai-co-pilot-for-wp/wp-ai-co-pilot.php 77% from 13 tests
The main PHP script in "WP AI CoPilot - AI content writer plugin, ChatGPT WordPress, GPT-3/4 , Ai assistance" version 1.1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ai-co-pilot-for-wp.php" instead of "wp-ai-co-pilot.php")
- 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: Keep the plugin name shorter than 70 characters (currently 84 characters long)
Code Analysis Passed 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
There were no executable files found in this plugin60,774 lines of code in 329 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 231 | 6,056 | 8,472 | 29,077 |
JavaScript | 12 | 1,475 | 668 | 7,970 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
CSS | 8 | 448 | 546 | 5,735 |
Sass | 16 | 970 | 3 | 5,674 |
Markdown | 18 | 1,447 | 0 | 4,170 |
JSON | 11 | 0 | 0 | 1,148 |
XML | 10 | 6 | 11 | 466 |
YAML | 1 | 6 | 0 | 32 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 17.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 26 | |
Traits | 3 | |
Classes | 158 | |
▷ Abstract classes | 2 | 1.27% |
▷ Concrete classes | 156 | 98.73% |
▷ Final classes | 35 | 22.44% |
Methods | 1,127 | |
▷ Static methods | 194 | 17.21% |
▷ Public methods | 969 | 85.98% |
▷ Protected methods | 11 | 0.98% |
▷ Private methods | 147 | 13.04% |
Functions | 158 | |
▷ Named functions | 63 | 39.87% |
▷ Anonymous functions | 95 | 60.13% |
Constants | 70 | |
▷ Global constants | 7 | 10.00% |
▷ Class constants | 63 | 90.00% |
▷ Public constants | 52 | 82.54% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.15MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/logo.png | 0.71KB | 0.67KB | ▼ 5.75% |
admin/images/default-icon.png | 0.66KB | 0.42KB | ▼ 36.04% |
admin/images/money-back-logo-3.png | 6.63KB | 4.21KB | ▼ 36.47% |
admin/images/global_settings.png | 18.86KB | 7.89KB | ▼ 58.14% |
libs/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |