Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/accessibility-assistant/accessibility_assistant.php+53
Trying to access array offset on value of type null
Server metrics [RAM: ▲0.01MB] [CPU: ▼321.02ms] Passed 4 tests
Analyzing server-side resources used by Accessibility Assistant
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 60.56 ▲1.39 |
Dashboard /wp-admin | 3.45 ▲0.05 | 35.35 ▲1.72 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 39.32 ▲3.70 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 97.80 ▼1,290.88 |
Media Library /wp-admin/upload.php | 3.33 ▲0.04 | 29.52 ▲6.09 |
Server storage [IO: ▲1.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 1 new option
New WordPress options |
---|
accessibility_install |
Browser metrics Passed 4 tests
Accessibility Assistant: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,835 ▲81 | 15.84 ▲0.47 | 6.07 ▼0.76 | 2.84 ▲0.20 |
Dashboard /wp-admin | 2,932 ▲78 | 6.45 ▲0.33 | 128.83 ▼51.42 | 253.52 ▲87.97 |
Posts /wp-admin/edit.php | 2,726 ▲54 | 3.42 ▲0.06 | 70.24 ▲3.66 | 237.90 ▲11.58 |
Add New Post /wp-admin/post-new.php | 1,737 ▲80 | 20.76 ▲3.32 | 468.53 ▲15.51 | 182.06 ▲6.59 |
Media Library /wp-admin/upload.php | 1,739 ▲41 | 5.68 ▲0.20 | 155.84 ▼26.69 | 210.44 ▲10.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
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
Good news, no errors were detected
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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/accessibility-assistant/admin/accessibility_dashboard.php
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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: access, visually, desaturation, accessible, cursor...
accessibility-assistant/accessibility_assistant.php 77% from 13 tests
This is the main PHP file of "Accessibility Assistant" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("accessibility-assistant.php" instead of "accessibility_assistant.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 190 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin14,395 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 1,230 | 21 | 9,195 |
JavaScript | 3 | 1,173 | 1,387 | 4,588 |
PHP | 5 | 78 | 20 | 612 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.27MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 66.96KB | 26.54KB | ▼ 60.37% |
assets/header_logo.png | 7.02KB | 4.75KB | ▼ 32.35% |
assets/screenshot-4.png | 75.63KB | 29.94KB | ▼ 60.42% |
assets/screenshot-1.png | 99.33KB | 38.50KB | ▼ 61.24% |
assets/screenshot-2.png | 28.91KB | 14.86KB | ▼ 48.62% |