Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.10ms] Passed 4 tests
Server-side resources used by Anything Order
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.37 ▲8.32 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.46 ▼1.13 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 47.35 ▼3.68 |
Add New Post /wp-admin/post-new.php | 5.55 ▼0.34 | 63.25 ▼24.00 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.75 ▲0.42 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Anything Order: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲37 | 14.07 ▼0.57 | 1.97 ▼0.01 | 58.14 ▲14.70 |
Dashboard /wp-admin | 2,206 ▲32 | 5.62 ▲0.04 | 96.64 ▲12.77 | 45.83 ▲1.55 |
Posts /wp-admin/edit.php | 2,177 ▲77 | 2.48 ▲0.49 | 38.27 ▲2.97 | 39.86 ▲2.28 |
Add New Post /wp-admin/post-new.php | 1,575 ▲49 | 22.69 ▼1.01 | 536.99 ▼93.47 | 56.42 ▲6.45 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.03 | 105.15 ▲4.10 | 47.07 ▲2.20 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Anything_Order_Base' not found in wp-content/plugins/anything-order/modules/taxonomy/class.php:9
- > PHP Fatal error
Uncaught Error: Class 'Anything_Order_Base' not found in wp-content/plugins/anything-order/modules/post/class.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
- Screenshots: Add descriptions for screenshots #2, #3 in anything-order/assets to your readme.txt
anything-order/anything-order.php Passed 13 tests
The main file in "Anything Order" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
83 characters long description:
This plugin allows you to arrange any post types and taxonomies with drag and drop.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected746 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 136 | 377 | 430 |
JavaScript | 1 | 28 | 0 | 135 |
CSS | 1 | 28 | 2 | 113 |
Markdown | 1 | 25 | 0 | 39 |
PO File | 1 | 4 | 4 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 1 | 2.94% |
▷ Public methods | 19 | 55.88% |
▷ Protected methods | 15 | 44.12% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin