Benchmarks
Plugin footprint 82% 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: ▲2.46MB] [CPU: ▲17.39ms] 75% from 4 tests
An overview of server-side resources used by Real Category Management: Content Management in Category Folders
It is recommended to improve the following
- CPU: The total CPU usage must kept under 500.00ms (currently 696.50ms on /wp-admin/admin.php?page=real-category-library-lite-welcome)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.84 ▲2.37 | 54.61 ▲15.94 |
Dashboard /wp-admin | 5.79 ▲2.48 | 72.24 ▲23.69 |
Posts /wp-admin/edit.php | 5.89 ▲2.53 | 68.86 ▲20.45 |
Add New Post /wp-admin/post-new.php | 8.46 ▲2.56 | 103.31 ▲9.48 |
Media Library /wp-admin/upload.php | 5.72 ▲2.48 | 64.38 ▲28.80 |
Real Category Management (Free) /wp-admin/admin.php?page=real-category-library-lite-welcome | 5.98 | 696.50 |
Category Management /wp-admin/options-general.php?page=real-category-library-lite-component | 5.67 | 54.54 |
Server storage [IO: ▲4.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 244 new files
Database: no new tables, 15 new options
New WordPress options |
---|
rcl_db_migration |
category_children |
widget_recent-posts |
rcl_liteDismissed-expire |
rpm-wpc-licenseDeferredLicenseActivation_real-category-library-lite-expire |
theysaidso_admin_options |
widget_recent-comments |
rcl_db_version |
rpm-wpc-puFirst_real-category-library-lite |
rpm-wpc-licenseDeferredLicenseActivation_real-category-library-lite |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Real Category Management: Content Management in Category Folders
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲125 | 18.57 ▲4.38 | 2.21 ▲0.73 | 36.64 ▼4.20 |
Dashboard /wp-admin | 2,286 ▲109 | 9.28 ▲3.62 | 211.02 ▲115.14 | 43.47 ▼2.64 |
Posts /wp-admin/edit.php | 2,702 ▲602 | 7.40 ▲5.42 | 199.71 ▲162.70 | 78.46 ▲44.31 |
Add New Post /wp-admin/post-new.php | 1,610 ▲84 | 22.54 ▼0.57 | 751.45 ▲149.43 | 46.34 ▼1.21 |
Media Library /wp-admin/upload.php | 1,550 ▲147 | 7.19 ▲3.07 | 188.31 ▲92.31 | 41.95 ▼1.54 |
Real Category Management (Free) /wp-admin/admin.php?page=real-category-library-lite-welcome | 1,641 | 5.36 | 141.48 | 107.55 |
Category Management /wp-admin/options-general.php?page=real-category-library-lite-component | 1,130 | 5.22 | 118.02 | 34.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 15 options
- rcl_db_version
- rpm-wpc-puFirst_real-category-library-lite
- widget_theysaidso_widget
- db_upgraded
- rcl_liteDismissed
- theysaidso_admin_options
- category_children
- rpm-wpc-licenseDeferredLicenseActivation_real-category-library-lite-expire
- can_compress_scripts
- widget_recent-comments
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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 items
- 105× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/real-category-library-lite/inc/TaxTree.php
- > /wp-content/plugins/real-category-library-lite/inc/base/Core.php
- > /wp-content/plugins/real-category-library-lite/vendor/devowl-wp/utils/src/KeyValueMapOption.php
- > /wp-content/plugins/real-category-library-lite/inc/Localization.php
- > /wp-content/plugins/real-category-library-lite/inc/overrides/lite/view/WooCommerce.php
- > /wp-content/plugins/real-category-library-lite/vendor/devowl-wp/utils/src/Base.php
- > /wp-content/plugins/real-category-library-lite/vendor/devowl-wp/real-utils/src/AbstractInitiator.php
- > /wp-content/plugins/real-category-library-lite/vendor/devowl-wp/real-product-manager-wp-client/src/AbstractInitiator.php
- > /wp-content/plugins/real-category-library-lite/vendor/devowl-wp/real-utils/src/Assets.php
- > /wp-content/plugins/real-category-library-lite/inc/overrides/interfce/IOverrideCore.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function PHPSTORM_META\\expectedArguments() in wp-content/plugins/real-category-library-lite/vendor/colinodell/json5/.phpstorm.meta.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-category-library-lite/inc/base/others/development-env.php:43
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCategoryLibrary\\Vendor\\MatthiasWeb\\WpdbBatch\\AbstractBatch' not found in wp-content/plugins/real-category-library-lite/vendor/matthiasweb/wpdb-batch/src/Update.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 19 tag instead of maximum 10
- Screenshots: Screenshot #4 (All custom post types supported) image required
real-category-library-lite/index.php 85% from 13 tests
The main file in "Real Category Management: Content Management in Category Folders" v. 4.1.79 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("real-category-library-lite.php" instead of "index.php")
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
No dangerous file extensions were detected20,345 lines of code in 184 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 137 | 362 | 7,381 | 10,501 |
Markdown | 10 | 3,593 | 0 | 7,147 |
JSON | 8 | 0 | 0 | 2,141 |
SVG | 2 | 603 | 3 | 322 |
Sass | 1 | 43 | 0 | 187 |
CSS | 9 | 1 | 0 | 26 |
JavaScript | 17 | 2 | 40 | 21 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 14.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 4 | |
Traits | 18 | |
Classes | 90 | |
▷ Abstract classes | 9 | 10.00% |
▷ Concrete classes | 81 | 90.00% |
▷ Final classes | 3 | 3.70% |
Methods | 921 | |
▷ Static methods | 108 | 11.73% |
▷ Public methods | 800 | 86.86% |
▷ Protected methods | 66 | 7.17% |
▷ Private methods | 55 | 5.97% |
Functions | 77 | |
▷ Named functions | 9 | 11.69% |
▷ Anonymous functions | 68 | 88.31% |
Constants | 173 | |
▷ Global constants | 38 | 21.97% |
▷ Class constants | 135 | 78.03% |
▷ Public constants | 135 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin