Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲2.29MB] [CPU: ▲14.42ms] Passed 4 tests
A check of server-side resources used by Blog Layout Design by Themes Awesome
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.01 ▲2.55 | 61.23 ▲19.07 |
Dashboard /wp-admin | 5.86 ▲2.56 | 74.20 ▲26.39 |
Posts /wp-admin/edit.php | 5.95 ▲2.59 | 78.66 ▲28.07 |
Add New Post /wp-admin/post-new.php | 7.39 ▲1.50 | 75.59 ▼15.87 |
Media Library /wp-admin/upload.php | 5.77 ▲2.55 | 60.28 ▲28.33 |
Blog Showcase /wp-admin/edit.php?post_type=blogshowcase-design | 5.82 | 61.22 |
Add New Blog Showcase /wp-admin/post-new.php?post_type=blogshowcase-design | 6.30 | 110.44 |
Server storage [IO: ▲12.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 623 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Blog Layout Design by Themes Awesome
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,217 ▲471 | 19.23 ▲4.85 | 8.00 ▲6.14 | 39.66 ▼7.94 |
Dashboard /wp-admin | 2,518 ▲330 | 9.29 ▲3.44 | 190.54 ▲79.25 | 42.40 ▼0.83 |
Posts /wp-admin/edit.php | 2,488 ▲399 | 6.30 ▲4.24 | 77.34 ▲38.24 | 34.19 ▼0.85 |
Add New Post /wp-admin/post-new.php | 6,267 ▲4,734 | 22.01 ▼1.17 | 904.16 ▲219.10 | 49.72 ▼4.92 |
Media Library /wp-admin/upload.php | 1,576 ▲185 | 6.66 ▲2.49 | 110.53 ▲8.54 | 41.96 ▼5.40 |
Blog Showcase /wp-admin/edit.php?post_type=blogshowcase-design | 1,419 | 6.33 | 76.42 | 26.48 |
Add New Blog Showcase /wp-admin/post-new.php?post_type=blogshowcase-design | 3,979 | 10.79 | 558.66 | 43.37 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/blog-layout-design/public/partials/wrap-end.php
- > /wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/blog-layout-design/public/partials/wrap-start.php
- 145× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Format_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/blog-layout-design/vendor/ynacorp/carbon-field-uniqid/core/UniqID_Field.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Field/Sidebar_Field.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Field/Text_Field.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/templates/Container/user_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Container/Condition/User_Capability_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Level_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Field/Date_Field.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/templates/Container/term_meta.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: post gallery, blog, post loop, blog showcase
blog-layout-design/blog-layout-design.php Passed 13 tests
The main PHP file in "Blog Layout Design by Themes Awesome" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
44 characters long description:
Create stunning blog layout without headache
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
Good job! No executable or dangerous file extensions detected57,168 lines of code in 510 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 19 | 3,821 | 1,750 | 19,779 |
PHP | 198 | 3,905 | 7,752 | 16,618 |
JavaScript | 195 | 5,532 | 9,150 | 15,526 |
PO File | 27 | 823 | 1,024 | 2,223 |
Sass | 51 | 372 | 0 | 1,959 |
JSON | 12 | 0 | 0 | 811 |
Markdown | 6 | 52 | 0 | 162 |
SVG | 2 | 0 | 0 | 90 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 28 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 141 | |
▷ Abstract classes | 11 | 7.80% |
▷ Concrete classes | 130 | 92.20% |
▷ Final classes | 1 | 0.77% |
Methods | 1,003 | |
▷ Static methods | 116 | 11.57% |
▷ Public methods | 820 | 81.75% |
▷ Protected methods | 169 | 16.85% |
▷ Private methods | 14 | 1.40% |
Functions | 222 | |
▷ Named functions | 130 | 58.56% |
▷ Anonymous functions | 92 | 41.44% |
Constants | 39 | |
▷ Global constants | 14 | 35.90% |
▷ Class constants | 25 | 64.10% |
▷ Public constants | 25 | 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
12 PNG files occupy 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/timeline-vertical-bg.png | 0.91KB | 0.10KB | ▼ 89.19% |
public/img/displacement/5.png | 58.92KB | 75.10KB | 0.00% |
assets/masonry.png | 7.17KB | 3.13KB | ▼ 56.39% |
assets/justified.png | 6.92KB | 3.03KB | ▼ 56.15% |
assets/carousel.png | 6.71KB | 2.85KB | ▼ 57.54% |