Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.50ms] Passed 4 tests
Server-side resources used by Newsletter using Sendy
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.27 ▲3.04 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.16 ▼3.00 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.45 ▲0.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 77.84 ▼9.40 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.96 ▲1.63 |
Newsletter Settings /wp-admin/options-general.php?page=newsletter-sendy-settings | 3.24 | 29.66 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Newsletter using Sendy
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲142 | 13.62 ▼0.96 | 5.61 ▲3.93 | 42.87 ▲1.99 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.11 | 98.88 ▼14.18 | 37.91 ▼4.12 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.18 ▲0.18 | 34.43 ▼5.84 | 30.24 ▼8.54 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.43 ▼5.77 | 674.70 ▲5.71 | 53.54 ▼1.97 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.16 ▼0.13 | 94.64 ▼1.51 | 44.31 ▲1.69 |
Newsletter Settings /wp-admin/options-general.php?page=newsletter-sendy-settings | 831 | 2.03 | 24.35 | 27.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ajax-sendy-newsletter/ajax-sendy-newsletter.php:31
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: sendy, ajax, newsletter
ajax-sendy-newsletter/ajax-sendy-newsletter.php 77% from 13 tests
The primary PHP file in "Newsletter using Sendy" version 1.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.4" instead of "7.0")
- Domain Path: The domain path points to an invalid folder, "/i18n/languages/" does not exist
- Requires at least: The required version number did not match the one declared in readme.txt ("4.9" instead of "5.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin237 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 22 | 63 | 141 |
JavaScript | 1 | 12 | 5 | 96 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin