Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▲1.83ms] Passed 4 tests
An overview of server-side resources used by Standout Color Boxes and Buttons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 52.86 ▲11.84 |
Dashboard /wp-admin | 3.49 ▲0.19 | 53.43 ▲8.39 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 51.95 ▲2.35 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 83.39 ▼8.11 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.53 ▲4.69 |
Standout Color Boxes and Buttons /wp-admin/options-general.php?page=standout-color-boxes-and-buttons | 3.37 | 37.26 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
scbb |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Standout Color Boxes and Buttons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 14.78 ▲0.56 | 2.26 ▲0.25 | 47.62 ▲0.68 |
Dashboard /wp-admin | 2,207 ▲15 | 5.83 ▲0.89 | 104.51 ▼3.47 | 49.53 ▲2.53 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.06 ▲0.06 | 41.65 ▼0.47 | 40.06 ▲5.98 |
Add New Post /wp-admin/post-new.php | 1,542 ▲6 | 18.15 ▼4.90 | 699.37 ▲7.88 | 56.07 ▲1.08 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▲0.03 | 105.50 ▲4.17 | 48.16 ▲1.76 |
Standout Color Boxes and Buttons /wp-admin/options-general.php?page=standout-color-boxes-and-buttons | 1,213 | 2.36 | 48.79 | 55.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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
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 plugin_basename() in wp-content/plugins/standout-color-boxes-and-buttons/scbb.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: shortcode, color button, css, color box, button...
standout-color-boxes-and-buttons/scbb.php 92% from 13 tests
The main PHP script in "Standout Color Boxes and Buttons" version 0.7.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("standout-color-boxes-and-buttons.php" instead of "scbb.php")
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
There were no executable files found in this plugin737 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 88 | 686 |
CSS | 2 | 0 | 9 | 44 |
JavaScript | 2 | 0 | 0 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 29 | |
▷ Global constants | 29 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/support.png | 5.03KB | 2.79KB | ▼ 44.54% |
images/parameters.png | 3.48KB | 2.94KB | ▼ 15.45% |
images/colors.png | 0.52KB | 0.27KB | ▼ 48.22% |
images/examples.png | 3.78KB | 2.24KB | ▼ 40.82% |
images/settings.png | 2.11KB | 2.31KB | 0.00% |