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.07MB] [CPU: ▼5.96ms] Passed 4 tests
Analyzing server-side resources used by Terms Order WP - Categories And Taxonomies Order Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 46.58 ▲3.14 |
Dashboard /wp-admin | 3.38 ▲0.04 | 51.70 ▼19.60 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.63 ▲0.26 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 96.48 ▼6.22 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.05 ▲1.71 |
Terms Order /wp-admin/edit.php?page=wpto-post | 3.29 | 39.51 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Terms Order WP - Categories And Taxonomies Order Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.24 ▼0.11 | 1.86 ▲0.16 | 44.60 ▼0.95 |
Dashboard /wp-admin | 2,203 ▲23 | 5.65 ▲0.05 | 92.62 ▼10.50 | 44.49 ▼3.82 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.06 ▲0.05 | 41.05 ▲1.83 | 37.45 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 18.28 ▼4.80 | 606.17 ▼61.51 | 71.88 ▲18.96 |
Media Library /wp-admin/upload.php | 1,411 ▲14 | 4.17 ▼0.02 | 97.89 ▼8.52 | 42.56 ▲0.42 |
Terms Order /wp-admin/edit.php?page=wpto-post | 839 | 1.94 | 30.16 | 27.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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/terms-order-wp/admin/templates/terms-order-wp-output.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
terms-order-wp/terms-order-wp.php Passed 13 tests
"Terms Order WP - Categories And Taxonomies Order Plugin" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
A simple plugin to reorder categories and custom post taxonomies.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin522 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 182 | 289 | 443 |
CSS | 1 | 6 | 0 | 62 |
JavaScript | 1 | 2 | 2 | 17 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 6.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin