Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.52ms] Passed 4 tests
A check of server-side resources used by Wicked Folders
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 40.30 ▼1.02 |
Dashboard /wp-admin | 3.39 ▲0.09 | 46.58 ▼2.54 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 45.22 ▼0.62 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 90.08 ▼5.89 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.79 ▲4.27 |
Wicked Folders /wp-admin/options-general.php?page=wicked_folders_settings | 3.39 | 35.98 |
Server storage [IO: ▲2.28MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 103 new files
Database: no new tables, 12 new options
New WordPress options |
---|
wicked_folders_db_version |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
wicked_folders_tax_name_migration_done |
wicked_folders_post_types |
wicked_folders_dynamic_folder_post_types |
wicked_folders_taxonomies |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wicked Folders
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.32 ▲0.08 | 1.78 ▲0.07 | 38.14 ▼3.94 |
Dashboard /wp-admin | 2,199 ▲21 | 5.63 ▼0.04 | 91.82 ▼21.97 | 40.98 ▼2.09 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.07 | 39.20 ▲2.82 | 35.46 ▲2.56 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.69 ▲0.14 | 666.94 ▼28.06 | 57.65 ▲10.96 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.05 | 95.92 ▼7.78 | 39.41 ▼4.53 |
Wicked Folders /wp-admin/options-general.php?page=wicked_folders_settings | 1,101 | 2.13 | 23.64 | 37.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 12 options in the database
- theysaidso_admin_options
- wicked_folders_enable_folder_pages
- widget_theysaidso_widget
- wicked_folders_tax_name_migration_done
- widget_recent-comments
- wicked_folders_dynamic_folder_post_types
- wicked_folders_db_version
- wicked_folders_post_types
- can_compress_scripts
- widget_recent-posts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/wicked-folders/lib/class-wicked-folders.php
- > /wp-content/plugins/wicked-folders/lib/class-wicked-folders-object-collection.php
- > /wp-content/plugins/wicked-folders/lib/class-wicked-common.php
- > /wp-content/plugins/wicked-folders/lib/class-wicked-folders-ajax.php
- > /wp-content/plugins/wicked-folders/lib/class-wicked-folders-admin.php
- > /wp-content/plugins/wicked-folders/lib/class-wicked-folders-screen-state.php
- > /wp-content/plugins/wicked-folders/wicked-folders.php
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Wicked_Folders_Dynamic_Folder' not found in wp-content/plugins/wicked-folders/lib/class-wicked-folders-date-dynamic-folder.php:6
- > PHP Fatal error
Uncaught Error: Class 'Wicked_Folders_Dynamic_Folder' not found in wp-content/plugins/wicked-folders/lib/class-wicked-folders-unassigned-dynamic-folder.php:6
- > PHP Fatal error
Uncaught Error: Class 'Wicked_Folders_Dynamic_Folder' not found in wp-content/plugins/wicked-folders/lib/class-wicked-folders-term-dynamic-folder.php:6
- > PHP Fatal error
Uncaught Error: Class 'Wicked_Folders_Folder' not found in wp-content/plugins/wicked-folders/lib/class-wicked-folders-term-folder.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wicked-folders/admin-templates/settings-page-general.php:3
- > PHP Fatal error
Uncaught Error: Class 'Wicked_Folders_Dynamic_Folder' not found in wp-content/plugins/wicked-folders/lib/class-wicked-folders-post-hierarchy-dynamic-folder.php:8
- > PHP Fatal error
Uncaught Error: Class 'Wicked_Folders_Dynamic_Folder' not found in wp-content/plugins/wicked-folders/lib/class-wicked-folders-author-dynamic-folder.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wicked-folders/admin-templates/object-folder-pane.php:7
- > PHP Fatal error
Uncaught Error: Class 'Wicked_Folders_Folder' not found in wp-content/plugins/wicked-folders/lib/class-wicked-folders-dynamic-folder.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wicked-folders/admin-templates/folder-page.php:3
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: tree view, folders, custom post type organization, page organization, media library folders...
wicked-folders/wicked-folders.php Passed 13 tests
"Wicked Folders" version 2.18.19's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
33 characters long description:
Organize your pages into folders.
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
Everything looks great! No dangerous files found in this plugin24,835 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 67 | 3,377 | 1,025 | 12,535 |
PHP | 20 | 995 | 1,079 | 5,097 |
CSS | 5 | 441 | 232 | 4,532 |
SVG | 1 | 0 | 0 | 2,671 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 39.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 264.00 |
Average method complexity | 4.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 2 | 13.33% |
▷ Concrete classes | 13 | 86.67% |
▷ Final classes | 5 | 38.46% |
Methods | 159 | |
▷ Static methods | 49 | 30.82% |
▷ Public methods | 147 | 92.45% |
▷ Protected methods | 1 | 0.63% |
▷ Private methods | 11 | 6.92% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wicked-plugins-logo.png | 40.87KB | 12.55KB | ▼ 69.29% |