Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/israel-cities-dropdown/israel-cities.php+81
Use of undefined constant שם_ישוב - assumed 'שם_ישוב' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.48ms] Passed 4 tests
Server-side resources used by Israel cities dropdown
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.41 ▼5.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 53.49 ▲3.30 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.24 ▲1.37 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 99.09 ▼1.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.93 ▼0.37 |
Server storage [IO: ▲0.00MB] [DB: ▲0.03MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_israel_cities |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Israel cities dropdown
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲227 | 14.11 ▼0.25 | 15.23 ▲13.49 | 42.55 ▼3.43 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼0.07 | 108.68 ▼3.05 | 41.27 ▼1.32 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.03 | 37.88 ▼3.51 | 35.55 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.24 ▼0.04 | 656.05 ▼40.36 | 50.26 ▲0.35 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.16 ▼0.04 | 94.12 ▼6.49 | 46.44 ▼0.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: woocommerce, israel cities
israel-cities-dropdown/israel-cities.php 92% from 13 tests
The principal PHP file in "Israel cities dropdown" v. 1.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("israel-cities-dropdown.php" instead of "israel-cities.php")
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
Good job! No executable or dangerous file extensions detected92 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 11 | 69 |
JavaScript | 1 | 1 | 0 | 23 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin