Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.64ms] Passed 4 tests
A check of server-side resources used by AI Content Generator: GPT3, ChatGpt
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.52 ▼3.58 |
Dashboard /wp-admin | 3.41 ▲0.10 | 45.43 ▼7.81 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.16 ▲0.73 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 93.16 ▲0.12 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.73 ▲3.27 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AI Content Generator: GPT3, ChatGpt
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲79 | 14.47 ▼0.27 | 1.74 ▼0.09 | 41.08 ▼10.33 |
Dashboard /wp-admin | 2,220 ▲32 | 4.88 ▼0.97 | 110.78 ▼4.09 | 39.61 ▼9.39 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 2.02 ▼0.01 | 39.93 ▼12.51 | 35.87 ▼7.51 |
Add New Post /wp-admin/post-new.php | 7,120 ▲5,606 | 20.19 ▲2.62 | 905.48 ▲244.40 | 70.73 ▲18.05 |
Media Library /wp-admin/upload.php | 1,405 ▲20 | 4.19 ▼0.05 | 97.83 ▼5.75 | 42.70 ▼0.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/gpt3-ai-content-writer/admin/class-wp-ai-setting-page.php:125
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/gpt3-ai-content-writer/includes/class-wp-ai-content-writer-loader.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gpt3-ai-content-writer/admin/class-wp-ai-gpt3-content-writer_metabox.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/gpt3-ai-content-writer/gpt3-ai-content-writer.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: A description for screenshot #4 is missing in gpt3-ai-content-writer/assets to your readme.txt
gpt3-ai-content-writer/gpt3-ai-content-writer.php 92% from 13 tests
The primary PHP file in "AI Content Generator: GPT3, ChatGpt" version 1.1.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 324 characters long)
Code Analysis Passed 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
There were no executable files found in this plugin598 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 112 | 43 | 560 |
CSS | 1 | 5 | 0 | 38 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ 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
No PNG images were found in this plugin