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: ▼1.88ms] Passed 4 tests
This is a short check of server-side resources used by Terms Order
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.37 ▲3.93 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.25 ▼4.92 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.67 ▲3.10 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 83.99 ▼9.47 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.00 ▲3.78 |
Terms Order /wp-admin/edit.php?page=ttto-post | 3.29 | 32.36 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Terms Order
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.21 ▼1.07 | 1.74 ▲0.01 | 42.34 ▼4.49 |
Dashboard /wp-admin | 2,211 ▲59 | 5.76 ▲0.07 | 96.97 ▼12.80 | 40.78 ▼5.63 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.08 ▲0.07 | 39.71 ▲2.23 | 33.69 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,521 ▼21 | 23.17 ▲4.73 | 588.20 ▼63.62 | 56.68 ▼1.39 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.14 ▼0.03 | 101.43 ▲5.11 | 44.54 ▲1.82 |
Terms Order /wp-admin/edit.php?page=ttto-post | 810 | 2.07 | 30.38 | 27.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/terms-order/terms-order/admin/templates/terms-order-output.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/terms-order/admin/templates/terms-order-output.php:2
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== terms-order ===
)
terms-order/terms-order.php Passed 13 tests
Analyzing the main PHP file in "Terms Order" version 1.0.2
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 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin610 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 227 | 393 | 531 |
CSS | 1 | 6 | 0 | 62 |
JavaScript | 1 | 2 | 2 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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 | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 4 | 5.71% |
▷ Public methods | 60 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 14.29% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin