Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.35MB] [CPU: ▼12.07ms] Passed 4 tests
A check of server-side resources used by Accessibility spring
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.02 ▼37.93 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.32 ▼10.36 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.83 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.08 ▲3.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.54 ▲1.38 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Accessibility spring: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲265 | 14.05 ▼0.24 | 13.37 ▲11.48 | 44.99 ▼1.20 |
Dashboard /wp-admin | 2,217 ▲32 | 5.88 ▲0.99 | 95.87 ▼20.91 | 67.91 ▲23.28 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 1.99 ▼0.05 | 36.36 ▲1.16 | 32.17 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,678 ▲158 | 21.63 ▼1.63 | 739.91 ▲56.25 | 52.90 ▲9.57 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.12 ▼0.12 | 99.58 ▼10.02 | 79.14 ▲28.50 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× 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-spring/assets.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/accessibility-spring/accessibility-spring.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
4 plugin tags: sidebar, handicap, accessibility, wai-wcag
accessibility-spring/accessibility-spring.php 92% from 13 tests
The entry point to "Accessibility spring" version 1.3.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 200 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin801 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 153 | 10 | 349 |
PO File | 2 | 68 | 88 | 182 |
JavaScript | 1 | 198 | 1 | 140 |
CSS | 1 | 41 | 0 | 130 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
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 | 8 | |
▷ Named functions | 8 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 0.15MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 9.05KB | 5.10KB | ▼ 43.64% |
assets/screenshot-1.png | 89.82KB | 33.11KB | ▼ 63.14% |
assets/screenshot-2.png | 13.92KB | 5.71KB | ▼ 58.97% |
images/close.png | 0.36KB | 0.50KB | 0.00% |
images/icon-4.png | 1.14KB | 1.41KB | 0.00% |