Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/remove-yellow-bgbox/admin/settings.php+39
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.90ms] Passed 4 tests
This is a short check of server-side resources used by Remove Yellow BGBOX
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.88 ▼4.28 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.10 ▼2.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.69 ▼4.19 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.61 ▼4.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.94 ▼1.01 |
RYBB /wp-admin/admin.php?page=rybb_api_endpoints | 3.24 | 31.14 |
Settings /wp-admin/admin.php?page=rybb_api_settings | 3.25 | 32.46 |
Walk Through /wp-admin/admin.php?page=rybb_api_walk_help | 3.23 | 29.35 |
Server storage [IO: ▲1.40MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
rybb_settings_meta |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Remove Yellow BGBOX
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲184 | 14.02 ▼0.36 | 5.44 ▲3.56 | 43.02 ▼0.79 |
Dashboard /wp-admin | 2,230 ▲39 | 5.91 ▲1.04 | 103.89 ▼13.53 | 81.02 ▲38.57 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.11 ▲0.11 | 35.96 ▼0.13 | 34.88 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,561 ▲42 | 23.16 ▼0.23 | 781.82 ▲147.73 | 54.98 ▼13.47 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.27 ▲0.07 | 110.07 ▲15.00 | 83.89 ▲43.75 |
RYBB /wp-admin/admin.php?page=rybb_api_endpoints | 872 | 1.71 | 25.11 | 62.82 |
Settings /wp-admin/admin.php?page=rybb_api_settings | 876 | 1.89 | 25.34 | 53.21 |
Walk Through /wp-admin/admin.php?page=rybb_api_walk_help | 823 | 1.75 | 24.66 | 28.31 |
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 did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (General Information For "Remove Yellow BGBOX"), #2 (Settings Enable the wordpress Open Comment Links in New Window - target _blank set), #3 (Help / Walk Through (Overview - Remove Yellow BGBOX))
- Tags: You are using too many tags: 13 tag instead of maximum 10
remove-yellow-bgbox/remove-yellow-bgbox.php 92% from 13 tests
The primary PHP file in "Remove Yellow BGBOX" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected11,006 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 32 | 22 | 3,746 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
JavaScript | 2 | 228 | 63 | 634 |
PHP | 20 | 115 | 82 | 429 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 1.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 2 | 9.52% |
▷ Public methods | 17 | 80.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 19.05% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
5 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/menu_icon.png | 0.70KB | 0.58KB | ▼ 17.34% |
admin/img/remove-yellow-bgbox.png | 37.52KB | 14.80KB | ▼ 60.55% |
admin/img/rybb.png | 0.93KB | 0.89KB | ▼ 3.99% |
admin/img/geometry2.png | 2.09KB | 2.44KB | 0.00% |
admin/img/remove-yellow-bgbox-2.png | 36.09KB | 12.83KB | ▼ 64.43% |