Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.28MB] [CPU: ▲4.81ms] Passed 4 tests
This is a short check of server-side resources used by MME Real Estate
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 46.81 ▲10.99 |
Dashboard /wp-admin | 3.57 ▲0.27 | 55.50 ▲9.52 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 55.98 ▲8.44 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 88.17 ▼4.58 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 39.95 ▲5.87 |
How to start /wp-admin/edit.php?post_type=mmeproperties&page=mme-real-estate/admin/views/how-to-start.php | 3.50 | 36.82 |
Set up /wp-admin/edit.php?post_type=mmeproperties&page=mme-real-estate/admin/views/set-up.php | 3.56 | 45.37 |
Property list /wp-admin/edit.php?post_type=mmeproperties | 3.52 | 40.91 |
Shortcodes /wp-admin/edit.php?post_type=mmeproperties&page=mme-real-estate/admin/views/shortcodes.php | 3.46 | 36.78 |
Localities /wp-admin/edit-tags.php?taxonomy=mmelocalities&post_type=mmeproperties | 3.48 | 37.92 |
New property /wp-admin/post-new.php?post_type=mmeproperties | 6.30 | 115.00 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
symbol_location |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
mostrar_poweredby |
Browser metrics Passed 4 tests
Checking browser requirements for MME Real Estate
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲211 | 13.68 ▼0.72 | 8.00 ▲6.37 | 43.07 ▲2.73 |
Dashboard /wp-admin | 2,249 ▲57 | 4.86 ▼0.04 | 99.11 ▼9.97 | 37.44 ▼4.05 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.05 ▲0.05 | 35.30 ▲1.64 | 31.74 ▼6.28 |
Add New Post /wp-admin/post-new.php | 1,553 ▲31 | 23.02 ▼0.19 | 686.99 ▼2.43 | 51.29 ▼12.37 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.22 ▲0.05 | 98.26 ▼13.93 | 42.39 ▼6.01 |
How to start /wp-admin/edit.php?post_type=mmeproperties&page=mme-real-estate/admin/views/how-to-start.php | 966 | 2.07 | 23.58 | 36.96 |
Set up /wp-admin/edit.php?post_type=mmeproperties&page=mme-real-estate/admin/views/set-up.php | 1,268 | 2.06 | 24.71 | 36.95 |
Property list /wp-admin/edit.php?post_type=mmeproperties | 1,108 | 1.95 | 31.54 | 29.94 |
Shortcodes /wp-admin/edit.php?post_type=mmeproperties&page=mme-real-estate/admin/views/shortcodes.php | 871 | 2.04 | 26.59 | 34.73 |
Localities /wp-admin/edit-tags.php?taxonomy=mmelocalities&post_type=mmeproperties | 1,308 | 2.14 | 26.81 | 28.96 |
New property /wp-admin/post-new.php?post_type=mmeproperties | 1,873 | 16.86 | 863.42 | 43.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- symbol_location
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mme-real-estate/admin/images/index.php
- > /wp-content/plugins/mme-real-estate/index.php
- > /wp-content/plugins/mme-real-estate/admin/index.php
- > /wp-content/plugins/mme-real-estate/public/index.php
- > /wp-content/plugins/mme-real-estate/admin/css/index.php
- > /wp-content/plugins/mme-real-estate/admin/views/index.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/mme-real-estate/admin/views/how-to-start.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mme-real-estate/mme-real-estate.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function mmerealestate_get_permalink_structure() in wp-content/plugins/mme-real-estate/public/views/inc-propiedades-list.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/mme-real-estate/admin/views/set-up.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/mme-real-estate/admin/views/shortcodes.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/mme-real-estate/public/commons.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
mme-real-estate/mme-real-estate.php Passed 13 tests
The principal PHP file in "MME Real Estate" v. 1.2.2 is loaded by WordPress automatically on each request
27 characters long description:
Simple real estate listing.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin3,493 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 270 | 287 | 2,802 |
CSS | 4 | 112 | 6 | 539 |
JavaScript | 2 | 3 | 0 | 152 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/image-not-available.png | 23.50KB | 6.58KB | ▼ 72.02% |
admin/images/logo-mme.png | 2.55KB | 1.33KB | ▼ 47.83% |
admin/images/mme-real-estate-plugin-ico.png | 6.27KB | 2.71KB | ▼ 56.77% |