Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/pau-accesibilidad-universal/admin/class-pau-admin.php+109
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.25ms] Passed 4 tests
Analyzing server-side resources used by PAU, Plugin Accessibility Universal
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.05 | 24.09 ▼17.61 |
Dashboard /wp-admin | 3.38 ▲0.03 | 50.91 ▼12.28 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.46 ▼1.96 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 92.31 ▼5.14 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 55.79 ▲22.78 |
PAU /wp-admin/admin.php?page=pau | 3.33 | 39.18 |
Hot Spots UA /wp-admin/admin.php?page=pau-hot-spots | 3.62 | 39.57 |
Suppliers /wp-admin/admin.php?page=pau-proveedores | 3.32 | 37.00 |
About us /wp-admin/admin.php?page=pau-about-us | 3.34 | 38.58 |
Settings /wp-admin/admin.php?page=pau-settings | 3.50 | 36.47 |
Support /wp-admin/admin.php?page=pau-support | 3.32 | 36.46 |
Help /wp-admin/admin.php?page=pau-help | 3.32 | 39.30 |
Server storage [IO: ▲22.42MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 197 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_pau_hotspots |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
pau_default_data |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PAU, Plugin Accessibility Universal
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,484 ▲723 | 20.93 ▲6.55 | 144.39 ▲142.66 | 51.55 ▲9.48 |
Dashboard /wp-admin | 2,276 ▲70 | 5.84 ▲0.95 | 97.89 ▼8.92 | 88.97 ▲48.77 |
Posts /wp-admin/edit.php | 2,155 ▲52 | 2.16 ▲0.15 | 33.49 ▼6.63 | 32.64 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,581 ▲43 | 21.26 ▼1.95 | 703.56 ▲47.86 | 56.23 ▼2.70 |
Media Library /wp-admin/upload.php | 1,449 ▲49 | 4.15 ▼0.06 | 113.89 ▲7.39 | 87.91 ▲44.44 |
PAU /wp-admin/admin.php?page=pau | 1,086 | 3.59 | 44.35 | 34.00 |
Hot Spots UA /wp-admin/admin.php?page=pau-hot-spots | 7,716 | 3.59 | 67.11 | 118.93 |
Suppliers /wp-admin/admin.php?page=pau-proveedores | 1,146 | 3.52 | 44.70 | 69.82 |
About us /wp-admin/admin.php?page=pau-about-us | 1,132 | 3.53 | 41.61 | 80.40 |
Settings /wp-admin/admin.php?page=pau-settings | 1,867 | 3.67 | 46.45 | 89.05 |
Support /wp-admin/admin.php?page=pau-support | 1,055 | 3.52 | 42.76 | 62.22 |
Help /wp-admin/admin.php?page=pau-help | 1,060 | 3.53 | 42.68 | 71.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=pau-hot-spots
- > Notice in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-hotspots-display.php+1177
Undefined variable: enlPageTitle
- > GET request to /wp-admin/admin.php?page=pau-hot-spots
- > Notice in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-hotspots-display.php+1181
Undefined variable: urlFinal
SRP 0% 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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/pau-accesibilidad-universal/public/partials/pau-public-display.php
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-settings-display.php:15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-styles-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-import-export-display.php:32
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-auto-wcag-display.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-wcag-assistant-display.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-about-us-display.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-hotspots-display.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-help-display.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-wordpress-display.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/pau-accesibilidad-universal/admin/partials/pau-support-display.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
- Screenshots: A description for screenshot #5 is required in pau-accesibilidad-universal/assets to your readme.txt
pau-accesibilidad-universal/pau-plugin.php 77% from 13 tests
The principal PHP file in "PAU, Plugin Accessibility Universal" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("pau-accesibilidad-universal.php" instead of "pau-plugin.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 359 characters long)
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected32,765 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 21 | 2,890 | 2,756 | 11,773 |
CSS | 8 | 1,663 | 569 | 9,415 |
SVG | 25 | 0 | 0 | 5,283 |
PHP | 33 | 1,504 | 1,530 | 4,414 |
PO File | 2 | 576 | 843 | 1,672 |
Markdown | 2 | 51 | 0 | 158 |
JSON | 3 | 0 | 0 | 49 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 11.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 1 | 5.56% |
▷ Concrete classes | 17 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 14 | 12.61% |
▷ Public methods | 97 | 87.39% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 12.61% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
58 PNG files occupy 0.94MB with 0.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
multimedia/pau/react/panel/perfiles/personalizado.png | 23.63KB | 3.11KB | ▼ 86.85% |
multimedia/pau/react/panel/general/lectura.png | 2.91KB | 1.49KB | ▼ 48.64% |
admin/img/menus/pau.png | 54.60KB | 12.12KB | ▼ 77.80% |
multimedia/pau/react/header/resetear.png | 3.32KB | 1.48KB | ▼ 55.49% |
admin/img/menus/auto-wcagg.png | 40.77KB | 9.53KB | ▼ 76.62% |