Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.02ms] Passed 4 tests
Analyzing server-side resources used by Big Boom Initialize WP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 46.46 ▲2.33 |
Dashboard /wp-admin | 3.37 ▲0.06 | 54.26 ▲1.44 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 52.70 ▼1.55 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 102.97 ▲10.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.01 ▼2.31 |
Big Boom Initialize WP /wp-admin/tools.php?page=bbd_initialization | 3.26 | 35.96 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Big Boom Initialize WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲7 | 13.33 ▲0.15 | 1.98 ▲0.14 | 36.39 ▼11.33 |
Dashboard /wp-admin | 2,211 ▲5 | 5.82 ▼0.06 | 104.79 ▼14.05 | 44.55 ▲2.95 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.02 | 39.97 ▲3.60 | 39.78 ▲7.88 |
Add New Post /wp-admin/post-new.php | 1,597 ▲64 | 18.29 ▼4.97 | 602.02 ▼97.26 | 36.70 ▼19.65 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.25 ▲0.12 | 96.69 ▼19.08 | 40.74 ▼7.71 |
Big Boom Initialize WP /wp-admin/tools.php?page=bbd_initialization | 822 | 2.04 | 23.42 | 30.07 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/big-boom-initialize-wp/bbd-initialize.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function bbdi_dir() in wp-content/plugins/big-boom-initialize-wp/lib/class-bbd-init.php:77
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 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
No tags were detected
big-boom-initialize-wp/bbd-initialize.php 92% from 13 tests
The principal PHP file in "Big Boom Initialize WP" v. 1.1.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("big-boom-initialize-wp.php" instead of "bbd-initialize.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin574 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 45 | 124 | 336 |
CSS | 3 | 20 | 2 | 205 |
JavaScript | 1 | 0 | 0 | 33 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 15 | |
▷ Static methods | 15 | 100.00% |
▷ Public methods | 15 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
custom-login/images/boomBack.png | 17.73KB | 7.84KB | ▼ 55.78% |
custom-login/images/bottomBack.png | 1.88KB | 0.83KB | ▼ 55.57% |
images/bigboomlogo.png | 5.66KB | 2.31KB | ▼ 59.14% |