Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼297.85ms] Passed 4 tests
Server-side resources used by A11y Kit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.10 | 53.67 ▲1.15 |
Dashboard /wp-admin | 3.45 ▲0.04 | 32.65 ▼1.35 |
Posts /wp-admin/edit.php | 3.67 ▲0.04 | 36.94 ▼0.51 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 92.25 ▼1,188.94 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 24.70 ▼0.60 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for A11y Kit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,905 ▲160 | 16.58 ▲0.56 | 10.21 ▲4.32 | 4.23 ▲2.07 |
Dashboard /wp-admin | 2,895 ▲34 | 6.03 ▼0.14 | 120.34 ▼23.54 | 157.20 ▼14.04 |
Posts /wp-admin/edit.php | 2,694 ▲10 | 3.22 ▼0.01 | 65.22 ▲0.03 | 140.95 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,661 ▼58 | 22.33 ▲0.29 | 432.72 ▲16.98 | 163.32 ▲6.22 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.49 ▼0.04 | 137.48 ▲6.15 | 184.25 ▲0.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== a11y-kit ===
) - Screenshots: No descriptions were found for these screenshots #1, #2, #3 in a11y-kit/assets to your readme.txt
a11y-kit/a11y-kit.php Passed 13 tests
Analyzing the main PHP file in "A11y Kit" version 1.1.0
49 characters long description:
Make accessibility a part of your WordPress site.
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
Success! There were no dangerous files found in this plugin1,485 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 1,175 |
PHP | 9 | 92 | 349 | 138 |
CSS | 2 | 9 | 18 | 109 |
JavaScript | 2 | 26 | 7 | 63 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 2 | 10.53% |
▷ Public methods | 15 | 78.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 21.05% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin