Benchmarks
Plugin footprint 58% 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
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/mata-hoygan/mata_HOYGAN.php+997
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.15ms] Passed 4 tests
This is a short check of server-side resources used by Mata HOYGAN
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.51 ▼6.59 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.66 ▲2.23 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.06 ▲1.94 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.51 ▼9.35 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.94 ▲1.42 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 15 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
mh_no_corregir_s_t |
mh_censura |
widget_recent-comments |
mh_no_corregir_doble |
mh_palabras_censuradas |
mh_HOYGAN |
mh_no_corregir_k |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mata HOYGAN
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.48 ▲0.10 | 1.94 ▲0.36 | 40.93 ▲1.78 |
Dashboard /wp-admin | 2,213 ▲25 | 4.88 ▼0.02 | 107.82 ▼1.34 | 39.25 ▼4.90 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 1.97 ▼0.08 | 38.75 ▲0.41 | 36.09 ▲3.46 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 21.10 ▼2.18 | 673.62 ▲28.26 | 53.51 ▼9.93 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.26 ▲0.02 | 96.94 ▼5.94 | 39.87 ▼4.06 |
Mata-HOYGAN /wp-admin/mata_HOYGAN.php | 26 | 0.44 | 0.11 | 13.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- mh_terminado
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 1× 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/mata-hoygan/mata_HOYGAN.php:21
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/mata_HOYGAN.php
- > Network (severe)
wp-admin/mata_HOYGAN.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: censurar, seo comentarios, hoygan, censure, malas palabras...
mata-hoygan/mata_HOYGAN.php 85% from 13 tests
This is the main PHP file of "Mata HOYGAN" version 5.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("mata-hoygan.php" instead of "mata_HOYGAN.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 183 characters long)
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
Good job! No executable or dangerous file extensions detected1,527 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 194 | 49 | 1,527 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected