Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲2.45MB] [CPU: ▼136.94ms] Passed 4 tests
An overview of server-side resources used by Blog Layout Design by Themes Awesome
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.36 ▲2.53 | 46.80 ▲16.63 |
Dashboard /wp-admin | 5.68 ▲2.61 | 54.87 ▲14.09 |
Posts /wp-admin/edit.php | 5.72 ▲2.61 | 53.35 ▲18.02 |
Add New Post /wp-admin/post-new.php | 7.55 ▲2.11 | 62.58 ▼593.70 |
Media Library /wp-admin/upload.php | 5.56 ▲2.56 | 40.70 ▲15.23 |
Blog Showcase /wp-admin/edit.php?post_type=blogshowcase-design | 5.61 | 47.07 |
Add New Blog Showcase /wp-admin/post-new.php?post_type=blogshowcase-design | 6.07 | 92.27 |
Server storage [IO: ▲12.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 623 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Blog Layout Design by Themes Awesome
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,219 ▲568 | 21.42 ▲5.84 | 10.98 ▲5.14 | 76.67 ▼1.27 |
Dashboard /wp-admin | 3,350 ▲457 | 10.60 ▲4.27 | 193.40 ▲56.60 | 170.89 ▼6.59 |
Posts /wp-admin/edit.php | 3,231 ▲491 | 8.03 ▲4.80 | 109.24 ▲44.11 | 138.62 ▲2.15 |
Add New Post /wp-admin/post-new.php | 1,760 ▼1,983 | 20.29 ▲1.56 | 402.60 ▼16.02 | 162.20 ▼8.07 |
Media Library /wp-admin/upload.php | 1,951 ▲202 | 8.12 ▲2.60 | 163.07 ▲20.60 | 197.86 ▲9.16 |
Blog Showcase /wp-admin/edit.php?post_type=blogshowcase-design | 1,854 | 7.76 | 109.27 | 113.91 |
Add New Blog Showcase /wp-admin/post-new.php?post_type=blogshowcase-design | 5,340 | 16.00 | 505.92 | 176.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/blog-layout-design/public/partials/wrap-start.php
- > /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
- 145× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: plural in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 40
- > 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_Ancestor_ID_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Textarea_Field' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Field/Rich_Text_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Any_Contain_Comparer.php:7
- > 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_Parent_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-field-number/core/Number_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/Hidden_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Container/Theme_Options_Container.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/blog-layout-design/public/blog-layout-styles/masonry-full-image-1.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function Carbon_Fields\\Provider\\add_filter() in wp-content/plugins/blog-layout-design/vendor/htmlburger/carbon-fields/core/Provider/Container_Condition_Provider.php:254
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: post gallery, blog, blog showcase, post loop
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 a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin57,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
No complexity issues detected
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.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/grid.png | 6.45KB | 2.93KB | ▼ 54.61% |
assets/slide.png | 6.15KB | 2.64KB | ▼ 57.01% |
assets/carousel.png | 6.71KB | 2.85KB | ▼ 57.54% |
public/img/vertical-8.png | 0.11KB | 0.11KB | ▼ 0.85% |
assets/justified.png | 6.92KB | 3.03KB | ▼ 56.15% |