Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/navidad-indianwebs/navidad-indianwebs.php+176
Undefined index: set_copos
Server metrics [RAM: ▼1.84MB] [CPU: ▼57.09ms] Passed 4 tests
An overview of server-side resources used by Plugin Navidad IndianWebs
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 4.94 ▼31.31 |
Dashboard /wp-admin | 2.18 ▼1.16 | 6.24 ▼59.43 |
Posts /wp-admin/edit.php | 2.18 ▼1.17 | 5.77 ▼42.36 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.70 | 6.09 ▼95.26 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 6.18 ▼27.07 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 13 new options
New WordPress options |
---|
set_imagen |
set_maxSize |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
set_flakeCount |
set_msg |
db_upgraded |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Navidad IndianWebs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲201 | 13.73 ▼0.47 | 7.06 ▲5.40 | 44.37 ▲3.94 |
Dashboard /wp-admin | 2,215 ▲23 | 4.93 ▲0.03 | 101.06 ▼6.80 | 79.06 ▲35.32 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 2.26 ▲0.12 | 34.11 ▼8.73 | 32.82 ▼4.40 |
Add New Post /wp-admin/post-new.php | 1,676 ▲157 | 22.63 ▼0.69 | 648.17 ▲45.66 | 57.57 ▲0.97 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.17 ▼0.01 | 108.84 ▲8.66 | 78.89 ▲36.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the thickbox handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options detected upon uninstall: 13 options
- set_msg
- set_imagen
- widget_recent-comments
- set_minSize
- db_upgraded
- set_maxSpeed
- widget_recent-posts
- theysaidso_admin_options
- set_flakeCount
- can_compress_scripts
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/navidad-indianwebs/navidad-indianwebs.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/navidad-indianwebs/form.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (screenshot-1.png)
navidad-indianwebs/navidad-indianwebs.php Passed 13 tests
The primary PHP file in "Plugin Navidad IndianWebs" version 1.3 is used by WordPress to initiate all plugin functionality
56 characters long description:
Pon un mensaje navideño y un efecto de nieve en tu web.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected625 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 606 | 35 | 387 |
CSS | 1 | 219 | 0 | 212 |
XML | 3 | 0 | 0 | 18 |
JavaScript | 3 | 0 | 1 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.22MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 191.95KB | 48.19KB | ▼ 74.90% |
logoindianwebsgrande.png | 21.21KB | 10.60KB | ▼ 50.06% |
snowflake.png | 0.74KB | 0.49KB | ▼ 33.33% |
indianwebslogo.png | 1.28KB | 0.52KB | ▼ 59.56% |
images/snowflake.png | 7.00KB | 4.11KB | ▼ 41.24% |