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.04MB] [CPU: ▼4.01ms] Passed 4 tests
Server-side resources used by Awesome Text Block for Gutenberg WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.74 ▼0.01 |
Dashboard /wp-admin | 3.35 ▲0.04 | 42.66 ▼4.87 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.73 ▲0.96 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.13 ▼11.40 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.93 ▲0.24 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Awesome Text Block for Gutenberg WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.69 ▼0.98 | 1.89 ▼0.17 | 39.24 ▼3.65 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▲0.72 | 96.02 ▼9.26 | 38.85 ▼1.73 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.00 ▲0.02 | 37.44 ▼3.38 | 33.54 ▼7.33 |
Add New Post /wp-admin/post-new.php | 6,417 ▲4,896 | 20.65 ▼2.95 | 918.01 ▲280.40 | 55.99 ▲3.51 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.21 ▲0.01 | 95.12 ▼6.47 | 41.97 ▼2.01 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/awesome-guten-text/awe-guten-text.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_script() in wp-content/plugins/awesome-guten-text/src/block-alert-box/index.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: A description for screenshot #7 is missing in awesome-guten-text/assets to your readme.txt
awesome-guten-text/awe-guten-text.php 77% from 13 tests
Analyzing the main PHP file in "Awesome Text Block for Gutenberg WordPress" version 2.0.0
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("awesome-guten-text.php" instead of "awe-guten-text.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected741 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 22 | 27 | 484 |
PHP | 3 | 15 | 45 | 245 |
JavaScript | 2 | 6 | 2 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
12 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/img/lay-two.png | 4.47KB | 2.43KB | ▼ 45.73% |
src/img/lay-three.png | 5.19KB | 2.55KB | ▼ 50.81% |
src/img/lay-alert-1.png | 2.76KB | 1.57KB | ▼ 43.08% |
build/images/lay-alert-1.fb4290b8.png | 2.76KB | 1.57KB | ▼ 43.08% |
build/images/lay-one.cf7e7bc1.png | 6.85KB | 3.43KB | ▼ 49.91% |