Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.59ms] Passed 4 tests
Server-side resources used by Departamentos y Ciudades de Colombia para Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.06 ▼4.49 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.77 ▲4.82 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.18 ▲2.65 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.42 ▼7.49 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.49 ▼5.01 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Departamentos y Ciudades de Colombia para Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲60 | 14.22 ▼0.37 | 1.58 ▼0.01 | 41.51 ▲2.43 |
Dashboard /wp-admin | 2,198 ▲18 | 5.53 ▼0.16 | 83.49 ▼1.13 | 37.87 ▼7.61 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 1.95 ▼0.03 | 40.97 ▲3.57 | 35.88 ▼7.70 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.20 ▲0.13 | 638.24 ▼30.21 | 59.48 ▲7.23 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.20 ▲0.04 | 95.57 ▼4.29 | 41.75 ▼4.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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)
Even though no errors were found, this is by no means 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
Congratulations! This plugin passed the SRP test
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
departamentos-y-ciudades-de-colombia-para-woocommerce/departamentos-y-ciudades-de-colombia-para-woocommerce.php Passed 13 tests
The main PHP script in "Departamentos y Ciudades de Colombia para Woocommerce" version 2.0.15 is automatically included on every request by WordPress
62 characters long description:
Plugin modificado con los departamentos y ciudades de Colombia
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin2,218 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 112 | 167 | 1,952 |
JavaScript | 1 | 29 | 7 | 141 |
PO File | 2 | 32 | 32 | 125 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 3 | 11.54% |
▷ Public methods | 24 | 92.31% |
▷ Protected methods | 1 | 3.85% |
▷ Private methods | 1 | 3.85% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected