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.24MB] [CPU: ▼138.04ms] Passed 4 tests
Analyzing server-side resources used by Extra Block Design, Style, CSS for ANY Gutenberg Blocks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.05 ▲0.33 | 37.97 ▲13.51 |
Dashboard /wp-admin | 3.33 ▲0.28 | 46.10 ▲1.84 |
Posts /wp-admin/edit.php | 3.38 ▲0.27 | 48.93 ▲10.87 |
Add New Post /wp-admin/post-new.php | 5.63 ▲0.19 | 89.08 ▼565.31 |
Media Library /wp-admin/upload.php | 3.21 ▲0.21 | 34.94 ▲0.44 |
Server storage [IO: ▲16.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Extra Block Design, Style, CSS for ANY Gutenberg Blocks
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,720 ▲124 | 16.27 ▲0.76 | 10.37 ▲1.10 | 47.97 ▼3.93 |
Dashboard /wp-admin | 2,975 ▲41 | 6.10 ▲0.11 | 134.56 ▼10.17 | 109.51 ▼9.12 |
Posts /wp-admin/edit.php | 2,738 ▲2 | 2.72 ▲0.01 | 63.66 ▲3.85 | 90.37 ▲3.59 |
Add New Post /wp-admin/post-new.php | 1,674 ▲80 | 19.04 ▲0.50 | 371.79 ▲3.80 | 106.25 ▼7.02 |
Media Library /wp-admin/upload.php | 1,809 ▲2 | 5.05 ▲0.03 | 154.22 ▲5.60 | 127.91 ▲9.07 |
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 Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
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 uses markdown syntax to describe your plugin to the world
5 plugin tags: block css, gutenberg, gutenberg blocks, blocks, block design
stylist/stylist.php Passed 13 tests
"Extra Block Design, Style, CSS for ANY Gutenberg Blocks" version 0.2.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
40 characters long description:
Simple yet powerful visual style editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected80,874 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 16,080 | 18,113 | 68,751 |
CSS | 7 | 2,050 | 1,698 | 10,861 |
PHP | 8 | 545 | 997 | 1,262 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 60.25 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 69.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 30.43% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/breakpoint-left.png | 0.35KB | 0.37KB | 0.00% |
images/metric.png | 20.21KB | 5.17KB | ▼ 74.43% |
images/metric-gray.png | 20.20KB | 5.17KB | ▼ 74.43% |
images/bottom-resize.png | 0.10KB | 0.11KB | 0.00% |
images/right-resize.png | 0.10KB | 0.10KB | 0.00% |