Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼1.69MB] [CPU: ▼44.80ms] Passed 4 tests
An overview of server-side resources used by TidyConnect
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.16 | 10.65 ▼26.05 |
Dashboard /wp-admin | 2.32 ▼0.98 | 14.19 ▼30.30 |
Posts /wp-admin/edit.php | 2.32 ▼1.04 | 12.97 ▼38.04 |
Add New Post /wp-admin/post-new.php | 2.32 ▼3.57 | 14.19 ▼84.79 |
Media Library /wp-admin/upload.php | 2.32 ▼0.91 | 10.94 ▼23.06 |
TidyConnect /wp-admin/options-general.php?page=tidy-connect-options | 2.32 | 12.42 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_tidyconnectcalendarwidget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TidyConnect
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.48 ▼0.11 | 1.81 ▲0.10 | 44.88 ▲4.71 |
Dashboard /wp-admin | 2,211 ▲19 | 5.86 ▲0.88 | 109.37 ▼2.08 | 42.85 ▼0.11 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.06 ▲0.00 | 35.08 ▼6.13 | 35.30 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 23.31 ▲0.19 | 661.79 ▼7.47 | 46.94 ▼1.35 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.19 ▼0.04 | 95.57 ▼3.20 | 42.68 ▼1.52 |
TidyConnect /wp-admin/options-general.php?page=tidy-connect-options | 889 | 2.18 | 21.57 | 28.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/thq-connect/calendar.php+416
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- widget_tidyconnectcalendarwidget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tidy-connect-options
- > Warning in wp-content/plugins/thq-connect/calendar.php+437
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- > GET request to /wp-admin/options-general.php?page=tidy-connect-options
- > Warning in wp-content/plugins/thq-connect/calendar.php+416
file_get_contents(https://.tidyhq.com/public/schedule/events.ics): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tidy-connect-options
- > Notice in wp-content/plugins/thq-connect/calendar.php+970
Undefined offset: 0
- > GET request to /wp-admin/options-general.php?page=tidy-connect-options
- > Warning in wp-content/plugins/thq-connect/calendar.php+437
file_get_contents(https://.tidyhq.com/public/schedule/meetings.ics): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/thq-connect/calendar.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/thq-connect/tidy_connect.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: management, organizations, administration, tidyhq, associations
thq-connect/tidy_connect.php 85% from 13 tests
"TidyConnect" version 3.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("thq-connect.php" instead of "tidy_connect.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 598 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
There were no executable files found in this plugin1,861 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 188 | 237 | 1,583 |
CSS | 1 | 25 | 21 | 278 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 91.75 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 9.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 1 | 2.33% |
▷ Public methods | 43 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected