Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.15ms] Passed 4 tests
Analyzing server-side resources used by Wakker Media Newsletter Checkout Checkbox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.14 ▼9.44 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.55 ▼6.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.21 ▼4.07 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.73 ▼4.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.44 ▲0.49 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Wakker Media Newsletter Checkout Checkbox
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.29 ▼0.95 | 1.85 ▼0.35 | 41.13 ▼1.29 |
Dashboard /wp-admin | 2,206 ▲15 | 4.87 ▼0.98 | 108.17 ▲4.17 | 38.64 ▼3.72 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▼0.03 | 34.21 ▼6.01 | 32.66 ▼5.44 |
Add New Post /wp-admin/post-new.php | 1,533 ▼5 | 23.26 ▲0.17 | 678.57 ▲79.96 | 61.62 ▲10.98 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.18 ▲0.01 | 95.65 ▼1.43 | 44.27 ▼0.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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 items
- 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/wakker-media-newsletter-checkout-checkbox/wakkermedia-newsletter-checkout-checkbox.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== wakker-media-newsletter-checkout-checkbox ===
)
wakker-media-newsletter-checkout-checkbox/wakkermedia-newsletter-checkout-checkbox.php 85% from 13 tests
Analyzing the main PHP file in "Wakker Media Newsletter Checkout Checkbox" version 1.1
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("wakker-media-newsletter-checkout-checkbox.php" instead of "wakkermedia-newsletter-checkout-checkbox.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 311 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected29 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 15 | 29 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin