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.05MB] [CPU: ▼4.96ms] Passed 4 tests
This is a short check of server-side resources used by clima freekitime
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.21 ▲0.62 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.98 ▼0.65 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 43.01 ▼3.67 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 77.70 ▼16.14 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.99 ▲3.45 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for clima freekitime
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 13.21 ▼1.55 | 2.09 ▲0.56 | 43.96 ▲3.89 |
Dashboard /wp-admin | 2,215 ▲27 | 5.89 ▲0.00 | 98.23 ▼3.40 | 82.99 ▲38.98 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.02 ▲0.05 | 34.43 ▼7.58 | 32.14 ▼5.48 |
Add New Post /wp-admin/post-new.php | 1,681 ▲153 | 22.72 ▲4.27 | 751.29 ▲72.16 | 57.34 ▼3.65 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.20 ▼0.01 | 91.32 ▼12.31 | 79.20 ▲36.30 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/clima-freekitime/widget-clima-freekitime.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/clima-freekitime/widget-clima-freekitime.php:3
- > 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 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
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (una vista de como se vera el plugin una ves implementado ya sea como widget o como funcion dentro de nuestra plantilla), #2 (una vista de la pagina de configuracion del plugin muestra las opciones que se pueden cambiar para adaptarlo a tus necesidades)
clima-freekitime/clima-freekitime.php Passed 13 tests
The primary PHP file in "clima freekitime" version 1.0 is used by WordPress to initiate all plugin functionality
102 characters long description:
selecciona la ciudad y muestra las condiciones climaticas de la misma usando la api de yahoo! weather.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected313 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 65 | 71 | 218 |
XML | 1 | 1 | 0 | 51 |
CSS | 1 | 4 | 0 | 44 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/noche.png | 2.20KB | 1.74KB | ▼ 21.05% |
screenshot-2.png | 46.52KB | 18.66KB | ▼ 59.90% |
screenshot-1.png | 20.82KB | 8.37KB | ▼ 59.79% |
img/dia.png | 3.32KB | 1.92KB | ▼ 42.13% |