Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.03ms] Passed 4 tests
Server-side resources used by Web Accessibility Compliance by Equally AI
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.16 ▼0.54 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.52 ▼8.73 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.33 ▼4.63 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.11 ▲1.79 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.64 ▲4.62 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Web Accessibility Compliance by Equally AI: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.45 ▲0.08 | 1.77 ▲0.01 | 39.78 ▼1.07 |
Dashboard /wp-admin | 2,222 ▲40 | 5.81 ▲0.86 | 100.88 ▼6.65 | 38.71 ▼7.69 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.99 ▲0.01 | 34.79 ▼6.85 | 33.63 ▼6.83 |
Add New Post /wp-admin/post-new.php | 1,555 ▲32 | 18.37 ▼4.74 | 598.92 ▲2.09 | 50.85 ▲2.43 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.19 ▼0.10 | 98.71 ▼3.33 | 43.95 ▼0.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_EquallyAi_Default_Properties' not found in wp-content/plugins/equallyai/classes/class-create-admin-menu.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_EquallyAi_Default_Properties' not found in wp-content/plugins/equallyai/classes/class-load-default-scripts.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/equallyai/classes/class-frontend-manipulation.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_EquallyAi_Default_Properties' not found in wp-content/plugins/equallyai/classes/class-create-settings-routes.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: equallyai, accessibility, widget
equallyai/wp-equally-ai.php 92% from 13 tests
"Web Accessibility Compliance by Equally AI" version 1.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("equallyai.php" instead of "wp-equally-ai.php")
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
Success! There were no dangerous files found in this plugin690 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 189 | 206 | 492 |
PHP | 6 | 33 | 20 | 126 |
JSON | 1 | 0 | 0 | 34 |
CSS | 1 | 0 | 0 | 31 |
Markdown | 1 | 3 | 0 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 34.24KB | 14.26KB | ▼ 58.34% |