Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼14.18ms] Passed 4 tests
An overview of server-side resources used by WP Categories Metabox Extended
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.33 ▼1.87 |
Dashboard /wp-admin | 3.38 ▲0.04 | 46.52 ▼16.84 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 48.20 ▲0.40 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 89.31 ▼37.31 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.19 ▼0.70 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Categories Metabox Extended
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.55 ▼0.83 | 1.72 ▲0.04 | 41.69 ▼0.82 |
Dashboard /wp-admin | 2,203 ▲15 | 4.85 ▼0.03 | 110.14 ▼1.04 | 40.46 ▼2.49 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.97 ▼0.03 | 39.02 ▲5.70 | 34.35 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,411 ▼103 | 17.94 ▲0.30 | 598.62 ▼96.46 | 44.21 ▼12.29 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.06 | 95.82 ▼9.44 | 42.54 ▼5.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-categories-metabox-extended/load-wp-categories-metabox-extended.php
- > /wp-content/plugins/wp-categories-metabox-extended/wp-categories-metabox-extended.php
- > /wp-content/plugins/wp-categories-metabox-extended/include/Core/WPCategoriesMetaboxExtended.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'WPCategoriesMetaboxExtended\\Core\\Loadie' not found in wp-content/plugins/wp-categories-metabox-extended/include/Core/Request/WPCategoriesMetaboxExtendedAction.php:14
- > PHP Fatal error
Uncaught Error: Interface 'WPCategoriesMetaboxExtended\\Core\\Loadie' not found in wp-content/plugins/wp-categories-metabox-extended/include/UI/UIManager.php:7
- > 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 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: search, editor, admin, category
wp-categories-metabox-extended/wp-categories-metabox-extended.php 92% from 13 tests
This is the main PHP file of "WP Categories Metabox Extended" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected487 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 125 | 393 | 329 |
JavaScript | 1 | 32 | 24 | 126 |
CSS | 1 | 5 | 0 | 32 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 92.86% |
▷ Protected methods | 2 | 7.14% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin