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.12MB] [CPU: ▼3.82ms] Passed 4 tests
This is a short check of server-side resources used by Button Group
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 44.45 ▼0.20 |
Dashboard /wp-admin | 3.42 ▲0.11 | 62.92 ▲4.25 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 53.54 ▼3.72 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 97.25 ▼11.77 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 39.00 ▲0.43 |
Server storage [IO: ▲8.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Button Group
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.30 ▼0.28 | 1.80 ▼0.18 | 45.51 ▲1.76 |
Dashboard /wp-admin | 2,195 ▲18 | 5.67 ▼0.02 | 94.46 ▼3.75 | 42.12 ▼3.17 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.04 ▲0.03 | 34.29 ▼3.87 | 36.29 ▼0.14 |
Add New Post /wp-admin/post-new.php | 1,666 ▲140 | 24.81 ▲7.26 | 651.31 ▼62.23 | 36.90 ▼8.98 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.25 ▲0.03 | 95.55 ▼25.32 | 46.67 ▼6.43 |
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
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
8 plugin tags: gutenberg blocks, blocks, block, button group, gutenberg...
button-group/button-group.php Passed 13 tests
The entry point to "Button Group" version 1.2.5 is a PHP file that has certain tags in its header comment area
41 characters long description:
Create Two Buttons To Be Stacked Together
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin17,977 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 12,231 |
CSS | 6 | 1,503 | 48 | 5,075 |
PHP | 9 | 108 | 129 | 597 |
JavaScript | 4 | 11 | 4 | 65 |
JSON | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 5.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 26 | |
▷ Static methods | 10 | 38.46% |
▷ Public methods | 22 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 15.38% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin