Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.49ms] Passed 4 tests
A check of server-side resources used by Apex IDX
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.45 ▲0.78 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.60 ▼5.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.78 ▲0.22 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 102.03 ▲3.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.20 ▲6.77 |
i. API Console /wp-admin/admin.php?page=apexApiVerification | 3.24 | 32.74 |
iii. Idx Pages /wp-admin/admin.php?page=RTapexAgentDefaultPages | 3.01 | 25.26 |
ii. Widgets /wp-admin/admin.php?page=RTapexAgentWidgets | 3.01 | 26.27 |
Server storage [IO: ▲2.37MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 32 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_realty_tech_api |
wp_realty_tech_links |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Apex IDX
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲60 | 13.27 ▼1.01 | 1.73 ▼0.36 | 42.62 ▼5.70 |
Dashboard /wp-admin | 2,255 ▲49 | 4.86 ▼0.09 | 107.23 ▼14.97 | 38.71 ▼8.43 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.00 ▼0.01 | 38.67 ▼3.15 | 36.00 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 17.47 ▼0.28 | 611.47 ▼17.66 | 62.80 ▲15.30 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.17 ▲0.03 | 102.89 ▼0.22 | 46.36 ▲1.30 |
i. API Console /wp-admin/admin.php?page=apexApiVerification | 817 | 1.72 | 24.88 | 51.51 |
iii. Idx Pages /wp-admin/admin.php?page=RTapexAgentDefaultPages | 838 | 1.71 | 24.56 | 25.65 |
ii. Widgets /wp-admin/admin.php?page=RTapexAgentWidgets | 820 | 1.76 | 25.46 | 26.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 10 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- apexAgentApiKey
- widget_recent-posts
- ApexIdxIsBroker
- widget_theysaidso_widget
- ApexIdxDomainUrl
- can_compress_scripts
- ApexIdxBrokerGalUname
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/apex-idx/views/apexIdxFeaturedMarket.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/apex-idx/views/apexIdxPages.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/apex-idx/RTapexIdxGlobal.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/apex-idx/views/apexIdxForm.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/apex-idx/views/apexIdxSearchFormWidget.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/apex-idx/views/apexIdxWidget.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
apex-idx/RTapexIdxGlobal.php 92% from 13 tests
Analyzing the main PHP file in "Apex IDX" version 3.1.3
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("apex-idx.php" instead of "RTapexIdxGlobal.php")
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
Success! There were no dangerous files found in this plugin1,767 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 235 | 74 | 1,684 |
JavaScript | 5 | 7 | 0 | 77 |
CSS | 6 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 109.00 |
▷ Minimum class complexity | 109.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 41 | |
▷ Static methods | 41 | 100.00% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 1.68MB with 1.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/search-icon.png | 1.24KB | 0.50KB | ▼ 59.38% |
images/searchwidget.png | 118.69KB | 35.83KB | ▼ 69.81% |
images/GridSlider.png | 1,589.42KB | 360.11KB | ▼ 77.34% |
images/snpshot.png | 8.03KB | 3.81KB | ▼ 52.48% |
images/dropDownArrow.png | 1.14KB | 0.17KB | ▼ 84.81% |