Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.37MB] [CPU: ▲4.22ms] Passed 4 tests
Server-side resources used by Big Boom Directory
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.45 ▲0.99 | 48.66 ▲5.99 |
Dashboard /wp-admin | 4.85 ▲1.55 | 60.83 ▲13.05 |
Posts /wp-admin/edit.php | 4.88 ▲1.52 | 53.55 ▲7.59 |
Add New Post /wp-admin/post-new.php | 7.39 ▲1.51 | 93.31 ▼9.76 |
Media Library /wp-admin/upload.php | 4.71 ▲1.48 | 51.20 ▲17.47 |
Taxonomies /wp-admin/edit.php?post_type=bbd_tax | 4.82 | 43.61 |
Settings /wp-admin/edit.php?post_type=bbd_pt&page=bbd-settings | 4.69 | 43.82 |
Post Types /wp-admin/edit.php?post_type=bbd_pt | 4.82 | 43.79 |
Cache /wp-admin/edit.php?post_type=bbd_pt&page=bbd-cache | 4.68 | 43.49 |
Information /wp-admin/edit.php?post_type=bbd_pt&page=bbd-information | 4.72 | 43.27 |
Server storage [IO: ▲3.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 325 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_bbd_search_widget |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Big Boom Directory: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲164 | 13.30 ▼1.07 | 2.18 ▲0.01 | 59.34 ▲13.97 |
Dashboard /wp-admin | 2,274 ▲86 | 4.92 ▼0.98 | 114.60 ▲8.21 | 42.21 ▼2.17 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.06 ▲0.03 | 38.15 ▲1.51 | 40.18 ▲6.20 |
Add New Post /wp-admin/post-new.php | 1,641 ▲94 | 23.35 ▲5.13 | 635.19 ▲28.47 | 55.72 ▼9.95 |
Media Library /wp-admin/upload.php | 1,447 ▲59 | 4.27 ▲0.08 | 96.34 ▼0.97 | 43.70 ▲2.58 |
Taxonomies /wp-admin/edit.php?post_type=bbd_tax | 1,109 | 2.11 | 38.93 | 29.28 |
Settings /wp-admin/edit.php?post_type=bbd_pt&page=bbd-settings | 1,143 | 1.76 | 24.82 | 33.15 |
Post Types /wp-admin/edit.php?post_type=bbd_pt | 1,109 | 1.99 | 33.11 | 26.53 |
Cache /wp-admin/edit.php?post_type=bbd_pt&page=bbd-cache | 847 | 1.76 | 26.46 | 25.67 |
Information /wp-admin/edit.php?post_type=bbd_pt&page=bbd-information | 2,586 | 1.89 | 28.44 | 62.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_bbd_search_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 fix the following items
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/big-boom-directory/assets/extended-taxos/extended-taxos.php:895
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/big-boom-directory/assets/cmb2/example-functions.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/big-boom-directory/big-boom-directory.php:323
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/big-boom-directory/assets/cmb2/init.php:119
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/big-boom-directory/lib/class-bbd-options.php:815
- > PHP Fatal error
Uncaught Error: Class 'BBD_Post' not found in wp-content/plugins/big-boom-directory/lib/class-bbd-pt.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/big-boom-directory/lib/widgets/class-bbd-search-widget.php:11
- > PHP Fatal error
Uncaught Error: Class 'BBD_Post' not found in wp-content/plugins/big-boom-directory/lib/class-bbd-tax.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: custom-fields, custom-post-type, directory, taxonomy, post-type
big-boom-directory/big-boom-directory.php Passed 13 tests
The entry point to "Big Boom Directory" version 2.4.9 is a PHP file that has certain tags in its header comment area
78 characters long description:
Directory management system based on Custom Post Types, Taxonomies, and Fields
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin50,561 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 119 | 12,731 | 16,335 | 29,151 |
CSS | 14 | 2,213 | 2,118 | 9,601 |
PHP | 30 | 3,145 | 6,401 | 9,165 |
JavaScript | 11 | 466 | 563 | 1,311 |
Markdown | 3 | 429 | 0 | 812 |
HTML | 1 | 284 | 0 | 521 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 48.91 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 4.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 1 | 2.86% |
▷ Concrete classes | 34 | 97.14% |
▷ Final classes | 0 | 0.00% |
Methods | 425 | |
▷ Static methods | 128 | 30.12% |
▷ Public methods | 407 | 95.76% |
▷ Protected methods | 15 | 3.53% |
▷ Private methods | 3 | 0.71% |
Functions | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
18 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
assets/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
assets/lightbox/img/close.png | 0.27KB | 0.29KB | 0.00% |