Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.94ms] Passed 4 tests
Analyzing server-side resources used by RentPress: Gravity Forms Add-on
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.01 ▼5.87 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.02 ▼4.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.88 ▼3.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.25 ▼9.86 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.77 ▼0.46 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for RentPress: Gravity Forms Add-on
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.57 ▲0.25 | 1.73 ▼0.22 | 39.34 ▼4.81 |
Dashboard /wp-admin | 2,192 ▲12 | 5.61 ▼0.03 | 90.14 ▼2.71 | 39.24 ▼3.71 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▲0.04 | 40.34 ▼1.42 | 38.58 ▲2.30 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.16 ▼0.00 | 642.58 ▲1.85 | 68.12 ▲17.12 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.19 ▼0.02 | 94.16 ▼9.34 | 40.23 ▼3.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/rentpress-gravity-forms-add-on/src/rentPressGravityForms/Leads.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #1, #2 in rentpress-gravity-forms-add-on/assets to your readme.txt
rentpress-gravity-forms-add-on/rentPressGravityFormsWP.php 85% from 13 tests
Analyzing the main PHP file in "RentPress: Gravity Forms Add-on" version 1.0.4
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rentpress-gravity-forms-add-on.php" instead of "rentPressGravityFormsWP.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,482 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 98 | 144 | 1,347 |
JavaScript | 1 | 12 | 1 | 135 |
PHP code Passed 2 tests
An overview 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.79 |
Average class complexity | 72.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 9 | |
▷ Named functions | 3 | 33.33% |
▷ Anonymous functions | 6 | 66.67% |
Constants | 2 | |
▷ Global constants | 2 | 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
PNG images were not found in this plugin