Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.14ms] Passed 4 tests
An overview of server-side resources used by RAO Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.68 ▼5.34 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.05 ▼1.65 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.70 ▲0.35 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.78 ▼21.92 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.27 ▲3.89 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 53 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_rao_form_connections |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
RAO Forms: 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,895 ▲134 | 13.40 ▼1.14 | 7.94 ▲6.04 | 43.92 ▼0.89 |
Dashboard /wp-admin | 2,215 ▲38 | 5.56 ▲0.05 | 86.54 ▼5.20 | 35.90 ▼11.08 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 2.03 ▲0.05 | 39.18 ▲0.16 | 33.54 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.27 ▼0.47 | 650.79 ▼38.73 | 56.20 ▲7.94 |
Media Library /wp-admin/upload.php | 1,426 ▲29 | 4.26 ▲0.07 | 101.19 ▲1.50 | 41.65 ▼4.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_rao_form_connections
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/rao-forms/admin/partials/rao-forms-admin-display.php
- > /wp-content/plugins/rao-forms/public/partials/rao-forms-public-display.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'RFIP\\Admin\\Settings\\RFIP_Menu' not found in wp-content/plugins/rao-forms/admin/src/Settings/RFIP_SubMenu.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/rao-forms/admin/partials/setup/connect-to-ninjaforms.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/rao-forms/admin/partials/setup/connect-to-cf7.php:9
- > PHP Fatal error
Uncaught Error: Class 'RFIP\\Admin\\Settings\\RFIP_WordpressSettings' not found in wp-content/plugins/rao-forms/admin/src/Settings/RFIP_Menu.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/rao-forms/admin/partials/setup/connect-to-wpforms.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/rao-forms/admin/partials/setup/authorize.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in rao-forms/assets to your readme.txt
rao-forms/rao-forms.php 92% from 13 tests
Analyzing the main PHP file in "RAO Forms" version 1.0.0
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,432 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 745 | 972 | 2,664 |
CSS | 3 | 121 | 28 | 572 |
JavaScript | 5 | 19 | 111 | 183 |
JSON | 2 | 0 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 14.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 1 | 5.26% |
▷ Concrete classes | 18 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 19 | 15.70% |
▷ Public methods | 112 | 92.56% |
▷ Protected methods | 2 | 1.65% |
▷ Private methods | 7 | 5.79% |
Functions | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin