Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.06ms] Passed 4 tests
Server-side resources used by AS Sendfox Opt-In Integration with Zippy Courses
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.00 | 40.07 ▼1.28 |
Dashboard /wp-admin | 3.35 ▲0.00 | 49.69 ▼7.97 |
Posts /wp-admin/edit.php | 3.40 ▲0.00 | 47.07 ▼5.04 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.00 | 84.94 ▼17.93 |
Media Library /wp-admin/upload.php | 3.27 ▲0.00 | 40.37 ▲1.81 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for AS Sendfox Opt-In Integration with Zippy Courses
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▲0.29 | 1.78 ▲0.10 | 44.00 ▼0.06 |
Dashboard /wp-admin | 2,195 ▲24 | 5.52 ▼0.02 | 86.71 ▼4.98 | 39.50 ▼0.91 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▼0.01 | 42.36 ▲6.96 | 37.77 ▲2.20 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.54 ▲0.24 | 705.77 ▲6.38 | 53.36 ▲1.33 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.02 | 114.06 ▼2.13 | 46.99 ▼2.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/as-zippy-courses-sendfox-integration/assets/views/metaboxes/product-sendfox.php
- > /wp-content/plugins/as-zippy-courses-sendfox-integration/assets/views/metaboxes/product-convertkit.php
- > /wp-content/plugins/as-zippy-courses-sendfox-integration/assets/views/metaboxes/course-sendfox.php
- > /wp-content/plugins/as-zippy-courses-sendfox-integration/assets/views/metaboxes/course-convertkit.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Zippy_EmailListIntegration' not found in wp-content/plugins/as-zippy-courses-sendfox-integration/integration.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/as-zippy-courses-sendfox-integration/zippy-sendfox-kit.php:21
- > PHP Fatal error
Uncaught Error: Class 'Zippy_EmailListIntegrationAPI' not found in wp-content/plugins/as-zippy-courses-sendfox-integration/lib/API.php:3
- > PHP Fatal error
Uncaught Error: Class 'Zippy_EmailList' not found in wp-content/plugins/as-zippy-courses-sendfox-integration/lib/EmailList.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 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
3 plugin tags: zippycourse, sendfox, zippy
as-zippy-courses-sendfox-integration/zippy-sendfox-kit.php 85% from 13 tests
The main PHP file in "AS Sendfox Opt-In Integration with Zippy Courses" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("as-zippy-courses-sendfox-integration.php" instead of "zippy-sendfox-kit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin283 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 77 | 87 | 250 |
PO File | 1 | 9 | 9 | 33 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 1 | 4.17% |
▷ 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin