Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.06MB] [CPU: ▼13.41ms] Passed 4 tests
An overview of server-side resources used by Custom WP Zapier
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.63 | 41.44 ▼2.54 |
Dashboard /wp-admin | 3.94 ▲0.64 | 47.23 ▲2.61 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 52.33 ▲6.23 |
Add New Post /wp-admin/post-new.php | 3.75 ▼2.13 | 40.52 ▼55.17 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 37.85 ▲1.47 |
Custom Wp Zapier /wp-admin/options-general.php?page=custom_wp_zapier_settings_main_admin | 3.77 | 34.34 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
CUSTOM_WP_ZAPIER_SETTINGS |
Browser metrics Passed 4 tests
Checking browser requirements for Custom WP Zapier
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,443 ▲672 | 13.55 ▼0.84 | 1.61 ▼0.49 | 43.13 ▼1.13 |
Dashboard /wp-admin | 2,829 ▲641 | 5.35 ▲0.48 | 111.00 ▲1.71 | 37.30 ▼1.80 |
Posts /wp-admin/edit.php | 2,720 ▲631 | 2.47 ▲0.42 | 44.98 ▲8.51 | 32.98 ▼4.42 |
Add New Post /wp-admin/post-new.php | 1,530 ▼3 | 23.36 ▲0.04 | 674.94 ▲8.56 | 53.70 ▼5.42 |
Media Library /wp-admin/upload.php | 2,011 ▲626 | 4.45 ▲0.29 | 104.07 ▲6.63 | 43.75 ▲0.01 |
Custom Wp Zapier /wp-admin/options-general.php?page=custom_wp_zapier_settings_main_admin | 1,654 | 2.30 | 34.44 | 30.81 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/post.php' (include_path='.:/usr/share/php') in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-rest-settings.php on line 14
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/formatting.php' (include_path='.:/usr/share/php') in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-utils.php on line 4
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-dependency-check.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'CustomWpZapier\\UserActivity\\UserActivity_Query' not found in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-user-activity-user-query.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function CustomWpZapier\\Settings\\is_admin() in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-settings.php:209
- > PHP Warning
require_once(ABSPATHwp-admin/includes/post.php): failed to open stream: No such file or directory in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-rest-settings.php on line 14
- > PHP Warning
require_once(ABSPATHwp-admin/includes/formatting.php): failed to open stream: No such file or directory in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-utils.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-utils.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-dependency-check.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function CustomWpZapier\\Hooks\\add_filter() in wp-content/plugins/custom-wp-zapier/custom-wp-zapier-hooks.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in custom-wp-zapier/assets to your readme.txt
custom-wp-zapier/entry.php 92% from 13 tests
The main file in "Custom WP Zapier" v. 1.3.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("custom-wp-zapier.php" instead of "entry.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin3,725 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 492 | 419 | 3,134 |
JavaScript | 3 | 19 | 0 | 293 |
CSS | 1 | 1 | 2 | 247 |
JSON | 1 | 0 | 0 | 51 |
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.36 |
Average class complexity | 25.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 132.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 164 | |
▷ Static methods | 54 | 32.93% |
▷ Public methods | 100 | 60.98% |
▷ Protected methods | 44 | 26.83% |
▷ Private methods | 20 | 12.20% |
Functions | 15 | |
▷ Named functions | 6 | 40.00% |
▷ Anonymous functions | 9 | 60.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin