Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼0.58ms] Passed 4 tests
A check of server-side resources used by Gutena Newsletter - Subscriber Block & Connect Mailchimp
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 48.70 ▲7.48 |
Dashboard /wp-admin | 3.40 ▲0.10 | 50.01 ▲0.03 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.48 ▼1.64 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 98.90 ▼1.63 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.37 ▲0.92 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Gutena Newsletter - Subscriber Block & Connect Mailchimp
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.62 ▲0.25 | 2.39 ▲0.29 | 46.85 ▲5.84 |
Dashboard /wp-admin | 2,192 ▲12 | 5.48 ▼0.09 | 86.37 ▼9.85 | 40.11 ▼2.13 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.03 | 40.96 ▲4.17 | 35.72 ▼2.61 |
Add New Post /wp-admin/post-new.php | 6,392 ▲4,864 | 28.72 ▲7.80 | 873.01 ▲211.53 | 37.40 ▼16.38 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▼0.00 | 99.63 ▼7.03 | 43.16 ▼5.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in newsletter-block-by-gutena/assets to your readme.txt
newsletter-block-by-gutena/newsletter-block-gutena.php 77% from 13 tests
The main file in "Gutena Newsletter - Subscriber Block & Connect Mailchimp" v. 1.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 158 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("newsletter-block-by-gutena.php" instead of "newsletter-block-gutena.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin526 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 65 | 122 | 287 |
JSON | 3 | 0 | 0 | 208 |
SVG | 5 | 0 | 0 | 20 |
JavaScript | 6 | 0 | 1 | 7 |
CSS | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 12 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 14.29% |
Functions | 1 | |
▷ Named functions | 1 | 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/gutena/gutena-ecosys-onboard/assets/cta/bg.png | 6.31KB | 3.12KB | ▼ 50.59% |
build/images/image.c7f425bc.png | 2.48KB | 1.77KB | ▼ 28.36% |