Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.16ms] Passed 4 tests
Server-side resources used by uyghur ULY Permalinks (ئۇيغۇرچە مۇقىم ئۇلانمىلا)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 38.89 ▲1.33 |
Dashboard /wp-admin | 3.44 ▲0.09 | 48.53 ▼11.08 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.37 ▲0.58 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 85.12 ▼15.48 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.02 ▲1.36 |
ئۇيغۇرچە مۇقىم ئۇلانمىلا /wp-admin/options-general.php?page=uyghur-uly-permalinks/ULY-permalink.php | 3.30 | 30.42 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options |
---|
ULYPermalink_length |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
ULYPermalink_separator |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for uyghur ULY Permalinks (ئۇيغۇرچە مۇقىم ئۇلانمىلا)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.14 ▼1.17 | 1.81 ▲0.17 | 43.33 ▲0.63 |
Dashboard /wp-admin | 2,210 ▲25 | 4.87 ▼0.98 | 100.43 ▼2.20 | 48.02 ▲2.13 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.14 | 35.37 ▼6.91 | 36.50 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,550 ▲30 | 18.20 ▼5.03 | 649.51 ▼47.15 | 63.80 ▲9.01 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.21 ▲0.03 | 97.43 ▼4.94 | 44.57 ▼4.24 |
ئۇيغۇرچە مۇقىم ئۇلانمىلا /wp-admin/options-general.php?page=uyghur-uly-permalinks/ULY-permalink.php | 899 | 2.03 | 25.98 | 67.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=uyghur-uly-permalinks/ULY-permalink.php
- > Notice in wp-content/plugins/uyghur-uly-permalinks/ULY-permalink.php+41
Undefined index: reset_posts_name
- > GET request to /wp-admin/options-general.php?page=uyghur-uly-permalinks/ULY-permalink.php
- > Notice in wp-content/plugins/uyghur-uly-permalinks/ULY-permalink.php+45
Undefined index: reset_pages_name
- > GET request to /wp-admin/options-general.php?page=uyghur-uly-permalinks/ULY-permalink.php
- > Notice in wp-content/plugins/uyghur-uly-permalinks/ULY-permalink.php+49
Undefined index: reset_category_slug
- > GET request to /wp-admin/options-general.php?page=uyghur-uly-permalinks/ULY-permalink.php
- > Notice in wp-content/plugins/uyghur-uly-permalinks/ULY-permalink.php+53
Undefined index: reset_tag_slug
- > GET request to /wp-admin/options-general.php?page=uyghur-uly-permalinks/ULY-permalink.php
- > Notice in wp-content/plugins/uyghur-uly-permalinks/ULY-permalink.php+57
Undefined index: recover_category_slug
- > GET request to /wp-admin/options-general.php?page=uyghur-uly-permalinks/ULY-permalink.php
- > Notice in wp-content/plugins/uyghur-uly-permalinks/ULY-permalink.php+61
Undefined index: recover_tag_slug
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/uyghur-uly-permalinks/ULY-permalink.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== uyghur-uly-permalinks ===
)
uyghur-uly-permalinks/ULY-permalink.php 85% from 13 tests
The principal PHP file in "uyghur ULY Permalinks (ئۇيغۇرچە مۇقىم ئۇلانمىلا)" v. 0.6 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 282 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("uyghur-uly-permalinks.php" instead of "ULY-permalink.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin845 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 91 | 18 | 845 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 132)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 151.00 |
▷ Minimum class complexity | 151.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 31.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 132.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin