Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.54MB] [CPU: ▼2.12ms] Passed 4 tests
Analyzing server-side resources used by Best Configuration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.52 | 46.79 ▲6.56 |
Dashboard /wp-admin | 3.89 ▲0.55 | 53.08 ▲1.46 |
Posts /wp-admin/edit.php | 3.94 ▲0.55 | 55.77 ▼1.43 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.55 | 96.74 ▼11.82 |
Media Library /wp-admin/upload.php | 3.82 ▲0.55 | 40.84 ▲3.33 |
Dashboard /wp-admin/admin.php?page=bestconfiguration_1 | 3.98 | 36.70 |
Widgets /wp-admin/admin.php?page=bestconfiguration_4 | 3.97 | 39.95 |
General /wp-admin/admin.php?page=best_configuration_slug_menu | 3.98 | 38.56 |
Comments /wp-admin/admin.php?page=bestconfiguration_2 | 3.97 | 37.95 |
Posts /wp-admin/admin.php?page=bestconfiguration_3 | 3.98 | 39.12 |
Server storage [IO: ▲6.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 163 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
best_configuration_slug |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Best Configuration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.72 ▲0.37 | 1.74 ▲0.10 | 40.90 ▼4.78 |
Dashboard /wp-admin | 2,228 ▲51 | 5.56 ▼0.12 | 87.48 ▼2.45 | 37.81 ▼4.70 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.02 ▲0.03 | 35.13 ▼3.95 | 32.42 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 21.83 ▼1.71 | 676.66 ▲11.87 | 56.56 ▲0.68 |
Media Library /wp-admin/upload.php | 1,439 ▲36 | 4.18 ▲0.01 | 113.23 ▲7.71 | 47.54 ▲2.52 |
Dashboard /wp-admin/admin.php?page=bestconfiguration_1 | 1,102 | 2.01 | 24.21 | 33.34 |
Widgets /wp-admin/admin.php?page=bestconfiguration_4 | 884 | 2.01 | 23.80 | 28.89 |
General /wp-admin/admin.php?page=best_configuration_slug_menu | 955 | 2.04 | 25.36 | 30.18 |
Comments /wp-admin/admin.php?page=bestconfiguration_2 | 906 | 2.04 | 31.89 | 39.06 |
Posts /wp-admin/admin.php?page=bestconfiguration_3 | 1,148 | 2.00 | 23.18 | 30.07 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- best_configuration_slug
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 28× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'BestConfiguration\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/best-configuration/vendor/wpbones/wpbones/src/Html/HtmlTagInput.php:5
- > PHP Fatal error
Uncaught Error: Class 'BestConfiguration\\WPBones\\Html\\HtmlTagInput' not found in wp-content/plugins/best-configuration/vendor/wpbones/wpbones/src/Html/HtmlTagCheckbox.php:5
- > PHP Fatal error
Uncaught Error: Class 'BestConfiguration\\WPBones\\Support\\ServiceProvider' not found in wp-content/plugins/best-configuration/plugin/Providers/BestConfigurationProvider.php:7
- > PHP Fatal error
Uncaught Error: Class 'BestConfiguration\\Providers\\BestConfigurationController' not found in wp-content/plugins/best-configuration/plugin/Providers/BestConfigurationManager.php:5
- > PHP Fatal error
Uncaught Error: Class 'BestConfiguration\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/best-configuration/vendor/wpbones/wpbones/src/Html/HtmlTagLabel.php:5
- > PHP Fatal error
Uncaught Error: Class 'BestConfiguration\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/best-configuration/vendor/wpbones/wpbones/src/Html/HtmlTagOptGroup.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function flush_rewrite_rules() in wp-content/plugins/best-configuration/plugin/deactivation.php:13
- > PHP Fatal error
Uncaught Error: Class 'BestConfiguration\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/best-configuration/vendor/wpbones/wpbones/src/Html/HtmlTagButton.php:5
- > PHP Fatal error
Uncaught Error: Class 'BestConfiguration\\WPBones\\Html\\HtmlTag' not found in wp-content/plugins/best-configuration/vendor/wpbones/wpbones/src/Html/HtmlTagSelect.php:7
- > PHP Fatal error
Uncaught Error: Class 'BestConfiguration\\WPBones\\Foundation\\WordPressAjaxServiceProvider' not found in wp-content/plugins/best-configuration/plugin/Ajax/BestConfigurationAjax.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: settings, rest api, dashboard, backend, json...
best-configuration/index.php 77% from 13 tests
Analyzing the main PHP file in "Best Configuration" version 0.7.0
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("best-configuration.php" instead of "index.php")
- Domain Path: Please prefix the domain path with a forward slash character ("/localization")
- Domain Path: Use only dashes and lowercase characters for the domain path ("localization")
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
Good job! No executable or dangerous file extensions detected7,014 lines of code in 124 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 85 | 1,343 | 2,254 | 5,187 |
CSS | 15 | 11 | 19 | 501 |
Markdown | 7 | 165 | 0 | 387 |
LESS | 5 | 56 | 18 | 360 |
JSON | 5 | 0 | 0 | 272 |
PO File | 2 | 113 | 196 | 217 |
JavaScript | 5 | 22 | 13 | 90 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 9.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 10 | 19.61% |
▷ Concrete classes | 41 | 80.39% |
▷ Final classes | 0 | 0.00% |
Methods | 282 | |
▷ Static methods | 58 | 20.57% |
▷ Public methods | 228 | 80.85% |
▷ Protected methods | 44 | 15.60% |
▷ Private methods | 10 | 3.55% |
Functions | 42 | |
▷ Named functions | 14 | 33.33% |
▷ Anonymous functions | 28 | 66.67% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
9 compressed PNG files occupy 0.36MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 16.18KB | 16.65KB | 0.00% |
assets/icon-256x256.png | 4.41KB | 4.67KB | 0.00% |
assets/screenshot-2.png | 26.55KB | 27.39KB | 0.00% |
assets/screenshot-4.png | 13.30KB | 13.77KB | 0.00% |
assets/screenshot-1.png | 10.18KB | 10.09KB | ▼ 0.83% |