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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.71ms] Passed 4 tests
Analyzing server-side resources used by States and Municipalities of Venezuela for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.85 ▼4.79 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.92 ▼3.05 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.42 ▼5.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.25 ▼9.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.83 ▲1.92 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for States and Municipalities of Venezuela for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲75 | 13.20 ▼1.18 | 2.03 ▲0.31 | 42.90 ▼0.95 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▲1.01 | 105.32 ▼0.77 | 37.56 ▼6.69 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.98 ▼0.07 | 38.67 ▼2.87 | 36.15 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,514 ▼3 | 17.63 ▼0.09 | 608.43 ▼13.04 | 46.75 ▼9.44 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▼0.06 | 98.08 ▼0.25 | 42.37 ▼1.29 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 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 50% from 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 following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/states-and-municipalities-of-venezuela-for-woocommerce/municipalities/VE.php:13
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: estados y municipios de venezuela, venezuelan states and municipalities
states-and-municipalities-of-venezuela-for-woocommerce/states-and-municipalities-of-venezuela-for-woocommerce.php Passed 13 tests
The main file in "States and Municipalities of Venezuela for WooCommerce" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
109 characters long description:
This plugin allows you to choose the States and Municipalities of Venezuela 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 detected929 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 72 | 62 | 589 |
JavaScript | 1 | 32 | 7 | 141 |
PO File | 3 | 27 | 39 | 132 |
Markdown | 1 | 12 | 0 | 67 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin