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
Install script ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼28.61ms] Passed 4 tests
A check of server-side resources used by AI Comment Creator - GPT-4 Generate Comment, SEO Optimized, Organic Comments
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▼0.50 | 17.43 ▼21.87 |
Dashboard /wp-admin | 3.22 ▼0.09 | 50.08 ▲4.17 |
Posts /wp-admin/edit.php | 3.14 ▼0.22 | 25.91 ▼23.15 |
Add New Post /wp-admin/post-new.php | 3.14 ▼2.75 | 23.77 ▼60.01 |
Media Library /wp-admin/upload.php | 3.14 ▼0.09 | 22.64 ▼9.41 |
Manual Comment /wp-admin/admin.php?page=aicommentcreator_addComment | 3.14 | 25.22 |
Automatic Comment /wp-admin/admin.php?page=aicommentcreator_automaticComment | 3.14 | 21.25 |
AI Comment Creator /wp-admin/admin.php?page=aicommentcreator_menu | 3.14 | 25.18 |
Server storage [IO: ▲1.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for AI Comment Creator - GPT-4 Generate Comment, SEO Optimized, Organic Comments
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲42 | 14.75 ▼0.01 | 1.53 ▼0.30 | 36.88 ▼7.55 |
Dashboard /wp-admin | 2,214 ▲44 | 5.63 ▼0.02 | 97.19 ▼13.89 | 76.28 ▲34.09 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.11 ▲0.15 | 41.23 ▲5.89 | 38.20 ▲3.38 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 22.86 ▼0.63 | 568.05 ▼101.00 | 55.01 ▲2.77 |
Media Library /wp-admin/upload.php | 1,434 ▲31 | 4.23 ▲0.06 | 99.03 ▲2.91 | 45.20 ▲1.61 |
Manual Comment /wp-admin/admin.php?page=aicommentcreator_addComment | 1,206 | 2.07 | 34.51 | 40.89 |
Automatic Comment /wp-admin/admin.php?page=aicommentcreator_automaticComment | 1,219 | 2.07 | 43.43 | 39.69 |
AI Comment Creator /wp-admin/admin.php?page=aicommentcreator_menu | 952 | 2.07 | 28.11 | 23.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aicommentcreator_menu
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aicommentcreator_automaticComment
- > Notice in wp-content/plugins/ai-comment-creator/ai-comment-creator.php+1686
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ai-comment-creator/ai-comment-creator.php:704
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aicommentcreator_menu
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'addEventListener')" "TypeError: Cannot read properties of null (reading 'addEventListener')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ai-comment-creator/js/aicommentcreator.js?ver=6.3.1:106:12)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aicommentcreator_menu
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aicommentcreator_menu
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'addEventListener')" "TypeError: Cannot read properties of null (reading 'addEventListener')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ai-comment-creator/js/aicommentcreator.js?ver=6.3.1:116:18)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6 in ai-comment-creator/assets to your readme.txt
ai-comment-creator/ai-comment-creator.php 85% from 13 tests
The entry point to "AI Comment Creator - GPT-4 Generate Comment, SEO Optimized, Organic Comments" version 1.1.9 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.2.0" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,028 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 506 | 630 | 804 |
CSS | 3 | 19 | 14 | 125 |
JavaScript | 1 | 19 | 1 | 99 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.61MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-16.png | 1.20KB | 0.72KB | ▼ 39.79% |
images/icon-ai-32.png | 2.77KB | 1.58KB | ▼ 42.99% |
images/icon-ai-80px.png | 4.51KB | 2.13KB | ▼ 52.76% |
images/icon-ai-25.png | 1.83KB | 1.28KB | ▼ 30.02% |
images/icon-ai.png | 611.97KB | 230.74KB | ▼ 62.30% |