Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.43ms] Passed 4 tests
This is a short check of server-side resources used by Content Author Accessibility Preview
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.75 ▲2.92 |
Dashboard /wp-admin | 3.39 ▲0.05 | 51.53 ▼12.59 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 47.91 ▼2.26 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 87.91 ▼6.12 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.30 ▼0.73 |
Content Author Accessibility Preview /wp-admin/options-general.php?page=caa11yp | 3.28 | 33.83 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
caa11yp_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Content Author Accessibility Preview
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.16 ▼0.21 | 1.76 ▲0.01 | 44.45 ▼4.52 |
Dashboard /wp-admin | 2,196 ▲16 | 5.56 ▼0.07 | 95.44 ▲0.83 | 42.39 ▼0.85 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▼0.08 | 34.32 ▼2.95 | 35.82 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,532 ▲1 | 23.18 ▼0.24 | 685.47 ▲47.45 | 57.38 ▲1.96 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.18 ▲0.02 | 100.32 ▼3.53 | 44.99 ▲2.52 |
Content Author Accessibility Preview /wp-admin/options-general.php?page=caa11yp | 1,121 | 2.20 | 29.29 | 31.92 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: alt text, a11y, accessibility, aria, wcag...
content-author-accessibility-preview/content-author-accessibility-preview.php 85% from 13 tests
The main PHP file in "Content Author Accessibility Preview" ver. 1.2.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin573 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 164 | 446 |
CSS | 1 | 3 | 11 | 72 |
JavaScript | 2 | 9 | 17 | 55 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin