Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.31ms] Passed 4 tests
This is a short check of server-side resources used by Reorder by Term
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.94 ▲0.56 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.85 ▲1.98 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.64 ▲3.98 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.57 ▼15.92 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.93 ▲0.15 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Reorder by Term
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.61 ▼0.76 | 4.45 ▲2.69 | 38.46 ▼2.38 |
Dashboard /wp-admin | 2,203 ▲17 | 5.81 ▼0.09 | 99.65 ▼11.58 | 38.39 ▼3.03 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.06 ▲0.02 | 40.01 ▲2.46 | 35.44 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 23.66 ▲0.46 | 644.83 ▼9.69 | 50.01 ▼5.76 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.16 ▼0.04 | 94.13 ▼4.50 | 45.76 ▲4.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reorder-by-term/reorder-by-term.php:301
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: category, reorder, reorder by term
reorder-by-term/reorder-by-term.php Passed 13 tests
The main PHP script in "Reorder by Term" version 1.2.3 is automatically included on every request by WordPress
21 characters long description:
Reorder Posts by Term
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin843 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 115 | 298 | 751 |
JavaScript | 2 | 10 | 10 | 92 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 5.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 3 | 100.00% |
Methods | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 25 | 86.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 13.79% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected