Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.41MB] [CPU: ▲1.10ms] Passed 4 tests
Server-side resources used by HTML Validation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 48.06 ▲9.09 |
Dashboard /wp-admin | 3.76 ▲0.45 | 48.69 ▼0.66 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 58.69 ▲8.08 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.42 | 85.93 ▼6.66 |
Media Library /wp-admin/upload.php | 3.61 ▲0.39 | 39.73 ▲3.65 |
Error Report /wp-admin/admin.php?page=html_validation/report.php | 4.21 | 54.26 |
Settings /wp-admin/admin.php?page=html_validation/settings.php | 3.60 | 46.16 |
Server storage [IO: ▲0.11MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 11 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_html_validation_links |
wp_html_validation_errors |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
html_validation_completed_scan |
widget_recent-comments |
can_compress_scripts |
html_validation_version |
Browser metrics Passed 4 tests
A check of browser resources used by HTML Validation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.33 ▼1.04 | 2.01 ▲0.35 | 44.74 ▲5.85 |
Dashboard /wp-admin | 2,242 ▲53 | 4.92 ▲0.00 | 110.10 ▼6.65 | 42.48 ▼2.02 |
Posts /wp-admin/edit.php | 2,132 ▲40 | 2.10 ▲0.08 | 45.19 ▲1.67 | 38.97 ▲2.95 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.26 ▲0.26 | 653.86 ▼13.07 | 54.65 ▼8.19 |
Media Library /wp-admin/upload.php | 1,421 ▲39 | 4.24 ▲0.06 | 101.34 ▼5.47 | 40.61 ▼5.71 |
Error Report /wp-admin/admin.php?page=html_validation/report.php | 1,280 | 1.82 | 27.55 | 51.61 |
Settings /wp-admin/admin.php?page=html_validation/settings.php | 999 | 2.07 | 40.67 | 38.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (Not Available) image missing
html-validation/html-validation.php 92% from 13 tests
The entry point to "HTML Validation" version 1.0.11 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 482 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,138 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 518 | 365 | 1,688 |
CSS | 1 | 9 | 2 | 278 |
JavaScript | 1 | 47 | 49 | 172 |
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.33 |
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 | 96 | |
▷ Named functions | 90 | 93.75% |
▷ Anonymous functions | 6 | 6.25% |
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
There are no PNG files in this plugin