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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.88ms] Passed 4 tests
An overview of server-side resources used by Wordpress Newsletter Plugin von rapidmail
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.28 ▲1.40 |
Dashboard /wp-admin | 3.57 ▲0.26 | 58.91 ▲8.89 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 52.52 ▲2.31 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 91.00 ▼14.41 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.60 ▲3.18 |
rapidmail /wp-admin/options-general.php?page=rapidmail | 3.39 | 33.13 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
rm_options |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_rapidmail_subscription_form |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Wordpress Newsletter Plugin von rapidmail
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲141 | 13.41 ▼0.99 | 8.45 ▲7.01 | 42.66 ▼1.54 |
Dashboard /wp-admin | 2,199 ▲31 | 5.66 ▲0.12 | 96.83 ▲9.06 | 38.73 ▼0.68 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.08 | 39.13 ▲2.80 | 35.55 ▼1.95 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.12 ▼0.46 | 681.26 ▲48.62 | 56.03 ▼0.47 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▲0.02 | 97.36 ▼3.85 | 47.89 ▲3.82 |
rapidmail /wp-admin/options-general.php?page=rapidmail | 891 | 1.69 | 26.43 | 30.93 |
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 8 options in the database
- can_compress_scripts
- widget_rapidmail_subscription_form
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- rm_options
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rapidmail-newsletter-software/classes/Widget.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Rapidmail\\Api\\AdapterInterface' not found in wp-content/plugins/rapidmail-newsletter-software/classes/Api.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Rapidmail\\Api\\AdapterInterface' not found in wp-content/plugins/rapidmail-newsletter-software/classes/Api/Apiv3.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/rapidmail-newsletter-software/rapidmail_plugin.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Rapidmail\\Api\\AdapterInterface' not found in wp-content/plugins/rapidmail-newsletter-software/classes/Api/Apiv1.php:8
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: email marketing, newsletter, newsletter software, rapidmail, email marketing service provider...
rapidmail-newsletter-software/rapidmail_plugin.php 85% from 13 tests
The main PHP script in "Wordpress Newsletter Plugin von rapidmail" version 2.1.5 is automatically included on every request by WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rapidmail-newsletter-software.php" instead of "rapidmail_plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,459 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 610 | 707 | 1,325 |
JavaScript | 2 | 42 | 0 | 86 |
CSS | 2 | 8 | 0 | 48 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 12.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 11 | 12.22% |
▷ Public methods | 75 | 83.33% |
▷ Protected methods | 2 | 2.22% |
▷ Private methods | 13 | 14.44% |
Functions | 20 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 20 | 100.00% |
Constants | 22 | |
▷ Global constants | 2 | 9.09% |
▷ Class constants | 20 | 90.91% |
▷ Public constants | 20 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin