Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.35ms] Passed 4 tests
This is a short check of server-side resources used by ValidateCertify - Free
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.73 ▼2.85 |
Dashboard /wp-admin | 3.36 ▲0.02 | 46.94 ▼22.60 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 51.05 ▲3.23 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 101.97 ▲3.39 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 36.47 ▲0.82 |
Settings /wp-admin/admin.php?page=ajustes-validatecertify | 3.25 | 44.86 |
Modify certificate /wp-admin/admin.php?page=eliminar_certificados | 3.25 | 34.80 |
Edit Certificate /wp-admin/admin.php?page=editar_certificados | 3.25 | 32.00 |
ValidateCertify /wp-admin/admin.php?page=ValidateCertify | 3.25 | 32.81 |
Add Certificate /wp-admin/admin.php?page=agregar-certificado | 3.25 | 31.95 |
Server storage [IO: ▲0.13MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_stvc_validatecertify |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
ValidateCertify - Free: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲116 | 14.69 ▲0.27 | 1.80 ▼0.28 | 44.16 ▼3.03 |
Dashboard /wp-admin | 2,230 ▲53 | 5.65 ▼0.01 | 90.42 ▼10.08 | 39.07 ▼4.05 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 1.95 ▼0.02 | 42.12 ▲5.75 | 35.10 ▼3.76 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.07 ▼0.14 | 608.39 ▼77.73 | 69.27 ▲10.26 |
Media Library /wp-admin/upload.php | 1,438 ▲44 | 4.21 ▲0.04 | 99.36 ▼4.62 | 43.73 ▼1.69 |
Settings /wp-admin/admin.php?page=ajustes-validatecertify | 812 | 2.00 | 23.90 | 28.16 |
Modify certificate /wp-admin/admin.php?page=eliminar_certificados | 835 | 1.99 | 22.05 | 26.81 |
Edit Certificate /wp-admin/admin.php?page=editar_certificados | 815 | 2.03 | 24.21 | 27.79 |
ValidateCertify /wp-admin/admin.php?page=ValidateCertify | 868 | 2.03 | 24.60 | 24.94 |
Add Certificate /wp-admin/admin.php?page=agregar-certificado | 889 | 2.03 | 23.18 | 22.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_stvc_validatecertify
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to a member function get_charset_collate() on null in wp-content/plugins/validar-certificados-de-cursos/includes/class-stvc-activator.php:4
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/validar-certificados-de-cursos/includes/class-stvc-activator.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/validar-certificados-de-cursos/includes/class-stvc-menu.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/validar-certificados-de-cursos/ValidateCertify-Free.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: sell courses, education, certificate
validar-certificados-de-cursos/ValidateCertify-Free.php 62% from 13 tests
The entry point to "ValidateCertify - Free" version 1.3.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("6.1" instead of "6.0")
- Description: The description should be shorter than 140 characters (currently 330 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: It is recommended to name the main PHP file as the plugin slug ("validar-certificados-de-cursos.php" instead of "ValidateCertify-Free.php")
- Requires PHP: Required version does not match the one declared in readme.txt ("7.0" instead of "7.3")
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
Success! There were no dangerous files found in this plugin649 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 57 | 45 | 439 |
PO File | 1 | 49 | 69 | 133 |
CSS | 1 | 16 | 1 | 73 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 13 | |
▷ Named functions | 13 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.08MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/ValidateCertify.png | 80.61KB | 5.55KB | ▼ 93.12% |