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 gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.64ms] Passed 4 tests
An overview of server-side resources used by Clima-Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 48.75 ▲12.06 |
Dashboard /wp-admin | 3.39 ▲0.08 | 45.40 ▼3.57 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.45 ▼2.18 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 84.45 ▼24.72 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.60 ▼0.07 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_clima_widget_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Clima-Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.61 ▼0.77 | 6.29 ▲4.62 | 45.68 ▲2.64 |
Dashboard /wp-admin | 2,210 ▲25 | 5.86 ▲0.08 | 94.13 ▼7.05 | 40.31 ▼0.64 |
Posts /wp-admin/edit.php | 2,075 ▲4 | 2.02 ▼0.02 | 35.19 ▼2.82 | 32.38 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,527 ▲8 | 18.28 ▼4.96 | 618.81 ▲11.85 | 62.46 ▲9.89 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.15 ▼0.03 | 93.85 ▼4.94 | 40.39 ▼1.67 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- widget_clima_widget_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/clima-widget/admin/partials/clima-widget-admin-display.php
- > /wp-content/plugins/clima-widget/public/partials/clima-widget-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please a description for screenshot #1 in clima-widget/assets to your readme.txt
clima-widget/clima-widget.php Passed 13 tests
"Clima-Widget" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
79 characters long description:
Beautiful, free and SEO friendly weather forecast widget (Spanish and English).
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 plugin1,084 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 120 | 8 | 477 |
PHP | 12 | 147 | 548 | 387 |
JavaScript | 2 | 49 | 57 | 184 |
SVG | 4 | 0 | 0 | 36 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 4.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin