Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▲2.08ms] Passed 4 tests
Analyzing server-side resources used by BrandNestor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 43.96 ▲2.51 |
Dashboard /wp-admin | 3.50 ▲0.19 | 56.00 ▲1.66 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 50.25 ▲2.79 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 101.70 ▲10.20 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.59 ▲1.37 |
Export Settings /wp-admin/admin.php?page=brandnestor_export | 3.18 | 25.03 |
Import Settings /wp-admin/admin.php?page=brandnestor_import | 3.37 | 34.33 |
BrandNestor Templates /wp-admin/edit.php?post_type=brandnestor_template | 3.40 | 42.21 |
Settings /wp-admin/admin.php?page=brandnestor | 3.67 | 54.98 |
Server storage [IO: ▲1.86MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 91 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
brandnestor_superadmin |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for BrandNestor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲71 | 14.47 ▲0.20 | 2.23 ▲0.26 | 42.74 ▼5.62 |
Dashboard /wp-admin | 2,257 ▲86 | 5.59 ▼0.07 | 98.82 ▼4.85 | 40.57 ▼5.36 |
Posts /wp-admin/edit.php | 2,162 ▲59 | 2.02 ▼0.00 | 35.88 ▼15.57 | 29.71 ▼19.50 |
Add New Post /wp-admin/post-new.php | 6,394 ▲4,857 | 27.69 ▲9.48 | 873.33 ▲217.62 | 65.41 ▼4.16 |
Media Library /wp-admin/upload.php | 1,462 ▲59 | 4.19 ▲0.01 | 97.69 ▼9.54 | 44.07 ▼3.59 |
Export Settings /wp-admin/admin.php?page=brandnestor_export | 11 | 0.42 | 0.00 | 0.00 |
Import Settings /wp-admin/admin.php?page=brandnestor_import | 867 | 1.68 | 26.07 | 29.86 |
BrandNestor Templates /wp-admin/edit.php?post_type=brandnestor_template | 1,126 | 1.96 | 31.99 | 28.94 |
Settings /wp-admin/admin.php?page=brandnestor | 3,432 | 5.40 | 96.29 | 93.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 23× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Brandnestor\\Admin\\Settings\\SettingsField' not found in wp-content/plugins/brandnestor/src/Admin/Settings/SettingsCheckboxesField.php:23
- > PHP Fatal error
Uncaught Error: Class 'Brandnestor\\Widgets\\Base_Form' not found in wp-content/plugins/brandnestor/src/Widgets/Login.php:23
- > PHP Fatal error
Uncaught Error: Class 'Brandnestor\\Admin\\Settings\\SettingsField' not found in wp-content/plugins/brandnestor/src/Admin/Settings/SettingsCodeEditorField.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/brandnestor/includes/pro-page.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/brandnestor/includes/register-form.php:28
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/brandnestor/src/Widgets/Base_Form.php:23
- > PHP Fatal error
Uncaught Error: Class 'Brandnestor\\Admin\\Settings\\SettingsTextField' not found in wp-content/plugins/brandnestor/src/Admin/Settings/SettingsImageField.php:23
- > PHP Fatal error
Uncaught Error: Class 'Brandnestor\\Utilities\\BaseController' not found in wp-content/plugins/brandnestor/src/Front/Front.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/brandnestor/includes/settings-import-page.php:25
- > PHP Fatal error
Uncaught Error: Class 'Brandnestor\\Admin\\Settings\\SettingsField' not found in wp-content/plugins/brandnestor/src/Admin/Settings/SettingsTextField.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: whitelabel, elementor, branding, white label, custom login...
brandnestor/brandnestor.php Passed 13 tests
The main file in "BrandNestor" v. 2.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
66 characters long description:
Customize the WordPress dashboard, login/register pages, and more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin43,341 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 37,053 |
PHP | 52 | 977 | 2,174 | 4,182 |
JavaScript | 15 | 122 | 30 | 854 |
CSS | 6 | 131 | 9 | 618 |
PO File | 1 | 199 | 257 | 577 |
Markdown | 1 | 31 | 0 | 49 |
SVG | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 37 | |
▷ Abstract classes | 3 | 8.11% |
▷ Concrete classes | 34 | 91.89% |
▷ Final classes | 4 | 11.76% |
Methods | 255 | |
▷ Static methods | 38 | 14.90% |
▷ Public methods | 217 | 85.10% |
▷ Protected methods | 18 | 7.06% |
▷ Private methods | 20 | 7.84% |
Functions | 11 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 11 | 100.00% |
Constants | 12 | |
▷ Global constants | 7 | 58.33% |
▷ Class constants | 5 | 41.67% |
▷ Public constants | 5 | 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
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/logo_150.png | 13.84KB | 5.08KB | ▼ 63.29% |
assets/image/logo_full.png | 34.51KB | 19.03KB | ▼ 44.85% |