Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲10.96ms] Passed 4 tests
This is a short check of server-side resources used by BERTHA AI. Your AI co-pilot for WordPress and Chrome
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 59.86 ▲18.69 |
Dashboard /wp-admin | 3.32 ▼0.03 | 65.18 ▼0.17 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 67.56 ▲17.71 |
Add New Post /wp-admin/post-new.php | 5.69 ▼0.20 | 102.29 ▲7.60 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 65.52 ▲33.64 |
Bertha Art /wp-admin/admin.php?page=bertha-ai-art-setting | 3.30 | 58.65 |
Brand Settings /wp-admin/admin.php?page=bertha-ai-content-setting | 3.30 | 59.78 |
Bertha Chat /wp-admin/admin.php?page=bertha-ai-chat-setting | 3.30 | 58.20 |
Onboard Free Dashboard /wp-admin/admin.php?page=wa-free-onboard-dashboard | 3.30 | 59.16 |
Launch Bertha /wp-admin/admin.php?page=bertha-ai-setting | 2.38 | 12.76 |
General Settings /wp-admin/admin.php?page=bertha-ai-license-setting | 3.30 | 59.66 |
Onboard Dashboard /wp-admin/admin.php?page=wa-onboard-dashboard | 3.30 | 57.33 |
License /wp-admin/admin.php?page=bertha-ai-license | 3.30 | 57.74 |
Server storage [IO: ▲2.02MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 62 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
idea_template_children |
bertha_setup_wizard_added |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BERTHA AI. Your AI co-pilot for WordPress and Chrome
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,558 ▲811 | 24.46 ▲10.27 | 51.19 ▲49.47 | 37.64 ▼5.43 |
Dashboard /wp-admin | 2,603 ▲423 | 11.05 ▲5.40 | 138.12 ▲40.55 | 73.44 ▲26.05 |
Posts /wp-admin/edit.php | 2,440 ▲340 | 9.97 ▲7.95 | 105.25 ▲66.89 | 34.58 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,772 ▲246 | 23.18 ▲0.25 | 577.73 ▼42.59 | 41.71 ▼6.01 |
Media Library /wp-admin/upload.php | 1,778 ▲378 | 11.40 ▲7.14 | 140.68 ▲40.65 | 69.46 ▲27.21 |
Bertha Art /wp-admin/admin.php?page=bertha-ai-art-setting | 1,241 | 9.52 | 84.89 | 38.50 |
Brand Settings /wp-admin/admin.php?page=bertha-ai-content-setting | 1,561 | 9.62 | 89.55 | 63.06 |
Bertha Chat /wp-admin/admin.php?page=bertha-ai-chat-setting | 1,209 | 10.83 | 91.93 | 35.35 |
Onboard Free Dashboard /wp-admin/admin.php?page=wa-free-onboard-dashboard | 1,300 | 9.51 | 76.39 | 38.85 |
Launch Bertha /wp-admin/admin.php?page=bertha-ai-setting | 1,312 | 9.40 | 83.77 | 40.54 |
General Settings /wp-admin/admin.php?page=bertha-ai-license-setting | 1,298 | 9.42 | 79.72 | 40.77 |
Onboard Dashboard /wp-admin/admin.php?page=wa-onboard-dashboard | 1,955 | 13.05 | 124.19 | 55.89 |
License /wp-admin/admin.php?page=bertha-ai-license | 1,312 | 9.39 | 84.16 | 43.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- widget_recent-posts
- bertha_setup_wizard_added
- db_upgraded
- widget_recent-comments
- idea_template_children
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bertha-ai-license
- > Notice in wp-content/plugins/bertha-ai-free/classes/class-bertha-ai.php+505
Trying to get property 'free_templates' of non-object
- > GET request to /wp-admin/admin.php?page=bertha-ai-art-setting
- > Notice in wp-content/plugins/bertha-ai-free/classes/class-bertha-ai-admin.php+510
Trying to get property 'image_credits' of non-object
- > GET request to /wp-admin/admin.php?page=bertha-ai-art-setting
- > Notice in wp-content/plugins/bertha-ai-free/classes/class-bertha-ai-admin.php+511
Trying to get property 'image_credits_used' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bertha-ai-license
- > Notice in wp-content/plugins/bertha-ai-free/classes/class-bertha-ai-admin.php+572
Trying to get property 'bertha_plugin_type' of non-object
- > GET request to /wp-admin/admin.php?page=bertha-ai-chat-setting
- > Notice in wp-content/plugins/bertha-ai-free/classes/class-bertha-ai-admin.php+466
Trying to get property 'chat_prompt_prompt' of non-object
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=bertha-ai-chat-setting
- > Javascript (severe) in unknown
/wp-content/plugins/bertha-ai-free/assets/js/setup.js?ver=1.11.7 283:29 Uncaught TypeError: Cannot read properties of null (reading 'quickwins_version')
- > GET request to /wp-admin/admin.php?page=wa-onboard-dashboard
- > Other (warning) in unknown
/wp-admin/admin.php?page=wa-onboard-dashboard 247 Allow attribute will take precedence over 'allowfullscreen'.
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Requires php: Version not formatted correctly
- Screenshots: A description for screenshot #10 is missing in bertha-ai-free/assets to your readme.txt
bertha-ai-free/bertha-ai.php 77% from 13 tests
"BERTHA AI. Your AI co-pilot for WordPress and Chrome" version 1.11.10.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bertha-ai-free.php" instead of "bertha-ai.php")
- Description: The description should be shorter than 140 characters (currently 217 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected14,804 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 236 | 118 | 5,806 |
PHP | 6 | 523 | 127 | 4,876 |
JavaScript | 13 | 165 | 156 | 3,403 |
SVG | 26 | 3 | 8 | 719 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 400)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 273.75 |
▷ Minimum class complexity | 73.00 |
▷ Maximum class complexity | 727.00 |
Average method complexity | 15.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 400.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 71 | 97.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.74% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/picture.png | 10.03KB | 6.61KB | ▼ 34.09% |
assets/images/ber_chat.png | 23.36KB | 7.30KB | ▼ 68.76% |
assets/images/bertha_avatar.png | 80.18KB | 24.46KB | ▼ 69.49% |