Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.39MB] [CPU: ▼1.79ms] Passed 4 tests
Analyzing server-side resources used by RD Station
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 49.10 ▲7.18 |
Dashboard /wp-admin | 3.69 ▲0.38 | 53.31 ▼11.79 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 56.09 ▲3.85 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.41 | 90.74 ▼2.63 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 42.18 ▲3.42 |
RD Station Settings /wp-admin/options-general.php?page=rdstation-settings-page | 3.52 | 38.78 |
Server storage [IO: ▲1.43MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
RD Station: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.28 ▼0.13 | 1.89 ▲0.05 | 42.21 ▼4.64 |
Dashboard /wp-admin | 2,202 ▲25 | 5.64 ▼0.03 | 91.09 ▼19.24 | 39.92 ▼11.27 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.03 | 36.06 ▼0.25 | 36.93 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,715 ▲189 | 23.29 ▲0.17 | 569.92 ▼144.18 | 81.33 ▲27.73 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.23 ▼0.02 | 104.47 ▼2.09 | 42.98 ▼5.67 |
RD Station Settings /wp-admin/options-general.php?page=rdstation-settings-page | 894 | 2.12 | 38.21 | 45.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 25% 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)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=rdstation-settings-page
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/integracao-rd-station/includes/helpers/rdsm_log_file_helper.php+18
file(wp-content/plugins/integracao-rd-station//log): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=rdstation-settings-page
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/integracao-rd-station/includes/events/rdsm_integration_form_woocommerce.php+19
Undefined index: fields
- > GET request to /wp-admin/options-general.php?page=rdstation-settings-page
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/integracao-rd-station/includes/events/rdsm_integration_form_woocommerce.php+20
array_column() expects parameter 1 to be array, null given
- > GET request to /wp-admin/options-general.php?page=rdstation-settings-page
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/integracao-rd-station/includes/events/rdsm_integration_form_woocommerce.php+20
array_multisort(): Argument #1 is expected to be an array or a sort flag
- > GET request to /wp-admin/options-general.php?page=rdstation-settings-page
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/integracao-rd-station/includes/events/rdsm_integration_form_woocommerce.php+22
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 73× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'RDSM_SRC_DIR/integrations/rdsm_integrations.php' (include_path='.:/usr/share/php') in wp-content/plugins/integracao-rd-station/includes/integrations/contact_form7/integration.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'RDSM_SRC_DIR/integrations/rdsm_integrations.php' (include_path='.:/usr/share/php') in wp-content/plugins/integracao-rd-station/includes/integrations/gravity_forms/integration.php on line 3
- > PHP Warning
require_once(RDSM_SRC_DIR/helpers/rdsm_log_file_helper.php): failed to open stream: No such file or directory in wp-content/plugins/integracao-rd-station/includes/client/rdsm_api.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'RDSM_SRC_DIR/entities/rdsm_user_credentials.php' (include_path='.:/usr/share/php') in wp-content/plugins/integracao-rd-station/includes/events/rdsm_oauth_connected.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'RDSM_SRC_DIR/events/rdsm_events_interface.php' (include_path='.:/usr/share/php') in wp-content/plugins/integracao-rd-station/includes/events/rdsm_settings_page_loaded.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'RDSM_SRC_DIR/entities/rdsm_user_credentials.php' (include_path='.:/usr/share/php') in wp-content/plugins/integracao-rd-station/includes/events/rdsm_tracking_status_updated.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'RDSM_SRC_DIR/events/rdsm_events_interface.php' (include_path='.:/usr/share/php') in wp-content/plugins/integracao-rd-station/includes/events/rdsm_oauth_disconnected.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'RDCustomPostType' not found in wp-content/plugins/integracao-rd-station/initializers/contact_form7.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/integracao-rd-station/settings/settings_menu.php:3
- > PHP Warning
require_once(RDSM_SRC_DIR/helpers/rdsm_log_file_helper.php): failed to open stream: No such file or directory in wp-content/plugins/integracao-rd-station/includes/client/rdsm_api.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=rdstation-settings-page
- > Javascript (severe) in unknown
/wp-content/plugins/integracao-rd-station/assets/js/general_settings.js?ver=6.3.1 36:26 Uncaught TypeError: Cannot read properties of null (reading 'classList')
- > GET request to /wp-admin/options-general.php?page=rdstation-settings-page
- > Javascript (severe) in unknown
/wp-content/plugins/integracao-rd-station/assets/js/log_file.js?ver=6.3.1 13:13 Uncaught TypeError: data.forEach is not a function
- > GET request to /wp-admin/options-general.php?page=rdstation-settings-page
- > Javascript (severe) in unknown
/wp-content/plugins/integracao-rd-station/assets/js/woocommerce_fields.js?ver=6.3.1 25:25 Uncaught TypeError: Cannot set properties of null (setting 'innerHTML')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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:
- Donate link: Invalid url: "-"
- Screenshots: These screenshots lack descriptions #1, #2 in integracao-rd-station/assets to your readme.txt
integracao-rd-station/integracao-rd-station.php Passed 13 tests
"RD Station" version 5.3.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
66 characters long description:
Integre seus formulários de contato do WordPress com o RD Station
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
Good job! No executable or dangerous file extensions detected2,410 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 379 | 37 | 1,681 |
JavaScript | 6 | 59 | 0 | 418 |
CSS | 2 | 36 | 1 | 176 |
Markdown | 1 | 92 | 0 | 135 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 5.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 127 | |
▷ Static methods | 15 | 11.81% |
▷ Public methods | 88 | 69.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 39 | 30.71% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 13 | 61.90% |
▷ Class constants | 8 | 38.10% |
▷ Public constants | 8 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 1.31MB with 0.79MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 436.05KB | 120.22KB | ▼ 72.43% |
assets/icon-128x128.png | 2.67KB | 1.50KB | ▼ 43.77% |
screenshot.png | 89.27KB | 33.91KB | ▼ 62.01% |
assets/banner-772x250.png | 18.66KB | 9.09KB | ▼ 51.29% |
assets/screenshot-1.png | 428.24KB | 117.22KB | ▼ 72.63% |