Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.03ms] Passed 4 tests
Server-side resources used by All-in-One AI
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.04 ▲1.80 |
Dashboard /wp-admin | 3.39 ▲0.09 | 49.11 ▼1.48 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 47.36 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.89 ▼9.62 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 35.38 ▼0.24 |
All-in-One AI /wp-admin/options-general.php?page=all-in-one-ai | 3.28 | 30.20 |
Server storage [IO: ▲2.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by All-in-One AI
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.48 ▼0.27 | 1.73 ▲0.01 | 44.16 ▲1.40 |
Dashboard /wp-admin | 2,212 ▲27 | 4.90 ▼0.96 | 111.99 ▲0.69 | 42.85 ▲0.59 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.06 ▲0.07 | 36.22 ▼0.12 | 36.23 ▲2.67 |
Add New Post /wp-admin/post-new.php | 6,242 ▲4,709 | 26.07 ▲2.92 | 934.89 ▲246.24 | 53.37 ▼2.14 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.21 ▲0.02 | 100.57 ▲0.37 | 46.24 ▼0.10 |
All-in-One AI /wp-admin/options-general.php?page=all-in-one-ai | 795 | 2.03 | 27.57 | 30.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/all-in-one-ai/all-in-one-ai.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/all-in-one-ai/includes/functions.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-in-one-ai/admin/admin-page.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 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
5 plugin tags: chatbot, gpt, chatgpt, openai, ai
all-in-one-ai/all-in-one-ai.php Passed 13 tests
"All-in-One AI" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
126 characters long description:
All-in-One AI is a powerful WordPress plugin that integrates artificial intelligence capabilities into your WordPress website.
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
Everything looks great! No dangerous files found in this plugin2,096 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 285 | 658 | 1,205 |
Markdown | 3 | 321 | 0 | 758 |
JSON | 3 | 0 | 0 | 120 |
CSS | 1 | 2 | 0 | 12 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 19.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 97 | |
▷ Static methods | 36 | 37.11% |
▷ Public methods | 92 | 94.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.15% |
Functions | 15 | |
▷ Named functions | 13 | 86.67% |
▷ Anonymous functions | 2 | 13.33% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin