Benchmarks
Plugin footprint 83% 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.04MB] [CPU: ▼4.74ms] Passed 4 tests
Analyzing server-side resources used by AI WP Writer - автонаполнение сайта ChatGPT и Midjourney
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 49.28 ▲9.85 |
Dashboard /wp-admin | 3.34 ▲0.04 | 61.92 ▲5.72 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 54.13 ▼19.15 |
Add New Post /wp-admin/post-new.php | 5.61 ▼0.28 | 82.23 ▼9.05 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.35 ▲3.54 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AI WP Writer - автонаполнение сайта ChatGPT и Midjourney
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,868 ▲107 | 14.48 ▲0.18 | 1.64 ▲0.03 | 44.98 ▲2.68 |
Dashboard /wp-admin | 2,262 ▲56 | 5.96 ▲1.06 | 124.62 ▲13.72 | 48.17 ▲4.04 |
Posts /wp-admin/edit.php | 2,159 ▲56 | 2.68 ▲0.62 | 42.56 ▲3.49 | 33.41 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,830 ▲298 | 21.01 ▼2.24 | 720.02 ▲19.15 | 76.47 ▲16.69 |
Media Library /wp-admin/upload.php | 1,459 ▲62 | 5.19 ▲0.99 | 109.95 ▲9.53 | 47.09 ▲2.00 |
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-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ai-wp-writer/tpl/workspace.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ai-wp-writer/class.assistant.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ai-wp-writer/tpl/options.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: articles, ai, gpt 35, posts, writer...
ai-wp-writer/index.php 85% from 13 tests
The principal PHP file in "AI WP Writer - автонаполнение сайта ChatGPT и Midjourney" v. 3.4.2 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("ai-wp-writer.php" instead of "index.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,674 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 181 | 15 | 655 |
CSS | 1 | 141 | 14 | 591 |
PHP | 4 | 121 | 9 | 428 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/doc.png | 1.52KB | 0.66KB | ▼ 56.24% |