Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.95MB] [CPU: ▲0.05ms] Passed 4 tests
This is a short check of server-side resources used by HIPAA FORMS - Add HIPAA Compliant Webforms to Your Wordpress Website
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.97 | 42.60 ▲0.07 |
Dashboard /wp-admin | 4.25 ▲0.95 | 49.28 ▲3.32 |
Posts /wp-admin/edit.php | 4.35 ▲1.00 | 45.12 ▲1.39 |
Add New Post /wp-admin/post-new.php | 6.83 ▲0.95 | 87.10 ▼4.59 |
Media Library /wp-admin/upload.php | 4.17 ▲0.95 | 43.25 ▲9.65 |
Server storage [IO: ▲3.44MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for HIPAA FORMS - Add HIPAA Compliant Webforms to Your Wordpress Website
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲161 | 13.84 ▼0.73 | 14.64 ▲13.12 | 34.66 ▼4.32 |
Dashboard /wp-admin | 2,207 ▲30 | 5.51 ▼0.08 | 82.08 ▼3.87 | 38.46 ▼3.03 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.00 ▼0.03 | 34.35 ▼0.61 | 34.79 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.15 ▼0.08 | 656.27 ▼5.59 | 52.26 ▲5.92 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.17 ▼0.13 | 96.78 ▼11.38 | 40.70 ▼5.94 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/codemonkeys-hipaa-forms/hipaa-forms.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/codemonkeys-hipaa-forms/admin-page.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/codemonkeys-hipaa-forms/ajax-functions-php7.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/codemonkeys-hipaa-forms/ajax-functions.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/codemonkeys-hipaa-forms/enqueue.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/codemonkeys-hipaa-forms/user-role.php:100
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/codemonkeys-hipaa-forms/includes/options.php:52
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: hipaa compliance, secure forms, gravity forms, health forms, medical forms...
codemonkeys-hipaa-forms/hipaa-forms.php 92% from 13 tests
Analyzing the main PHP file in "HIPAA FORMS - Add HIPAA Compliant Webforms to Your Wordpress Website" version 2.9.9
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("codemonkeys-hipaa-forms.php" instead of "hipaa-forms.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
Good job! No executable or dangerous file extensions detected20,077 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 1,223 | 1,531 | 10,082 |
JavaScript | 9 | 946 | 1,070 | 5,971 |
CSS | 5 | 753 | 87 | 4,024 |
PHP code Passed 2 tests
An short overview of 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.41 |
Average class complexity | 685.00 |
▷ Minimum class complexity | 685.00 |
▷ Maximum class complexity | 685.00 |
Average method complexity | 15.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 6 | 12.50% |
▷ Public methods | 44 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.33% |
Functions | 75 | |
▷ Named functions | 73 | 97.33% |
▷ Anonymous functions | 2 | 2.67% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.12MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/hipaa-compliant-badge.png | 43.68KB | 10.32KB | ▼ 76.36% |
images/tt-close.png | 18.54KB | 0.45KB | ▼ 97.60% |
images/e-mod-logo.png | 31.08KB | 5.16KB | ▼ 83.41% |
images/cm-logo.png | 15.61KB | 11.00KB | ▼ 29.54% |
images/select-arrow.png | 17.44KB | 0.23KB | ▼ 98.70% |