Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼142.91ms] Passed 4 tests
Server-side resources used by InsiteBot
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 39.26 ▲17.44 |
Dashboard /wp-admin | 3.07 ▲0.02 | 47.26 ▲0.32 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 47.09 ▼1.29 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 98.45 ▼571.74 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 36.60 ▲1.08 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for InsiteBot
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,292 ▲696 | 19.19 ▲3.62 | 83.91 ▲71.98 | 75.59 ▲29.69 |
Dashboard /wp-admin | 3,005 ▲71 | 5.91 ▼0.21 | 146.47 ▼2.56 | 178.69 ▲57.79 |
Posts /wp-admin/edit.php | 2,777 ▲38 | 2.72 ▼0.00 | 69.01 ▼2.26 | 158.12 ▲58.07 |
Add New Post /wp-admin/post-new.php | 1,531 ▼152 | 18.73 ▼0.02 | 388.84 ▼6.70 | 117.90 ▼8.77 |
Media Library /wp-admin/upload.php | 1,845 ▲38 | 5.05 ▲0.02 | 162.93 ▼14.18 | 167.37 ▲37.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/insitebot/insitebot.php:16
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Contributors: The plugin contributors field is missing
insitebot/insitebot.php Passed 13 tests
The principal PHP file in "InsiteBot" v. 1.0 is loaded by WordPress automatically on each request
62 characters long description:
AI chatbot for your website, as easy as editing a spreadsheet.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin11,384 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 1,120 | 114 | 11,340 |
PHP | 1 | 5 | 12 | 44 |
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.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin