Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.86ms] Passed 4 tests
Server-side resources used by rapidmail: Newsletter & E-Mail Marketing for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 49.41 ▲9.69 |
Dashboard /wp-admin | 3.48 ▲0.13 | 52.22 ▼9.78 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 53.37 ▲5.26 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 86.70 ▼9.39 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 38.88 ▲2.46 |
Rapidmail Newsletter /wp-admin/admin.php?page=rapidmail-connector-newsletter-settings | 3.38 | 33.41 |
Rapidmail /wp-admin/options-general.php?page=rapidmail-connector-settings | 3.37 | 35.73 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 28 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_rapidmail_changes |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
rapidmail_connector_newsletter |
rapidmail_connector |
Browser metrics Passed 4 tests
A check of browser resources used by rapidmail: Newsletter & E-Mail Marketing for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.72 ▲0.37 | 1.62 ▼0.08 | 43.13 ▲2.34 |
Dashboard /wp-admin | 2,200 ▲20 | 5.68 ▲0.03 | 84.81 ▼1.61 | 39.21 ▼0.11 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 1.99 ▲0.04 | 39.72 ▲5.46 | 40.05 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 18.04 ▼5.00 | 621.84 ▼25.71 | 65.81 ▲18.70 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.21 ▼0.01 | 102.91 ▲0.70 | 44.62 ▼0.75 |
Rapidmail Newsletter /wp-admin/admin.php?page=rapidmail-connector-newsletter-settings | 940 | 2.14 | 25.99 | 42.54 |
Rapidmail /wp-admin/options-general.php?page=rapidmail-connector-settings | 800 | 2.01 | 23.45 | 29.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 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 50% from 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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/rapidmail-newsletter-e-mail-marketing-for-woocommerce/admin/partials/rapidmail-connector-admin-settings-display.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/rapidmail-newsletter-e-mail-marketing-for-woocommerce/admin/partials/rapidmail-connector-admin-newsletter-settings-display.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/rapidmail-newsletter-e-mail-marketing-for-woocommerce/admin/partials/rapidmail-connector-admin-connection-display.php:15
- > PHP Fatal error
Uncaught Error: Class 'WC_Auth' not found in wp-content/plugins/rapidmail-newsletter-e-mail-marketing-for-woocommerce/admin/Auth.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 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
6 plugin tags: newsletter integration, rapidmail, e-mail-marketing, newsletter tool, newsletter...
rapidmail-newsletter-e-mail-marketing-for-woocommerce/rapidmail-connector.php 77% from 13 tests
The entry point to "rapidmail: Newsletter & E-Mail Marketing for WooCommerce" version 1.0.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Please don't use more than 140 characters for the plugin description (currently 147 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("rapidmail-newsletter-e-mail-marketing-for-woocommerce.php" instead of "rapidmail-connector.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,124 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 204 | 527 | 857 |
CSS | 1 | 24 | 0 | 142 |
PO File | 1 | 29 | 26 | 78 |
JavaScript | 1 | 11 | 1 | 45 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 3 | 6.00% |
▷ Public methods | 35 | 70.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 30.00% |
Functions | 15 | |
▷ Named functions | 3 | 20.00% |
▷ Anonymous functions | 12 | 80.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/rapidmail-banner.png | 69.53KB | 24.23KB | ▼ 65.15% |
admin/assets/rapidmail-logo.png | 1.85KB | 1.91KB | 0.00% |