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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.46ms] Passed 4 tests
An overview of server-side resources used by Flex Guten - A Multipurpose Gutenberg Blocks Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 44.94 ▲2.61 |
Dashboard /wp-admin | 3.48 ▲0.17 | 51.88 ▼0.63 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 50.00 ▼7.08 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 89.34 ▼8.73 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 39.61 ▲8.22 |
Server storage [IO: ▲4.93MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 109 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Flex Guten - A Multipurpose Gutenberg Blocks Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.17 ▼0.20 | 1.91 ▲0.28 | 42.47 ▼2.18 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▼0.09 | 85.46 ▼5.21 | 42.67 ▲2.27 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.00 | 35.62 ▼7.12 | 38.52 ▼0.01 |
Add New Post /wp-admin/post-new.php | 6,210 ▲4,684 | 19.25 ▼3.82 | 970.63 ▲299.92 | 38.01 ▼22.69 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.17 ▲0.02 | 98.76 ▼6.30 | 46.84 ▲4.12 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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 | 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
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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: post, pinterest, product, grid, review...
flex-guten/plugin.php 85% from 13 tests
This is the main PHP file of "Flex Guten - A Multipurpose Gutenberg Blocks Plugin" version 1.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("flex-guten.php" instead of "plugin.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Success! There were no dangerous files found in this plugin35,410 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 33,606 |
PHP | 18 | 299 | 487 | 1,030 |
JavaScript | 5 | 69 | 6 | 457 |
CSS | 11 | 0 | 6 | 317 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 15.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 63 | |
▷ Static methods | 19 | 30.16% |
▷ Public methods | 60 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.76% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
PNG files should be compressed to save space and minimize bandwidth usage
4 compressed PNG files occupy 0.02MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/images/pin-btn.png | 0.68KB | 0.76KB | 0.00% |
build/images/search-bubbles.32913a21.png | 7.75KB | 7.85KB | 0.00% |
includes/assets/images/search-bubbles.png | 7.75KB | 7.85KB | 0.00% |
build/images/pin-btn.b0b2d8d4.png | 0.68KB | 0.76KB | 0.00% |