Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.90ms] Passed 4 tests
An overview of server-side resources used by Teenvio - Formulario de suscripci贸n
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 44.76 ▲0.90 |
Dashboard /wp-admin | 3.42 ▲0.12 | 47.36 ▼5.25 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 50.18 ▼3.41 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.75 ▼15.83 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 41.05 ▲3.48 |
TeSu Plugin /wp-admin/admin.php?page=tesu_plugin | 3.28 | 34.72 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_tesu_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Teenvio - Formulario de suscripci贸n
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 14.25 ▼0.00 | 1.83 ▼0.20 | 43.17 ▼4.54 |
Dashboard /wp-admin | 2,228 ▲60 | 5.52 ▼0.02 | 86.95 ▼15.74 | 78.04 ▲30.02 |
Posts /wp-admin/edit.php | 2,137 ▲34 | 1.96 ▼0.07 | 36.07 ▼5.84 | 33.46 ▼4.63 |
Add New Post /wp-admin/post-new.php | 1,579 ▲51 | 23.30 ▲0.30 | 737.45 ▲62.53 | 51.49 ▲0.72 |
Media Library /wp-admin/upload.php | 1,433 ▲30 | 4.19 ▼0.05 | 100.14 ▼9.58 | 80.49 ▲34.53 |
TeSu Plugin /wp-admin/admin.php?page=tesu_plugin | 911 | 1.92 | 26.21 | 40.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/teenvio-formulario-de-suscripcion/tesu-admin.php+244
Invalid argument supplied for foreach()
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_tesu_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tesu_plugin
- > Notice in wp-content/plugins/teenvio-formulario-de-suscripcion/tesu-admin.php+181
Trying to access array offset on value of type bool
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 fix the following items
- 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/teenvio-formulario-de-suscripcion/tesu-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/teenvio-formulario-de-suscripcion/tesu-widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Layer form contact (shown)), #2 (Layer form contact (hidden))
- Donate link: Invalid URI found ("")
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== teenvio-formulario-de-suscripcion ===
)
teenvio-formulario-de-suscripcion/tesu-admin.php 85% from 13 tests
"Teenvio - Formulario de suscripci贸n" version 1.2.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("teenvio-formulario-de-suscripcion.php" instead of "tesu-admin.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,256 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 221 | 436 | 996 |
PO File | 3 | 75 | 0 | 214 |
JavaScript | 1 | 8 | 0 | 46 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 62 | 98.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.59% |
Functions | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
Constants | 20 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 20 | 100.00% |
▷ Public constants | 20 | 100.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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/teenvio_head.png | 2.99KB | 1.42KB | ▼ 52.57% |
images/teenvio_20x20.png | 0.79KB | 0.74KB | ▼ 5.35% |
images/teenvio.png | 1.33KB | 1.25KB | ▼ 6.52% |