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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 48.07 ▼0.27 |
Dashboard /wp-admin | 3.62 ▲0.31 | 51.00 ▼5.50 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 54.50 ▲0.03 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.52 | 98.91 ▲3.25 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 43.18 ▲8.73 |
Getting Started /wp-admin/admin.php?page=qubely | 3.52 | 36.09 |
Settings /wp-admin/admin.php?page=qubely-settings | 3.52 | 35.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,976 ▲205 | 13.78 ▼0.51 | 8.79 ▲6.72 | 45.77 ▲1.69 |
Dashboard /wp-admin | 2,251 ▲60 | 5.14 ▼0.74 | 114.66 ▲13.50 | 83.49 ▲40.77 |
Posts /wp-admin/edit.php | 2,211 ▲122 | 2.21 ▲0.19 | 42.71 ▲4.55 | 35.35 ▲2.89 |
Add New Post /wp-admin/post-new.php | 6,541 ▲5,007 | 28.09 ▲5.11 | 1,087.63 ▲468.94 | 42.66 ▼13.29 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 4.29 ▲0.10 | 114.78 ▲7.84 | 78.24 ▲30.23 |
Getting Started /wp-admin/admin.php?page=qubely | 1,278 | 2.87 | 34.81 | 101.83 |
Settings /wp-admin/admin.php?page=qubely-settings | 1,124 | 2.23 | 32.87 | 30.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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 126 | 4 | 13 | 5,351 |
PHP | 12 | 413 | 571 | 3,837 |
XML | 1 | 0 | 0 | 19 |
JavaScript | 8 | 0 | 19 | 7 |
CSS | 4 | 0 | 0 | 4 |
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 code | 0.51 |
Average class complexity | 52.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 296.00 |
Average method complexity | 4.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 12 | 12.63% |
▷ Public methods | 87 | 91.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 8.42% |
Functions | 25 | |
▷ Named functions | 14 | 56.00% |
▷ Anonymous functions | 11 | 44.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/admin/pointer@1x.png | 1.66KB | 1.74KB | 0.00% |
assets/img/disable-pattern.png | 0.25KB | 0.26KB | 0.00% |
assets/img/admin/cta-2.png | 4.14KB | 4.31KB | 0.00% |
assets/img/options-logo.png | 15.54KB | 17.08KB | 0.00% |
assets/img/admin/pointer@2x.png | 2.84KB | 3.24KB | 0.00% |