Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.55MB] [CPU: ▼14.42ms] Passed 4 tests
Server-side resources used by Pídeme Cambios
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 44.62 ▲4.55 |
Dashboard /wp-admin | 3.43 ▲0.13 | 52.90 ▲2.85 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.81 ▼5.68 |
Add New Post /wp-admin/post-new.php | 3.28 ▼2.61 | 42.84 ▼53.71 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.21 ▼1.14 |
Add New /wp-admin/post-new.php?post_type=changes | 3.28 | 35.16 |
All Changes /wp-admin/edit.php?post_type=changes | 3.40 | 37.95 |
Server storage [IO: ▲1.99MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Pídeme Cambios
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,483 ▲722 | 14.78 ▲0.42 | 34.98 ▲33.46 | 43.62 ▲4.17 |
Dashboard /wp-admin | 2,242 ▲65 | 5.56 ▼0.05 | 89.50 ▼2.10 | 40.94 ▼2.56 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 2.02 ▼0.04 | 37.84 ▼6.37 | 34.79 ▼5.84 |
Add New Post /wp-admin/post-new.php | 1,566 ▲38 | 22.99 ▼0.04 | 661.07 ▼42.80 | 57.23 ▲7.29 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.18 ▲0.06 | 97.18 ▼8.16 | 42.96 ▼2.13 |
Add New /wp-admin/post-new.php?post_type=changes | 2,305 | 7.56 | 165.83 | 66.14 |
All Changes /wp-admin/edit.php?post_type=changes | 1,127 | 1.97 | 31.73 | 29.38 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=changes
- > Warning in wp-includes/class-wp-hook.php+312
call_user_func_array() expects parameter 1 to be a valid callback, class 'Pideme_cambios_Public' does not have a method 'iw_pc_create_custom_post'
- > GET request to /wp-admin/post-new.php?post_type=changes
- > Warning in wp-includes/class-wp-hook.php+312
call_user_func_array() expects parameter 1 to be a valid callback, class 'Pideme_cambios_Public' does not have a method 'iw_pc_update_post_ticket'
SRP 50% from 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
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/indianwebs-pideme-cambios/admin/partials/pideme_cambios-admin-display.php
- > /wp-content/plugins/indianwebs-pideme-cambios/public/partials/pideme_cambios-public-display.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 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
These attributes need your attention:
- Donate link: Invalid url: "lawebdelpoble.com"
indianwebs-pideme-cambios/pideme_cambios.php 92% from 13 tests
"Pídeme Cambios" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("indianwebs-pideme-cambios.php" instead of "pideme_cambios.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected27,975 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 0 | 6,072 | 18,577 |
JavaScript | 6 | 3,523 | 107 | 8,782 |
PHP | 12 | 271 | 572 | 614 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/buttons_front.png | 2.17KB | 1.22KB | ▼ 43.97% |
admin/images/logoindianwebsgrande.png | 21.21KB | 10.60KB | ▼ 50.06% |
admin/images/select_role.png | 2.18KB | 1.49KB | ▼ 31.56% |