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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.82ms] Passed 4 tests
Analyzing server-side resources used by Easy Read and Pictograms blocks for Gutenberg
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.55 ▲3.41 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.36 ▼4.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.16 ▼1.54 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 96.21 ▲7.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.00 ▼0.70 |
Server storage [IO: ▲0.42MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Easy Read and Pictograms blocks for Gutenberg: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲140 | 13.64 ▼1.01 | 8.59 ▲6.83 | 42.81 ▼3.88 |
Dashboard /wp-admin | 2,203 ▲15 | 4.86 ▼1.02 | 109.77 ▼5.84 | 44.50 ▲2.34 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.05 ▲0.06 | 36.94 ▼5.98 | 31.70 ▼3.24 |
Add New Post /wp-admin/post-new.php | 6,189 ▲4,675 | 18.86 ▲1.22 | 933.47 ▲237.30 | 40.47 ▼17.32 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.21 ▼0.05 | 95.05 ▲0.13 | 42.38 ▼3.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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
Even though everything seems fine, this is not an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Screenshot 1: It shows the easy read blocks that can be added from Gutenberg.), #2 (Screenshot 2: View content in normal mode, Easy Read button disabled.), #3 (Screenshot 3: View content with Easy Read mode activated and its active button.)
easy-read-and-pictograms-blocks-for-gutenberg/index.php 77% from 13 tests
Analyzing the main PHP file in "Easy Read and Pictograms blocks for Gutenberg" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-read-and-pictograms-blocks-for-gutenberg.php" instead of "index.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 259 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected443 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 69 | 20 | 267 |
CSS | 4 | 20 | 4 | 90 |
PHP | 3 | 38 | 25 | 86 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 7 | |
▷ Named functions | 7 | 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 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.25MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.PNG | 53.55KB | 25.65KB | ▼ 52.10% |
img/pictogramas/lectura-facil-off.png | 53.13KB | 13.28KB | ▼ 75.00% |
screenshot-3.PNG | 52.74KB | 19.38KB | ▼ 63.26% |
screenshot-2.PNG | 43.82KB | 16.80KB | ▼ 61.67% |
img/pictogramas/lectura-facil-on.png | 51.45KB | 14.91KB | ▼ 71.02% |