Benchmarks
Plugin footprint 83% 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.80MB] [CPU: ▲3.96ms] Passed 4 tests
Server-side resources used by GPT AI Content Creator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.24 ▲0.78 | 41.42 ▲4.23 |
Dashboard /wp-admin | 4.16 ▲0.85 | 56.64 ▲11.02 |
Posts /wp-admin/edit.php | 4.22 ▲0.86 | 53.19 ▲8.99 |
Add New Post /wp-admin/post-new.php | 6.68 ▲0.79 | 85.40 ▼8.42 |
Media Library /wp-admin/upload.php | 4.02 ▲0.79 | 54.73 ▲19.83 |
Server storage [IO: ▲4.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 129 new files
Database: no new tables, 8 new options
New WordPress options |
---|
bstwbsftwppdtplgns_options |
widget_recent-comments |
db_upgraded |
gptcntntcrtr_options |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
GPT AI Content Creator: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,991 ▲220 | 22.82 ▲8.45 | 1.71 ▼0.36 | 36.27 ▼6.82 |
Dashboard /wp-admin | 2,201 ▲10 | 13.78 ▲8.90 | 363.28 ▲260.88 | 42.79 ▼4.47 |
Posts /wp-admin/edit.php | 2,191 ▲99 | 12.66 ▲10.67 | 180.91 ▲141.15 | 36.48 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,760 ▲223 | 26.59 ▲3.58 | 556.01 ▼31.47 | 36.30 ▼12.29 |
Media Library /wp-admin/upload.php | 1,569 ▲178 | 14.90 ▲10.75 | 186.08 ▲90.04 | 44.38 ▲2.12 |
BWS Panel /wp-admin/gpt-ai-content-creator.php?page=gptcntntcrtr-bws-panel | 26 | 0.44 | 0.07 | 12.50 |
Settings /wp-admin/gpt-ai-content-creator.php | 26 | 0.44 | 0.07 | 5.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gpt-ai-content-creator-by-bestwebsoft/bws_menu/class-bws-settings.php:1453
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gpt-ai-content-creator-by-bestwebsoft/bws_menu/product_list.php:9
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/gpt-ai-content-creator-by-bestwebsoft/includes/class-gptcntntcrtr-settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gpt-ai-content-creator-by-bestwebsoft/gpt-ai-content-creator.php:393
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/gpt-ai-content-creator.php?page=gptcntntcrtr-bws-panel
- > Network (severe)
wp-admin/gpt-ai-content-creator.php?page=gptcntntcrtr-bws-panel - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/gpt-ai-content-creator.php
- > Network (severe)
wp-admin/gpt-ai-content-creator.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Plugin settings in WordPress admin panel.), #2 (AI generated content example.)
gpt-ai-content-creator-by-bestwebsoft/gpt-ai-content-creator.php 85% from 13 tests
"GPT AI Content Creator" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gpt-ai-content-creator-by-bestwebsoft.php" instead of "gpt-ai-content-creator.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
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
Everything looks great! No dangerous files found in this plugin19,556 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 16 | 3,574 | 5,270 | 8,708 |
CSS | 9 | 155 | 250 | 5,335 |
PHP | 9 | 452 | 579 | 4,761 |
JavaScript | 6 | 38 | 118 | 585 |
SVG | 4 | 0 | 0 | 167 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 81.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 11.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 73.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 26.09% |
Functions | 64 | |
▷ Named functions | 64 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
60 PNG files occupy 2.74MB with 0.93MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-bg_flat_75_ffffff_40x100.png | 0.25KB | 0.11KB | ▼ 55.38% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.15KB | 0.14KB | ▼ 6.62% |
bws_menu/css/jquery-ui-styles/1.12.1/images/ui-bg_glass_65_ffffff_1x400.png | 0.26KB | 0.09KB | ▼ 66.79% |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.31KB | 0.18KB | ▼ 39.81% |