Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼14.81ms] Passed 4 tests
Analyzing server-side resources used by RealtyCandy GravityForms IDX Broker Connector
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.38 ▼9.68 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.66 ▼15.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.14 ▼7.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.37 ▼26.20 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.54 ▼3.21 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RealtyCandy GravityForms IDX Broker Connector
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.25 ▲0.07 | 1.81 ▼0.04 | 44.23 ▲1.46 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.06 | 85.06 ▼11.36 | 38.45 ▼3.48 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.03 | 40.04 ▲3.41 | 32.56 ▼4.72 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.01 ▼0.00 | 674.23 ▲77.02 | 56.55 ▲8.34 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.19 ▲0.01 | 96.89 ▼4.93 | 44.03 ▼3.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Select this box in the setup page to send your GravityForms leads to IDX Broker) image required
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
realtycandy-gravity-forms-to-idxbroker-connector/index.php 85% from 13 tests
The entry point to "RealtyCandy GravityForms IDX Broker Connector" version 1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("realtycandy-gravity-forms-to-idxbroker-connector.php" instead of "index.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 205 characters long)
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
Success! There were no dangerous files found in this plugin176 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 28 | 176 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin