Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.74MB] [CPU: ▲19.76ms] Passed 4 tests
This is a short check of server-side resources used by Accessibility Statement
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.00 ▲3.54 | 57.56 ▲18.56 |
Dashboard /wp-admin | 7.07 ▲3.77 | 66.36 ▲17.67 |
Posts /wp-admin/edit.php | 7.18 ▲3.83 | 74.61 ▲29.03 |
Add New Post /wp-admin/post-new.php | 9.78 ▲3.89 | 110.90 ▲16.72 |
Media Library /wp-admin/upload.php | 7.07 ▲3.84 | 64.45 ▲26.10 |
A11y statement settings /wp-admin/options-general.php?page=a11y-statement-settings | 6.96 | 58.80 |
Server storage [IO: ▲8.79MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 260 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
a11y_statement_options |
can_compress_scripts |
db_upgraded |
acf_version |
widget_recent-posts |
a11yStatement_post_id |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Accessibility Statement
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.24 ▼1.32 | 2.04 ▲0.42 | 42.02 ▲2.27 |
Dashboard /wp-admin | 2,215 ▲23 | 4.86 ▼0.05 | 115.23 ▲0.34 | 41.47 ▼6.46 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.00 ▲0.00 | 41.20 ▲2.68 | 35.77 ▲1.06 |
Add New Post /wp-admin/post-new.php | 11,441 ▲9,765 | 27.34 ▲2.63 | 1,233.88 ▲595.80 | 41.14 ▼6.86 |
Media Library /wp-admin/upload.php | 1,949 ▲558 | 8.19 ▲3.94 | 222.17 ▲118.82 | 48.40 ▲5.83 |
A11y statement settings /wp-admin/options-general.php?page=a11y-statement-settings | 782 | 2.06 | 31.09 | 31.22 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- acf_version
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 75× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/accessibility-statement/includes/acf/includes/fields/class-acf-field-date_picker.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_render_field_wrap() in wp-content/plugins/accessibility-statement/includes/acf/includes/admin/views/field-group-options.php:8
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/accessibility-statement/includes/acf/includes/fields/class-acf-field-output.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/accessibility-statement/includes/acf/includes/fields/class-acf-field-google-map.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/accessibility-statement/includes/acf/includes/fields/class-acf-field-file.php:5
- > PHP Fatal error
Uncaught Error: Class 'ACF_Field' not found in wp-content/plugins/accessibility-statement/includes/acf/includes/fields/class-acf-field-user.php:5
- > PHP Notice
Undefined variable: rule in wp-content/plugins/accessibility-statement/includes/acf/includes/admin/views/html-location-rule.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/accessibility-statement/includes/acf/includes/fields/class-acf-field-wysiwyg.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/accessibility-statement/includes/acf/includes/fields/class-acf-field-time_picker.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/accessibility-statement/includes/acf/includes/admin/views/html-admin-page-upgrade-network.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Contributors: Plugin contributors field is missing
accessibility-statement/accessibility-statement.php 92% from 13 tests
The entry point to "Accessibility Statement" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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
Success! There were no dangerous files found in this plugin114,458 lines of code in 205 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 32 | 24,383 | 41,449 | 50,303 |
JavaScript | 17 | 5,883 | 5,989 | 38,456 |
PHP | 139 | 8,546 | 18,225 | 19,601 |
CSS | 15 | 495 | 739 | 6,078 |
Markdown | 1 | 11 | 0 | 14 |
SVG | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 105 | |
▷ Abstract classes | 2 | 1.90% |
▷ Concrete classes | 103 | 98.10% |
▷ Final classes | 0 | 0.00% |
Methods | 791 | |
▷ Static methods | 1 | 0.13% |
▷ Public methods | 772 | 97.60% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 2.40% |
Functions | 439 | |
▷ Named functions | 436 | 99.32% |
▷ Anonymous functions | 3 | 0.68% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/acf/assets/inc/datepicker/images/ui-icons_ffffff_256x240.png | 3.68KB | 4.17KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |
includes/acf/assets/inc/select2/3/select2x2.png | 0.64KB | 0.77KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-icons_DDDDDD_256x240.png | 3.68KB | 4.17KB | 0.00% |
includes/acf/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |