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.45MB] [CPU: ▲0.20ms] Passed 4 tests
Analyzing server-side resources used by Inboxify Sign Up Form
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 49.64 ▲3.17 |
Dashboard /wp-admin | 3.78 ▲0.48 | 56.87 ▼1.03 |
Posts /wp-admin/edit.php | 3.83 ▲0.48 | 53.44 ▲2.04 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.44 | 97.82 ▼3.38 |
Media Library /wp-admin/upload.php | 3.64 ▲0.42 | 43.05 ▲6.97 |
Inboxify Sign Up /wp-admin/options-general.php?page=inboxify | 3.64 | 40.34 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Inboxify Sign Up Form
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.39 ▼0.09 | 1.64 ▼0.29 | 43.22 ▼0.59 |
Dashboard /wp-admin | 2,200 ▲23 | 5.65 ▲0.05 | 86.36 ▼8.69 | 38.39 ▼5.47 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.31 ▲0.34 | 35.77 ▲0.44 | 35.49 ▼1.69 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 23.16 ▼0.02 | 647.16 ▼38.58 | 35.21 ▼18.22 |
Media Library /wp-admin/upload.php | 1,405 ▲2 | 4.13 ▼0.02 | 96.65 ▼13.27 | 42.97 ▼3.57 |
Inboxify Sign Up /wp-admin/options-general.php?page=inboxify | 968 | 1.84 | 24.48 | 23.32 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please take a closer look at the following
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/inboxify-sign-up-form/view/captcha.php
- > /wp-content/plugins/inboxify-sign-up-form/view/messages.php
- > /wp-content/plugins/inboxify-sign-up-form/view/head.php
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/inboxify-sign-up-form/view/subscribe.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'Inboxify\\Wordpress\\L10n' not found in wp-content/plugins/inboxify-sign-up-form/view/options.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function Inboxify\\Wordpress\\add_action() in wp-content/plugins/inboxify-sign-up-form/src/Inboxify/Wordpress/Button.php:21
- > PHP Warning
include(): Failed opening 'ABSPATHwp-admin/admin-header.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/inboxify-sign-up-form/view/button.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/inboxify-sign-up-form/src/Inboxify/Wordpress/Widget/Subscribe.php:18
- > PHP Warning
include(ABSPATHwp-admin/admin-header.php): failed to open stream: No such file or directory in wp-content/plugins/inboxify-sign-up-form/view/button.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/inboxify-sign-up-form/view/button.php:5
- > PHP Notice
Undefined variable: url in wp-content/plugins/inboxify-sign-up-form/view/head.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/inboxify-sign-up-form/view/subscribe.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'Inboxify\\Wordpress\\L10n' not found in wp-content/plugins/inboxify-sign-up-form/view/subscribe.php:15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Shortcode and Widget in action), #2 (Admin settings), #3 (Widget settings)
inboxify-sign-up-form/inboxify-sign-up-form.php Passed 13 tests
The main PHP file in "Inboxify Sign Up Form" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
117 characters long description:
Easily add Inboxify newsletter sign up forms to your WordPress website with the offical Inboxify Sign Up Form plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin4,928 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 891 | 1,733 | 3,767 |
JavaScript | 3 | 122 | 43 | 495 |
PO File | 2 | 228 | 256 | 494 |
Markdown | 1 | 30 | 0 | 115 |
CSS | 2 | 9 | 0 | 57 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 21.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 232 | |
▷ Static methods | 13 | 5.60% |
▷ Public methods | 162 | 69.83% |
▷ Protected methods | 67 | 28.88% |
▷ Private methods | 3 | 1.29% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 82 | |
▷ Global constants | 1 | 1.22% |
▷ Class constants | 81 | 98.78% |
▷ Public constants | 81 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.44MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/hourglass.png | 0.70KB | 0.66KB | ▼ 6.80% |
assets/screenshot-3.png | 135.32KB | 55.71KB | ▼ 58.83% |
assets/screenshot-4.png | 83.87KB | 33.15KB | ▼ 60.47% |
assets/loading.png | 0.79KB | 0.71KB | ▼ 11.07% |
assets/icon-128x128.png | 5.88KB | 2.95KB | ▼ 49.90% |