Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼142.30ms] Passed 4 tests
An overview of server-side resources used by Taxonomies Sortable
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 43.41 ▲22.55 |
Dashboard /wp-admin | 3.13 ▲0.07 | 47.02 ▲0.81 |
Posts /wp-admin/edit.php | 3.24 ▲0.13 | 45.34 ▲1.18 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.06 | 93.22 ▼564.28 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 32.61 ▼6.90 |
Taxonomies Sortable /wp-admin/options-general.php?page=taxonomies_sortable_plugin_general_settings | 3.06 | 27.49 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Taxonomies Sortable: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 16.41 ▲0.81 | 9.30 ▼0.62 | 49.06 ▲2.98 |
Dashboard /wp-admin | 2,972 ▲41 | 5.91 ▼0.00 | 138.69 ▼4.95 | 109.45 ▼9.71 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▲0.00 | 64.03 ▼4.27 | 87.54 ▼4.97 |
Add New Post /wp-admin/post-new.php | 1,625 ▼47 | 22.07 ▲3.32 | 284.10 ▼87.38 | 105.18 ▼5.53 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.03 ▼0.00 | 170.86 ▲23.81 | 120.21 ▲1.17 |
Taxonomies Sortable /wp-admin/options-general.php?page=taxonomies_sortable_plugin_general_settings | 1,214 | 2.35 | 60.18 | 72.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/taxonomies-sortable/php/adminpages/credits.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_taxonomies() in wp-content/plugins/taxonomies-sortable/php/adminpages/general-settings.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=taxonomies_sortable_plugin_general_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=5.8.1+1:283
tagsSuggestL10n.tagDelimiter is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration Passed 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
2 plugin tags: admin, taxonomy
taxonomies-sortable/taxonomies-sortable.php Passed 13 tests
Analyzing the main PHP file in "Taxonomies Sortable" version 1.0.1
31 characters long description:
A WordPress Taxonomies Sortable
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected384 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 102 | 289 | 312 |
CSS | 1 | 12 | 5 | 40 |
JavaScript | 1 | 7 | 10 | 32 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 11.67 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 6 | 31.58% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.26% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin