Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▼289.38ms] Passed 4 tests
Analyzing server-side resources used by Accessibility Lite - A super lightweight Wordpress plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.32 | 60.31 ▲2.67 |
Dashboard /wp-admin | 3.69 ▲0.28 | 36.86 ▲1.65 |
Posts /wp-admin/edit.php | 3.91 ▲0.27 | 43.52 ▼0.35 |
Add New Post /wp-admin/post-new.php | 7.15 ▲0.18 | 101.52 ▼1,161.50 |
Media Library /wp-admin/upload.php | 3.56 ▲0.27 | 30.62 ▲3.68 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Accessibility Lite - A super lightweight Wordpress plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,187 ▲445 | 16.79 ▲1.01 | 23.68 ▲17.97 | 25.55 ▲23.50 |
Dashboard /wp-admin | 2,933 ▲72 | 6.26 ▲0.10 | 120.05 ▼14.78 | 179.48 ▲17.69 |
Posts /wp-admin/edit.php | 2,741 ▲53 | 3.24 ▲0.00 | 65.55 ▲0.56 | 144.95 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,691 ▼26 | 16.44 ▼5.35 | 433.60 ▲3.63 | 166.29 ▲10.01 |
Media Library /wp-admin/upload.php | 1,736 ▲38 | 5.69 ▲0.25 | 141.66 ▲6.71 | 253.47 ▲68.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
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)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/accessibility-light/includes/admin/functions.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/accessibility-light/includes/functions.php:99
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 75% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Requires php: Version not formatted correctly
- Screenshots: Please add an image for screenshot #1 (General back end panel)
- Requires at least: Version not formatted correctly
- Donate link: Invalid URI ("")
accessibility-light/accessibility-light.php Passed 13 tests
The main file in "Accessibility Lite - A super lightweight Wordpress plugin" v. 3.6.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
119 characters long description:
Accessibility Light ♿ SEO FRIENDLY plugin helping you run an accessible WordPress site for people with disabilities.
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
There were no executable files found in this plugin12,321 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 469 | 122 | 4,439 |
JavaScript | 6 | 846 | 401 | 4,137 |
SVG | 1 | 0 | 3 | 2,370 |
PHP | 7 | 377 | 316 | 1,103 |
PO File | 1 | 116 | 120 | 272 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 63.33 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 5.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 45 | |
▷ Static methods | 1 | 2.22% |
▷ Public methods | 42 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.67% |
Functions | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/img/wheelchair.png | 3.03KB | 0.55KB | ▼ 81.84% |
assets/img/accessibility-light-logolight80.png | 1.86KB | 1.89KB | 0.00% |
assets/img/wheelchair.png | 1.33KB | 1.34KB | 0.00% |
assets/admin/img/accessibility-light-logo.png | 4.60KB | 2.70KB | ▼ 41.19% |