Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼2.24ms] Passed 4 tests
Analyzing server-side resources used by AccessibilityPlus: Boost Accessibility & SEO Score for Lighthouse
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.40 | 42.60 ▲1.85 |
Dashboard /wp-admin | 3.70 ▲0.39 | 45.94 ▼3.32 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 47.16 ▼3.07 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 84.87 ▼4.40 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 36.61 ▲3.40 |
Accessibility Plus /wp-admin/options-general.php?page=accessibilityplus | 3.53 | 32.32 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for AccessibilityPlus: Boost Accessibility & SEO Score for Lighthouse
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲7 | 14.25 ▼0.10 | 1.77 ▼0.18 | 42.79 ▼1.32 |
Dashboard /wp-admin | 2,196 ▲19 | 5.61 ▼0.01 | 90.78 ▼8.76 | 38.91 ▼8.16 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.03 | 38.86 ▼2.32 | 35.75 ▼2.50 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.23 ▼0.21 | 646.94 ▲47.16 | 59.90 ▲9.79 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.26 ▲0.03 | 99.36 ▲1.94 | 43.14 ▲2.91 |
Accessibility Plus /wp-admin/options-general.php?page=accessibilityplus | 937 | 1.98 | 25.80 | 62.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please fix the following
- 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/accessibility-plus/inc/options.php:161
- > 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
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 ([Screenshot of plugin in action](assets/screenshot-1.png)) image missing
accessibility-plus/accessibility.php 92% from 13 tests
Analyzing the main PHP file in "AccessibilityPlus: Boost Accessibility & SEO Score for Lighthouse" version 1.2.4
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("accessibility-plus.php" instead of "accessibility.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin2,433 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 445 | 347 | 2,185 |
CSS | 1 | 4 | 0 | 248 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 194.50 |
▷ Minimum class complexity | 139.00 |
▷ Maximum class complexity | 250.00 |
Average method complexity | 5.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 1 | 1.11% |
▷ Public methods | 75 | 83.33% |
▷ Protected methods | 15 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 35 | |
▷ Named functions | 25 | 71.43% |
▷ Anonymous functions | 10 | 28.57% |
Constants | 22 | |
▷ Global constants | 22 | 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
There are no PNG files in this plugin