Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▲2.61ms] Passed 4 tests
This is a short check of server-side resources used by White Label - WordPress Custom Admin, Custom Login Page, and Custom Dashboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 41.62 ▲6.53 |
Dashboard /wp-admin | 3.66 ▲0.35 | 49.00 ▼0.36 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 52.70 ▲6.90 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 106.98 ▲3.20 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 37.66 ▲1.07 |
White Label /wp-admin/options-general.php?page=white-label | 3.85 | 53.34 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 14 new options
New WordPress options |
---|
white_label_upgrade |
white_label_login |
widget_recent-comments |
white_label_front_end |
theysaidso_admin_options |
white_label_general |
db_upgraded |
white_label_menus_plugins |
white_label_visual_tweaks |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for White Label - WordPress Custom Admin, Custom Login Page, and Custom Dashboard
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲37 | 14.67 ▼0.06 | 1.70 ▲0.07 | 45.58 ▲1.38 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.01 | 90.74 ▼10.84 | 39.47 ▼7.43 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.03 | 40.39 ▲5.44 | 35.25 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.26 ▲0.10 | 603.19 ▼102.05 | 49.75 ▲3.91 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.13 ▼0.05 | 101.67 ▼8.70 | 43.27 ▼4.59 |
White Label /wp-admin/options-general.php?page=white-label | 3,986 | 8.77 | 330.28 | 84.94 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 14 options in the database
- white_label_login
- white_label_upgrade
- white_label_import_export
- white_label_dashboard
- white_label_general
- white_label_front_end
- widget_recent-comments
- white_label_visual_tweaks
- white_label_menus_plugins
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/white-label/admin/functions.php:90
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/white-label/migration.php:171
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: white label, login page, custom login, custom dashboard, custom admin
white-label/white-label.php Passed 13 tests
The main PHP file in "White Label - WordPress Custom Admin, Custom Login Page, and Custom Dashboard" ver. 2.9.1 adds more information about the plugin and also serves as the entry point for this plugin
60 characters long description:
White Label WordPress and make life easier for your clients.
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
No dangerous file extensions were detected2,970 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 487 | 761 | 2,618 |
CSS | 2 | 63 | 9 | 248 |
JavaScript | 2 | 18 | 9 | 104 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 29.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 68 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 43 | |
▷ Named functions | 42 | 97.67% |
▷ Anonymous functions | 1 | 2.33% |
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
There were not PNG files found in your plugin