Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▼4.77ms] Passed 4 tests
This is a short check of server-side resources used by Immobiliare
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.65 | 46.13 ▲6.25 |
Dashboard /wp-admin | 3.83 ▲0.53 | 38.33 ▼8.97 |
Posts /wp-admin/edit.php | 3.89 ▲0.54 | 42.88 ▼9.78 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 86.29 ▼6.56 |
Media Library /wp-admin/upload.php | 3.83 ▲0.61 | 44.89 ▲13.20 |
Immobiliare /wp-admin/options-general.php?page=immobiliare | 3.80 | 35.10 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.98 | 37.56 |
Contratti /wp-admin/edit-tags.php?taxonomy=contratto&post_type=immobili | 3.82 | 36.85 |
Località /wp-admin/edit-tags.php?taxonomy=comuni&post_type=immobili | 3.82 | 34.60 |
Categorie /wp-admin/edit-tags.php?taxonomy=categoria&post_type=immobili | 3.82 | 35.73 |
Aggiungi Immobile /wp-admin/post-new.php?post_type=immobili | 3.90 | 49.34 |
Tag /wp-admin/edit-tags.php?taxonomy=immobili_tag&post_type=immobili | 3.82 | 44.64 |
Tutti gli Immobili /wp-admin/edit.php?post_type=immobili | 3.78 | 34.77 |
Tipologie /wp-admin/edit-tags.php?taxonomy=tipologia&post_type=immobili | 3.82 | 37.33 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_immobiliare_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Immobiliare
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲135 | 13.57 ▼0.81 | 1.68 ▼0.20 | 45.13 ▲5.20 |
Dashboard /wp-admin | 2,281 ▲93 | 4.90 ▼0.05 | 97.92 ▼13.16 | 75.15 ▲34.95 |
Posts /wp-admin/edit.php | 2,187 ▲98 | 2.05 ▲0.01 | 42.00 ▼3.04 | 41.95 ▲6.79 |
Add New Post /wp-admin/post-new.php | 1,754 ▲235 | 24.31 ▲1.10 | 724.29 ▲128.43 | 52.59 ▼4.05 |
Media Library /wp-admin/upload.php | 1,477 ▲89 | 4.18 ▼0.10 | 98.27 ▲1.15 | 89.94 ▲44.93 |
Immobiliare /wp-admin/options-general.php?page=immobiliare | 1,177 | 2.21 | 24.73 | 30.23 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,013 | 2.08 | 26.74 | 26.25 |
Contratti /wp-admin/edit-tags.php?taxonomy=contratto&post_type=immobili | 1,357 | 2.33 | 27.32 | 39.27 |
Località /wp-admin/edit-tags.php?taxonomy=comuni&post_type=immobili | 1,357 | 2.33 | 26.06 | 31.43 |
Categorie /wp-admin/edit-tags.php?taxonomy=categoria&post_type=immobili | 1,357 | 2.33 | 27.96 | 37.60 |
Aggiungi Immobile /wp-admin/post-new.php?post_type=immobili | 2,850 | 7.77 | 175.84 | 134.42 |
Tag /wp-admin/edit-tags.php?taxonomy=immobili_tag&post_type=immobili | 1,360 | 2.33 | 29.34 | 36.55 |
Tutti gli Immobili /wp-admin/edit.php?post_type=immobili | 1,277 | 2.01 | 37.12 | 32.86 |
Tipologie /wp-admin/edit-tags.php?taxonomy=tipologia&post_type=immobili | 1,360 | 2.33 | 27.35 | 36.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_immobiliare_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=tipologia&post_type=immobili
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- > GET request to /wp-admin/edit.php?post_type=immobili
- > Notice in wp-content/plugins/immobiliare/immobiliare.php+475
Undefined index: immobili_rif
- > GET request to /wp-admin/edit.php?post_type=immobili
- > Notice in wp-content/plugins/immobiliare/immobiliare.php+476
Undefined index: immobili_cameredaletto
- > GET request to /wp-admin/edit.php?post_type=immobili
- > Notice in wp-content/plugins/immobiliare/immobiliare.php+477
Undefined index: immobili_mq
- > GET request to /wp-admin/edit.php?post_type=immobili
- > Notice in wp-content/plugins/immobiliare/immobiliare.php+478
Undefined index: immobili_prezzo
- > GET request to /wp-admin/edit.php?post_type=immobili
- > Notice in wp-content/plugins/immobiliare/immobiliare.php+490
Undefined variable: immobili_bagni
- > GET request to /wp-admin/edit.php?post_type=immobili
- > Notice in wp-content/plugins/immobiliare/immobiliare.php+583
Undefined variable: array_prezzo
- > GET request to /wp-admin/edit.php?post_type=immobili
- > Notice in wp-content/plugins/immobiliare/immobiliare.php+583
Undefined variable: array_camere
- > GET request to /wp-admin/edit.php?post_type=immobili
- > Notice in wp-content/plugins/immobiliare/immobiliare.php+583
Undefined variable: array_mq
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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/immobiliare/immobiliare.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/immobiliare/immobiliare_shortcode.php:285
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/immobiliare/class-tgm-plugin-activation.php:161
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/immobiliare/immobiliare_widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/immobiliare/immobiliare_tassonomie.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/immobiliare/immobiliare_opzioni.php:152
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/immobiliare/immobiliare_filtri.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/immobiliare/immobiliare_metabox.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/immobiliare/immobiliare_pluginaggiuntivi.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== immobiliare ===
)
immobiliare/immobiliare.php Passed 13 tests
Analyzing the main PHP file in "Immobiliare" version 2.8.0
89 characters long description:
gestionale immobiliare per wordpress. Gestisci i tuoi immobili in modo semplice e veloce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected3,146 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 515 | 816 | 3,065 |
PO File | 1 | 22 | 27 | 77 |
CSS | 1 | 1 | 1 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 45.20 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 5.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 1 | 2.08% |
▷ Public methods | 42 | 87.50% |
▷ Protected methods | 6 | 12.50% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/immobili.png | 0.82KB | 0.79KB | ▼ 3.34% |