Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/tag-or-category-term-group-order/tag-or-category-term-group-order.php+64
Non-static method TCTGO_Plugin::get_instance() should not be called statically
Server metrics [RAM: ▼1.91MB] [CPU: ▼57.65ms] Passed 4 tests
An overview of server-side resources used by Tag or Category term_group Order
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.71 ▼41.96 |
Dashboard /wp-admin | 2.10 ▼1.21 | 10.97 ▼43.69 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.25 ▼46.86 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.06 ▼98.09 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 7.20 ▼31.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tag or Category term_group Order
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.16 ▼0.41 | 1.93 ▲0.24 | 39.59 ▼4.27 |
Dashboard /wp-admin | 2,192 ▲18 | 5.51 ▼0.10 | 92.74 ▲0.70 | 40.39 ▼0.13 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.06 | 39.21 ▲3.62 | 34.52 ▼4.30 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.24 ▼0.36 | 686.88 ▲3.96 | 53.75 ▼8.03 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.11 ▼0.13 | 102.10 ▼13.68 | 45.21 ▼1.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/tag-or-category-term-group-order/tag-or-category-term-group-order.php+64
Non-static method TCTGO_Plugin::get_instance() should not be called statically
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 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/tag-or-category-term-group-order/lib/tctgo_plugin.class.php:22
- > 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 errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
tag-or-category-term-group-order/tag-or-category-term-group-order.php Passed 13 tests
This is the main PHP file of "Tag or Category term_group Order" version 0.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
43 characters long description:
To sort categories or tags based on groups.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin102 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 99 | 34 | 93 |
CSS | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
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