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
- Install procedure had errors
- > Deprecated in wp-content/plugins/accessibility-font/accessibilityfont.php+95
Function create_function() is deprecated
Server metrics [RAM: ▼2.53MB] [CPU: ▼348.29ms] Passed 4 tests
A check of server-side resources used by Accessibility Font
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.84 ▼1.67 | 4.58 ▼43.81 |
Dashboard /wp-admin | 1.86 ▼1.55 | 3.92 ▼29.71 |
Posts /wp-admin/edit.php | 1.86 ▼1.78 | 4.00 ▼34.35 |
Add New Post /wp-admin/post-new.php | 1.86 ▼5.11 | 4.61 ▼1,285.29 |
Media Library /wp-admin/upload.php | 1.86 ▼1.44 | 3.82 ▼19.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_accesstxt |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Accessibility Font
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲10 | 15.83 ▲0.12 | 6.72 ▼0.20 | 3.53 ▲0.98 |
Dashboard /wp-admin | 2,895 ▲34 | 6.09 ▼0.17 | 116.66 ▼20.45 | 156.89 ▼2.94 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.37 ▲0.12 | 64.17 ▼0.93 | 139.22 ▼8.98 |
Add New Post /wp-admin/post-new.php | 1,760 ▲62 | 22.72 ▲0.47 | 408.27 ▼3.26 | 157.47 ▲3.76 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.52 ▲0.00 | 145.79 ▲4.26 | 187.03 ▼0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/accessibility-font/accessibilityfont.php+95
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 1 option
- widget_accesstxt
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/accessibility-font/accessibilityfont.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
accessibility-font/accessibilityfont.php 92% from 13 tests
The primary PHP file in "Accessibility Font" version 1.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("accessibility-font.php" instead of "accessibilityfont.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected79 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 14 | 79 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected