90% ultimate-blog-layouts

Code Review | Ultimate Blog Layouts For Gutenberg

WordPress plugin Ultimate Blog Layouts For Gutenberg scored90%from 54 tests.

About plugin

  • Plugin page: ultimate-blog-lay...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-5.3
  • WordPress version: 6.3.1
  • First release: Feb 23, 2020
  • Latest release: Feb 24, 2020
  • Number of updates: 10
  • Update frequency: every 0.3 days
  • Top authors: kopila47 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /441 total downloads

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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.26MB] [CPU: ▼18.42ms] Passed 4 tests

Analyzing server-side resources used by Ultimate Blog Layouts For Gutenberg
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0247.06 ▼23.60
Dashboard /wp-admin3.31 ▲0.0153.03 ▲3.56
Posts /wp-admin/edit.php3.36 ▲0.0150.91 ▼3.64
Add New Post /wp-admin/post-new.php4.83 ▼1.0652.63 ▼48.74
Media Library /wp-admin/upload.php3.24 ▲0.0141.72 ▲2.32

Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Ultimate Blog Layouts For Gutenberg
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,837 ▲7614.44 ▲0.151.87 ▲0.1845.80 ▼0.00
Dashboard /wp-admin2,223 ▲265.86 ▼0.1699.45 ▼12.0837.45 ▼0.51
Posts /wp-admin/edit.php2,099 ▼12.05 ▼0.0037.50 ▲0.8234.40 ▲3.00
Add New Post /wp-admin/post-new.php6,197 ▲4,65226.16 ▲2.95932.52 ▲307.9360.93 ▲4.61
Media Library /wp-admin/upload.php1,466 ▲664.27 ▲0.14111.10 ▲5.2746.62 ▲2.97

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success

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 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: blog list, post list, gutenberg blogs, blogs, blog grid...

ultimate-blog-layouts/ultimate-blog-layouts.php 92% from 13 tests

Analyzing the main PHP file in "Ultimate Blog Layouts For Gutenberg" version 1.0.1
The following require your attention:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,220 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript67796581
PHP411525480
Sass5150155
CSS2004

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions12
▷ Named functions1191.67%
▷ Anonymous functions18.33%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
There were not PNG files found in your plugin