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: ▲0.28MB] [CPU: ▼4.07ms] Passed 4 tests
A check of server-side resources used by Guten Post Layout - An Advanced Post Grid Collection for WordPress Gutenberg
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 36.82 ▲0.05 |
Dashboard /wp-admin | 3.57 ▲0.26 | 46.32 ▲1.61 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 48.00 ▲3.67 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 94.66 ▲1.07 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 34.47 ▼19.01 |
Guten Post Layout /wp-admin/themes.php?page=guten-post-layout-settings | 3.46 | 31.31 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Guten Post Layout - An Advanced Post Grid Collection for WordPress Gutenberg: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.22 | 1.58 ▼0.07 | 38.08 ▼0.06 |
Dashboard /wp-admin | 2,196 ▲16 | 5.61 ▼0.04 | 92.43 ▲3.12 | 41.22 ▲0.15 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.99 ▲0.04 | 40.64 ▲0.33 | 34.55 ▼1.46 |
Add New Post /wp-admin/post-new.php | 6,200 ▲4,674 | 19.56 ▼3.57 | 899.32 ▲190.50 | 55.44 ▲4.95 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.18 ▲0.00 | 97.63 ▼10.27 | 43.43 ▼7.84 |
Guten Post Layout /wp-admin/themes.php?page=guten-post-layout-settings | 1,451 | 9.36 | 258.87 | 81.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Requires php: Invalid version format
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
guten-post-layout/guten-post-layout.php Passed 13 tests
The principal PHP file in "Guten Post Layout - An Advanced Post Grid Collection for WordPress Gutenberg" v. 1.2.4 is loaded by WordPress automatically on each request
114 characters long description:
Your blog post layouts will be awesome without any doubt! We have grid, sliders, masonry and list layouts for you!
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
No dangerous file extensions were detected6,272 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 3 | 154 | 41 | 2,660 |
JavaScript | 12 | 230 | 40 | 1,415 |
PHP | 7 | 352 | 198 | 1,308 |
CSS | 6 | 86 | 12 | 616 |
Markdown | 1 | 87 | 0 | 248 |
SVG | 1 | 1 | 0 | 25 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.72 |
Average class complexity | 54.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 217.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 6 | 15.38% |
▷ Public methods | 38 | 97.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.56% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.22MB with 0.13MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/review.png | 45.01KB | 16.99KB | ▼ 62.27% |
admin/img/help-service.png | 172.70KB | 54.95KB | ▼ 68.18% |
src/assets/img/upgrade-pro.png | 5.11KB | 2.73KB | ▼ 46.63% |