Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼141.86ms] Passed 4 tests
Server-side resources used by Newsletter Form Block for Mailchimp
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.21 | 53.43 ▲27.53 |
Dashboard /wp-admin | 3.17 ▲0.11 | 50.94 ▲10.58 |
Posts /wp-admin/edit.php | 3.28 ▲0.17 | 44.37 ▼1.34 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.08 | 98.38 ▼580.25 |
Media Library /wp-admin/upload.php | 3.11 ▲0.10 | 38.83 ▲3.56 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Newsletter Form Block for Mailchimp
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,813 ▲217 | 16.62 ▲1.10 | 11.96 ▲1.48 | 50.91 ▼7.83 |
Dashboard /wp-admin | 2,973 ▲39 | 5.90 ▼0.05 | 139.77 ▼6.11 | 131.42 ▲11.02 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.00 | 67.87 ▼4.93 | 89.20 ▼12.50 |
Add New Post /wp-admin/post-new.php | 1,696 ▲196 | 18.86 ▲0.23 | 381.53 ▼15.71 | 146.69 ▲26.77 |
Media Library /wp-admin/upload.php | 1,807 ▲3 | 5.02 ▲0.02 | 156.66 ▼2.45 | 123.13 ▼3.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
No output text or server-side errors detected on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Mailchimp block in action) image not found
newsletter-form-gutenberg-block-mailchimp/newsletter-form-gutenberg-block-mailchimp.php Passed 13 tests
The main PHP file in "Newsletter Form Block for Mailchimp" ver. 1.02 adds more information about the plugin and also serves as the entry point for this plugin
62 characters long description:
Simple, no-nonsense Mailchimp form block for Gutenberg editor.
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
Good job! No executable or dangerous file extensions detected9,451 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 8,208 |
JavaScript | 6 | 230 | 144 | 731 |
PHP | 3 | 120 | 180 | 397 |
CSS | 2 | 11 | 0 | 115 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 11 | 32.35% |
▷ Public methods | 25 | 73.53% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 26.47% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin