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
Installer ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▲5.27ms] Passed 4 tests
An overview of server-side resources used by DragBlock - Advanced WordPress Gutenberg Full Site Editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.56 | 27.51 ▼17.96 |
Dashboard /wp-admin | 3.96 ▲0.66 | 48.91 ▲1.37 |
Posts /wp-admin/edit.php | 4.01 ▲0.65 | 54.67 ▲8.85 |
Add New Post /wp-admin/post-new.php | 5.87 ▼0.02 | 637.09 ▲553.41 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 59.45 ▲28.81 |
DragBlock /wp-admin/admin.php?page=dragblockAdminMenu | 3.79 | 34.70 |
Form Entries /wp-admin/edit.php?post_type=dragblockformmsg | 3.93 | 39.13 |
Server storage [IO: ▲1.75MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 214 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by DragBlock - Advanced WordPress Gutenberg Full Site Editor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲41 | 14.68 ▲0.37 | 2.49 ▲0.48 | 43.68 ▼7.78 |
Dashboard /wp-admin | 2,220 ▲46 | 5.56 ▼0.04 | 93.73 ▼8.26 | 79.78 ▲34.67 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 1.98 ▲0.00 | 39.36 ▼1.70 | 38.46 ▲0.40 |
Add New Post /wp-admin/post-new.php | 1,761 ▲235 | 24.18 ▲0.60 | 1,040.71 ▲426.64 | 43.62 ▼3.90 |
Media Library /wp-admin/upload.php | 1,419 ▲25 | 4.21 ▲0.02 | 105.42 ▲9.33 | 72.11 ▲31.24 |
DragBlock /wp-admin/admin.php?page=dragblockAdminMenu | 783 | 2.00 | 27.52 | 25.40 |
Form Entries /wp-admin/edit.php?post_type=dragblockformmsg | 1,109 | 1.94 | 33.66 | 30.62 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: block, gutenberg blocks, site builder, editor, visual editor...
dragblock/dragblock.php 92% from 13 tests
The main file in "DragBlock - Advanced WordPress Gutenberg Full Site Editor" v. 23.11.19 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires PHP: Required version does not match the one declared in readme.txt ("7.4" instead of "7.0")
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
No dangerous file extensions were detected4,202 lines of code in 186 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 82 | 59 | 1,109 | 3,601 |
JSON | 18 | 0 | 0 | 478 |
JavaScript | 67 | 0 | 3 | 70 |
Markdown | 1 | 14 | 0 | 31 |
CSS | 18 | 1 | 6 | 22 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 13.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 12 | 42.86% |
▷ Public methods | 27 | 96.43% |
▷ Protected methods | 1 | 3.57% |
▷ Private methods | 0 | 0.00% |
Functions | 89 | |
▷ Named functions | 87 | 97.75% |
▷ Anonymous functions | 2 | 2.25% |
Constants | 24 | |
▷ Global constants | 23 | 95.83% |
▷ Class constants | 1 | 4.17% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/brands/favicon-32x32.png | 1.07KB | 0.76KB | ▼ 29.48% |
assets/images/brands/favicon-192x192.png | 4.29KB | 2.40KB | ▼ 44.00% |
assets/images/brands/favicon-16x16.png | 0.62KB | 0.51KB | ▼ 17.51% |
assets/images/demo/blank.png | 13.54KB | 5.71KB | ▼ 57.82% |
assets/images/brands/favicon-20x20.png | 0.73KB | 0.56KB | ▼ 22.61% |