Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.43ms] Passed 4 tests
Server-side resources used by WP AI Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.92 ▼2.18 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.83 ▼5.22 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.37 ▼1.24 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.66 ▼17.09 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.91 ▼1.20 |
Speed Up /wp-admin/admin.php?page=wp-ai-manager-speed_up | 3.26 | 33.34 |
Reports /wp-admin/admin.php?page=wp-ai-manager | 3.24 | 30.51 |
Tracking /wp-admin/admin.php?page=wp-ai-manager-tracking | 3.26 | 33.36 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- Illegal file modification detected: 1 file (5.79KB) outside of "wp-content/plugins/wp-ai-manager/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP AI Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲153 | 13.61 ▼0.77 | 5.44 ▲3.15 | 41.05 ▼5.76 |
Dashboard /wp-admin | 2,235 ▲47 | 4.99 ▼0.06 | 102.48 ▼15.60 | 39.86 ▼8.07 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.06 ▲0.00 | 39.17 ▲3.10 | 35.08 ▲3.23 |
Add New Post /wp-admin/post-new.php | 1,552 ▲32 | 23.39 ▼0.02 | 673.81 ▲30.79 | 55.59 ▲2.07 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.22 ▲0.07 | 95.65 ▼3.05 | 41.77 ▼3.36 |
Speed Up /wp-admin/admin.php?page=wp-ai-manager-speed_up | 821 | 2.04 | 25.17 | 27.47 |
Reports /wp-admin/admin.php?page=wp-ai-manager | 783 | 2.05 | 23.26 | 22.14 |
Tracking /wp-admin/admin.php?page=wp-ai-manager-tracking | 845 | 1.69 | 25.74 | 26.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 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 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
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-ai-manager/admin/partials/wp-ai-manager-speed-up.php
- > /wp-content/plugins/wp-ai-manager/includes/3rd-party/wp-rocket-htaccess.php
- > /wp-content/plugins/wp-ai-manager/admin/partials/wp-ai-manager-tracking.php
- > /wp-content/plugins/wp-ai-manager/admin/partials/wp-ai-manager-general.php
- > /wp-content/plugins/wp-ai-manager/WP_AI_Manager.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: ai, wp manager
wp-ai-manager/WP_AI_Manager.php 92% from 13 tests
The main PHP script in "WP AI Manager" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-ai-manager.php" instead of "WP_AI_Manager.php")
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
There were no executable files found in this plugin618 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 128 | 782 | 583 |
PO File | 1 | 1 | 1 | 18 |
JavaScript | 3 | 2 | 0 | 17 |
CSS | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 5 | 16.13% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin