Benchmarks
Plugin footprint 83% from 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.00MB] [CPU: ▼0.93ms] Passed 4 tests
A check of server-side resources used by Accessible Dropdown Menus
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.86 ▲0.98 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.90 ▼3.68 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.68 ▲4.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.13 ▼4.88 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.90 ▲3.87 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Accessible Dropdown Menus
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲111 | 13.48 ▼1.09 | 11.17 ▲9.44 | 44.70 ▲2.92 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▼0.04 | 88.62 ▼4.85 | 43.19 ▲2.68 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▲0.01 | 38.85 ▲3.19 | 35.48 ▲2.53 |
Add New Post /wp-admin/post-new.php | 1,526 ▼12 | 22.92 ▲5.01 | 684.89 ▲45.15 | 54.90 ▼15.96 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▲0.02 | 109.50 ▲0.86 | 47.41 ▲3.31 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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 errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accessible-dropdown-menus/accessible-dropdown-menus.php:27
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: navigation, menus, a11y, accessibility, dropdown menus...
accessible-dropdown-menus/accessible-dropdown-menus.php Passed 13 tests
The main PHP script in "Accessible Dropdown Menus" version 0.4.1 is automatically included on every request by WordPress
60 characters long description:
Makes dropdown menus in WordPress themes keyboard accessible
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 plugin33 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 15 | 24 |
JavaScript | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected