Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼1.04MB] [CPU: ▼185.08ms] Passed 4 tests
A check of server-side resources used by Sendy - API Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.56 ▼0.27 | 15.70 ▼21.01 |
Dashboard /wp-admin | 2.61 ▼0.44 | 17.46 ▼37.78 |
Posts /wp-admin/edit.php | 2.61 ▼0.49 | 18.71 ▼32.13 |
Add New Post /wp-admin/post-new.php | 2.61 ▼2.82 | 15.35 ▼649.41 |
Media Library /wp-admin/upload.php | 2.61 ▼0.39 | 17.49 ▼20.07 |
Sendy API /wp-admin/options-general.php?page=da-sendy-api-integration | 2.61 | 17.93 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Sendy - API Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,820 ▲224 | 16.80 ▲0.91 | 13.78 ▲1.68 | 48.32 ▼8.22 |
Dashboard /wp-admin | 2,972 ▲41 | 5.96 ▼0.04 | 145.44 ▼13.79 | 109.81 ▼6.01 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▲0.00 | 69.61 ▼0.47 | 85.47 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.44 ▲0.04 | 404.60 ▼11.20 | 115.60 ▲0.84 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.11 ▲0.10 | 151.85 ▼16.52 | 124.11 ▼0.23 |
Sendy API /wp-admin/options-general.php?page=da-sendy-api-integration | 1,052 | 2.05 | 65.38 | 85.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/da-sendy-api-integration/da-sendy-api-integration.php+69
Trying to access array offset on value of type bool
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=da-sendy-api-integration
- > Notice in wp-content/plugins/da-sendy-api-integration/da-sendy-api-integration.php+71
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/da-sendy-api-integration/templates/form.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/da-sendy-api-integration/templates/admin-settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: sendy, api
da-sendy-api-integration/da-sendy-api-integration.php Passed 13 tests
The main PHP script in "Sendy - API Integration" version 0.2.1 is automatically included on every request by WordPress
27 characters long description:
Integration with Sendy API.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected303 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 181 | 105 | 278 |
JavaScript | 1 | 16 | 8 | 25 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
No PNG images were found in this plugin