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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.87ms] Passed 4 tests
Server-side resources used by Editoria11y Accessibility Checker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 51.54 ▲12.98 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.94 ▼8.37 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 53.68 ▲1.38 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 97.28 ▼3.61 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 43.10 ▲7.11 |
Editoria11y /wp-admin/options-general.php?page=ed11y | 3.23 | 34.23 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_ed11y_results |
wp_ed11y_dismissals |
wp_ed11y_urls |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Editoria11y Accessibility Checker: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,020 ▲274 | 15.24 ▲0.88 | 37.26 ▲35.36 | 52.56 ▲7.73 |
Dashboard /wp-admin | 2,222 ▲33 | 4.87 ▼0.07 | 109.93 ▼0.29 | 41.61 ▼4.96 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 1.96 ▼0.08 | 43.62 ▲6.25 | 35.67 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.21 ▼4.83 | 604.88 ▼63.18 | 58.06 ▼2.03 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.18 ▼0.04 | 104.82 ▼5.88 | 41.85 ▼7.12 |
Editoria11y /wp-admin/options-general.php?page=ed11y | 1,180 | 2.03 | 26.29 | 57.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/editoria11y-accessibility-checker/src/admin.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/editoria11y-accessibility-checker/src/functions.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/editoria11y-accessibility-checker/src/controller/class-editoria11y-api-dismissals.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/editoria11y-accessibility-checker/src/controller/class-editoria11y-api-results.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 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
4 plugin tags: seo, quality assurance, accessibility checker, automated testing
editoria11y-accessibility-checker/editoria11y.php 69% from 13 tests
The primary PHP file in "Editoria11y Accessibility Checker" version 1.0.12 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 143 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("editoria11y-accessibility-checker.php" instead of "editoria11y.php")
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
No dangerous file extensions were detected3,258 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 143 | 117 | 1,645 |
PHP | 6 | 213 | 407 | 1,389 |
CSS | 2 | 37 | 1 | 224 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 5 | 20.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.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 files were detected