Benchmarks
Plugin footprint 83% 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.15MB] [CPU: ▼2.02ms] Passed 4 tests
Server-side resources used by AuRise Accessibility Checker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 47.22 ▲4.77 |
Dashboard /wp-admin | 3.46 ▲0.16 | 51.60 ▲0.05 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 49.37 ▼2.29 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 89.57 ▼8.48 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 38.46 ▲2.65 |
Accessibility Checker /wp-admin/options-general.php?page=aurise-accessibility-checker | 3.37 | 36.28 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for AuRise Accessibility Checker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,130 ▲369 | 14.46 ▲1.26 | 36.82 ▲32.31 | 46.29 ▲1.49 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.05 | 89.04 ▼0.99 | 41.33 ▲0.70 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.03 | 34.46 ▼4.12 | 37.58 ▲0.72 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.33 ▲0.21 | 659.48 ▼6.21 | 53.34 ▼2.35 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.17 ▼0.03 | 96.23 ▼5.51 | 41.22 ▼6.54 |
Accessibility Checker /wp-admin/options-general.php?page=aurise-accessibility-checker | 952 | 2.03 | 25.24 | 60.91 |
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
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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 no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/aurise-accessibility-checker/templates/dashboard-support.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/aurise-accessibility-checker/templates/dashboard-admin.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
aurise-accessibility-checker/aurise-accessibility-checker.php 85% from 13 tests
The primary PHP file in "AuRise Accessibility Checker" version 1.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.6" instead of "5.8")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.4" instead of "5.6.20")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,543 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 163 | 50 | 851 |
PHP | 7 | 59 | 359 | 614 |
JavaScript | 2 | 2 | 70 | 78 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 26.33 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 7 | 30.43% |
▷ Public methods | 19 | 82.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 17.39% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/admin-logo.png | 4.40KB | 4.70KB | 0.00% |
assets/images/kofi-cup.png | 4.17KB | 4.42KB | 0.00% |