Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▲1.13ms] Passed 4 tests
This is a short check of server-side resources used by Shipping per Neighborhood for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 37.31 ▲0.97 |
Dashboard /wp-admin | 3.45 ▲0.14 | 45.23 ▼0.80 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 45.72 ▲0.32 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 104.19 ▲7.79 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.25 ▲4.04 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Shipping per Neighborhood for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 14.46 ▼0.29 | 1.75 ▼0.10 | 56.62 ▲15.91 |
Dashboard /wp-admin | 2,219 ▲30 | 4.85 ▼1.08 | 105.98 ▼7.73 | 37.77 ▼9.01 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.00 ▼0.01 | 34.23 ▼4.00 | 36.53 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,527 ▲6 | 23.58 ▲0.15 | 667.57 ▼47.99 | 59.73 ▼2.67 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.21 ▲0.01 | 99.93 ▼1.12 | 47.60 ▲1.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: woocommerce, shipping method, shipping neighborhood, shipping
shipping-per-neighborhood-for-woocommerce/shipping-per-neighborhood-for-woocommerce.php Passed 13 tests
The main PHP file in "Shipping per Neighborhood for WooCommerce" ver. 1.2.7 adds more information about the plugin and also serves as the entry point for this plugin
82 characters long description:
Add support to shipping method by neighborhood or custom zones. Easy and flexible.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin750 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 232 | 504 | 717 |
CSS | 1 | 5 | 0 | 20 |
JavaScript | 1 | 4 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 13.40 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 40 | |
▷ Static methods | 5 | 12.50% |
▷ Public methods | 39 | 97.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin