Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼11.47ms] Passed 4 tests
An overview of server-side resources used by AI GPT-3 Content Generator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.82 ▼4.14 |
Dashboard /wp-admin | 3.32 ▼0.03 | 45.45 ▼14.67 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.68 ▼1.40 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.20 ▼24.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.89 ▼2.61 |
Server storage [IO: ▲0.30MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AI GPT-3 Content Generator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.22 ▼0.24 | 1.77 ▲0.07 | 42.80 ▲0.46 |
Dashboard /wp-admin | 2,210 ▲30 | 5.51 ▼0.14 | 85.54 ▼2.57 | 83.81 ▲41.01 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 1.97 ▼0.03 | 34.45 ▼3.52 | 32.17 ▲0.04 |
Add New Post /wp-admin/post-new.php | 6,339 ▲4,813 | 25.82 ▲2.61 | 978.72 ▲380.52 | 53.33 ▲0.97 |
Media Library /wp-admin/upload.php | 1,418 ▲24 | 4.17 ▲0.00 | 98.84 ▲0.77 | 72.37 ▲30.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: gpt-3, chatgpt, openai, ai, gpt...
ai-gpt-3-content-generator/class-ai-gpt3-content-generator.php 62% from 13 tests
This is the main PHP file of "AI GPT-3 Content Generator" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path folder does not exist ("/languages")
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.2")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ai-gpt-3-content-generator.php" instead of "class-ai-gpt3-content-generator.php")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.4" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin772 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 111 | 327 | 767 |
JavaScript | 3 | 0 | 0 | 3 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 5.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 7 | 21.88% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.62% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 11 | 100.00% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/miniorange.png | 1.49KB | 1.34KB | ▼ 10.35% |
assets/img/miniorange-logo.png | 5.57KB | 3.46KB | ▼ 37.79% |