Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼5.42ms] Passed 4 tests
Server-side resources used by Innovator AI
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 40.11 ▲2.41 |
Dashboard /wp-admin | 3.53 ▲0.19 | 55.33 ▼7.55 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 47.33 ▼6.33 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 85.87 ▼10.19 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 40.35 ▲4.47 |
Server storage [IO: ▲5.59MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
innovator_ai_settings |
can_compress_scripts |
innovator_ai_setting_seeder_ran |
widget_theysaidso_widget |
innovator_ai_installed |
innovator_ai_version |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Innovator AI
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.25 ▼0.10 | 1.91 ▲0.28 | 39.91 ▼1.61 |
Dashboard /wp-admin | 2,210 ▲30 | 5.56 ▼0.12 | 87.52 ▼9.86 | 78.62 ▲38.64 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 1.98 ▲0.04 | 35.67 ▼1.30 | 38.02 ▲1.97 |
Add New Post /wp-admin/post-new.php | 1,591 ▲65 | 23.98 ▲0.17 | 783.21 ▲83.66 | 42.09 ▼8.96 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.20 ▲0.02 | 101.00 ▲2.91 | 79.41 ▲34.63 |
Dashboard /wp-admin/admin.php?page=innovator-ai#/ | 1,086 | 10.41 | 236.58 | 91.30 |
Settings /wp-admin/admin.php?page=innovator-ai#/settings | 1,213 | 11.85 | 126.28 | 92.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-comments
- innovator_ai_setting_seeder_ran
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- innovator_ai_installed
- innovator_ai_settings
- innovator_ai_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Trait 'WpInnovator\\InnovatorAi\\Traits\\InputSanitizer' not found in wp-content/plugins/innovator-ai/includes/Settings/Manager.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_data() in wp-content/plugins/innovator-ai/templates/blocks/text-generator/markup.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/innovator-ai/includes/Abstracts/RESTController.php:12
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/innovator-ai/templates/blocks/text-generator/markup.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/innovator-ai/templates/blocks/text-generator/markup.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'WpInnovator\\InnovatorAi\\Abstracts\\RESTController' not found in wp-content/plugins/innovator-ai/includes/REST/SettingsController.php:16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/innovator-ai/templates/blocks/text-generator/markup.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'WpInnovator\\InnovatorAi\\Abstracts\\DBSeeder' not found in wp-content/plugins/innovator-ai/includes/Databases/Seeder/SettingsSeeder.php:14
- > PHP Fatal error
Trait 'WpInnovator\\InnovatorAi\\Traits\\Queryable' not found in wp-content/plugins/innovator-ai/includes/Abstracts/BaseModel.php on line 13
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/innovator-ai/templates/blocks/text-generator/markup.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: There are too many tags (16 tag instead of maximum 10)
innovator-ai/innovator-ai.php Passed 13 tests
The principal PHP file in "Innovator AI" v. 1.2.0 is loaded by WordPress automatically on each request
111 characters long description:
Your Virtual AI assistant to make your WordPress content automation journey smooth and beautiful using Open AI.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,397 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 350 | 1,118 | 1,321 |
JSON | 2 | 0 | 0 | 68 |
CSS | 3 | 1 | 0 | 6 |
JavaScript | 2 | 0 | 0 | 2 |
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.41 |
Average class complexity | 7.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 21 | |
▷ Abstract classes | 4 | 19.05% |
▷ Concrete classes | 17 | 80.95% |
▷ Final classes | 1 | 5.88% |
Methods | 106 | |
▷ Static methods | 24 | 22.64% |
▷ Public methods | 97 | 91.51% |
▷ Protected methods | 2 | 1.89% |
▷ Private methods | 7 | 6.60% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 16 | |
▷ Global constants | 10 | 62.50% |
▷ Class constants | 6 | 37.50% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 compressed PNG files occupy 0.05MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 25.38KB | 25.40KB | 0.00% |
assets/images/logo-sm.png | 22.06KB | 22.05KB | 0.01% |
assets/images/logo-icon.png | 2.18KB | 1.72KB | ▼ 21.16% |