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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.36ms] Passed 4 tests
An overview of server-side resources used by My IDX Home Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 43.21 ▲4.60 |
Dashboard /wp-admin | 3.36 ▲0.02 | 45.81 ▼11.93 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 41.25 ▼9.12 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.17 ▼15.51 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.98 ▼0.86 |
My IDX Home Search /wp-admin/options-general.php?page=homeasap-search | 3.28 | 29.63 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for My IDX Home Search
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 14.01 ▼0.36 | 10.02 ▲8.34 | 37.53 ▼2.65 |
Dashboard /wp-admin | 2,205 ▲28 | 5.68 ▲0.06 | 88.32 ▼9.05 | 36.98 ▼5.87 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.07 ▲0.09 | 36.66 ▼0.34 | 28.78 ▼7.82 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.27 ▲0.18 | 593.53 ▼11.05 | 35.08 ▼51.66 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.20 ▼0.01 | 90.80 ▼14.39 | 41.82 ▼0.68 |
My IDX Home Search /wp-admin/options-general.php?page=homeasap-search | 1,110 | 2.26 | 37.07 | 47.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 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 50% from 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/my-idx-home-search/public/partials/homeasap-search-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/my-idx-home-search/admin/partials/homeasap-search-admin-display.php:43
- > 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 93% from 29 tests
readme.txt Passed 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
6 plugin tags: idx, home asap, property listings, real estate, mls...
my-idx-home-search/homeasap-search.php 85% from 13 tests
This is the main PHP file of "My IDX Home Search" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("my-idx-home-search.php" instead of "homeasap-search.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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,412 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 147 | 68 | 911 |
PHP | 12 | 133 | 558 | 315 |
JavaScript | 2 | 17 | 2 | 158 |
YAML | 1 | 2 | 0 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 4 | 14.29% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 compressed PNG files occupy 0.23MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/IDX_PLUGIN-new_tab.png | 81.04KB | 85.64KB | 0.00% |
admin/images/IDX_PLUGIN-popup.png | 59.06KB | 62.68KB | 0.00% |
admin/images/IDX_PLUGIN-searchbox.png | 22.80KB | 25.21KB | 0.00% |
admin/images/IDX_PLUGIN-landing_page.png | 73.24KB | 78.08KB | 0.00% |