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: ▼1.68ms] Passed 4 tests
A check of server-side resources used by Useful Tab Block – Responsive & AMP-Compatible
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.75 ▼0.92 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.65 ▼2.23 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.01 ▲2.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.41 ▼4.83 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.64 ▲1.28 |
Server storage [IO: ▲8.49MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Useful Tab Block – Responsive & AMP-Compatible
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.25 ▼0.10 | 1.73 ▲0.20 | 44.00 ▲6.93 |
Dashboard /wp-admin | 2,216 ▲39 | 5.65 ▼0.03 | 86.20 ▼13.47 | 38.67 ▼7.82 |
Posts /wp-admin/edit.php | 2,118 ▲21 | 2.03 ▲0.01 | 39.82 ▲0.77 | 36.22 ▲3.55 |
Add New Post /wp-admin/post-new.php | 6,388 ▲4,862 | 27.95 ▲4.73 | 883.62 ▲217.12 | 38.00 ▼12.62 |
Media Library /wp-admin/upload.php | 1,421 ▲18 | 4.15 ▼0.06 | 95.22 ▼8.82 | 43.98 ▲0.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in useful-tab-block-responsive-amp-compatible/assets to your readme.txt
useful-tab-block-responsive-amp-compatible/register_block.php 77% from 13 tests
The main PHP file in "Useful Tab Block – Responsive & AMP-Compatible" ver. 1.3.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 160 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("useful-tab-block-responsive-amp-compatible.php" instead of "register_block.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,197 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 112 | 104 | 471 |
CSS | 6 | 4 | 2 | 387 |
PO File | 1 | 66 | 75 | 195 |
JSON | 5 | 0 | 0 | 142 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 1 | |
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 | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.37MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/color_palette.png | 70.68KB | 15.30KB | ▼ 78.35% |
images/favorite_colors.png | 198.14KB | 47.79KB | ▼ 75.88% |
images/gutenberg.png | 51.33KB | 14.99KB | ▼ 70.80% |
images/blue_border.png | 30.22KB | 5.86KB | ▼ 80.62% |
images/shortcut.png | 25.47KB | 6.89KB | ▼ 72.96% |