Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼300.12ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Addons for SiteOrigin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.10 | 53.13 ▲2.09 |
Dashboard /wp-admin | 3.45 ▲0.04 | 34.52 ▼0.15 |
Posts /wp-admin/edit.php | 3.67 ▲0.04 | 37.28 ▼1.68 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 95.18 ▼1,197.21 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 25.03 ▼1.42 |
Server storage [IO: ▲3.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 408 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Addons for SiteOrigin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,796 ▲52 | 15.66 ▼0.41 | 7.55 ▲1.55 | 2.33 ▲0.05 |
Dashboard /wp-admin | 2,881 ▲30 | 6.15 ▼0.03 | 121.54 ▼19.28 | 156.23 ▼4.94 |
Posts /wp-admin/edit.php | 2,685 ▼9 | 3.24 ▲0.01 | 61.12 ▼2.31 | 141.49 ▼3.38 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 16.10 ▼5.08 | 422.27 ▲12.14 | 156.09 ▼4.72 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.50 ▼0.02 | 147.67 ▲9.02 | 185.85 ▼3.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 61× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/addon-so-widgets-bundle/extra-widgets/toggles/toggles.php:10
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/addon-so-widgets-bundle/extra-widgets/tabs/tabs.php:10
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Select' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/addon-so-widgets-bundle/extra-widgets/faqs/faqs.php:10
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/addon-so-widgets-bundle/cmb/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
addon-so-widgets-bundle/addon-so-widgets-bundle.php Passed 13 tests
The principal PHP file in "Ultimate Addons for SiteOrigin" v. 2.4.2 is loaded by WordPress automatically on each request
87 characters long description:
An ultimate collection of addons for SiteOrigin. SiteOrigin Widgets Bundle is required.
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
Success! There were no dangerous files found in this plugin54,578 lines of code in 262 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 78 | 2,685 | 6,385 | 9,085 |
CSS | 14 | 284 | 1,232 | 4,673 |
JSON | 2 | 0 | 0 | 4,264 |
JavaScript | 9 | 361 | 591 | 1,525 |
Sass | 17 | 305 | 25 | 1,408 |
Markdown | 2 | 217 | 0 | 652 |
LESS | 10 | 105 | 4 | 390 |
SVG | 10 | 0 | 10 | 258 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 16.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 78 | |
▷ Abstract classes | 9 | 11.54% |
▷ Concrete classes | 69 | 88.46% |
▷ Final classes | 0 | 0.00% |
Methods | 571 | |
▷ Static methods | 86 | 15.06% |
▷ Public methods | 478 | 83.71% |
▷ Protected methods | 90 | 15.76% |
▷ Private methods | 3 | 0.53% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.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
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cmb/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
cmb/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
cmb/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |