Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲1.24MB] [CPU: ▼294.32ms] Passed 4 tests
Server-side resources used by Collapsing Categories List
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.91 ▲1.40 | 59.65 ▲11.53 |
Dashboard /wp-admin | 4.92 ▲1.51 | 38.14 ▲4.39 |
Posts /wp-admin/edit.php | 5.15 ▲1.50 | 43.86 ▲6.88 |
Add New Post /wp-admin/post-new.php | 7.55 ▲0.57 | 83.00 ▼1,195.73 |
Media Library /wp-admin/upload.php | 4.80 ▲1.50 | 29.44 ▲7.20 |
Collapsing category list /wp-admin/options-general.php?page=collapsing_category_list_admin_page | 8.95 | 56.45 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 247 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Collapsing Categories List
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,920 ▲166 | 16.57 ▲0.99 | 9.58 ▲3.73 | 2.49 ▼0.40 |
Dashboard /wp-admin | 2,901 ▲43 | 6.16 ▼0.02 | 116.85 ▼24.04 | 155.51 ▼8.58 |
Posts /wp-admin/edit.php | 2,703 ▲15 | 3.25 ▲0.02 | 64.22 ▲0.21 | 139.82 ▼3.77 |
Add New Post /wp-admin/post-new.php | 1,788 ▲127 | 17.56 ▲1.41 | 427.03 ▲20.73 | 174.14 ▲23.37 |
Media Library /wp-admin/upload.php | 1,710 ▲12 | 5.55 ▲0.07 | 143.21 ▲8.08 | 187.75 ▲6.94 |
Collapsing category list /wp-admin/options-general.php?page=collapsing_category_list_admin_page | 1,316 | 2.97 | 57.29 | 127.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% 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)
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 fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/collapsing-category-list/administration.php
- > /wp-content/plugins/collapsing-category-list/collapscatlist.php
- 201× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/widget/AdminPageFramework_Widget_Factory.php:7
- > PHP Fatal error
Uncaught Error: Class 'collapsingCategoryList_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/admin_page/_view/AdminPageFramework_View__PageMetaboxEnabler.php:7
- > PHP Fatal error
Uncaught Error: Class 'collapsingCategoryList_AdminPageFramework_Form_Model___Modifier_Base' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/_common/form/_model/modifier/AdminPageFramework_Form_Model___Modifier_SortInput.php:7
- > PHP Fatal error
Uncaught Error: Class 'collapsingCategoryList_AdminPageFramework_Form_Utility' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/_common/form/_model/formatter/AdminPageFramework_Form_Model___FormatSectionset.php:7
- > PHP Fatal error
Uncaught Error: Class 'Walker_Category' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/_common/form/field_type/AdminPageFramework_WalkerTaxonomyChecklist.php:7
- > PHP Fatal error
Uncaught Error: Class 'collapsingCategoryList_AdminPageFramework_Resource_admin_page' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/page_meta_box/_controller/AdminPageFramework_Resource_page_meta_box.php:7
- > PHP Fatal error
Uncaught Error: Class 'collapsingCategoryList_AdminPageFramework_Form_View___CSS_Base' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/_common/form/_view/css/AdminPageFramework_Form_View___CSS_FieldError.php:7
- > PHP Fatal error
Uncaught Error: Class 'collapsingCategoryList_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/admin_page/_model/delegate/AdminPageFramework_Model__FormEmailHandler.php:7
- > PHP Fatal error
Uncaught Error: Class 'collapsingCategoryList_AdminPageFramework_FrameworkUtility' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/_common/form/_view/sectionset/AdminPageFramework_Form_View___FieldsetRows.php:7
- > PHP Fatal error
Uncaught Error: Class 'collapsingCategoryList_AdminPageFramework_Factory_Model___Meta_Base' not found in wp-content/plugins/collapsing-category-list/libraries/admin_page_framework/factory/meta_box/_model/AdminPageFramework_MetaBox_Model___PostMeta.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
collapsing-category-list/collapscatlist.php 92% from 13 tests
The main PHP script in "Collapsing Categories List" version 0.5.5 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("collapsing-category-list.php" instead of "collapscatlist.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected16,890 lines of code in 235 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 219 | 707 | 1,962 | 16,271 |
PO File | 2 | 62 | 70 | 183 |
CSS | 8 | 36 | 45 | 182 |
Ant | 1 | 24 | 0 | 130 |
JavaScript | 2 | 19 | 2 | 89 |
XML | 2 | 1 | 0 | 20 |
SVG | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 328 | |
▷ Abstract classes | 93 | 28.35% |
▷ Concrete classes | 235 | 71.65% |
▷ Final classes | 2 | 0.85% |
Methods | 1,659 | |
▷ Static methods | 236 | 14.23% |
▷ Public methods | 935 | 56.36% |
▷ Protected methods | 261 | 15.73% |
▷ Private methods | 463 | 27.91% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 3 | 20.00% |
▷ Class constants | 12 | 80.00% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin