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: ▼284.62ms] Passed 4 tests
This is a short check of server-side resources used by Hueman Addons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.35 | 70.69 ▲17.34 |
Dashboard /wp-admin | 3.52 ▲0.11 | 38.20 ▲3.81 |
Posts /wp-admin/edit.php | 4.00 ▲0.36 | 50.06 ▲7.00 |
Add New Post /wp-admin/post-new.php | 7.04 ▲0.07 | 112.09 ▼1,146.01 |
Media Library /wp-admin/upload.php | 3.46 ▲0.17 | 27.11 ▼3.27 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 4.85 | 103.68 |
Server storage [IO: ▲6.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 114 new files
Database: no new tables, 5 new options
New WordPress options |
---|
hu_contx_theme_mods_synced_for_stylesheet |
hu_contx_update_decemb_2018_status |
widget_recent-comments |
widget_recent-posts |
hu_theme_mods_april_2020_backup |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hueman Addons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,791 ▲36 | 15.86 ▲0.26 | 5.70 ▼0.22 | 2.59 ▲0.07 |
Dashboard /wp-admin | 2,908 ▲47 | 6.13 ▼0.09 | 128.06 ▼10.54 | 173.28 ▼62.49 |
Posts /wp-admin/edit.php | 2,704 ▲13 | 3.23 ▲0.00 | 64.31 ▼0.46 | 140.75 ▼12.77 |
Add New Post /wp-admin/post-new.php | 1,671 ▲10 | 15.58 ▼0.85 | 426.35 ▲38.96 | 208.03 ▲7.69 |
Media Library /wp-admin/upload.php | 1,714 ▲22 | 5.51 ▲0.01 | 139.74 ▼4.14 | 263.09 ▲28.38 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 7,560 | 19.20 | 560.90 | 306.56 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 5 options in the database
- widget_recent-comments
- hu_theme_mods_april_2020_backup
- widget_recent-posts
- hu_contx_update_decemb_2018_status
- hu_contx_theme_mods_synced_for_stylesheet
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-includes/class-wp-customize-nav-menus.php+1152
Trying to get property 'title' of non-object
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/hueman-addons/addons/assets/front/js/sharrre.php
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function hueman_skp\\did_action() in wp-content/plugins/hueman-addons/inc/czr-skope/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/hueman-addons/addons/ha-init.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/hueman-addons/contextualizer/customizer/contx_setting_class.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/hueman-addons/ha-fire.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hueman-addons/addons/ha-backward-compatibility-after-setup-theme-40.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hueman-addons/addons/admin/ha-hs-doc.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/hueman-addons/addons/sharrre/sharrre-template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/hueman-addons/addons/shortcodes/shortcodes.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/hueman-addons/addons/czr/skop-customizer-augment-setting.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function hu_czr_fmk\\did_action() in wp-content/plugins/hueman-addons/inc/czr-base-fmk/czr-base-fmk.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: customizer, hueman theme, contextualizer, hueman
hueman-addons/ha-fire.php 92% from 13 tests
The main PHP file in "Hueman Addons" ver. 2.3.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("hueman-addons.php" instead of "ha-fire.php")
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
Everything looks great! No dangerous files found in this plugin51,160 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 27 | 5,229 | 8,674 | 23,046 |
CSS | 27 | 4,064 | 882 | 13,768 |
SVG | 3 | 0 | 0 | 9,546 |
PHP | 18 | 985 | 1,897 | 4,598 |
PO File | 1 | 81 | 85 | 202 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 26.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 5.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 6 | 25.00% |
Methods | 127 | |
▷ Static methods | 4 | 3.15% |
▷ Public methods | 121 | 95.28% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 4.72% |
Functions | 74 | |
▷ Named functions | 73 | 98.65% |
▷ Anonymous functions | 1 | 1.35% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/czr-base-fmk/assets/css/img/grey.png | 1.48KB | 1.65KB | 0.00% |
addons/assets/czr/img/slide-placeholder.png | 1.26KB | 0.33KB | ▼ 73.70% |
addons/assets/czr/css/img/jquery.fs.selecter-arrow.png | 0.24KB | 0.12KB | ▼ 48.36% |
inc/czr-base-fmk/assets/css/img/fs-sprite.png | 1.07KB | 0.18KB | ▼ 82.82% |
addons/assets/czr/css/img/jquery.fs.stepper-arrows.png | 0.30KB | 0.18KB | ▼ 40.52% |