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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.35ms] Passed 4 tests
An overview of server-side resources used by WP-Uighur-Fonts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.24 ▲1.63 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.87 ▼0.03 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.11 ▼3.32 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.39 ▲0.73 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.17 ▼2.77 |
Server storage [IO: ▲0.47MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP-Uighur-Fonts: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 13.32 ▼1.07 | 5.53 ▲3.80 | 50.80 ▲1.14 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▼0.05 | 97.10 ▼7.26 | 68.06 ▲22.62 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▼0.00 | 36.18 ▲0.17 | 31.30 ▼5.17 |
Add New Post /wp-admin/post-new.php | 1,518 ▼15 | 17.35 ▼5.65 | 625.89 ▼46.73 | 47.96 ▼27.13 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.22 ▼0.02 | 95.67 ▼5.73 | 26.71 ▼24.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-uighur-fonts/ug.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI ("")
wp-uighur-fonts/ug.php 85% from 13 tests
The entry point to "WP-Uighur-Fonts" version 1.1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 501 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-uighur-fonts.php" instead of "ug.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin138 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 35 | 95 |
JavaScript | 1 | 0 | 4 | 35 |
CSS | 4 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 9 | |
▷ Named functions | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin