Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.94ms] Passed 4 tests
Analyzing server-side resources used by Simple Taxonomy Ordering
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.23 ▲1.47 |
Dashboard /wp-admin | 3.39 ▲0.09 | 46.36 ▼7.74 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.75 ▲0.23 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.32 ▼8.33 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.82 ▲0.07 |
Simple Tax. Ordering /wp-admin/options-general.php?page=yikes-simple-taxonomy-ordering | 3.28 | 32.20 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Taxonomy Ordering
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲63 | 13.67 ▼0.71 | 1.74 ▲0.04 | 42.93 ▲3.62 |
Dashboard /wp-admin | 2,201 ▲16 | 5.84 ▲0.95 | 98.18 ▼4.47 | 36.56 ▼7.38 |
Posts /wp-admin/edit.php | 2,087 ▼2 | 2.04 ▼0.01 | 40.69 ▲0.01 | 26.87 ▼11.69 |
Add New Post /wp-admin/post-new.php | 1,530 ▼12 | 23.33 ▲5.18 | 621.68 ▼6.57 | 56.65 ▼0.36 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.26 ▼0.04 | 93.61 ▼2.96 | 38.00 ▼6.91 |
Simple Tax. Ordering /wp-admin/options-general.php?page=yikes-simple-taxonomy-ordering | 899 | 2.12 | 33.10 | 37.22 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/simple-taxonomy-ordering/yikes-custom-taxonomy-order.php:73
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-taxonomy-ordering/lib/options.php:20
- > 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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: reorder, meta, taxonomy, order, term...
simple-taxonomy-ordering/yikes-custom-taxonomy-order.php 92% from 13 tests
"Simple Taxonomy Ordering" version 2.3.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-taxonomy-ordering.php" instead of "yikes-custom-taxonomy-order.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
No dangerous file extensions were detected785 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 56 | 0 | 433 |
PHP | 3 | 67 | 182 | 296 |
JavaScript | 5 | 9 | 9 | 56 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 20 | 76.92% |
▷ Protected methods | 1 | 3.85% |
▷ Private methods | 5 | 19.23% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin