Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.50ms] Passed 4 tests
Analyzing server-side resources used by Ada Tray Accessibility Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.28 ▼9.20 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.40 ▼1.38 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.73 ▲3.48 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 96.52 ▲5.23 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.75 ▲1.12 |
ADA Tray® /wp-admin/options-general.php?page=Ada-tray | 3.20 | 34.34 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Ada Tray Accessibility Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▼0.18 | 2.33 ▲0.63 | 43.92 ▼3.66 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▲0.03 | 92.41 ▲3.27 | 44.71 ▲5.66 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.95 ▼0.07 | 40.66 ▲2.11 | 37.92 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,540 ▲11 | 18.44 ▼4.46 | 622.45 ▼82.81 | 57.97 ▼3.71 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.16 ▼0.06 | 97.13 ▲1.32 | 42.80 ▼2.80 |
ADA Tray® /wp-admin/options-general.php?page=Ada-tray | 877 | 1.99 | 28.61 | 31.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Ada-tray
- > Notice in wp-content/plugins/ada-tray-accessibility-widget/includes/adashield.php+114
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ada-tray-accessibility-widget/includes/adashield.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ada-tray-accessibility-widget/trunk/includes/adashield.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ada-tray-accessibility-widget/trunk/adatray.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ada-tray-accessibility-widget/adatray.php:10
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 87% 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
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6 in ada-tray-accessibility-widget/assets to your readme.txt
- Tags: You are using too many tags: 26 tag instead of maximum 10
ada-tray-accessibility-widget/adatray.php 85% from 13 tests
The main PHP file in "Ada Tray Accessibility Widget" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 228 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ada-tray-accessibility-widget.php" instead of "adatray.php")
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
There were no executable files found in this plugin179 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 30 | 9 | 177 |
CSS | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 16 | |
▷ Named functions | 16 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin