Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.74ms] Passed 4 tests
This is a short check of server-side resources used by ===KT Accessibility toolbar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.41 ▼3.32 |
Dashboard /wp-admin | 3.34 ▼0.01 | 43.45 ▼15.80 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.96 ▲0.76 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.78 ▼5.00 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.02 ▼2.85 |
KT Accessibility Toolbar /wp-admin/options-general.php?page=accessibility | 3.23 | 29.89 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ===KT Accessibility toolbar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.74 ▲0.18 | 1.77 ▼0.02 | 44.05 ▼0.30 |
Dashboard /wp-admin | 2,210 ▲22 | 4.88 ▼0.99 | 104.45 ▼10.36 | 38.98 ▼4.38 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▼0.01 | 35.88 ▼3.31 | 32.97 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,517 ▲93 | 17.75 ▼2.47 | 653.07 ▲98.72 | 56.09 ▲5.95 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.23 ▼0.04 | 95.83 ▼9.32 | 42.55 ▼4.96 |
KT Accessibility Toolbar /wp-admin/options-general.php?page=accessibility | 797 | 2.02 | 26.08 | 23.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/kt-accessibility-toolbar/toolbar.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/kt-accessibility-toolbar/toolbar.php:147
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Screenshots: Please describe screenshot #1 in kt-accessibility-toolbar/assets to your readme.txt
kt-accessibility-toolbar/accessibility.php 85% from 13 tests
The main PHP file in "===KT Accessibility toolbar" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("kt-accessibility-toolbar.php" instead of "accessibility.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected932 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1 | 4 | 331 |
JavaScript | 2 | 39 | 8 | 306 |
PHP | 5 | 37 | 24 | 295 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 4 | 26.67% |
▷ 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 | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected