Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/validar-rut-chile-con-cf7/validar-rut-chile.php+62
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.34ms] Passed 4 tests
This is a short check of server-side resources used by Validar RUT Chile con CF7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.95 ▼2.23 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.41 ▲2.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.53 ▼2.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.60 ▼6.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.93 ▼2.48 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Validar RUT Chile con CF7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲29 | 13.18 ▼0.09 | 1.78 ▲0.01 | 44.88 ▲5.19 |
Dashboard /wp-admin | 2,227 ▲18 | 4.85 ▼0.02 | 107.14 ▼4.19 | 43.91 ▲1.94 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.02 ▲0.03 | 35.71 ▼3.60 | 33.85 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,547 ▲5 | 23.21 ▲5.17 | 677.94 ▲43.06 | 55.39 ▼2.00 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.12 ▼0.05 | 109.86 ▼4.91 | 47.83 ▼0.37 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
Almost there! Just fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/validar-rut-chile-con-cf7/validar-rut-chile.php on line 13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/validar-rut-chile-con-cf7/validar-rut-chile.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/validar-rut-chile-con-cf7/validar-rut-chile.php:33
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/validar-rut-chile-con-cf7/validar-rut-chile.php on line 13
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: contact, validar, form, contact form 7, rut...
validar-rut-chile-con-cf7/validar-rut-chile.php 92% from 13 tests
Analyzing the main PHP file in "Validar RUT Chile con CF7" version 1.2
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("validar-rut-chile-con-cf7.php" instead of "validar-rut-chile.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected107 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 11 | 16 | 107 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 3 | |
▷ Named functions | 3 | 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
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