Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.28MB] [CPU: ▼4.57ms] Passed 4 tests
A check of server-side resources used by Accessibility Lite - SEO Friendly Super Lightweight WordPress Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 40.73 ▲1.82 |
Dashboard /wp-admin | 3.60 ▲0.26 | 48.62 ▼13.01 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 48.47 ▲3.55 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 84.66 ▼10.62 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 41.44 ▲9.22 |
Server storage [IO: ▲2.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 72 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Accessibility Lite - SEO Friendly Super Lightweight WordPress Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,285 ▲523 | 13.61 ▼0.78 | 22.52 ▲20.86 | 47.17 ▲3.02 |
Dashboard /wp-admin | 2,302 ▲131 | 5.53 ▼0.03 | 91.32 ▼11.62 | 70.37 ▲27.62 |
Posts /wp-admin/edit.php | 2,226 ▲126 | 2.12 ▲0.17 | 40.03 ▲3.07 | 37.58 ▲4.16 |
Add New Post /wp-admin/post-new.php | 1,795 ▲269 | 22.49 ▼0.36 | 774.53 ▲106.46 | 64.34 ▲8.23 |
Media Library /wp-admin/upload.php | 1,513 ▲113 | 4.19 ▼0.02 | 106.40 ▲2.21 | 74.84 ▲31.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/accessibility-light/accessibility-light.php+381
Undefined variable: user_id
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Please fix the following
- 4× PHP files trigger server errors when accessed directly:
- > 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/trunk/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
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/accessibility-light/trunk/includes/functions.php:99
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 75% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Requires php: Invalid version format
- Screenshots: Screenshot #1 (General back end panel) image missing
- Requires at least: Invalid version format
- Donate link: Invalid URI ("")
accessibility-light/accessibility-light.php 92% from 13 tests
The main file in "Accessibility Lite - SEO Friendly Super Lightweight WordPress Plugin" v. 3.7.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 156 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin12,326 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 474 | 171 | 4,388 |
JavaScript | 6 | 846 | 405 | 4,133 |
SVG | 1 | 0 | 3 | 2,370 |
PHP | 7 | 392 | 319 | 1,163 |
PO File | 1 | 116 | 120 | 272 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 63.67 |
▷ Minimum class complexity | 46.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 5.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 2 | 33.33% |
Methods | 90 | |
▷ Static methods | 2 | 2.22% |
▷ Public methods | 84 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 6.67% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
trunk/assets/img/wheelchair.png | 1.33KB | 1.34KB | 0.00% |
trunk/assets/img/accessibility-light-logolight80.png | 1.86KB | 1.89KB | 0.00% |
assets/admin/img/wheelchair.png | 3.03KB | 0.55KB | ▼ 81.84% |
assets/admin/img/accessibility-light-logo.png | 4.60KB | 2.70KB | ▼ 41.19% |
assets/img/wheelchair.png | 1.33KB | 1.34KB | 0.00% |