Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.40MB] [CPU: ▲22.14ms] Passed 4 tests
This is a short check of server-side resources used by White Label Megapack Branding
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.59 ▲1.12 | 53.61 ▲7.83 |
Dashboard /wp-admin | 4.88 ▲1.57 | 81.89 ▲31.23 |
Posts /wp-admin/edit.php | 4.94 ▲1.58 | 75.11 ▲29.76 |
Add New Post /wp-admin/post-new.php | 7.32 ▲1.43 | 114.53 ▲19.86 |
Media Library /wp-admin/upload.php | 4.70 ▲1.47 | 66.92 ▲31.11 |
Posts /wp-admin/admin.php?page=white-label-megapack-branding&tab=post-settings | 4.75 | 62.31 |
Header Footer /wp-admin/admin.php?page=white-label-megapack-branding&tab=header-footer-admin-wordpress-settings | 4.79 | 73.73 |
Media /wp-admin/admin.php?page=white-label-megapack-branding&tab=media-settings | 4.74 | 66.83 |
Coming Soon /wp-admin/admin.php?page=white-label-megapack-branding&tab=coming-soon | 4.80 | 72.47 |
Comments /wp-admin/admin.php?page=white-label-megapack-branding&tab=comments-settings | 4.73 | 61.47 |
Manager Website Role /wp-admin/admin.php?page=white-label-megapack-branding&tab=managerwebsite-access | 4.74 | 63.98 |
Admin Bar Detect /wp-admin/admin.php?page=white-label-megapack-branding?=auto-detect-admin-bar | 4.80 | 62.10 |
Login Page /wp-admin/admin.php?page=white-label-megapack-branding&tab=login-settings | 4.79 | 68.60 |
Cookie Bar /wp-admin/admin.php?page=white-label-megapack-branding&tab=cookie-bar-settings | 4.74 | 63.46 |
Custom Code /wp-admin/admin.php?page=white-label-megapack-branding&tab=custom-code | 4.73 | 71.14 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 71 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_wlmpb_rrurlsredirect |
New WordPress options |
---|
theysaidso_admin_options |
wlmpb_login_logo_title |
db_upgraded |
wlmpb_custom_widget_count |
wlmpb_custom_widget |
widget_recent-comments |
wlmpb_under_construction_body |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
White Label Megapack Branding: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,078 ▲317 | 15.09 ▲0.71 | 1.77 ▲0.13 | 39.87 ▲0.50 |
Dashboard /wp-admin | 2,476 ▲295 | 6.41 ▲0.70 | 125.16 ▲24.48 | 45.69 ▲3.99 |
Posts /wp-admin/edit.php | 2,391 ▲291 | 3.70 ▲1.71 | 62.63 ▲28.81 | 39.83 ▲2.37 |
Add New Post /wp-admin/post-new.php | 1,484 ▼42 | 21.69 ▼1.72 | 513.23 ▼133.05 | 33.26 ▼25.49 |
Media Library /wp-admin/upload.php | 1,534 ▲137 | 4.36 ▲0.11 | 95.46 ▼4.02 | 46.25 ▲2.39 |
Posts /wp-admin/admin.php?page=white-label-megapack-branding&tab=post-settings | 1,591 | 3.38 | 44.28 | 65.99 |
Header Footer /wp-admin/admin.php?page=white-label-megapack-branding&tab=header-footer-admin-wordpress-settings | 2,878 | 7.34 | 174.48 | 84.18 |
Media /wp-admin/admin.php?page=white-label-megapack-branding&tab=media-settings | 1,377 | 3.39 | 75.71 | 37.98 |
Coming Soon /wp-admin/admin.php?page=white-label-megapack-branding&tab=coming-soon | 2,873 | 8.04 | 202.81 | 67.65 |
Comments /wp-admin/admin.php?page=white-label-megapack-branding&tab=comments-settings | 1,331 | 3.48 | 43.17 | 85.06 |
Manager Website Role /wp-admin/admin.php?page=white-label-megapack-branding&tab=managerwebsite-access | 1,461 | 3.44 | 41.32 | 80.44 |
Admin Bar Detect /wp-admin/admin.php?page=white-label-megapack-branding?=auto-detect-admin-bar | 1,972 | 3.23 | 66.89 | 41.11 |
Login Page /wp-admin/admin.php?page=white-label-megapack-branding&tab=login-settings | 2,383 | 7.51 | 187.09 | 62.14 |
Cookie Bar /wp-admin/admin.php?page=white-label-megapack-branding&tab=cookie-bar-settings | 1,810 | 3.99 | 103.97 | 40.31 |
Custom Code /wp-admin/admin.php?page=white-label-megapack-branding&tab=custom-code | 1,362 | 3.41 | 43.39 | 48.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 12 options
- can_compress_scripts
- wlmpb_login_logo_url
- widget_theysaidso_widget
- wlmpb_login_logo_title
- wlmpb_under_construction_title
- wlmpb_custom_widget_count
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- wlmpb_under_construction_body
- ...
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)
Good news, no errors were detected
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/white-label-megapack-branding/white-label-megapack-branding.php
- 42× 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 add_action() in wp-content/plugins/white-label-megapack-branding/include/functions/custom-code/custom-code.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/white-label-megapack-branding/admin/settings/google-recaptcha-settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/white-label-megapack-branding/admin/admin-pages/admin-bar.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/white-label-megapack-branding/admin/settings/comments-settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/white-label-megapack-branding/include/functions/header-footer/header-footer.php:12
- > PHP Fatal error
Uncaught Error: Class 'Peace_Admin_Page' not found in wp-content/plugins/white-label-megapack-branding/admin/admin-menu.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/white-label-megapack-branding/admin/settings/custom-code.php:6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/white-label-megapack-branding/admin/add-custom-page/include/pages.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/white-label-megapack-branding/admin/add-custom-page/custom-admin-page.php:222
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/white-label-megapack-branding/admin/settings/main.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: white label, branding, custom admin, manager website
white-label-megapack-branding/white-label-megapack-branding.php 92% from 13 tests
"White Label Megapack Branding" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 222 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin9,966 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 2,113 | 1,133 | 8,073 |
CSS | 8 | 49 | 22 | 1,414 |
JavaScript | 5 | 95 | 91 | 479 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 21.73 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 3 | 3.37% |
▷ Public methods | 77 | 86.52% |
▷ Protected methods | 4 | 4.49% |
▷ Private methods | 8 | 8.99% |
Functions | 176 | |
▷ Named functions | 175 | 99.43% |
▷ Anonymous functions | 1 | 0.57% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.35MB with 0.27MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/settings/assets/white-label-megapack-branding-Logo.png | 120.90KB | 30.15KB | ▼ 75.07% |
admin/admin-pages/assets/white-label-megapack-branding-Logo.png | 120.90KB | 30.15KB | ▼ 75.07% |
admin/add-custom-page/assets/white-label-megapack-branding-Logo.png | 120.90KB | 30.15KB | ▼ 75.07% |