Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼9.74ms] Passed 4 tests
Analyzing server-side resources used by Hero Banner Ultimate
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 50.34 ▼6.72 |
Dashboard /wp-admin | 3.47 ▲0.13 | 47.59 ▼19.23 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 55.75 ▲4.44 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 94.17 ▼10.84 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 39.56 ▼2.17 |
Hero Banner /wp-admin/edit.php?post_type=hbupro_banner | 3.44 | 36.06 |
Add Hero Banner /wp-admin/post-new.php?post_type=hbupro_banner | 3.74 | 51.43 |
Upgrade to PRO /wp-admin/edit.php?post_type=hbupro_banner&page=hbu-premium | 3.37 | 36.31 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Hero Banner Ultimate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 14.67 ▲0.09 | 1.72 ▼0.11 | 40.29 ▼3.64 |
Dashboard /wp-admin | 2,224 ▲47 | 5.60 ▲0.03 | 94.59 ▼12.79 | 43.56 ▼5.44 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 1.94 ▼0.05 | 36.25 ▼2.94 | 31.22 ▼4.73 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.08 ▼0.06 | 654.11 ▼15.60 | 48.31 ▼20.55 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.23 ▲0.12 | 103.40 ▼13.63 | 44.98 ▼3.42 |
Hero Banner /wp-admin/edit.php?post_type=hbupro_banner | 1,136 | 2.22 | 40.03 | 32.33 |
Add Hero Banner /wp-admin/post-new.php?post_type=hbupro_banner | 3,801 | 7.78 | 214.85 | 81.24 |
Upgrade to PRO /wp-admin/edit.php?post_type=hbupro_banner&page=hbu-premium | 1,086 | 1.93 | 30.10 | 38.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/hero-banner-ultimate/hero-banner-ultimate.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in hero-banner-ultimate/assets to your readme.txt
hero-banner-ultimate/hero-banner-ultimate.php Passed 13 tests
The primary PHP file in "Hero Banner Ultimate" version 1.4 is used by WordPress to initiate all plugin functionality
132 characters long description:
Add hero banner with the help of background image OR background color OR background video. Also work with Gutenberg shortcode block.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,001 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 192 | 286 | 1,119 |
JavaScript | 4 | 205 | 139 | 721 |
CSS | 3 | 34 | 29 | 161 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
No PNG files were detected