Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.00ms] Passed 4 tests
Server-side resources used by Virtualbadge.io Certificate Validator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 25.02 ▼21.77 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.59 ▼2.09 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.92 ▲0.20 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.66 ▲6.84 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.89 ▼0.34 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Virtualbadge.io Certificate Validator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.69 ▲0.38 | 1.67 ▼0.32 | 45.95 ▲2.12 |
Dashboard /wp-admin | 2,211 ▲44 | 5.62 ▼0.04 | 91.85 ▼12.49 | 41.48 ▲0.84 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.02 ▲0.04 | 41.21 ▲1.19 | 39.34 ▲2.95 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 22.98 ▼0.13 | 688.39 ▲23.56 | 60.15 ▼3.34 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.22 ▲0.04 | 108.79 ▲14.89 | 49.60 ▲7.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/virtualbadge-io-certificate-validator/widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: virtualbadge, certificate, validator
virtualbadge-io-certificate-validator/virtual-badge-certificate-validator.php 69% from 13 tests
Analyzing the main PHP file in "Virtualbadge.io Certificate Validator" version 1.0.1
You should first fix the following items:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: The principal plugin file should be the same as the plugin slug ("virtualbadge-io-certificate-validator.php" instead of "virtual-badge-certificate-validator.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Description: The description should be shorter than 140 characters (currently 224 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin229 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 23 | 13 | 229 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 9 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/picture_4.png | 12.42KB | 5.25KB | ▼ 57.70% |
assets/picture_1.png | 6.95KB | 5.68KB | ▼ 18.33% |
assets/picture_6.png | 11.24KB | 4.99KB | ▼ 55.61% |
assets/picture_3.png | 3.99KB | 3.01KB | ▼ 24.62% |
assets/picture_5.png | 16.67KB | 6.98KB | ▼ 58.16% |