Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.37ms] Passed 4 tests
This is a short check of server-side resources used by Provinces and Districts of Panama for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.04 ▼0.61 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.52 ▼1.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.10 ▲1.44 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.81 ▼3.88 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.46 ▲0.62 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Provinces and Districts of Panama for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲111 | 13.24 ▼1.16 | 1.89 ▼0.13 | 43.00 ▼0.77 |
Dashboard /wp-admin | 2,206 ▲24 | 5.84 ▼0.01 | 103.86 ▼7.03 | 42.48 ▼1.23 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.06 | 40.11 ▼2.38 | 38.49 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.18 ▲0.69 | 612.64 ▼86.18 | 52.70 ▼6.88 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▲0.01 | 93.81 ▼10.78 | 39.70 ▼4.70 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: provincias y distritos de panama, panama provinces and districts
provinces-and-districts-of-panama-for-woocommerce/provinces-and-districts-of-panama-for-woocommerce.php Passed 13 tests
The main PHP script in "Provinces and Districts of Panama for WooCommerce" version 1.0.4 is automatically included on every request by WordPress
120 characters long description:
This plugin allows you to choose the Provinces, Districts and Corregimientos of Panama in the WooCommerce address forms.
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
No dangerous file extensions were detected1,209 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 82 | 70 | 913 |
JavaScript | 1 | 32 | 7 | 141 |
PO File | 2 | 16 | 24 | 86 |
Markdown | 1 | 14 | 0 | 69 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 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 were not PNG files found in your plugin