90% qubely

Code Review | Qubely - Advanced Gutenberg Blocks

WordPress plugin Qubely - Advanced Gutenberg Blocks scored90%from 54 tests.

About plugin

  • Plugin page: qubely
  • Plugin version: 1.8.8
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.2
  • WordPress version: 6.3.1
  • First release: Mar 1, 2019
  • Latest release: Jul 14, 2023
  • Number of updates: 109
  • Update frequency: every 14.8 days
  • Top authors: themeum (100%)

Code review

54 tests

User reviews

60 reviews

Install metrics

10,000+ active /434,818 total downloads

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
Install script ran successfully

Server metrics [RAM: ▲0.34MB] [CPU: ▼0.62ms] Passed 4 tests

An overview of server-side resources used by Qubely - Advanced Gutenberg Blocks
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.80 ▲0.3448.07 ▼0.27
Dashboard /wp-admin3.62 ▲0.3151.00 ▼5.50
Posts /wp-admin/edit.php3.73 ▲0.3754.50 ▲0.03
Add New Post /wp-admin/post-new.php6.41 ▲0.5298.91 ▲3.25
Media Library /wp-admin/upload.php3.55 ▲0.3243.18 ▲8.73
Getting Started /wp-admin/admin.php?page=qubely3.5236.09
Settings /wp-admin/admin.php?page=qubely-settings3.5235.34

Server storage [IO: ▲5.18MB] [DB: ▲0.01MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 188 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
qubely_global_options

Browser metrics Passed 4 tests

Qubely - Advanced Gutenberg Blocks: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,976 ▲20513.78 ▼0.518.79 ▲6.7245.77 ▲1.69
Dashboard /wp-admin2,251 ▲605.14 ▼0.74114.66 ▲13.5083.49 ▲40.77
Posts /wp-admin/edit.php2,211 ▲1222.21 ▲0.1942.71 ▲4.5535.35 ▲2.89
Add New Post /wp-admin/post-new.php6,541 ▲5,00728.09 ▲5.111,087.63 ▲468.9442.66 ▼13.29
Media Library /wp-admin/upload.php1,445 ▲574.29 ▲0.10114.78 ▲7.8478.24 ▲30.23
Getting Started /wp-admin/admin.php?page=qubely1,2782.8734.81101.83
Settings /wp-admin/admin.php?page=qubely-settings1,1242.2332.8730.33

Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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 7 options in the database
    • qubely_global_options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 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 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 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
6 plugin tags: page builder, blocks, gutenberg blocks, block, editor...

qubely/qubely.php Passed 13 tests

"Qubely - Advanced Gutenberg Blocks" version 1.8.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
59 characters long description:
The one and only Gutenberg block plugin you will ever need.

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
There were no executable files found in this plugin9,218 lines of code in 151 files:
LanguageFilesBlank linesComment linesLines of code
SVG1264135,351
PHP124135713,837
XML10019
JavaScript80197
CSS4004

PHP code Passed 2 tests

A brief analysis 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 code0.51
Average class complexity52.57
▷ Minimum class complexity1.00
▷ Maximum class complexity296.00
Average method complexity4.84
▷ Minimum method complexity1.00
▷ Maximum method complexity42.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods95
▷ Static methods1212.63%
▷ Public methods8791.58%
▷ Protected methods00.00%
▷ Private methods88.42%
Functions25
▷ Named functions1456.00%
▷ Anonymous functions1144.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/admin/pointer@1x.png1.66KB1.74KB0.00%
assets/img/disable-pattern.png0.25KB0.26KB0.00%
assets/img/admin/cta-2.png4.14KB4.31KB0.00%
assets/img/options-logo.png15.54KB17.08KB0.00%
assets/img/admin/pointer@2x.png2.84KB3.24KB0.00%