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
Install script ran successfully
Server metrics [RAM: ▼0.63MB] [CPU: ▼14.06ms] Passed 4 tests
A check of server-side resources used by WP ParentComms Connect
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.20 ▼0.32 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.09 ▼3.88 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 44.40 ▼1.51 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 36.32 ▼50.54 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.46 ▲4.92 |
WP ParentComms /wp-admin/options-general.php?page=wp_plugin_template | 3.24 | 29.06 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP ParentComms Connect
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.28 ▼0.07 | 1.63 ▼0.20 | 43.36 ▲3.95 |
Dashboard /wp-admin | 2,193 ▲19 | 5.56 ▼0.03 | 84.48 ▼5.46 | 39.37 ▼0.64 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.03 | 33.51 ▼2.34 | 34.21 ▼4.76 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.77 ▲0.77 | 592.07 ▼79.21 | 48.31 ▲3.02 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▲0.07 | 95.29 ▼18.62 | 44.08 ▼1.97 |
WP ParentComms /wp-admin/options-general.php?page=wp_plugin_template | 697 | 1.51 | 6.57 | 21.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wp_plugin_template
- > Error in wp-admin/includes/template.php+1801
Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/wp-parentcomms-connect/templates/settings.php on line 5 and exactly 2 expected in wp-admin/includes/template.php:1801
Stack trace:
#0 wp-content/plugins/wp-parentcomms-connect/templates/settings.php(5): do_settings_fields()
#1 wp-content/plugins/wp-parentcomms-connect/settings.php(120): include('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): WP_Plugin_Template_Settings->plugin_settings_page()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#7 {main}
thrown
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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/wp-parentcomms-connect/templates/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-parentcomms-connect/wp_parentcomms_connect.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/wp-parentcomms-connect/templates/post_metabox.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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:
- Donate link: Please fix this invalid URI: ""
wp-parentcomms-connect/wp_parentcomms_connect.php 92% from 13 tests
The main file in "WP ParentComms Connect" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-parentcomms-connect.php" instead of "wp_parentcomms_connect.php")
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
No dangerous file extensions were detected257 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 55 | 88 | 230 |
JavaScript | 1 | 9 | 0 | 27 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 17 | |
▷ Static methods | 2 | 11.76% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin