Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼136.96ms] Passed 4 tests
Analyzing server-side resources used by Universal Accessibility Key (UAK) / Initiative MAJ+A
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 60.60 ▲43.84 |
Dashboard /wp-admin | 3.07 ▲0.01 | 45.80 ▲1.97 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 49.92 ▲6.74 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 95.50 ▼564.55 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 37.37 ▲8.02 |
UAK /wp-admin/options-general.php?page=uak_settings | 2.98 | 31.82 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Universal Accessibility Key (UAK) / Initiative MAJ+A
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,818 ▲222 | 16.23 ▲0.58 | 15.18 ▲6.34 | 51.43 ▲2.20 |
Dashboard /wp-admin | 2,975 ▲44 | 5.92 ▼0.02 | 144.86 ▲2.75 | 124.56 ▲5.71 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▼0.01 | 65.65 ▲3.84 | 88.11 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,675 ▲177 | 18.78 ▼0.08 | 399.74 ▲48.77 | 119.59 ▲8.34 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.02 ▼0.01 | 160.66 ▼8.88 | 131.33 ▲2.30 |
UAK /wp-admin/options-general.php?page=uak_settings | 1,113 | 2.06 | 53.43 | 77.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 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/universal-accessibility-key-uak/uak.php:11
- > PHP Fatal error
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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: impaired, accessibility, accessibilit, disabled, shortcut...
universal-accessibility-key-uak/uak.php 92% from 13 tests
The main PHP script in "Universal Accessibility Key (UAK) / Initiative MAJ+A" version 0.1 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("universal-accessibility-key-uak.php" instead of "uak.php")
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
Everything looks great! No dangerous files found in this plugin50 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 11 | 49 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo_min.png | 1.41KB | 0.87KB | ▼ 38.47% |
img/uak-settings-banner.png | 10.75KB | 6.39KB | ▼ 40.52% |