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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.63ms] Passed 4 tests
This is a short check of server-side resources used by Cool Accessibility
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 30.87 ▼11.02 |
Dashboard /wp-admin | 3.42 ▲0.12 | 52.40 ▲0.18 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.42 ▲0.03 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 93.78 ▲0.29 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 35.71 ▲3.20 |
Cool Accessibility /wp-admin/plugins.php?page=cool-accessibility | 3.29 | 32.66 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Cool Accessibility: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,142 ▲396 | 13.56 ▼1.21 | 12.85 ▲11.14 | 47.35 ▲0.60 |
Dashboard /wp-admin | 2,232 ▲47 | 5.12 ▼0.73 | 114.40 ▲9.30 | 41.29 ▼0.69 |
Posts /wp-admin/edit.php | 2,117 ▲31 | 2.31 ▲0.32 | 39.23 ▲5.62 | 33.23 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.41 ▲0.06 | 694.22 ▲86.88 | 36.56 ▼32.37 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.44 ▲0.26 | 96.20 ▼4.98 | 41.40 ▼6.75 |
Cool Accessibility /wp-admin/plugins.php?page=cool-accessibility | 1,207 | 2.32 | 51.29 | 32.48 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/plugins.php?page=cool-accessibility
- > Notice in wp-content/plugins/cool-accessibility/cool-accessibility.php+596
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cool-accessibility/cool-accessibility.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
cool-accessibility/cool-accessibility.php Passed 13 tests
The main file in "Cool Accessibility" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
64 characters long description:
Accessibility plugin - Make the site easier to read and navigate
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin3,865 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 765 | 646 | 2,468 |
CSS | 2 | 205 | 131 | 836 |
PHP | 1 | 156 | 57 | 471 |
PO File | 1 | 38 | 15 | 90 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
32 PNG files occupy 0.10MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/prevent-animation_transparent_desat.png | 4.54KB | 3.59KB | ▼ 21.01% |
icons/invert_colors.png | 1.78KB | 1.45KB | ▼ 18.59% |
icons/links.png | 6.14KB | 3.95KB | ▼ 35.73% |
icons/cursor_big_black.png | 4.96KB | 1.94KB | ▼ 60.95% |
icons/dock_access_menu_right.png | 1.31KB | 0.74KB | ▼ 43.59% |