Benchmarks
Plugin footprint 83% from 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.14MB] [CPU: ▼10.17ms] Passed 4 tests
Analyzing server-side resources used by Fast MailerLite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.15 | 45.24 ▼1.75 |
Dashboard /wp-admin | 3.77 ▲0.14 | 51.01 ▼20.09 |
Posts /wp-admin/edit.php | 3.82 ▲0.14 | 56.08 ▲2.58 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.14 | 83.07 ▼20.84 |
Media Library /wp-admin/upload.php | 3.63 ▲0.14 | 41.13 ▲2.02 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Fast MailerLite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲83 | 14.36 ▲0.22 | 2.07 ▼0.62 | 35.53 ▼9.40 |
Dashboard /wp-admin | 2,217 ▲40 | 5.55 ▼0.13 | 99.94 ▼3.72 | 47.93 ▲2.09 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.01 ▼0.03 | 44.24 ▲4.76 | 42.14 ▲4.22 |
Add New Post /wp-admin/post-new.php | 1,392 ▼144 | 20.75 ▼2.50 | 571.54 ▼92.03 | 36.48 ▼23.14 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.18 ▼0.08 | 100.71 ▼3.14 | 43.41 ▼1.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/fast-mailerlite/fast-mailerlite-webhook.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > WordPress database error Table 'potrivit.wp_fastflow_settings' doesn't exist for query SELECT * FROM wp_fastflow_settings WHERE settings_for='Mailer Lite' made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/fast-mailerlite/fast-mailerlite.php'), FastMailerLite->__construct, FastMailerLite->fast_mailerlite_apikey, FastMailerLite->fast_mailerlite_settings_db
- >
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: mailer lite, marketing automation, mailerlite, email automation, email marketing
fast-mailerlite/fast-mailerlite.php Passed 13 tests
"Fast MailerLite" version 1.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
30 characters long description:
MailerLite addon for Fast Flow
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin665 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 49 | 14 | 665 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 95.00 |
▷ Minimum class complexity | 95.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin