Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼3.50ms] Passed 4 tests
This is a short check of server-side resources used by Theme Blvd Layout Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 42.89 ▲0.17 |
Dashboard /wp-admin | 3.49 ▲0.18 | 51.51 ▼0.22 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 52.00 ▼3.00 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 87.49 ▼10.93 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 42.79 ▲2.00 |
Server storage [IO: ▲5.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 198 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Theme Blvd Layout Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.38 ▼0.17 | 1.71 ▼0.12 | 48.14 ▲3.42 |
Dashboard /wp-admin | 2,225 ▲45 | 5.67 ▲0.02 | 94.54 ▲2.54 | 43.70 ▲2.59 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.18 ▲0.21 | 41.02 ▲0.19 | 38.54 ▲4.25 |
Add New Post /wp-admin/post-new.php | 1,553 ▲13 | 17.84 ▼5.33 | 685.39 ▲34.46 | 61.62 ▲6.93 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.26 ▲0.03 | 101.28 ▼1.86 | 41.55 ▼3.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/theme-blvd-layout-builder/inc/admin/export-layout.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/theme-blvd-layout-builder/tb-builder.php:13
- > PHP Fatal error
Uncaught Error: Class 'Theme_Blvd_Export' not found in wp-content/plugins/theme-blvd-layout-builder/inc/admin/class-tb-export-layout.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: theme blvd, layouts, builder, jason bobich, homepage...
theme-blvd-layout-builder/tb-builder.php 92% from 13 tests
The entry point to "Theme Blvd Layout Builder" version 2.3.6 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("theme-blvd-layout-builder.php" instead of "tb-builder.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
Success! There were no dangerous files found in this plugin16,195 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 2,417 | 2,408 | 11,972 |
XML | 19 | 0 | 0 | 1,435 |
JavaScript | 4 | 308 | 315 | 1,406 |
CSS | 2 | 56 | 65 | 1,382 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 73.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 465.00 |
Average method complexity | 6.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 130 | |
▷ Static methods | 4 | 3.08% |
▷ Public methods | 120 | 92.31% |
▷ Protected methods | 1 | 0.77% |
▷ Private methods | 9 | 6.92% |
Functions | 19 | |
▷ Named functions | 19 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
39 PNG files occupy 0.38MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/admin/sample/assets/arcadian.png | 28.04KB | 11.55KB | ▼ 58.79% |
inc/admin/sample/assets/dribbble-200x91.png | 12.46KB | 4.70KB | ▼ 62.31% |
inc/admin/sample/assets/wordpress-200x91.png | 4.48KB | 3.27KB | ▼ 27.01% |
inc/admin/sample/assets/themeblvd.png | 55.26KB | 21.76KB | ▼ 60.62% |
inc/admin/sample/legacy/sample-webtreats.png | 2.97KB | 2.07KB | ▼ 30.35% |