Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▲112.20ms] Passed 4 tests
This is a short check of server-side resources used by MyWeb
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 175.93 ▲140.39 |
Dashboard /wp-admin | 3.78 ▲0.47 | 179.15 ▲129.90 |
Posts /wp-admin/edit.php | 3.83 ▲0.47 | 165.84 ▲111.84 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.43 | 201.75 ▲109.50 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 131.30 ▲97.54 |
Toolbar /wp-admin/admin.php?page=accessibility-toolbar | 3.61 | 148.86 |
Customize /wp-admin/customize.php?autofocus[section]=accessibility | 8.06 | 297.86 |
Settings /wp-admin/admin.php?page=accessibility-settings | 3.61 | 153.54 |
Server storage [IO: ▲0.28MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 12 new options
New WordPress options |
---|
myweb_ac_customizer_options |
myweb_urltype2 |
theysaidso_admin_options |
can_compress_scripts |
myweb_installed_time |
widget_theysaidso_widget |
myweb_popup_text |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by MyWeb
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,234 ▲488 | 13.80 ▼0.58 | 8.26 ▲6.49 | 60.09 ▲16.68 |
Dashboard /wp-admin | 2,241 ▲53 | 5.83 ▲0.94 | 93.75 ▼6.76 | 39.72 ▼3.26 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.04 ▲0.00 | 34.65 ▼6.36 | 34.46 ▼2.78 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 21.42 ▼1.73 | 632.87 ▲47.81 | 50.12 ▲6.03 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.19 ▼0.00 | 99.30 ▼0.15 | 43.03 ▲0.81 |
Toolbar /wp-admin/admin.php?page=accessibility-toolbar | 1,211 | 2.01 | 34.53 | 31.04 |
Customize /wp-admin/customize.php?autofocus[section]=accessibility | 9,343 | 22.01 | 648.08 | 148.77 |
Settings /wp-admin/admin.php?page=accessibility-settings | 1,000 | 2.07 | 22.57 | 27.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 13 options in the database
- myweb_installed_time
- myweb_ac_customizer_options
- widget_recent-comments
- db_upgraded
- myweb_toolbar_text
- widget_recent-posts
- theysaidso_admin_options
- myweb_popup_text
- myweb_urltype1
- can_compress_scripts
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/customize.php?autofocus[section]=accessibility
- > Notice in wp-content/plugins/myweb/public/class-myweb-public.php+376
Undefined offset: 0
- > GET request to /wp-admin/customize.php?autofocus[section]=accessibility
- > Notice in wp-content/plugins/myweb/public/class-myweb-public.php+375
Undefined offset: 1
SRP 50% from 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
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/myweb/public/partials/myweb-public-display.php
- > /wp-content/plugins/myweb/admin/partials/myweb-admin-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/customize.php?autofocus[section]=accessibility
- > Security (warning) in unknown
/?customize_changeset_uuid=6ab53374-d249-4988-91ec-1bfd6e2703aa&customize_theme=twentytwentyone&customize_messenger_channel=preview-0 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: wcag, labels, aria, a11y, title...
myweb/myweb.php Passed 13 tests
The main PHP file in "MyWeb" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
81 characters long description:
MyWeb plugin is the fastest plugin to help you make your website more accessible.
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
Good job! No executable or dangerous file extensions detected3,691 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 105 | 5 | 1,586 |
PHP | 15 | 261 | 538 | 1,500 |
PO File | 1 | 232 | 401 | 344 |
JavaScript | 5 | 67 | 32 | 258 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 65 | |
▷ Static methods | 4 | 6.15% |
▷ Public methods | 53 | 81.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 18.46% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 9 | 56.25% |
▷ Class constants | 7 | 43.75% |
▷ Public constants | 7 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/images/myweb-LOGO.png | 1.37KB | 0.93KB | ▼ 32.34% |
public/assets/images/elementor-logo.png | 23.06KB | 2.37KB | ▼ 89.73% |