Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲753.86ms] 75% from 4 tests
This is a short check of server-side resources used by All in One Accessibility
It is recommended to improve the following
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 753.86ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.97 ▲4.28 |
Dashboard /wp-admin | 3.45 ▲0.11 | 1,056.18 ▲1,001.48 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 1,184.51 ▲1,138.43 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 1,133.77 ▲1,040.41 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 1,004.11 ▲969.28 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
All in One Accessibility: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲117 | 14.15 ▲0.02 | 2.55 ▲0.91 | 37.74 ▲0.61 |
Dashboard /wp-admin | 2,245 ▲67 | 5.65 ▼0.03 | 89.70 ▼11.36 | 37.01 ▼5.76 |
Posts /wp-admin/edit.php | 2,147 ▲50 | 1.93 ▼0.09 | 33.34 ▼4.06 | 32.43 ▼5.19 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.31 ▲0.24 | 663.45 ▼26.43 | 59.71 ▲2.72 |
Media Library /wp-admin/upload.php | 1,451 ▲51 | 4.15 ▼0.09 | 95.43 ▼4.65 | 39.87 ▼4.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-in-one-accessibility/all-in-one-accessibility.php:15
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (25 tag instead of maximum 10); only the first 5 tags are used in your directory listing
all-in-one-accessibility/all-in-one-accessibility.php 92% from 13 tests
The entry point to "All in One Accessibility" version 1.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.6" instead of "7.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin2,200 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 820 | 171 | 1,564 |
PHP | 1 | 68 | 29 | 394 |
Sass | 1 | 4 | 0 | 168 |
CSS | 2 | 1 | 0 | 70 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
There were not PNG files found in your plugin