Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼14.34ms] Passed 4 tests
An overview of server-side resources used by Forms Rb
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 47.63 ▲3.59 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.32 ▼68.47 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 55.26 ▲5.31 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 110.23 ▲19.23 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.39 ▲2.23 |
All Forms /wp-admin/edit.php?post_type=rbforms_forms | 3.35 | 39.65 |
Add New /wp-admin/post-new.php?post_type=rbforms_forms | 3.34 | 58.83 |
Server storage [IO: ▲1.30MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
rbforms_installDate |
db_upgraded |
rbforms_afterInstall |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
rbforms_installVersion |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Forms Rb
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲61 | 13.30 ▲0.06 | 1.83 ▼0.41 | 39.76 ▼3.84 |
Dashboard /wp-admin | 2,246 ▲37 | 4.86 ▼1.00 | 103.94 ▼28.12 | 40.33 ▼2.56 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.02 ▲0.02 | 36.28 ▲1.37 | 34.46 ▲1.65 |
Add New Post /wp-admin/post-new.php | 1,571 ▲160 | 22.99 ▲5.24 | 608.70 ▼64.11 | 54.07 ▲3.56 |
Media Library /wp-admin/upload.php | 1,428 ▲37 | 4.24 ▲0.06 | 99.61 ▲3.27 | 40.15 ▼2.73 |
All Forms /wp-admin/edit.php?post_type=rbforms_forms | 1,120 | 1.99 | 32.11 | 33.61 |
Add New /wp-admin/post-new.php?post_type=rbforms_forms | 1,612 | 6.45 | 213.20 | 83.94 |
Uninstaller [IO: ✅] [DB: ▲0.01MB] 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
- This plugin did not uninstall successfully, leaving 9 options in the database
- rbforms_afterInstall
- rbforms_installDate
- widget_recent-comments
- widget_recent-posts
- rbforms_installVersion
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/forms-rb/forms-rb.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Forms main options), #2 (Contact form in the popup), #3 (Saved records in the admin section), #4 (Form fields section), #5 (Contact form dialog settings), #6 (Contact form floating button icon color selection), #7 (Contact form floating button icon selection), #8 (Contact form floating button on the page)
forms-rb/forms-rb.php 92% from 13 tests
The main file in "Forms Rb" v. 1.1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.1" instead of "5.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,704 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 466 | 274 | 1,701 |
JavaScript | 3 | 0 | 6 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 19.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 92 | |
▷ Static methods | 10 | 10.87% |
▷ Public methods | 85 | 92.39% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 7.61% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 13 | |
▷ Global constants | 6 | 46.15% |
▷ Class constants | 7 | 53.85% |
▷ Public constants | 7 | 100.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 files were detected