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.07MB] [CPU: ▼2.92ms] Passed 4 tests
An overview of server-side resources used by Botão de Chat Grátis para Seu Site │ RD Station
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.39 ▼2.40 |
Dashboard /wp-admin | 3.37 ▲0.07 | 53.07 ▲3.71 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 51.88 ▼0.96 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 87.92 ▼12.04 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 42.15 ▲4.31 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Botão de Chat Grátis para Seu Site │ RD Station: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲183 | 13.62 ▼1.19 | 6.45 ▲4.74 | 44.97 ▼1.07 |
Dashboard /wp-admin | 2,229 ▲38 | 5.88 ▼0.02 | 97.41 ▼5.22 | 43.07 ▼5.37 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.00 ▼0.03 | 37.80 ▲1.51 | 38.78 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 17.80 ▼5.26 | 660.85 ▼18.77 | 36.37 ▼13.03 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.23 ▼0.10 | 98.86 ▼19.58 | 45.16 ▼3.63 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/botao-de-chat-gratis-para-seu-site-rd-station/views/form-visibility.php
- > /wp-content/plugins/botao-de-chat-gratis-para-seu-site-rd-station/views/form-appearance.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/botao-de-chat-gratis-para-seu-site-rd-station/views/form-config.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/botao-de-chat-gratis-para-seu-site-rd-station/views/settings-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/botao-de-chat-gratis-para-seu-site-rd-station/views/form-setup.php:2
- > PHP Warning
Use of undefined constant RD_BUTTON_CHAT_URL - assumed 'RD_BUTTON_CHAT_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/botao-de-chat-gratis-para-seu-site-rd-station/views/form-appearance.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
No tags were found
botao-de-chat-gratis-para-seu-site-rd-station/rd-button-chat.php 85% from 13 tests
The main file in "Botão de Chat Grátis para Seu Site │ RD Station" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("botao-de-chat-gratis-para-seu-site-rd-station.php" instead of "rd-button-chat.php")
- Requires at least: Required version must match the one declared in readme.txt ("1.0.0" instead of "1.0")
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
No dangerous file extensions were detected1,135 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 94 | 12 | 536 |
PHP | 8 | 108 | 12 | 437 |
JavaScript | 2 | 29 | 5 | 156 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 3 | 18.75% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin