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: ▲1.54MB] [CPU: ▲15.53ms] Passed 4 tests
This is a short check of server-side resources used by Crucial Real Estate
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.97 ▲1.50 | 54.71 ▲14.63 |
Dashboard /wp-admin | 4.89 ▲1.54 | 66.54 ▲6.56 |
Posts /wp-admin/edit.php | 4.94 ▲1.58 | 74.55 ▲29.62 |
Add New Post /wp-admin/post-new.php | 7.75 ▲1.86 | 105.97 ▲15.06 |
Media Library /wp-admin/upload.php | 4.75 ▲1.53 | 58.57 ▲25.86 |
New Property /wp-admin/post-new.php?post_type=property | 7.89 | 107.99 |
Property Features /wp-admin/edit-tags.php?taxonomy=property-feature&post_type=property | 4.78 | 62.54 |
Property Statuses /wp-admin/edit-tags.php?taxonomy=property-status&post_type=property | 4.78 | 55.39 |
All Properties /wp-admin/edit.php?post_type=property | 4.88 | 60.88 |
Property Locations /wp-admin/edit-tags.php?taxonomy=property-location&post_type=property | 4.78 | 54.98 |
Agents /wp-admin/edit.php?post_type=agent | 4.81 | 54.88 |
Property Types /wp-admin/edit-tags.php?taxonomy=property-type&post_type=property | 4.78 | 54.88 |
Settings /wp-admin/admin.php?page=cre-settings | 4.76 | 54.24 |
Server storage [IO: ▲4.26MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 395 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
cre_property_basic_builder_migrate |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Crucial Real Estate: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,111 ▲364 | 15.03 ▲0.68 | 9.31 ▲7.40 | 38.09 ▼6.34 |
Dashboard /wp-admin | 2,405 ▲228 | 6.23 ▲0.57 | 129.04 ▲34.63 | 41.65 ▼2.94 |
Posts /wp-admin/edit.php | 2,333 ▲233 | 3.39 ▲1.26 | 56.96 ▲19.07 | 32.13 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,604 ▲78 | 25.16 ▲1.88 | 647.39 ▼83.86 | 46.30 ▼15.00 |
Media Library /wp-admin/upload.php | 1,470 ▲67 | 4.19 ▼0.03 | 94.40 ▼3.32 | 42.65 ▼2.52 |
New Property /wp-admin/post-new.php?post_type=property | 7,229 | 23.73 | 1,219.72 | 167.37 |
Property Features /wp-admin/edit-tags.php?taxonomy=property-feature&post_type=property | 1,536 | 3.22 | 63.45 | 32.13 |
Property Statuses /wp-admin/edit-tags.php?taxonomy=property-status&post_type=property | 1,538 | 3.18 | 53.38 | 30.93 |
All Properties /wp-admin/edit.php?post_type=property | 1,423 | 3.34 | 52.81 | 30.71 |
Property Locations /wp-admin/edit-tags.php?taxonomy=property-location&post_type=property | 1,578 | 3.16 | 51.45 | 32.91 |
Agents /wp-admin/edit.php?post_type=agent | 1,329 | 3.33 | 51.94 | 28.91 |
Property Types /wp-admin/edit-tags.php?taxonomy=property-type&post_type=property | 1,538 | 3.19 | 51.20 | 32.47 |
Settings /wp-admin/admin.php?page=cre-settings | 1,141 | 3.13 | 48.16 | 31.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- cre_property_basic_builder_migrate
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Almost there! Just fix the following items
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/crucial-real-estate/templates/archive-property.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/crucial-real-estate/templates/property/sections/address.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/crucial-real-estate/templates/property/sections/floor-plan.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/crucial-real-estate/templates/property/sections/main-detail.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/crucial-real-estate/templates/property/sections/agent.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/crucial-real-estate/templates/property/sections/other-detail.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_terms() in wp-content/plugins/crucial-real-estate/templates/property/sections/features.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/crucial-real-estate/templates/property/content.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/crucial-real-estate/templates/single-agent.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/crucial-real-estate/templates/property/sections/gallery.php:10
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
crucial-real-estate/crucial-real-estate.php 92% from 13 tests
Analyzing the main PHP file in "Crucial Real Estate" version 1.0.5
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 218 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 plugin32,149 lines of code in 361 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 163 | 2,256 | 1,678 | 10,215 |
PHP | 148 | 2,075 | 4,207 | 10,106 |
CSS | 46 | 1,704 | 154 | 7,341 |
SVG | 3 | 0 | 12 | 4,482 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 8.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 107 | |
▷ Abstract classes | 6 | 5.61% |
▷ Concrete classes | 101 | 94.39% |
▷ Final classes | 1 | 0.99% |
Methods | 567 | |
▷ Static methods | 346 | 61.02% |
▷ Public methods | 507 | 89.42% |
▷ Protected methods | 36 | 6.35% |
▷ Private methods | 24 | 4.23% |
Functions | 67 | |
▷ Named functions | 58 | 86.57% |
▷ Anonymous functions | 9 | 13.43% |
Constants | 11 | |
▷ Global constants | 11 | 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
14 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/libraries/meta-box/img/jqueryui/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
assets/images/map-marker.png | 22.54KB | 6.77KB | ▼ 69.97% |
includes/libraries/meta-box/img/jqueryui/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/libraries/meta-box/img/jqueryui/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/libraries/meta-box/img/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |