Benchmarks
Plugin footprint 83% 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.07MB] [CPU: ▼4.88ms] Passed 4 tests
Server-side resources used by IDXPro
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.45 ▲0.34 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.64 ▼3.37 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 47.62 ▼1.68 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.63 ▼9.66 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 33.96 ▼4.81 |
IDXPro Configuration /wp-admin/plugins.php?page=idxpro-config | 3.38 | 31.36 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by IDXPro
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.47 ▼0.18 | 1.76 ▼0.02 | 43.32 ▲0.54 |
Dashboard /wp-admin | 2,221 ▲33 | 4.81 ▼0.06 | 107.96 ▼9.43 | 39.56 ▼3.33 |
Posts /wp-admin/edit.php | 2,101 ▲15 | 2.00 ▲0.03 | 35.61 ▼2.74 | 33.42 ▼1.69 |
Add New Post /wp-admin/post-new.php | 1,367 ▼166 | 17.09 ▼6.34 | 592.44 ▼61.17 | 44.40 ▼9.67 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.20 ▼0.21 | 95.56 ▼3.80 | 39.50 ▼3.17 |
IDXPro Configuration /wp-admin/plugins.php?page=idxpro-config | 898 | 2.16 | 22.61 | 35.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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 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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function idxpro_get_account() in wp-content/plugins/idxpro/tinymce/tinymce.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/idxpro/idxpro.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/idxpro/widget.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function idxpro_get_account() in wp-content/plugins/idxpro/admin.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (When you edit your Posts and Pages, there is a new IDX button. Use it to embed your IDXPro Application or Quick Search Widget. It will use a WordPress shortcode. Examples: `[idxpro]`, `[idxpro widget='quick search']`), #2 (You can easily customize your Quick Search Widget to match your site. Edit the title, size, colors, and font.), #3 (Choose from one of several Design Themes for your main IDXPro Search pages.), #4 (Each Design Theme comes with several preset color palettes, or you can customize your own color palette. The banner is optional.), #5 (Easy to add widgets for your sidebar include Listing Slideshow (shown), Google Map, Popular Searches, MLS#, and Custom Form.)
idxpro/idxpro.php 92% from 13 tests
This is the main PHP file of "IDXPro" version 1.4.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 319 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin710 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 205 | 158 | 600 |
JavaScript | 5 | 11 | 52 | 62 |
CSS | 1 | 9 | 7 | 48 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 12.68KB | 12.53KB | ▼ 1.18% |
tinymce/idxpro_button.png | 0.20KB | 0.15KB | ▼ 25.48% |