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.01MB] [CPU: ▼12.38ms] Passed 4 tests
An overview of server-side resources used by WT Quick Reorder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.79 ▲5.43 |
Dashboard /wp-admin | 3.33 ▼0.02 | 50.01 ▼36.63 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.14 ▼3.41 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.69 ▼6.99 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.93 ▼2.47 |
Server storage [IO: ▲3.39MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 87 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WT Quick Reorder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲42 | 14.22 ▼0.16 | 1.84 ▲0.10 | 43.65 ▲3.07 |
Dashboard /wp-admin | 2,219 ▲34 | 4.90 ▼0.92 | 136.05 ▲33.81 | 54.17 ▲14.37 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.01 ▼0.01 | 40.65 ▲7.66 | 43.07 ▲11.00 |
Add New Post /wp-admin/post-new.php | 1,375 ▼139 | 20.50 ▲2.93 | 589.26 ▼46.80 | 38.65 ▼21.84 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.22 ▲0.11 | 110.48 ▲3.65 | 44.25 ▲2.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Requires php: Invalid plugin version format
wt-quick-reorder/wt-quick-reorder.php 92% from 13 tests
This is the main PHP file of "WT Quick Reorder" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 153 characters long)
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
Success! There were no dangerous files found in this plugin4,981 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 960 | 1,421 | 2,653 |
CSS | 7 | 88 | 90 | 1,889 |
JavaScript | 5 | 71 | 68 | 339 |
SVG | 4 | 18 | 0 | 100 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 342.00 |
Average method complexity | 7.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 2 | 2.78% |
▷ Public methods | 70 | 97.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.78% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/checkbox-icon.png | 0.98KB | 0.18KB | ▼ 81.21% |