Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼315.79ms] Passed 4 tests
An overview of server-side resources used by DuoGeek - Gutenberg Blocks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.11 | 35.20 ▲3.76 |
Dashboard /wp-admin | 3.16 ▲0.11 | 32.42 ▼11.14 |
Posts /wp-admin/edit.php | 3.21 ▲0.11 | 40.67 ▼1.58 |
Add New Post /wp-admin/post-new.php | 5.08 ▼0.35 | 66.97 ▼1,242.42 |
Media Library /wp-admin/upload.php | 3.10 ▲0.10 | 29.95 ▼8.00 |
Server storage [IO: ▲3.64MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 130 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
DuoGeek - Gutenberg Blocks: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,693 ▲111 | 15.95 ▲0.05 | 12.68 ▲3.66 | 39.15 ▼6.80 |
Dashboard /wp-admin | 2,997 ▲147 | 5.97 ▲0.12 | 138.04 ▲8.66 | 106.51 ▲6.54 |
Posts /wp-admin/edit.php | 2,708 ▲2 | 2.69 ▲0.00 | 65.17 ▼0.41 | 94.37 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,665 ▲14 | 19.57 ▲2.15 | 375.95 ▲24.47 | 109.64 ▲1.80 |
Media Library /wp-admin/upload.php | 1,777 ▲5 | 4.98 ▼0.02 | 144.55 ▼18.36 | 107.87 ▼10.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/duogeek-blocks/src/blocks/block-container/index.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/duogeek-blocks/loader.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/duogeek-blocks/src/blocks/block-sharing/index.php:72
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/duogeek-blocks/src/blocks/block-post-grid/index.php:431
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: gutenberg blocks, gutenberg, blocks, block, editor...
duogeek-blocks/duogeek-blocks.php 92% from 13 tests
This is the main PHP file of "DuoGeek - Gutenberg Blocks" version 0.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected18,377 lines of code in 113 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 66 | 606 | 821 | 6,829 |
CSS | 14 | 1,850 | 50 | 4,380 |
SVG | 3 | 0 | 0 | 3,927 |
Sass | 23 | 487 | 1 | 2,515 |
PHP | 7 | 124 | 217 | 726 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin