Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲1.17MB] [CPU: ▲4.31ms] Passed 4 tests
A check of server-side resources used by Widgetize Pages Light
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.62 ▲1.16 | 48.15 ▲7.01 |
Dashboard /wp-admin | 4.48 ▲1.14 | 55.85 ▲0.47 |
Posts /wp-admin/edit.php | 4.60 ▲1.24 | 63.36 ▲16.87 |
Add New Post /wp-admin/post-new.php | 7.09 ▲1.21 | 97.68 ▼5.31 |
Media Library /wp-admin/upload.php | 4.42 ▲1.20 | 49.43 ▲15.06 |
Plugin Options /wp-admin/admin.php?page=otw-wpl-options | 4.38 | 43.89 |
Manage widget /wp-admin/admin.php?page=otw-wpl-action | 4.38 | 42.13 |
Sidebars /wp-admin/admin.php?page=otw-wpl | 4.42 | 43.15 |
otwfcr /wp-admin/admin.php?page=otwfcr | 4.38 | 41.70 |
Add Sidebar /wp-admin/admin.php?page=otw-wpl-add | 4.41 | 44.92 |
License Manager /wp-admin/admin.php?page=otw-wpl-lm | 4.44 | 256.56 |
Server storage [IO: ▲2.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 135 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
otw_widget_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Widgetize Pages Light
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲81 | 14.39 ▲0.10 | 1.80 ▲0.29 | 40.07 ▼1.02 |
Dashboard /wp-admin | 2,232 ▲55 | 5.82 ▲0.18 | 95.65 ▲4.64 | 75.49 ▲37.50 |
Posts /wp-admin/edit.php | 2,158 ▲61 | 2.29 ▲0.27 | 36.76 ▲0.32 | 31.61 ▼3.23 |
Add New Post /wp-admin/post-new.php | 6,459 ▲4,933 | 28.05 ▲4.99 | 948.82 ▲287.44 | 53.76 ▲2.26 |
Media Library /wp-admin/upload.php | 1,452 ▲58 | 4.50 ▲0.33 | 94.53 ▼7.27 | 71.77 ▲28.36 |
Plugin Options /wp-admin/admin.php?page=otw-wpl-options | 934 | 2.01 | 28.72 | 37.57 |
Manage widget /wp-admin/admin.php?page=otw-wpl-action | 720 | 1.45 | 11.37 | 16.43 |
Sidebars /wp-admin/admin.php?page=otw-wpl | 887 | 1.99 | 27.79 | 27.75 |
otwfcr /wp-admin/admin.php?page=otwfcr | 828 | 1.94 | 25.24 | 23.37 |
Add Sidebar /wp-admin/admin.php?page=otw-wpl-add | 971 | 1.99 | 27.60 | 29.42 |
License Manager /wp-admin/admin.php?page=otw-wpl-lm | 975 | 1.96 | 25.46 | 23.95 |
Uninstaller [IO: ▲0.14MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- otw_widget_settings
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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 | 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/widgetize-pages-light/include/otw_components/otw_factory/views/action_message.php
- 23× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/widgetize-pages-light/include/otw_labels/otw_sbm_factory_object.labels.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function otw_post() in wp-content/plugins/widgetize-pages-light/include/otw_process_actions.php:7
- > PHP Fatal error
Uncaught Error: Class 'OTW_Component' not found in wp-content/plugins/widgetize-pages-light/include/otw_components/otw_grid_manager/otw_grid_manager.class.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/widgetize-pages-light/include/otw_labels/otw_sbm_grid_manager_object.labels.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/widgetize-pages-light/include/otw_sidebar_options.php:9
- > PHP Fatal error
Uncaught Error: Class 'OTW_Component' not found in wp-content/plugins/widgetize-pages-light/include/otw_components/otw_shortcode/otw_shortcode.class.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/widgetize-pages-light/include/otw_manage_sidebar.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/widgetize-pages-light/include/otw_functions.php:163
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/widgetize-pages-light/include/otw_components/otw_factory/views/license_manager.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/widgetize-pages-light/include/otw_labels/otw_wpl_grid_manager_object.labels.php:2
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Create a custom sidebar(widget area)), #2 (Use OTW Grid Manager Light to create your custom page layout and insert the sidebars. Easy in no time!), #3 (Go to your widgets section (Appearance -> Widgets) and drop some widgets in your new sidebar), #4 (Get the shortcode), #5 (Insert Sidebar ShortCode button), #6 (Select sidebar to insert), #7 (Shortcode)
widgetize-pages-light/otw_sidebar_manager.php 92% from 13 tests
The main PHP script in "Widgetize Pages Light" version 3.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("widgetize-pages-light.php" instead of "otw_sidebar_manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin23,819 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 19 | 998 | 483 | 11,916 |
PHP | 35 | 1,794 | 1,054 | 6,200 |
JavaScript | 8 | 992 | 26 | 3,002 |
SVG | 3 | 0 | 0 | 2,701 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 97.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 193.00 |
Average method complexity | 5.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 172 | |
▷ Static methods | 17 | 9.88% |
▷ Public methods | 133 | 77.33% |
▷ Protected methods | 27 | 15.70% |
▷ Private methods | 12 | 6.98% |
Functions | 61 | |
▷ Named functions | 61 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
49 PNG files occupy 0.44MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/otw_components/otw_grid_manager_light/img/gm-clone.png | 0.21KB | 0.24KB | 0.00% |
screenshot-4.png | 47.62KB | 16.62KB | ▼ 65.09% |
include/otw_components/otw_form/img/select.png | 0.20KB | 0.27KB | 0.00% |
include/otw_components/otw_grid_manager/img/gm-edit.png | 0.31KB | 0.38KB | 0.00% |
include/otw_components/otw_form/img/colorpicker/select.png | 3.20KB | 0.46KB | ▼ 85.54% |