Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.80ms] Passed 4 tests
Analyzing server-side resources used by SupportFlow
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 42.87 ▼6.24 |
Dashboard /wp-admin | 3.42 ▲0.12 | 56.77 ▲0.08 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.60 ▼6.72 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 106.80 ▲8.68 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 44.14 ▲5.68 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for SupportFlow
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.25 ▼0.10 | 1.81 ▼0.48 | 45.70 ▼1.76 |
Dashboard /wp-admin | 2,200 ▲20 | 5.60 ▼0.01 | 97.72 ▲8.65 | 42.60 ▼3.84 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.01 ▲0.03 | 37.91 ▼3.50 | 32.26 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.98 ▼0.63 | 628.31 ▼75.16 | 55.18 ▼0.61 |
Media Library /wp-admin/upload.php | 1,402 ▲5 | 4.09 ▼0.12 | 100.82 ▼3.18 | 42.90 ▼1.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 19× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/supportflow/classes/class-supportflow-table.php
- > /wp-content/plugins/supportflow/classes/class-supportflow-statistics.php
- > /wp-content/plugins/supportflow/classes/class-supportflow-wp-cli.php
- > /wp-content/plugins/supportflow/classes/class-supportflow-email-replies.php
- > /wp-content/plugins/supportflow/classes/class-supportflow-admin.php
- > /wp-content/plugins/supportflow/supportflow-user-widget.php
- > /wp-content/plugins/supportflow/classes/class-supportflow-preferences.php
- > /wp-content/plugins/supportflow/classes/class-supportflow-ui-submissionform.php
- > /wp-content/plugins/supportflow/classes/class-supportflow-ui-widget.php
- > /wp-content/plugins/supportflow/classes/class-supportflow-logger.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: customer, support, it, customer support, admin...
supportflow/supportflow.php 92% from 13 tests
Analyzing the main PHP file in "SupportFlow" version 0.7
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected5,185 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 1,046 | 928 | 4,266 |
JavaScript | 13 | 110 | 48 | 521 |
CSS | 4 | 78 | 1 | 384 |
JSON | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 32.39 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 149.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 211 | |
▷ Static methods | 5 | 2.37% |
▷ Public methods | 202 | 95.73% |
▷ Protected methods | 3 | 1.42% |
▷ Private methods | 6 | 2.84% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 10 | |
▷ Global constants | 1 | 10.00% |
▷ Class constants | 9 | 90.00% |
▷ Public constants | 9 | 100.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