Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Parse error in wp-content/plugins/streamsend-sign-up-form/widget/class-ss-widget.php+104
syntax error, unexpected 'add_action' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.04ms] Passed 4 tests
A check of server-side resources used by StreamSend for WordPress - Official Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.51 ▲0.85 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.00 ▼3.15 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.71 ▼0.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.33 ▼5.10 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 41.35 ▲3.37 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
StreamSend for WordPress - Official Plugin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲0.04 | 1.64 ▼0.31 | 38.88 ▼2.80 |
Dashboard /wp-admin | 2,192 ▲15 | 5.54 ▲0.03 | 94.65 ▼4.35 | 41.25 ▼2.58 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.97 ▼0.05 | 35.20 ▼4.67 | 32.10 ▼9.93 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.98 ▼0.09 | 666.85 ▲18.21 | 55.73 ▲5.13 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.14 ▼0.01 | 112.54 ▲6.44 | 46.29 ▲1.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% 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 0% 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 take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/streamsend-sign-up-form/captcha/example-form.php
- > /wp-content/plugins/streamsend-sign-up-form/captcha/captcha.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
include_once(STREAMSEND_PATH/class-ss-form.php): failed to open stream: No such file or directory in wp-content/plugins/streamsend-sign-up-form/shortcode/class-ss-shortcode.php on line 3
- > PHP Warning
include_once(): Failed opening 'STREAMSEND_PATH/class-ss-form.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/streamsend-sign-up-form/shortcode/class-ss-shortcode.php on line 3
- > PHP Parse error
syntax error, unexpected 'add_action' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in wp-content/plugins/streamsend-sign-up-form/widget/class-ss-widget.php on line 104
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/streamsend-sign-up-form/start.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/streamsend-sign-up-form/shortcode/class-ss-shortcode.php:6
- > PHP Parse error
syntax error, unexpected 'add_action' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in wp-content/plugins/streamsend-sign-up-form/widget/class-ss-widget.php on line 104
- > PHP Warning
Use of undefined constant STREAMSEND_PATH - assumed 'STREAMSEND_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/streamsend-sign-up-form/shortcode/class-ss-shortcode.php on line 3
- > PHP Notice
Undefined index: formtype in wp-content/plugins/streamsend-sign-up-form/captcha/captcha.php on line 207
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== streamsend-sign-up-form ===
) - Contributors: There were no tags found
- Contributors: Plugin contributors field is missing
streamsend-sign-up-form/start.php 92% from 13 tests
The principal PHP file in "StreamSend for WordPress - Official Plugin" v. 1.0.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("streamsend-sign-up-form.php" instead of "start.php")
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
Success! There were no dangerous files found in this plugin2,206 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 805 | 69,195 | 2,206 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 24.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 142 | |
▷ Static methods | 6 | 4.23% |
▷ Public methods | 133 | 93.66% |
▷ Protected methods | 9 | 6.34% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin