Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.24ms] Passed 4 tests
This is a short check of server-side resources used by Campo RUT para CF7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.24 ▼3.32 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.71 ▼10.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.95 ▲1.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.66 ▼6.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.76 ▼0.83 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Campo RUT para CF7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲45 | 13.23 ▼1.38 | 1.87 ▼0.07 | 44.28 ▲0.97 |
Dashboard /wp-admin | 2,206 ▲15 | 4.84 ▼0.04 | 95.60 ▼23.04 | 37.09 ▼10.29 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.05 ▲0.04 | 33.51 ▼2.97 | 36.88 ▲3.83 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.42 ▲0.22 | 601.83 ▼63.27 | 53.32 ▼8.26 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▲0.00 | 95.62 ▼6.57 | 40.69 ▼2.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/add-campo-rut-cf7/cf7rut.php
- > /wp-content/plugins/add-campo-rut-cf7/init.php
- > /wp-content/plugins/add-campo-rut-cf7/rut-field-cf7.php
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
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: run, contact form 7, chileno, chile, rut...
add-campo-rut-cf7/rut-field-cf7.php 92% from 13 tests
Analyzing the main PHP file in "Campo RUT para CF7" version 1.4
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("add-campo-rut-cf7.php" instead of "rut-field-cf7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected273 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 64 | 40 | 203 |
JavaScript | 1 | 12 | 28 | 70 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 8 | |
▷ Static methods | 7 | 87.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin