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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.09MB] [CPU: ▼11.91ms] Passed 4 tests
This is a short check of server-side resources used by Flexmls® IDX Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.07 ▲2.48 |
Dashboard /wp-admin | 3.49 ▲0.19 | 50.62 ▲0.29 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 45.17 ▼5.60 |
Add New Post /wp-admin/post-new.php | 5.00 ▼0.88 | 51.92 ▼44.82 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.50 ▲6.15 |
Flexmls® IDX /wp-admin/admin.php?page=fmc_admin_intro | 3.37 | 35.51 |
Settings /wp-admin/admin.php?page=fmc_admin_settings | 3.41 | 35.65 |
Server storage [IO: ▲4.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 349 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
fmc_settings |
theysaidso_admin_options |
fmc_cache_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flexmls® IDX Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,084 ▲323 | 14.82 ▲0.54 | 18.77 ▲17.17 | 41.69 ▲1.31 |
Dashboard /wp-admin | 2,280 ▲109 | 5.19 ▼0.39 | 87.53 ▼1.11 | 36.60 ▼2.12 |
Posts /wp-admin/edit.php | 2,194 ▲91 | 2.47 ▲0.50 | 40.04 ▼0.21 | 33.87 ▼1.94 |
Add New Post /wp-admin/post-new.php | 6,447 ▲4,919 | 29.02 ▲5.88 | 956.70 ▲280.32 | 40.91 ▼13.01 |
Media Library /wp-admin/upload.php | 1,494 ▲97 | 4.68 ▲0.49 | 102.64 ▼2.16 | 49.05 ▲0.43 |
Flexmls® IDX /wp-admin/admin.php?page=fmc_admin_intro | 985 | 2.47 | 33.84 | 37.88 |
Settings /wp-admin/admin.php?page=fmc_admin_settings | 1,442 | 2.52 | 44.51 | 41.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fmc_admin_settings
- > Notice in wp-content/plugins/flexmls-idx/views/admin-settings-behavior.php+108
Undefined index: listlink
- > GET request to /wp-admin/admin.php?page=fmc_admin_settings
- > Warning in wp-content/plugins/flexmls-idx/views/admin-settings-behavior.php+209
Invalid argument supplied for foreach()
SRP 0% 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
The following issues need your attention
- 56× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/flexmls-idx/integration/wpbakery/index.php
- > /wp-content/plugins/flexmls-idx/flexmls_connect.php
- > /wp-content/plugins/flexmls-idx/Admin/Enqueue.php
- > /wp-content/plugins/flexmls-idx/Widgets/autoloader.php
- > /wp-content/plugins/flexmls-idx/integration/wpbakery/params/dropdown_tag.php
- > /wp-content/plugins/flexmls-idx/views/admin-settings-behavior.php
- > /wp-content/plugins/flexmls-idx/integration/wpbakery/params/callback.php
- > /wp-content/plugins/flexmls-idx/SparkAPI/System.php
- > /wp-content/plugins/flexmls-idx/SparkAPI/autoloader.php
- > /wp-content/plugins/flexmls-idx/Admin/autoloader.php
- 120× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'fmcWidget' not found in wp-content/plugins/flexmls-idx/components/search-results.php:5
- > PHP Notice
Undefined variable: property_types_selected in wp-content/plugins/flexmls-idx/pages/_property_types.php on line 1
- > PHP Notice
Undefined variable: property_types_selected in wp-content/plugins/flexmls-idx/pages/search_widget/_property_types.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'flexmlsConnectPageCore' not found in wp-content/plugins/flexmls-idx/pages/search-results.php:3
- > PHP Notice
Undefined variable: property_types_selected in wp-content/plugins/flexmls-idx/views/v2/_property_types.php on line 1
- > PHP Notice
Undefined variable: signup_link in wp-content/plugins/flexmls-idx/views/login.php on line 12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/flexmls-idx/views/v2/fmcSearchResults/_listings_map.php:1
- > PHP Fatal error
Uncaught Error: Class 'EL_FMC_shortcode' not found in wp-content/plugins/flexmls-idx/integration/elementor/modules/fmcLocationLinks.php:2
- > PHP Fatal error
Uncaught Error: Class 'fmcWidget' not found in wp-content/plugins/flexmls-idx/components/my-account.php:10
- > PHP Fatal error
Uncaught Error: Class 'fmcWidget' not found in wp-content/plugins/flexmls-idx/components/location-links.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Our IDX Search Widget - Width, Color and Font Options Available), #2 (Listing Summary (Search Results)), #3 (Listing Detail Page), #4 (Add graphs to your market analyses using the market stats widget.), #5 (Add widgets to pages or posts using the Gutenberg Block Editor (also compatible with Classic, Elementor and WPBakery)), #6 (IDX Search Widget Settings (Gutenberg))
flexmls-idx/flexmls_connect.php 85% from 13 tests
The principal PHP file in "Flexmls® IDX Plugin" v. 3.14.12 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 443 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("flexmls-idx.php" instead of "flexmls_connect.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected27,536 lines of code in 217 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 158 | 4,550 | 1,709 | 21,338 |
JSON | 1 | 0 | 0 | 5,498 |
CSS | 13 | 21 | 10 | 276 |
JavaScript | 35 | 64 | 36 | 243 |
SVG | 5 | 0 | 2 | 114 |
JSX | 5 | 30 | 4 | 67 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 135)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 22.99 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 135.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 102 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 833 | |
▷ Static methods | 199 | 23.89% |
▷ Public methods | 696 | 83.55% |
▷ Protected methods | 97 | 11.64% |
▷ Private methods | 40 | 4.80% |
Functions | 35 | |
▷ Named functions | 24 | 68.57% |
▷ Anonymous functions | 11 | 31.43% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 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
80 PNG files occupy 1.81MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/showing.png | 0.66KB | 0.55KB | ▼ 17.50% |
assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
images/next-vertical.png | 3.73KB | 1.88KB | ▼ 49.46% |
images/controls.png | 1.22KB | 1.27KB | 0.00% |
assets/images/prev-horizontal.png | 4.22KB | 2.20KB | ▼ 47.92% |