Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/inaccessibility-checker/inaccessibility-checker.php+153
Use of undefined constant Inaccessibility_Checker - assumed 'Inaccessibility_Checker' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.92MB] [CPU: ▼54.12ms] Passed 4 tests
An overview of server-side resources used by Inaccessibility Checker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 5.48 ▼40.43 |
Dashboard /wp-admin | 2.09 ▼1.21 | 5.27 ▼41.07 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.55 ▼43.97 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 5.85 ▼91.02 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.25 ▼28.45 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Inaccessibility Checker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.26 ▼1.05 | 1.62 ▼0.42 | 41.08 ▼2.45 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▲0.92 | 104.21 ▼1.98 | 37.82 ▼4.86 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▲0.00 | 39.87 ▼0.93 | 35.32 ▼2.63 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.52 ▲0.31 | 684.50 ▲2.58 | 51.14 ▼6.32 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.20 ▼0.06 | 94.66 ▼13.34 | 41.02 ▼4.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/inaccessibility-checker/inaccessibility-checker.php+153
Use of undefined constant Inaccessibility_Checker - assumed 'Inaccessibility_Checker' (this will throw an Error in a future version of PHP)
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Donate link: Invalid URI ("")
inaccessibility-checker/inaccessibility-checker.php 92% from 13 tests
"Inaccessibility Checker" version 0.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin116 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 37 | 86 |
CSS | 1 | 11 | 2 | 30 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 2 | 33.33% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin