Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.57ms] Passed 4 tests
Server-side resources used by Hype Theme Band Add-on
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.79 ▼1.20 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.31 ▲1.64 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.75 ▼11.21 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 80.06 ▼9.87 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.29 ▼4.01 |
Add New /wp-admin/post-new.php?post_type=tour | 3.38 | 43.85 |
Tour Dates /wp-admin/edit.php?post_type=tour | 3.30 | 37.94 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Hype Theme Band Add-on: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.72 ▲0.51 | 1.61 ▲0.14 | 44.21 ▼3.23 |
Dashboard /wp-admin | 2,225 ▲44 | 5.65 ▼0.03 | 95.22 ▼6.77 | 43.57 ▲3.40 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.03 ▲0.02 | 34.69 ▼7.93 | 34.46 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.07 ▼0.33 | 676.40 ▲0.57 | 51.15 ▼14.51 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.10 ▼0.08 | 98.50 ▼10.38 | 40.62 ▼4.56 |
Add New /wp-admin/post-new.php?post_type=tour | 2,238 | 7.64 | 192.34 | 68.39 |
Tour Dates /wp-admin/edit.php?post_type=tour | 1,140 | 1.93 | 31.22 | 31.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/hype-band-add-on/hype-band-addon.php:21
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: hype, startbox, addon, child
hype-band-add-on/hype-band-addon.php 92% from 13 tests
The main file in "Hype Theme Band Add-on" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("hype-band-add-on.php" instead of "hype-band-addon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected115 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 46 | 115 |
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.34 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin