Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.21ms] Passed 4 tests
An overview of server-side resources used by Comprobante de Pago Perú
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.63 ▼1.65 |
Dashboard /wp-admin | 3.41 ▲0.06 | 45.10 ▼16.03 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 42.92 ▼8.08 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 90.96 ▼3.08 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.42 ▲0.87 |
Peru Receipt /wp-admin/admin.php?page=comprobante_settings | 3.27 | 30.11 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Comprobante de Pago Perú: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲57 | 14.07 ▼0.48 | 2.03 ▲0.10 | 42.58 ▲2.91 |
Dashboard /wp-admin | 2,206 ▲32 | 5.53 ▼0.13 | 83.71 ▼15.54 | 38.58 ▼5.73 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.10 ▲0.07 | 36.37 ▼14.48 | 31.67 ▼17.51 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 17.99 ▼5.00 | 650.96 ▼9.91 | 62.96 ▲10.86 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.20 ▲0.01 | 100.97 ▲1.76 | 46.41 ▲0.59 |
Peru Receipt /wp-admin/admin.php?page=comprobante_settings | 906 | 2.13 | 32.66 | 28.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=comprobante_settings
- > Notice in wp-content/plugins/comprobante-de-pago-peru/comprobante_admin.php+55
Undefined index: tab
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #4 in comprobante-de-pago-peru/assets to your readme.txt
comprobante-de-pago-peru/comprobante-de-pago-peru.php 85% from 13 tests
The entry point to "Comprobante de Pago Perú" version 0.1.6 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires at least: Required version does not match the one declared in readme.txt ("5.2" instead of "2.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin641 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 74 | 33 | 358 |
JavaScript | 1 | 16 | 1 | 165 |
PO File | 1 | 42 | 47 | 118 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin