Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.89ms] Passed 4 tests
A check of server-side resources used by MkRapel Regiones y Ciudades de Chile para WC
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.02 ▼3.03 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.57 ▼12.73 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.33 ▼13.77 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.17 ▼22.01 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.07 ▲4.49 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MkRapel Regiones y Ciudades de Chile para WC
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.53 ▼0.11 | 2.01 ▲0.39 | 41.99 ▲1.17 |
Dashboard /wp-admin | 2,198 ▲18 | 5.57 ▼0.05 | 82.00 ▼0.85 | 40.10 ▼0.15 |
Posts /wp-admin/edit.php | 2,082 ▼0 | 2.00 ▼0.01 | 34.01 ▼2.42 | 33.06 ▼1.95 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.11 ▼0.63 | 660.34 ▼44.36 | 53.83 ▼2.74 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.38 ▲0.25 | 94.11 ▲0.94 | 43.74 ▲1.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
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 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Requires php: Invalid version format
- Tags: There are too many tags (21 tag instead of maximum 10)
wc-ciudades-y-regiones-de-chile/wc-ciudades-y-regiones-de-chile.php 92% from 13 tests
The main file in "MkRapel Regiones y Ciudades de Chile para WC" v. 4.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 250 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,535 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 328 | 218 | 2,658 |
JavaScript | 3 | 122 | 17 | 599 |
CSS | 2 | 35 | 3 | 278 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 60.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 154 | |
▷ Static methods | 36 | 23.38% |
▷ Public methods | 121 | 78.57% |
▷ Protected methods | 1 | 0.65% |
▷ Private methods | 32 | 20.78% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/tick.png | 3.05KB | 0.27KB | ▼ 91.20% |